/* ==========================================================================
   Benjamin Harris — Portfolio
   Design tokens mirror the original Adobe Portfolio theme:
   navy crown mark, warm white ground, Montserrat (closest free match to
   the real site's Proxima Nova) used consistently sitewide.
   ========================================================================== */

/* Montserrat — self-hosted (was Google Fonts CDN import) */
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/montserrat-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/montserrat-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/montserrat-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/montserrat-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/montserrat-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/montserrat-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/montserrat-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/montserrat-500-italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #111111;
  --navy: #1f197f;
  --navy-dark: #141c42;
  --gray: #7a7a7a;
  --gray-light: #cfcfcf;
  --border: #d8d8d8;
  --placeholder-bg: #eef0f6;
  --placeholder-border: #b9c0d8;

  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --sidebar-width: 300px;
  --max-width: 1400px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }

/* ---------- Layout shell (sidebar + content), used site-wide ---------- */

.shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  position: sticky;
  top: 0;
  align-self: flex-start;
  max-height: 100vh;
  overflow-y: auto;
}

.logo-mark {
  width: 150px;
  margin-bottom: 40px;
}

.sidebar-link {
  display: block;
  margin-bottom: 18px;
  color: var(--gray);
  font-size: 1.05rem;
}

.sidebar-link:hover,
.sidebar-link.is-active {
  color: var(--ink);
}

.sidebar-heading {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--ink);
  margin: 32px 0 16px;
}

.sidebar-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.main {
  flex: 1;
  min-width: 0;
}

/* ---------- Home dashboard grid ---------- */

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  padding: 48px 40px;
  max-width: var(--max-width);
}

.dash-card { display: block; }

.dash-thumb {
  aspect-ratio: 4 / 3;
  background: var(--placeholder-bg);
  border: 1px dashed var(--placeholder-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--navy);
  font-size: 0.8rem;
  text-align: center;
}

.dash-thumb img { width: 100%; height: 100%; object-fit: cover; }

.dash-label {
  margin-top: 12px;
  font-size: 1.05rem;
  color: var(--ink);
}

.dash-sublabel {
  margin-top: 3px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--gray);
}

/* ---------- Home page featured hero ---------- */

.home-hero {
  padding: 48px 40px 0;
  max-width: var(--max-width);
}

.home-hero-featured {
  background: #0a0a0a url('../assets/cards/cardinals-texture-tile.png');
  background-size: 80px 80px;
  border-radius: var(--radius);
  padding: 20px 24px 22px;
}

.home-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.home-hero-text { flex: 1; min-width: 0; }

.home-hero-logo {
  flex-shrink: 0;
  width: 108px;
  height: auto;
  border-radius: var(--radius);
}

.home-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.home-hero-badge {
  background: #97233F;
  color: #fff;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--radius);
}

.home-hero-role {
  color: #cfcfcf;
  font-size: 0.8125rem;
}

.home-hero-title {
  font-family: 'Cardinals Display', var(--font-display);
  color: #fff;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
}

.home-hero-copy {
  color: #d9d9d9;
  font-size: 0.8125rem;
  line-height: 1.55;
  max-width: 620px;
  margin: 0;
}

.home-hero-playlist-wrap {
  max-width: 460px;
  margin: 0 auto;
}
.home-hero-playlist-wrap .yt-playlist { max-width: none; }
.home-hero-playlist-wrap .yt-playlist-item { flex: 0 0 108px; }
.home-hero-playlist-wrap .yt-playlist-now { font-size: 0.8125rem; }
.home-hero-playlist-wrap .yt-playlist-count { font-size: 0.6875rem; }
.home-hero-playlist-wrap .yt-playlist-item-title { font-size: 0.6875rem; }

