:root {
  --ink: #111217;
  --muted: #626773;
  --paper: #eef1f4;
  --card: #ffffff;
  --accent: #e11d48;
  --accent-dark: #b71539;
  --line: #e4e6eb;
  --shadow: 0 16px 38px rgba(17, 18, 23, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #eef1f4 0%, #e3e8ed 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(17, 18, 23, .96);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .14em; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); font-size: .84rem; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.nav-links a { opacity: .82; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; color: #ff9ab1; }
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, rgba(17,18,23,.95), rgba(17,18,23,.48)), url('https://valentinobh.com/wp-content/uploads/2020/12/sajt-background-scaled-e1666716811767.jpg') right 70%/cover;
}
.hero-inner { width: min(1120px, calc(100% - 40px)); min-height: 198px; margin: 0 auto; padding: 28px 0 32px; display: flex; flex-direction: column; justify-content: space-between; }
.hero-listen { position: absolute; right: max(20px, calc((100% - 1120px) / 2)); bottom: 24px; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 8px 18px rgba(225,29,72,.28); }
.hero-listen:hover { background: var(--accent-dark); border-color: rgba(255,255,255,.7); }
.hero-listen .play-icon { color: #fff; font-size: .72rem; }
.eyebrow { color: #ff9ab1; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1 { max-width: 620px; margin: 10px 0 0; font-size: clamp(1.7rem, 3.5vw, 3rem); letter-spacing: -.04em; }
.hero-copy { max-width: 610px; margin: 12px 0 0; color: rgba(255,255,255,.82); font-size: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; border: 0; cursor: pointer; }
.button:hover { background: var(--accent-dark); }
.button.secondary { background: transparent; border: 1px solid rgba(255,255,255,.45); }
.button.secondary:hover { background: rgba(255,255,255,.1); }
.section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading p { max-width: 560px; margin: 12px 0 0; color: var(--muted); }
.section-title { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.03em; }
.player-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; padding: 30px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.player-copy h2 { margin-top: 8px; font-size: clamp(1.35rem, 2.3vw, 1.95rem); }
.player-copy p { color: var(--muted); }
.live-dot { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.live-dot::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(225,29,72,.12); }
.audio-box { align-self: center; padding: 24px; border-radius: 16px; background: var(--ink); color: #fff; }
.audio-box strong { display: block; margin-bottom: 12px; }
audio { width: 100%; }
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.channel-card { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.channel-card h3 { font-size: 1.25rem; }
.channel-card--info { min-width: 0; padding: 0; overflow: hidden; }
.channel-card-title { padding: 8px 18px; background: var(--accent); color: #fff; text-align: center; }
.channel-card-content { min-width: 0; padding: 22px; }
.channel-logo img { display: block; width: 100%; height: auto; max-height: 72px; object-fit: contain; object-position: left center; }
.channel-card-content--dark { display: flex; flex: 1; align-items: center; justify-content: center; padding: 12px 0; background: var(--ink); }
.channel-card-content--dark .channel-logo { width: 100%; }
.channel-card-content--dark .channel-logo img { max-height: 104px; object-position: center; }
.channel-card-content--light { display: flex; flex: 1; align-items: center; justify-content: center; padding: 12px 0; background: var(--card); }
.channel-card-content--light .channel-logo { width: 100%; }
.channel-card-content--light .channel-logo img { max-height: 104px; object-position: center; }
.channel-info { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 30px; margin-top: auto; padding: 4px 16px; background: var(--accent); color: #fff; font-size: .88rem; font-weight: 800; }
.channel-card p { margin: 10px 0 20px; color: var(--muted); font-size: .92rem; }
.channel-card .channel-label { display: inline-flex; align-items: center; min-height: 30px; margin-top: 12px; color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.radio-section { margin-top: 16px; padding: 14px 28px 24px; border-radius: 26px; background: linear-gradient(135deg, rgba(37,42,54,.60) 0%, rgba(70,82,104,.46) 100%); color: #fff; box-shadow: 0 18px 42px rgba(17,18,23,.10); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.radio-section .eyebrow { line-height: 1; margin-bottom: 4px; }
.radio-section .section-heading p { margin: 6px 0 0; color: rgba(255,255,255,.72); line-height: 1.3; }
.radio-section .section-heading { margin-bottom: 10px; }
.radio-section .section-title { color: #fff; font-size: clamp(1.35rem, 2.7vw, 2.05rem); line-height: 1.05; }
.radio-section .player-card { padding: 22px; background: rgba(255,255,255,.98); color: var(--ink); }
.radio-section + .section { padding-top: 24px; }
.tv-section { margin-top: 16px; padding: 14px 28px 24px; border-radius: 26px; background: linear-gradient(135deg, rgba(37,42,54,.60) 0%, rgba(70,82,104,.46) 100%); color: #fff; box-shadow: 0 18px 42px rgba(17,18,23,.10); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tv-section .section-heading { margin-bottom: 18px; }
.tv-section .section-heading p { margin: 6px 0 0; color: rgba(255,255,255,.74); line-height: 1.3; }
.tv-section .section-title { color: #fff; font-size: clamp(1.35rem, 2.7vw, 2.05rem); line-height: 1.05; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-card { padding: 28px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.info-card p { color: var(--muted); }
.about-copy { max-width: 920px; margin-inline: auto; }
.about-copy p { margin: 16px 0 0; }
.about-copy .about-lead { margin-top: 10px; color: var(--accent-dark); font-size: 1.08rem; font-weight: 700; }
.about-copy ul { margin: 18px 0 0; padding-left: 1.35rem; color: var(--muted); }
.about-copy li { margin: 9px 0; padding-left: .25rem; }
.about-copy li strong { color: var(--ink); }
.about-copy .about-signoff { margin-top: 24px; color: var(--accent-dark); font-weight: 800; }
.site-footer { margin-top: 30px; padding: 16px 0; background: var(--ink); color: rgba(255,255,255,.72); }
.footer-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 8px 20px; }
.footer-inner strong { color: #fff; }
.page-hero { background: var(--ink); color: #fff; }
.page-hero .hero-inner { padding: 62px 0 54px; }
.contact-list { display: grid; gap: 12px; margin: 22px 0 0; color: var(--muted); }
.contact-list strong { color: var(--ink); }
.contact-address { display: flex; align-items: flex-start; gap: .35em; }
.contact-address span { min-width: 0; }
.contact-section .info-card { min-width: 0; }
.contact-list a { overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent-dark); text-decoration: underline; }
.contact-map { display: block; width: 100%; max-width: 100%; height: 320px; margin-top: 22px; border: 0; border-radius: 12px; }
@media (max-width: 820px) {
  .nav { min-height: 64px; }
  .nav-links { gap: 12px; font-size: .76rem; }
  .hero-inner { min-height: 190px; padding: 26px 0 28px; }
  .hero-listen { right: 14px; bottom: 14px; min-height: 34px; padding: 0 12px; font-size: .68rem; }
  .radio-section { margin-top: 12px; padding: 12px 18px 20px; }
  .tv-section { margin-top: 12px; padding: 12px 18px 20px; }
  .player-card, .split { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .nav { width: min(100% - 28px, 1120px); gap: 12px; }
  .brand { font-size: .84rem; letter-spacing: .1em; }
  .brand-mark { width: 32px; height: 32px; }
  .nav-links { gap: 9px; font-size: .64rem; letter-spacing: .04em; }
  .section, .hero-inner, .footer-inner { width: min(100% - 28px, 1120px); }
  .player-card { padding: 22px; }
  .channel-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}


/* Informativni prozor za TV kanal */
.channel-info--button {
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .18s ease;
}
.channel-info--button:hover,
.channel-info--button:focus-visible { background: var(--accent-dark); }
.channel-info--button:focus-visible { outline: 3px solid #1f2937; outline-offset: -3px; }
.channel-dialog {
  width: min(740px, calc(100% - 28px));
  max-height: min(86vh, 850px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 19px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.channel-dialog::backdrop { background: rgba(10, 13, 20, .72); }
.channel-dialog-heading {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 24px;
  background: var(--accent);
  color: #fff;
}
.channel-dialog-heading h2 { font-size: clamp(1.15rem, 3vw, 1.6rem); letter-spacing: .04em; }
.channel-dialog-heading form { margin: 0; }
.channel-dialog-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: #fff;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}
.channel-dialog-close:hover,
.channel-dialog-close:focus-visible { background: rgba(255,255,255,.3); }
.channel-dialog-body { padding: 26px 32px 30px; font-size: 1rem; line-height: 1.75; }
.channel-dialog-body p { margin: 0 0 18px; }
.channel-dialog-body p:last-child { margin-bottom: 0; }
.channel-dialog-lead { color: var(--accent-dark); font-size: 1.13rem; font-weight: 700; }
.channel-dialog-signoff { margin-top: 24px !important; color: var(--accent-dark); font-weight: 800; }
@media (max-width: 540px) {
  .channel-dialog { max-height: 90dvh; border-radius: 14px; }
  .channel-dialog-heading { padding: 12px 16px; }
  .channel-dialog-body { padding: 21px 20px 26px; font-size: .96rem; line-height: 1.68; }
}
