/* Shared navigation and TV landing layout. */
.site-header .header-row {
  display: grid;
  height: auto;
  max-width: none;
  padding: 10px clamp(16px, 1.65vw, 32px) 0;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: "brand language toggle" "menu menu menu";
  gap: 4px 12px;
}

.site-header .brand { grid-area: brand; justify-self: start; }
.site-header .language { grid-area: language; z-index: 1; justify-self: end; }
.site-header .language summary,
.site-header .language-list { border-color: var(--lime); }
.site-header .menu-toggle { grid-area: toggle; }

.site-header .navigation {
  grid-area: menu;
  display: none;
  position: static;
  flex-direction: row;
  justify-content: safe center;
  align-items: center;
  padding: 0 0 6px;
  gap: 0;
  min-width: 0;
  max-height: none;
  overflow-x: auto;
  background: none;
  box-shadow: none;
  border: 0;
  scrollbar-width: thin;
  scrollbar-color: #62704a #101610;
}

.site-header .navigation.open { display: flex; }
.site-header .navigation > a {
  color: var(--lime);
  flex: none;
  max-width: none;
  white-space: nowrap;
  border: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  padding: 12px 15px;
}

.site-header .navigation > a:first-child { padding-left: 0; }
.site-header .navigation > a:last-child { padding-right: 0; }
.site-header .navigation > a + a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: .85em;
  background: #fff;
  transform: translateY(-50%);
}

.site-header .navigation > a[aria-current]::after { display: block; left: 15px; }
.site-header .navigation > a:first-child[aria-current]::after { left: 0; }
.site-header .navigation > a:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (min-width: 1181px) {
  .site-header .header-row { grid-template-areas: "brand language" "menu menu"; grid-template-columns: minmax(0,1fr) auto; }
  .site-header .navigation { display: flex; }
}

@media (min-width: 1720px) {
  .site-header .header-row {
    min-height: 86px;
    grid-template-columns: minmax(205px,1fr) minmax(0,max-content) minmax(205px,1fr);
    grid-template-areas: "brand menu language";
    gap: 20px;
    padding-bottom: 10px;
  }
  .site-header .navigation { padding-bottom: 0; }
}



.broadcast-hero.hero {
  display: block;
  min-height: 0;
  text-align: center;
}
.broadcast-hero.hero::before,
.broadcast-hero.hero::after { display: none; }
.broadcast-hero-title { padding-top: clamp(28px, 4vw, 62px); padding-bottom: clamp(24px, 3vw, 52px); }
.broadcast-hero-title .eyebrow { max-width: none; }
.broadcast-hero-title h1 {
  max-width: none;
  margin: 16px auto 0;
  font-size: clamp(39px, 5vw, 76px);
  text-wrap: balance;
}
.broadcast-hero-visual { margin: 0; width: 100%; }
.broadcast-hero-scene { position: relative; }
.broadcast-hero .hero-picture { position: static; display: block; }
.broadcast-hero .hero-picture img { display: block; width: 100%; height: auto; object-fit: contain; }
.broadcast-hero .hero-caption {
  position: static;
  display: block;
  max-width: none;
  margin: 10px 20px 0;
  text-align: center;
}
.broadcast-hero .hero-inner { padding-top: clamp(26px, 4vw, 58px); padding-bottom: clamp(38px, 5vw, 76px); }
.broadcast-hero .broadcast-hero-claim {
  font-size: clamp(37px, 5.6vw, 83px);
  line-height: 1.03;
  letter-spacing: -.055em;
  font-weight: 800;
  color: var(--lime);
  margin: 0 auto 20px;
}
.broadcast-hero .lead { margin-inline: auto; max-width: 760px; }
.broadcast-hero .hero-actions,
.broadcast-hero .hero-meta { justify-content: center; }
.broadcast-hero .hero-meta { flex-wrap: wrap; }

/* Display coordinates refer to the screen apertures of the 1672 × 941 photo. */
.broadcast-monitor {
  position: absolute;
  left: calc(100% * var(--screen-x) / 1672);
  top: calc(100% * var(--screen-y) / 941);
  width: calc(100% * var(--screen-w) / 1672);
  height: calc(100% * var(--screen-h) / 941);
  display: block;
  overflow: hidden;
  background: #12171c;
}
.broadcast-monitor img { display: block; width: 100%; height: 100%; object-fit: fill; }
.broadcast-monitor:hover,
.broadcast-monitor:focus-visible { filter: brightness(1.17); }
.broadcast-monitor-ospiti {
  --screen-x: 842; --screen-y: 423; --screen-w: 112; --screen-h: 65;
  clip-path: polygon(0 2%, 98% 0, 100% 100%, 1% 98%);
}
.broadcast-monitor-destinazioni {
  --screen-x: 966; --screen-y: 424; --screen-w: 115; --screen-h: 65;
  clip-path: polygon(0 0, 98% 1%, 100% 99%, 1% 100%);
}
.broadcast-monitor-regia {
  --screen-x: 1094; --screen-y: 425; --screen-w: 231; --screen-h: 64;
}
.broadcast-monitor-regia img { object-fit: cover; object-position: 50% 30%; }
.broadcast-reporter figure > img,
.broadcast-diagram > img { display: block; width: 100%; height: auto; object-fit: contain; }

@media print {
  .site-header { display: none; }
}