.home-hero .yt-playlist-now,
.home-hero .yt-playlist-count { color: #d5d3ee; }
.home-hero .yt-playlist-item-title { color: #b5b2e0; }
.home-hero .yt-playlist-item.is-active .yt-playlist-item-title { color: #fff; }
.home-hero .yt-playlist-num { background: rgba(0,0,0,0.7); }

@media (max-width: 900px) {
  .home-hero { padding: 32px 24px 0; }
  .home-hero-featured { padding: 18px 18px 20px; }
  .home-hero-title { font-size: 1.25rem; }
  .home-hero-top { flex-direction: column; align-items: flex-start; }
  .home-hero-logo { width: 84px; }
  .home-hero-playlist-wrap { max-width: 100%; }
}

/* ---------- Split hero (used on Contact, and adaptable for other pages) ---------- */

.split-hero {
  display: flex;
  min-height: 100vh;
}

.split-hero-image {
  flex: 1 1 30%;
  background: var(--placeholder-bg);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.9rem;
  text-align: center;
  padding: 24px;
}

.split-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.split-hero-content {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 18px;
  text-align: center;
}

.split-hero-image-right {
  flex: 1 1 30%;
  background: var(--placeholder-bg);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-hero-image-right img { width: 100%; height: 100%; object-fit: cover; display: block; }

.display-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  letter-spacing: 0.02em;
  margin: 0 0 14px;
}

.tagline {
  font-style: italic;
  color: var(--gray);
  font-size: 0.625rem;
  max-width: 400px;
  margin: 0 0 18px;
  line-height: 1.5;
}

.social-row {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
}

.social-row a {
  width: 22px;
  height: 22px;
  color: var(--ink);
}

.social-row svg { width: 100%; height: 100%; }

/* ---------- Contact form ---------- */

.contact-form-heading {
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-form {
  width: 100%;
  max-width: 480px;
  text-align: left;
}

.form-field { margin-bottom: 13px; }

.form-field label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
}

.form-field textarea { min-height: 88px; resize: vertical; }

.btn-submit {
  display: block;
  margin: 4px auto 0;
  padding: 10px 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-submit:hover { background: var(--ink); color: var(--bg); }

.pill-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn-pill {
  background: var(--ink);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-pill:hover { background: var(--navy); }

/* ---------- Interior content pages (TV, Film, etc.) ---------- */

.page-header {
  padding: 56px 24px 12px;
  max-width: var(--max-width);
  text-align: center;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.875rem; /* 30px — measured on live Adobe */
  margin: 0 0 8px;
}

.page-intro {
  font-style: italic;
  color: var(--gray);
  font-size: 0.9375rem; /* 15px */
  max-width: 860px;     /* widened to fit longer taglines on two lines */
  line-height: 1.6;
  margin: 0 auto;
}

.page-body { padding: 0 24px 64px; max-width: var(--max-width); }

.section-block { margin-bottom: 28px; }

.section-heading {
  font-weight: 700;
  font-size: 1.375rem;
  text-align: center;
  margin-bottom: 8px;
}

.section-heading-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px;
}
@media (max-width: 700px) {
  .section-heading-row { flex-direction: column; gap: 10px; }
}

.section-heading-row .section-heading { margin-top: 0; margin-bottom: 0; }

.section-logo {
  height: 100px;
  width: auto;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.section-copy {
  font-size: 0.9375rem; /* 15px — measured on live Adobe */
  color: var(--ink);
  line-height: 1.6;
  margin: 0 auto 20px;
  max-width: 760px;
  text-align: center;
  font-style: italic;
}

.rights-disclaimer {
  font-size: 0.95rem;
  color: #ea3d3d;
  text-decoration: underline;
  text-align: center;
  margin-top: 8px;
}

.click-caption {
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
  margin-top: 6px;
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 8px; /* tight 8px columns per live Adobe measurement */
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* Civics Matters: bottom-align the sponsor logo block with the video embed,
   then pull its caption up close to the newly-aligned row. */
.civics-row { align-items: end; }
.civics-caption { margin-top: 10px; margin-bottom: 20px; }

/* Field of Broken Dreams: three vertical episode embeds across one row. */
.fobd-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 16px;
  max-width: 940px;
}
@media (max-width: 700px) {
  .fobd-grid { grid-template-columns: 1fr; }
}

.postgame-captions .embed-caption {
  font-size: 0.8125rem;
  white-space: normal;
}

/* Music blog captions sized to sit on one line each. */
.music-grid .article-item {
  font-size: 0.875rem;
}

/* Grids whose captions are tuned to sit on a single line at the widened
   column size. Mobile restores a comfortable reading size (see media query). */
.compact-captions .embed-caption {
  font-size: 0.64rem;
  line-height: 15px;
}

.embed-card--featured {
  grid-column: 1 / -1;
}

.full-width-embed {
  max-width: 1060px;
  margin: 0 auto 24px;
}

.full-width-embed iframe {
  width: 100%;
  border: 0;
  display: block;
}

@media (max-width: 700px) {
  .embed-grid { grid-template-columns: 1fr; }
}

.embed-card {
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.embed-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
  display: block;
  background: #f4f4f4;
}

.embed-placeholder {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--placeholder-bg);
  border: 1px dashed var(--placeholder-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.8rem;
  text-align: center;
  padding: 12px;
}

.embed-caption {
  padding: 10px 8px 0;
  font-size: 0.875rem; /* 14px — measured on live Adobe */
  line-height: 18px;   /* 18px — measured on live Adobe */
  text-align: center;
}

.external-link {
  display: inline-block;
  margin-top: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.95rem;
}

.photo-grid {
  columns: 4 220px;
  column-gap: 12px;
}

.photo-tile {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-tile img {
  width: 100%;
  display: block;
}

@media (max-width: 700px) {
  .photo-grid { columns: 2 160px; }
}

/* ---------- Consistent lead/supplementary imagery (replaces scattered inline styles) ---------- */

.page-lead-image {
  max-width: 420px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.page-lead-image img { width: 100%; display: block; }

.brand-logo-link {
  display: inline-block;
  margin-bottom: 6px;
}

.brand-logo-link img {
  max-width: 160px;
  display: block;
  border-radius: var(--radius);
}

.list-thumb {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 10px;
}

.plain-list {
  list-style: none;
  padding-left: 0;
  line-height: 2;
  max-width: 760px;
}

.plain-list.roomy { line-height: 2.1; }

@media (max-width: 900px) {
  .shell { flex-direction: column; }
  .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); position: static; max-height: none; overflow-y: visible; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; }
  .split-hero { flex-direction: column; }
  .split-hero-image { min-height: 320px; }
  .page-header, .page-body { padding-left: 24px; padding-right: 24px; }

  /* Several .section-copy/.cards-caption/.page-intro/.tagline instances carry
     small inline font-sizes tuned only to force single-line text past the
     desktop sidebar's width squeeze. That squeeze doesn't exist once the
     layout stacks on mobile, so restore comfortable reading sizes here,
     overriding those inline styles. */
  .page-intro { font-size: 0.9375rem !important; }
  .cards-caption { font-size: 0.85rem !important; }
  .section-copy { font-size: 0.9375rem !important; }
  .tagline { font-size: 1.05rem !important; }
  .morning-lineup-grid .embed-caption { font-size: 0.875rem !important; }
  .compact-captions .embed-caption { font-size: 0.875rem !important; line-height: 1.5 !important; }
}

@media (max-width: 560px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}


/* ---------- Parity additions (Adobe visual pass, Jul 2026) ---------- */
.section-media-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin: 18px auto 28px;
}
.section-media-row img { max-width: 100%; height: auto; }

.honors-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
  font-style: italic;
}
.honors-list li { margin: 16px 0; line-height: 1.55; }
.honors-list a.press-link {
  color: #3178c6;
  text-decoration: underline;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 44px;
  justify-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.article-item img {
  display: block;
  max-height: 230px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 10px;
}
@media (max-width: 700px) {
  .article-grid { grid-template-columns: 1fr; }
}

.stills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
@media (max-width: 700px) { .stills-grid { grid-template-columns: 1fr; } }
.iframe-zoom { overflow: hidden; }

.split-layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 44px;
  align-items: start;
}
.split-col .honors-list { max-width: none; }
.resume-frame {
  width: 133.33%;
  height: 1470px;
  transform: scale(0.75);
  transform-origin: 0 0;
  border: 1px solid var(--border);
  background: #ffffff;
}
.split-col-resume {
  height: 1100px;
  overflow: hidden;
}
.split-col .honors-list li {
  font-size: 0.8125rem;
  margin: 12px 0;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .split-layout { grid-template-columns: 1fr; }
  .split-col-resume { height: auto; overflow: visible; }
  .resume-frame { width: 100%; height: 1100px; transform: none; }
  .split-col .honors-list li { font-size: 0.9375rem; }
}

.contact-bar {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}
.contact-bar-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
}
.contact-bar-form input {
  flex: 1 1 200px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-bar-form input[name="message"] { flex: 2 1 300px; }

.centered-embed {
  display: flex;
  justify-content: center;
}
.centered-embed .embed-card { width: min(720px, 100%); }

/* ---------- YouTube click-to-load facades ---------- */
.yt-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  display: block;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}
.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.yt-facade:hover img,
.yt-facade:focus img { opacity: 1; }
.yt-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 44px;
  transform: translate(-50%, -50%);
  background: rgba(20, 20, 20, 0.85);
  border-radius: 10px;
}
.yt-facade:hover .yt-facade-play,
.yt-facade:focus .yt-facade-play { background: #f00; }
.yt-facade-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #ffffff;
}
.yt-facade:focus { outline: 3px solid var(--navy, #1f197f); outline-offset: 2px; }

/* ---------- Back to Top (18px gray, arrow — per live Adobe) ---------- */
html { scroll-behavior: smooth; }
.back-to-top {
  text-align: center;
  margin: 64px 0 24px;
}
.back-to-top a {
  font-size: 18px;
  color: #999999;
  text-decoration: none;
}
.back-to-top a:hover { color: #555555; }

/* ---------- Mobile nav: hamburger + fullscreen overlay (Adobe pattern) ---------- */
.mobile-menu-btn { display: none; }
@media (max-width: 900px) {
  body.js-nav .sidebar nav,
  body.js-nav .sidebar .sidebar-heading,
  body.js-nav .sidebar > a.sidebar-link { display: none; }
  body.js-nav .sidebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  body.js-nav .sidebar .logo-mark { width: 52px; height: auto; }
  body.js-nav .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  body.js-nav .mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background: #111;
    margin: 5px 0;
    border-radius: 2px;
  }
}
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 1000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay a {
  font-size: 22px;
  color: #111;
  text-decoration: none;
  text-align: center;
}
.mobile-nav-overlay .mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}


/* ================= Arizona Cardinals sections (self-hosted brand font/assets) ================= */
@font-face {
  font-family: 'Cardinals Display';
  src: url('../assets/fonts/ArizonaCardinalsV4-Display.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.cards-zone {
  background: transparent;
  padding: 0 0 8px;
  margin-bottom: 6px;
}
.cards-zone .cards-banner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: 0 auto 22px;
  max-width: 1000px;
}
.cards-zone .cards-banner-row .cards-title {
  text-align: center;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.15;
}
.cards-zone .cards-banner-row .cards-banner {
  margin: 0;
  max-width: 640px;
}
.cards-zone .cards-banner {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 22px;
}
.cards-zone .cards-title {
  font-family: 'Cardinals Display', var(--font-display);
  color: #97233F;
  text-align: center;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.cards-zone .cards-role {
  text-align: center;
  color: var(--gray);
  font-style: italic;
  font-size: 0.9375rem;
  max-width: 700px;
  margin: 0 auto 26px;
}
.cards-zone .cards-intro {
  display: flex;
  gap: 34px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.cards-zone .cards-intro img {
  width: 180px;
  border-radius: 4px;
  flex-shrink: 0;
}
.cards-zone .cards-intro p {
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.65;
  flex: 1 1 380px;
  min-width: 260px;
  margin: 0;
}
.cards-zone .cards-subsection {
  max-width: 1060px;
  margin: 0 auto 40px;
}
.cards-zone > .cards-subsection:first-child {
  margin-top: 24px;
}
.cards-zone .cards-sub-heading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 6px;
  min-width: 0;
  flex-wrap: wrap;
}
.cards-zone .cards-sub-heading-row img { width: 40px; height: auto; }
.cards-zone .cards-sub-heading {
  font-family: 'Cardinals Display', var(--font-display);
  color: #97233F;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-align: center;
  margin: 0;
  min-width: 0;
}
.cards-zone .cards-sub-copy {
  text-align: center;
  color: var(--ink);
  font-size: 0.9rem;
  max-width: 700px;
  margin: 0 auto 22px;
}
.cards-zone .cards-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
  margin: 14px auto 0;
  max-width: 920px;
}
@media (max-width: 700px) {
  .cards-zone .cards-intro { flex-direction: column; text-align: center; }

}

@media (max-width: 700px) {
  .embed-grid[style*="1fr 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Interactive multi-episode playlist interface ---------- */
.yt-playlist {
  max-width: 960px;
  margin: 0 auto;
}
.yt-playlist-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.yt-playlist-hero .embed-frame,
.yt-playlist-hero .yt-facade {
  width: 100%;
  height: 100%;
}
.yt-playlist-now {
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  margin: 14px 0 2px;
  color: var(--ink);
}
.yt-playlist-count {
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
  margin: 0 0 14px;
}
.yt-playlist-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.yt-playlist-rail::-webkit-scrollbar { height: 8px; }
.yt-playlist-rail::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 4px;
}
.yt-playlist-item {
  flex: 0 0 176px;
  scroll-snap-align: start;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.yt-playlist-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.yt-playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.yt-playlist-item:hover .yt-playlist-thumb img,
.yt-playlist-item:focus-visible .yt-playlist-thumb img { opacity: 1; }
.yt-playlist-num {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 2px;
}
.yt-playlist-item-title {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: 7px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-playlist-item.is-active .yt-playlist-thumb {
  outline: 3px solid #97233F;
  outline-offset: 0;
}
.yt-playlist-item.is-active .yt-playlist-item-title {
  font-weight: 600;
  color: #97233F;
}
.yt-playlist-item:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.yt-playlist-loading,
.yt-playlist-fallback {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray);
  padding: 22px 0;
}
@media (max-width: 700px) {
  .yt-playlist-item { flex-basis: 148px; }
}

/* ---------- Wide single-column layout for long MLB/NHL captions ----------
   Scoped modifier: guarantees single-line captions (measured against the
   longest real caption, 156 chars, via canvas text measurement) without
   touching Pirate Television's grid or caption sizing. */
.playlists-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1060px;
  margin: 0 auto;
}
.morning-lineup-grid .embed-caption {
  font-size: 0.8125rem; /* 13px -- fits one line at the widened grid with DY/MO/YR dates */
}
.playlist-col {
  flex: 1;
  min-width: 0;
}
.playlist-col .yt-playlist { max-width: none; }
@media (max-width: 860px) {
  .playlists-row { flex-direction: column; gap: 32px; align-items: stretch; }
}

/* Odd-count grid sections: final card centers and enlarges to fill the row,
   matching the standalone single-item pattern (e.g. MLB The Show 21). */
.embed-card.solo-last {
  grid-column: 1 / -1;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Scoped one-line widen for specific section-copy descriptions (measured via canvas) */
.section-copy.wide-line {
  max-width: 1000px;
  white-space: nowrap;
}
@media (max-width: 1040px) {
  .section-copy.wide-line { white-space: normal; }
}

/* Native <video> elements sharing .embed-frame (direct MLB file conversions) */
video.embed-frame {
  object-fit: contain;
  background: #000;
}
