/* HOME refinement, 2026-10-20. Loaded only by the two homepages.
   Reuse the existing navigation, carousel, article cards and responsive menu. */
html body[data-type-b].home-page .page > header {
  padding-top: 24px;
  padding-bottom: 18px;
  column-gap: 24px;
  row-gap: 0;
}
html body[data-type-b].home-page .page > header .language-selector {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 14px !important;
  white-space: nowrap;
}
html body[data-type-b].home-page .language-selector a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (min-width: 1200px) {
  html body[data-type-b].home-page .page > header {
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    width: max(100%, 1000px);
    margin-inline: calc((100% - max(100%, 1000px)) / 2);
  }
  html body[data-type-b].home-page .page > header .header-navigation {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: auto;
  }
  html body[data-type-b].home-page .page > header nav {
    font-size: 16px !important;
    gap: 20px;
  }
  html body[data-type-b].home-page .page > header .language-selector {
    grid-column: 3;
    grid-row: 1;
  }
  html body[data-type-b].home-page .page > header .menu-toggle { display: none; }
  html body[data-type-b].home-page .page > header .r3-search-box { grid-row: 2; }
}
@media (max-width: 1199px) {
  html body[data-type-b].home-page .page > header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-top: 24px;
    padding-bottom: 18px;
    row-gap: 0;
  }
  html body[data-type-b].home-page .page > header .language-selector {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
  html body[data-type-b].home-page .page > header .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-items: center;
    min-height: 44px;
    font-size: 16px;
  }
  html.r3-enhanced body[data-type-b].home-page .page > header .menu-toggle { display: inline-flex; }
  html body[data-type-b].home-page .page > header .header-navigation {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    justify-self: stretch;
  }
  html body[data-type-b].home-page .page > header nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    white-space: normal;
  }
  html body[data-type-b].home-page .page > header nav > a { padding-block: 6px; }
  html body[data-type-b].home-page .page > header .search-toggle { align-self: flex-start; }
  html.r3-enhanced body[data-type-b].home-page .page > header:not(.menu-is-open) .header-navigation { display: none; }
  html body[data-type-b].home-page .page > header .r3-search-box { grid-row: 4; width: 100%; }
}
/* 16:9 -> 16:7.4: 17.8% less image height at the same desktop width.
   Keep the approved cover behavior, focal positions and edge arrow fix. */
@media (min-width: 901px) {
  html body[data-type-b].home-page #hero .carousel-media { aspect-ratio: 16 / 7.4; }
}
html body[data-type-b].home-page .carousel-entry-slot { min-height: 44px; }
html body[data-type-b].home-page #in-focus { margin-bottom: 56px; }
html body[data-type-b].home-page #material { padding-bottom: 24px; }
html body[data-type-b].home-page #material .section-head { margin-bottom: 20px; }
html body[data-type-b].home-page .home-material-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
  align-items: stretch;
}
html body[data-type-b].home-page .home-material-note {
  padding-top: 18px;
  min-height: 0;
}
html body[data-type-b].home-page .home-material-note .article-category {
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin: 0 0 10px;
}
html body[data-type-b].home-page .home-material-note h3 {
  font-size: 28px !important;
  line-height: 1.25 !important;
  letter-spacing: -.015em !important;
  min-height: 0;
  margin: 0 0 10px;
  overflow-wrap: break-word;
}
html body[data-type-b].home-page .home-material-note .article-meta {
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 0 14px;
}
html body[data-type-b].home-page .home-material-note .material-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 18px !important;
  line-height: 1.7 !important;
  letter-spacing: 0 !important;
  min-height: 5.1em;
  max-height: 5.1em;
  margin: 0 0 12px;
}
html body[data-type-b].home-page #material .home-material-note .read-note {
  margin-top: auto;
  font-size: 14px !important;
  line-height: 1.5 !important;
  min-height: 44px;
}
@media (max-width: 767.98px) {
  html body[data-type-b].home-page .home-material-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  html body[data-type-b].home-page .home-material-note h3 { font-size: 25px !important; min-height: 0; }
  html body[data-type-b].home-page .home-material-note .material-excerpt { min-height: 0; }
  html body[data-type-b].home-page #in-focus { margin-bottom: 40px; }
}
/* Keep generous editorial gutters without narrowing the content to 800px
   on wider desktop scaling settings. */
@media (min-width: 1500px) {
  html body[data-type-b].home-page .page {
    --r11-side: min(calc((70px + max(0px, (100% - 1680px) / 2)) * 3), 282px);
    max-width: 1920px;
    margin-inline: auto;
  }
}
