/* 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.
   --brand is a fill on black. Text on white uses --brand-safe. */
*, *::before, *::after { box-sizing: border-box; }
: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;
  --sxdrv-header: 8rem;
}
@media (min-width: 40.01rem) {
  :root { --sxdrv-header: 5rem; }
}
html:has(body.sxdrv) { scroll-padding-top: var(--sxdrv-header); }
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; }
body.sxdrv :is(h1, h2, h3, h4, [id]) { scroll-margin-top: .35rem; }
.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: calc(3.5rem + .8rem); 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; }
.cats-top li { display: flex; align-items: center; }
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; }
.cats-top a, .more summary, a.search { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .2rem; }
.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); flex: 0 0 auto; }
.story-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.story { position: relative; margin: 0; min-width: 0; }
.story__link { color: inherit; text-decoration: none; }
.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: 3; }
.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% - 2rem, 46rem);
  margin: 1.75rem auto 3rem;
  background: #fff;
  color: #252525;
  padding: 1.5rem 1.35rem 2.25rem;
  border-radius: 1.15rem;
  border-top: 3px solid var(--brand);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
}
.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 a.video-fallback { background: var(--brand-safe); color: #fff; text-decoration: none; }
body.sxdrv .sxdrv-article .chip,
body.sxdrv .sxdrv-article .story__link,
body.sxdrv .sxdrv-article .story__title { color: #fff; }
.chip--inline { position: static; display: inline-block; }
.sxdrv-article__dates { color: #4a4a4a; }
.sxdrv-article__teaser { font-size: 1.15rem; }
.sxdrv-article figure { width: 100%; margin: 1.15rem 0; }
.sxdrv-article__hero { margin: 1rem 0 1.25rem; }
.sxdrv-article__hero img,
.sxdrv-article .article-image img { width: 100%; height: auto; }
.sxdrv-article figcaption { margin: 0; padding: .45rem 0 0; color: #3a3a3a; font-size: .85rem; line-height: 1.4; }
.sxdrv-article .video-title { margin: 0 0 .5rem; color: #111; font-weight: 800; }
.sxdrv-article__related { margin-top: 2rem; }
.sxdrv-article .sec-h { color: #111; }
.sxdrv-article__related .story-grid { grid-template-columns: 1fr; }
.sxdrv-sheet__body > :first-child { margin-top: 0; }

.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--black); overflow: hidden; }
.video-play { display: none; }
.js .video-play {
  display: grid; place-items: center; position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; color: #fff;
}
.js .video-play:focus-visible { outline: 3px solid var(--focus); outline-offset: -6px; }
.video-frame img, .video-frame iframe, .video-frame__player {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0;
}
.video-play__icon {
  position: relative; z-index: 1; width: 4.25rem; height: 4.25rem; border-radius: 999px;
  background: var(--brand-safe); box-shadow: 0 .4rem 1.2rem rgba(0, 0, 0, .35);
  transition: box-shadow .15s ease;
}
.video-play__icon::before {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: .7rem 0 .7rem 1.1rem;
  border-color: transparent transparent transparent #fff;
}
.js .video-play:hover .video-play__icon,
.js .video-play:focus-visible .video-play__icon { box-shadow: 0 0 0 3px #fff, 0 .4rem 1.2rem rgba(0, 0, 0, .45); }
.video-fallback { position: absolute; left: 1rem; bottom: 1rem; background: var(--brand-safe); color: #fff; padding: .4rem .7rem; }

@media (min-width: 32rem) {
  .story-grid { grid-template-columns: 1fr 1fr; }
  .sxdrv-article__related .story-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 60rem) {
  .story-grid { grid-template-columns: 1fr 1fr 1fr; }
  .sxdrv-article__related .story-grid { grid-template-columns: 1fr 1fr; }
  .billboard .story__caption { padding: 1.75rem 2rem 2rem; }
  .sxdrv-home--split {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: var(--gap);
    width: min(100% - 1.25rem, var(--max));
    margin: .75rem auto 2.5rem;
    align-items: start;
  }
  .sxdrv-home--split .billboard { grid-column: 1 / span 4; grid-row: 1; width: auto; min-width: 0; }
  .sxdrv-home--split .billboard-stack {
    display: grid;
    grid-column: 5 / span 2;
    grid-row: 1;
    gap: var(--gap);
    align-content: start;
    min-width: 0;
  }
  .sxdrv-home--split .feed { grid-column: 1 / -1; grid-row: 2; width: auto; margin: .35rem 0 0; }
  .sxdrv-home--split .story--fold { display: none; }
}
.billboard-stack { display: none; }
@media (max-width: 40rem) {
  .site-header__inner { flex-wrap: wrap; min-height: calc(3.15rem + .8rem); }
  .cats { flex-basis: 100%; order: 3; gap: .25rem; padding-bottom: 0; align-items: flex-start; }
  .cats-top { flex-wrap: wrap; gap: .25rem; }
  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); }
}
@media (prefers-reduced-motion: reduce) {
  .video-play__icon { transition: none; }
}
