:root {
  color-scheme: dark;
  --ink: #f1f5fa;
  --muted: #b5c2d3;
  --accent: #fb526a;
  --line: #29415b;
  --panel: #122238;
  --background: #091321;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 94px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font: 1rem/1.55 "Segoe UI", system-ui, sans-serif;
}
a { color: inherit; }
a:focus-visible, video:focus-visible, audio:focus-visible { outline: 3px solid #91cfff; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-bar { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid var(--line); background: #091321; }
.bar-inner, nav { display: flex; align-items: center; gap: 24px; }
.bar-inner { justify-content: space-between; min-height: 64px; }
.site-bar a { text-decoration: none; font-weight: 650; }
.site-bar a:hover, .text-link:hover, .footer-links a:hover { color: #9bd2ff; }
.home-link { color: var(--muted); }
nav { flex-wrap: wrap; }
.hero { min-height: 488px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 55px; padding-block: 46px; }
.hero-copy { max-width: 625px; }
.brand, .section-label { color: #9bd2ff; letter-spacing: .12em; font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 5.1rem); letter-spacing: -.055em; line-height: 1; margin: 14px 0 24px; overflow-wrap: anywhere; }
.hero h1 span { color: var(--accent); }
.hero p, .content p, footer p { margin-block: .6rem; color: var(--muted); }
.hero .brand, .content .section-label { color: #9bd2ff; }
.hero .lead { font-size: clamp(1.4rem, 3.4vw, 2.3rem); font-weight: 700; line-height: 1.15; color: var(--ink); }
.hero-art { aspect-ratio: 16/9; width: 100%; height: auto; margin: 0; background: #0c2749; border: 1px solid #385e88; border-radius: 16px; overflow: hidden; }
.news-stories { padding-bottom: 42px; }
.news-stories p { color: var(--muted); }
.news-stories .section-label { color: #9bd2ff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; padding: 10px 18px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.primary { background: #bd1d40; color: #fff; }
.primary:hover { background: #da2a50; }
.secondary { border: 1px solid var(--line); }
.secondary:hover { background: var(--panel); }
.content { display: grid; gap: 50px; padding-block: 8px 65px; }
h2, h3 { margin: 0; line-height: 1.18; }
h2 { font-size: clamp(1.65rem,4vw,2.45rem); letter-spacing: -.04em; }
h3 { font-size: 1.2rem; }
.section-head { margin-bottom: 16px; }
.live-box, .audio-card {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
}
.schedule, .archive, .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.schedule-day, .media-card, .feature { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.schedule-day { padding: 18px 20px; }
.schedule-day ul { list-style: none; margin: 12px 0 0; padding: 0; }
.schedule-day li { display: grid; grid-template-columns: 4rem 1fr; gap: 12px; padding-block: 9px; border-top: 1px solid var(--line); }
.schedule-day li time { font-variant-numeric: tabular-nums; font-weight: 750; color: #9bd2ff; }
.schedule-day a, .footer-links a { text-decoration-color: #65819e; text-underline-offset: .2em; }
.feature { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; }
.feature-copy, .media-card > div { padding: 19px 24px; }
video { width: 100%; aspect-ratio: 16/9; object-fit: contain; display: block; background: #05111d; }
video[poster] { min-height: 0; }
.caption { font-size: .88rem; }
.text-link { color: #b5dcff; text-underline-offset: .2em; }
audio { width: min(100%, 340px); flex-shrink: 0; }
.about { display: grid; grid-template-columns: 1fr 1.6fr; gap: 22px; border-top: 1px solid var(--line); padding-top: 23px; }
.about p:first-child { margin-top: 0; }
footer { background: #101e30; border-top: 1px solid var(--line); padding-block: 30px 40px; }
.footer-links { display: grid; justify-content: start; align-content: center; gap: 6px; }
@media (max-width: 730px) {
  .wrap { width: calc(100% - 32px); }
  .bar-inner { min-height: auto; flex-direction: column; align-items: flex-start; gap: 5px; padding-block: 8px; }
  nav { gap: 6px 15px; font-size: .9rem; }
  .hero { min-height: auto; gap: 20px; padding-block: 27px; grid-template-columns: 1fr; }
  .news-stories { padding-bottom: 28px; }
  .content { gap: 35px; padding-bottom: 38px; }
  .feature, .about, .schedule, .archive, .footer-grid { grid-template-columns: 1fr; }
  .live-box, .audio-card { align-items: flex-start; flex-direction: column; padding: 17px; }
}
.player-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }
@media (min-width: 731px) and (max-width: 890px) {
  .player-actions { flex-direction: column; }
}

.editorial-feed { margin-bottom: 32px; }
.editorial-feed-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 18px; margin-bottom: 14px; }
.editorial-feed-head nav { gap: 8px 14px; }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.editorial-lead { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.editorial-lead img { display: block; width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.editorial-lead > div, .editorial-brief { padding: 14px 18px; }
.editorial-lead h3 { font-size: clamp(1.3rem, 2.8vw, 2rem); }
.editorial-briefs { display: grid; gap: 10px; align-content: start; }
.editorial-brief { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.editorial-brief a, .editorial-lead a { text-decoration-color: #65819e; text-underline-offset: .16em; }
.editorial-brief a:hover, .editorial-lead a:hover { color: #b5dcff; }
@media (max-width: 730px) {
  .editorial-grid { grid-template-columns: minmax(0, 1fr); }
}
/* An ad provider can populate the reserved rail and remove the hidden attribute. */
.editorial-grid:has(> .editorial-ad:not([hidden])) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 300px); }
.editorial-ad:not([hidden]) { width: 100%; max-width: 300px; min-height: 250px; justify-self: center; }
.editorial-brief h3 { font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.3; }
.editorial-lead h3 { font-size: clamp(1.22rem, 2.35vw, 1.75rem); line-height: 1.16; }
@media (max-width: 1000px) {
  .editorial-grid:has(> .editorial-ad:not([hidden])) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .editorial-ad:not([hidden]) { grid-column: 1 / -1; max-width: 320px; min-height: 100px; }
}
@media (max-width: 730px) {
  .editorial-grid:has(> .editorial-ad:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
}

#zpravodajstvi {
  --ink: #102c48;
  --muted: #36546b;
  --accent: #9c2140;
  --line: #9ebfd9;
  --panel: #f5fbff;
  color: var(--ink);
  background: #dff2ff;
}
#zpravodajstvi :is(h1, h2, h3) {
  font-family: Georgia, 'Palatino Linotype', Palatino, serif;
  letter-spacing: -.025em;
}
#zpravodajstvi :is(.brand, .section-label) { color: #315a7b; }
#zpravodajstvi .text-link { color: #154f79; }
#zpravodajstvi :is(.text-link, .editorial-lead a, .editorial-brief a):hover { color: #8a1839; }
#zpravodajstvi :is(a, button, video):focus-visible { outline-color: #154f79; }

#zpravodajstvi :is(.editorial-lead, .editorial-brief, .feature-copy) { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 731px) and (max-aspect-ratio: 3/4) {
  #zpravodajstvi .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 20px; }
}
@media (max-width: 730px) {
  #zpravodajstvi .feature-copy, #zpravodajstvi .editorial-lead > div, #zpravodajstvi .editorial-brief { padding-inline: 14px; }
  #zpravodajstvi .hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.75rem); }
  #zpravodajstvi .hero .lead { font-size: 1.22rem; }
  #zpravodajstvi .actions .button { white-space: normal; text-align: center; }
}
