/* SXdrv Billboard. Lato is not shipped with the theme, so the stack is the
   system Helvetica/Arial fallback from the approved mock. No Google Fonts. */
:root {
  --brand: #EE1C25;
  --brand-safe: #E01A22;
  --black: #050505;
  --header: #000;
  --muted: #939393;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 75rem;
  --gap: .5rem;
  --focus: #EE1C25;
}
html:has(body.sxdrv), body.sxdrv, body.layout-classic:has(.sxdrv-footer) { margin: 0; background: var(--black); color: #fff; font-family: var(--font); line-height: 1.45; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: .5rem; top: .5rem; z-index: 40; background: #fff; color: #000; padding: .4rem .6rem; }
body.sxdrv a, body.layout-classic:has(.sxdrv-footer) a { color: inherit; }
body.sxdrv img, body.layout-classic:has(.sxdrv-footer) img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--header); border-bottom: 1px solid #1a1a1a; }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 3.5rem; padding: .4rem 1rem; max-width: calc(var(--max) + 2rem); margin: 0 auto; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand__logo { height: 2.15rem; width: calc(2.15rem * 2870 / 527); object-fit: contain; object-position: left center; }
.site-name { color: #fff; font-weight: 900; letter-spacing: .04em; text-decoration: none; }
.cats { display: flex; align-items: center; gap: .85rem; min-width: 0; flex: 1 1 auto; }
.cats-top { display: flex; gap: .85rem; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
body.sxdrv .cats a, body.sxdrv .more summary { color: var(--brand); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
body.sxdrv .chip { color: #fff; }
body.sxdrv .cats a:hover, body.sxdrv .more summary:hover { color: #fff; }
.more { position: relative; }
.more summary { list-style: none; cursor: pointer; }
.more summary::-webkit-details-marker { display: none; }
.more-list { position: absolute; top: calc(100% + .45rem); left: 0; min-width: 12rem; margin: 0; padding: .4rem 0; list-style: none; background: #111; border: 1px solid #2a2a2a; z-index: 30; }
.more-list a { display: block; padding: .45rem .9rem; }
.search { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; color: #fff; text-decoration: none; font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.search svg { display: block; }

.billboard { width: 100%; }
.billboard .story { margin: 0; }
.feed { width: min(100% - 1.25rem, var(--max)); margin: 1.25rem auto 2.5rem; }
.sec-h { display: flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.sec-h::before { content: ""; width: .55rem; height: 1rem; background: var(--brand); }
.story-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.story { position: relative; margin: 0; }
.story__media { position: relative; overflow: hidden; background: #1a1a1a; aspect-ratio: 16 / 9; }
.story__media picture, .story__media span { display: block; width: 100%; height: 100%; }
.story__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08) 35%, rgba(0,0,0,.82) 100%); pointer-events: none; }
.story__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: .75rem .85rem .9rem; }
.story__title { margin: 0; font-weight: 900; letter-spacing: -.01em; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.story-grid .story__title { font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.2; -webkit-line-clamp: 2; }
.billboard .story__title { font-size: clamp(1.5rem, 3.4vw, 3rem); line-height: 1.05; max-width: 22ch; -webkit-line-clamp: 3; }
.chip { position: absolute; top: .65rem; left: .65rem; z-index: 2; background: var(--brand-safe); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: .28rem .45rem; line-height: 1; }
.show-more { margin: 1.25rem 0 0; text-align: center; }
.show-more__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .7rem 1.4rem; background: var(--brand-safe); color: #fff; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 0; }
.show-more__btn[hidden] { display: none !important; }

.sxdrv-footer { background: #000; color: #fff; padding: 2rem 1rem 2.5rem; border-top: 1px solid #1a1a1a; }
.sxdrv-footer .site-footer__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.foot-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.foot-mark { width: 3rem; height: 3rem; object-fit: contain; }
.foot-wordmark { height: 1.6rem; width: calc(1.6rem * 2870 / 527); object-fit: contain; object-position: left center; }
.foot-legal { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.foot-legal a { color: #fff; text-decoration: none; font-size: .85rem; }
.foot-legal a:hover { color: var(--brand); }
.foot-social { display: flex; gap: .7rem; list-style: none; margin: 0; padding: 0; }
.foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; color: #fff; }
.foot-social .foot-social-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.foot-social svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

.cat-head { width: min(100% - 1.25rem, var(--max)); margin: 1.25rem auto 0; }
.cat-head h1 { margin: 0 0 .35rem; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.02em; }
.cat-head p { margin: 0; color: #ddd; }

.sxdrv-article, .sxdrv-sheet {
  width: min(100% - 1.25rem, 46rem);
  margin: 1.25rem auto 2.5rem;
  background: #fff;
  color: #252525;
  padding: 1.5rem 1.25rem 2rem;
}
.sxdrv-article h1, .sxdrv-sheet h1 { margin: .7rem 0 .4rem; color: #111; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.sxdrv-article p, .sxdrv-sheet p, .sxdrv-article li, .sxdrv-sheet li { font-size: 1.05rem; line-height: 1.6; }
body.sxdrv .sxdrv-article a, body.sxdrv .sxdrv-sheet a { color: var(--brand-safe); }
body.sxdrv .sxdrv-article .chip { color: #fff; }
.chip--inline { position: static; display: inline-block; }
.sxdrv-article__dates { color: #4a4a4a; }
.sxdrv-article__teaser { font-size: 1.15rem; }
.sxdrv-article__hero { margin: 1rem 0 1.25rem; }
.sxdrv-article__hero img { width: 100%; height: auto; }
.sxdrv-article__related ul { margin: 0; padding: 0; list-style: none; }
.sxdrv-article__related li { padding: .45rem 0; border-top: 1px solid #ddd; }
.sxdrv-sheet__body > :first-child { margin-top: 0; }

@media (min-width: 32rem) {
  .story-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 60rem) {
  .story-grid { grid-template-columns: 1fr 1fr 1fr; }
  .billboard .story__caption { padding: 1.75rem 2rem 2rem; }
}
@media (max-width: 40rem) {
  .site-header__inner { flex-wrap: wrap; min-height: 3.15rem; }
  .cats { flex-basis: 100%; order: 3; gap: .65rem; padding-bottom: .55rem; }
  .cats-top { flex-wrap: wrap; gap: .65rem; }
  body.sxdrv .cats a, body.sxdrv .more summary { font-size: .72rem; letter-spacing: .06em; }
  .search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .brand__logo { height: 1.85rem; width: calc(1.85rem * 2870 / 527); }
}
