.media { margin-top: clamp(3rem, 7vw, 5.5rem); background: #031426; color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; }
.media-page { margin-top: 0; padding-top: clamp(6.5rem, 12vw, 9rem); }

/* Cinematic hero */
.media-hero { position: relative; padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.media-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: clamp(120px, 22vw, 240px); height: 3px; background: linear-gradient(90deg, var(--gold, #f0c36b), transparent); }
.media-title { color: #fff; font-size: clamp(2.6rem, 8vw, 5rem); line-height: 1.02; letter-spacing: -0.01em; margin: 1rem 0 1.25rem; font-weight: 800; }
.title-outline { color: transparent; -webkit-text-stroke: 1.5px var(--gold, #f0c36b); }
.media-hero .lead { color: #dbe6ef; font-size: clamp(1.05rem, 2.6vw, 1.25rem); font-weight: 500; line-height: 1.6; max-width: 58ch; }
.onair { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.5rem; padding: .45rem 1rem .45rem .8rem; border: 1px solid rgba(255,90,90,.55); border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #ff8a8a; background: rgba(255,60,60,.08); }
.onair-dot { width: .65rem; height: .65rem; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 0 rgba(255,77,77,.7); animation: onair-pulse 1.6s ease-out infinite; }
@keyframes onair-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,77,77,.65); } 70% { box-shadow: 0 0 0 10px rgba(255,77,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,77,0); } }

/* Stats strip */
.media-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(2rem, 5vw, 3rem); background: rgba(240,195,107,.22); border: 1px solid rgba(240,195,107,.22); }
.media-stat { margin: 0; padding: 1.25rem 1rem; background: #041a30; text-align: left; }
.media-stat dt { color: var(--gold, #f0c36b); font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; line-height: 1; }
.media-stat dd { margin: .5rem 0 0; color: #a9bfcf; font-size: .85rem; line-height: 1.45; }

/* Documentary feature card */
.media-doc { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.75rem, 5vw, 3rem); background: linear-gradient(135deg, rgba(240,195,107,.10), rgba(240,195,107,.02) 55%, rgba(4,26,48,.6)), #041a30; border: 1px solid rgba(240,195,107,.45); box-shadow: 0 24px 60px rgba(0,0,0,.45); overflow: hidden; }
.media-doc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold, #f0c36b), #b98a2e, var(--gold, #f0c36b)); }
.media-doc-badge { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #031426; background: var(--gold, #f0c36b); padding: .45rem .9rem; margin-bottom: 1.1rem; }
.media-doc-title { color: #fff; font-size: clamp(1.7rem, 5vw, 2.8rem); line-height: 1.08; margin: 0 0 1rem; font-weight: 800; }
.media-doc p { color: #c3d2de; font-size: 1rem; line-height: 1.65; max-width: 64ch; }
.media-doc-platforms { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 1.5rem; padding: 0; }
.media-doc-platforms li { border: 1px solid rgba(240,195,107,.5); color: var(--gold, #f0c36b); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .5rem .95rem; border-radius: 999px; }

/* Video sections */
.media-section { margin-top: clamp(3rem, 6vw, 4.5rem); }
.media-section-title { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: .9rem 0 1rem; }
.media-section-copy { color: #c3d2de; font-size: 1rem; line-height: 1.6; max-width: 62ch; }

.media-embeds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.75rem; }
.media-embed { position: relative; margin: 0; transition: transform .25s ease; }
.media-embed:hover { transform: translateY(-4px); }
.media-ep { position: absolute; top: -0.9rem; left: .9rem; z-index: 2; font-size: .75rem; font-weight: 800; letter-spacing: .18em; color: #031426; background: var(--gold, #f0c36b); padding: .3rem .65rem; }
.media-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid rgba(240,195,107,.35); background: #000; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.media-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.media-frame-vertical { aspect-ratio: 9 / 16; max-width: 320px; }
.media-frame-vertical video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.media-embed figcaption { color: #c3d2de; font-size: .85rem; font-weight: 600; padding-top: .7rem; line-height: 1.45; }

.media-inline-link { color: var(--gold, #f0c36b); font-weight: 700; text-decoration: underline; }

/* Press logo marquee */
.press-marquee { margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid rgba(240,195,107,.3); border-bottom: 1px solid rgba(240,195,107,.3); background: #020d18; overflow: hidden; }
.press-marquee-label { display: block; text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: #7d93a6; padding: 1rem 0 .25rem; }
.press-marquee-viewport { overflow: hidden; padding: .5rem 0 1.25rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.press-marquee-track { display: flex; width: max-content; animation: press-scroll 36s linear infinite; }
.press-marquee:hover .press-marquee-track { animation-play-state: paused; }
.press-logo { width: 190px; height: 88px; flex: 0 0 190px; display: grid; place-items: center; padding: .9rem 1.4rem; border-right: 1px solid rgba(255,255,255,.08); }
.press-logo img { width: auto; max-width: 100%; height: 52px; object-fit: contain; opacity: .85; transition: opacity .25s ease, transform .25s ease; }
.press-logo:hover img { opacity: 1; transform: scale(1.06); }
@keyframes press-scroll { to { transform: translateX(-50%); } }

.media-cta { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid rgba(240,195,107,.25); text-align: center; }
.media-cta-copy { color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; }

@media (max-width: 900px) {
  .media-embeds { grid-template-columns: 1fr; }
  .media-stats { grid-template-columns: 1fr; }
  .media-stat { text-align: center; }
  .title-outline { -webkit-text-stroke-width: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .press-marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .press-logo { flex-basis: 150px; }
  .onair-dot { animation: none; }
}

/* Moe Train Eats: flashy food-show treatment */
.media-eats { background: radial-gradient(1200px 500px at 85% -5%, rgba(255,110,30,.14), transparent 60%), radial-gradient(900px 480px at 8% 12%, rgba(255,60,20,.10), transparent 60%), #150b06; }
.media-eats .media-hero::after { background: linear-gradient(90deg, #ff7a2f, transparent); }
.title-flame { background: linear-gradient(100deg, #f7c948 10%, #ff8a3d 45%, #ff4d2e 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eats-ticker { margin-top: 1.75rem; border-top: 1px solid rgba(255,138,61,.35); border-bottom: 1px solid rgba(255,138,61,.35); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.eats-ticker-track { display: flex; gap: 2.75rem; width: max-content; padding: .8rem 0; animation: eats-scroll 26s linear infinite; }
.eats-ticker-track span { white-space: nowrap; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffb37a; }
.eats-ticker-track span::after { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-left: 2.75rem; background: #ff6a2b; border-radius: 50%; box-shadow: 0 0 12px rgba(255,106,43,.9); transform: translateY(-.2rem); }
@keyframes eats-scroll { to { transform: translateX(-50%); } }
.eats-stats { background: rgba(255,122,47,.25); border-color: rgba(255,122,47,.35); }
.eats-stats .media-stat { background: #1d0f08; }
.eats-stats .media-stat dt { color: #ff9a52; }
.eats-feature-badge { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #fff; background: linear-gradient(100deg, #ff4d2e, #c22e12); padding: .5rem 1rem; margin-bottom: 1rem; box-shadow: 0 6px 24px rgba(255,77,46,.45); }
.eats-feature-embed .media-frame { border: 2px solid rgba(255,138,61,.65); box-shadow: 0 18px 50px rgba(255,90,30,.25); }
.media-eats .media-ep { background: linear-gradient(100deg, #f7c948, #ff8a3d); }
@media (prefers-reduced-motion: reduce) {
  .eats-ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .eats-ticker-track span::after { display: none; }
}

/* ============ TV & Media page: broadcast hero (1.0.95) ============ */
.media-page.tv-page { padding-top: 0; }
.tv-hero { position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(600px, 94svh, 860px);
  display: flex; align-items: flex-end;
  padding: clamp(7rem, 15vw, 10rem) 0 clamp(4.5rem, 10vw, 6rem); }
.tv-bg { position: absolute; inset: 0; z-index: -4; background: #020b15; }
.tv-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  animation: tv-kenburns 26s ease-in-out infinite alternate; }
@keyframes tv-kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, 1.5%); } }
.tv-shade { position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2,10,20,.78) 0%, rgba(2,10,20,.30) 32%, rgba(2,10,20,.55) 60%, rgba(3,20,38,.97) 100%),
    linear-gradient(100deg, rgba(2,10,20,.85) 0%, rgba(2,10,20,.38) 52%, rgba(2,10,20,.05) 78%);
  box-shadow: inset 0 0 180px rgba(0,0,0,.55); }
.tv-scan { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px); }
.tv-corner { position: absolute; z-index: 2; width: 30px; height: 30px; pointer-events: none;
  border: 0 solid rgba(240,195,107,.85); }
.tv-tl { top: calc(var(--nav-height, 86px) + 12px); left: 12px; border-top-width: 3px; border-left-width: 3px; }
.tv-tr { top: calc(var(--nav-height, 86px) + 12px); right: 12px; border-top-width: 3px; border-right-width: 3px; }
.tv-bl { bottom: 14px; left: 12px; border-bottom-width: 3px; border-left-width: 3px; }
.tv-br { bottom: 14px; right: 12px; border-bottom-width: 3px; border-right-width: 3px; }
.tv-live { position: absolute; z-index: 2; top: calc(var(--nav-height, 86px) + 12px); right: 52px;
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #fff; background: rgba(190,18,18,.88); padding: .42rem .7rem; border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0,0,0,.5); }
.tv-live i { width: .55rem; height: .55rem; border-radius: 50%; background: #fff; animation: tv-blink 1.1s ease-in-out infinite; }
@keyframes tv-blink { 50% { opacity: .2; } }
.tv-inner { position: relative; z-index: 2; width: 100%; }
.tv-inner > * { animation: tv-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.tv-inner > *:nth-child(2) { animation-delay: .1s; }
.tv-inner > *:nth-child(3) { animation-delay: .2s; }
.tv-inner > *:nth-child(4) { animation-delay: .3s; }
@keyframes tv-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.tv-eyebrow { display: flex; align-items: center; gap: .8rem;
  font-family: var(--font-mono); font-size: .76rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold, #f0c36b); }
.tv-eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--gold, #f0c36b); box-shadow: 0 0 12px rgba(240,195,107,.8); }
.tv-title { font-family: var(--font-display); text-transform: uppercase; font-weight: 800;
  font-size: clamp(3.2rem, 14vw, 7rem); line-height: .93; letter-spacing: -.01em; color: #fff;
  margin: 1.1rem 0 1.2rem; text-shadow: 0 6px 34px rgba(0,0,0,.65); }
.tv-title-gold { background: linear-gradient(100deg, #f9e2a8 5%, var(--gold, #f0c36b) 45%, #c9962f 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.tv-lead { color: #e9f1f7; font-size: clamp(1.02rem, 2.8vw, 1.22rem); line-height: 1.65; font-weight: 500;
  max-width: 56ch; margin: 0 0 1.6rem; text-shadow: 0 2px 16px rgba(0,0,0,.7); }
.tv-hero .onair { margin-top: 0; background: rgba(10,4,6,.55); backdrop-filter: blur(4px); }
/* Stats ride up over the hero's lower edge */
.tv-stats { margin-top: -3rem; position: relative; z-index: 3; }
.tv-stats .media-stat { border-top: 3px solid var(--gold, #f0c36b);
  box-shadow: 0 22px 50px rgba(0,0,0,.55); padding: 1.5rem 1.1rem; }
.tv-stats .media-stat dt { font-family: var(--font-display); font-size: clamp(2.5rem, 10vw, 3.6rem);
  letter-spacing: -.01em; }
@media (prefers-reduced-motion: reduce) {
  .tv-bg img { animation: none; }
  .tv-live i { animation: none; }
  .tv-inner > * { animation: none; }
}

/* ============ 1.0.134: the base layer this stylesheet never had ============
   Root cause of the /media misalignment: functions.php enqueues ONLY
   media.css (plus style.css and rich.css) for the media and moetraineats
   subpages. front.css, which every other page loads, is where the theme's
   base layer lives: the border-box reset, the body margin reset with the
   page-level horizontal-overflow guards, and the .shell measure itself.
   Without it, these pages rendered with the browser defaults: an 8px body
   margin framing the dark sections, content-box sizing, and .shell as an
   unstyled block, so every shell ran full width (hero copy flush at the
   viewport edge) and the 1.0.133 header rule could set the nav shell's
   width but had no auto margins to center it with, leaving the header
   hugging the left edge with the logo at x=0 and no page-level
   overflow-x backstop behind the wide marquee tracks. The rules below
   mirror front.css's base values exactly, so these pages sit in the same
   shell as the rest of the site. Scoped to this stylesheet, which loads
   on no other pages. */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; overflow-x: hidden; }
.shell { width: var(--shell); margin-inline: auto; }
@media (max-width: 760px) {
  .shell { width: min(calc(100% - 30px), 1240px); }
}
