/* Mobile-first overrides for the public BFM website. */
@media (max-width: 760px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }

  .site-header {
    height: 72px;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .brand { width: 82px; height: 46px; flex: 0 0 auto; }
  .menu-toggle {
    display: grid;
    place-items: center;
    order: 2;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 0;
    cursor: pointer;
  }
  .menu-toggle::before { content: '☰'; font-size: 20px; line-height: 1; }
  .listen { order: 3; margin-left: 9px; padding: 12px 11px; font-size: 10px; letter-spacing: .7px; }
  .listen i { display: none; }

  #main-nav {
    display: none;
    position: absolute;
    top: 71px;
    right: 0;
    left: 0;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 28px rgba(8, 33, 41, .14);
  }
  #main-nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  #main-nav a { padding: 14px 5px; font-size: 12px; }

  .hero { width: 100%; min-height: 615px; }
  .hero-image { background-position: 59% center; }
  .hero-copy { max-width: none; padding: 76px 24px 130px; }
  .hero h1 { font-size: clamp(52px, 16vw, 72px); line-height: .86; margin-bottom: 24px; }
  .hero-support { max-width: 320px; font-size: 15px; line-height: 1.55; }
  .hero-actions { align-items: flex-start; gap: 17px; }
  .hero-actions .button { min-height: 58px; padding: 13px 15px; }
  .under-button { max-width: 145px; line-height: 1.5; padding-top: 7px; }
  .frequency { right: 20px; bottom: 37px; gap: 4px; }
  .frequency b { font-size: 68px; }
  .frequency small { font-size: 9px; }
  .hero-glow { width: 78vw; height: 78vw; right: -33vw; bottom: -45vw; }

  .fm-console { width: 100%; margin: 0; border: 0; border-radius: 0; grid-template-columns: 105px 1fr; gap: 15px; padding: 18px; box-shadow: none; }
  .console-art { width: 105px; height: 126px; }
  .console-now { padding: 4px 0; min-width: 0; }
  .console-now h3 { font-size: 23px; margin: 10px 0 4px; }
  .console-now p { white-space: normal; }
  .console-frequency, .console-eq { display: none; }
  .ticker { min-height: 66px; padding: 12px 20px; gap: 12px; }
  .ticker span, .ticker b { font-size: 9px; }
  .ticker b:nth-of-type(2), .ticker-sep { display: none; }

  .section-wrap { padding: 76px 20px; }
  .split-heading, .story { grid-template-columns: 1fr; gap: 26px; }
  .split-heading>div p, .story>div>p { font-size: 16px; }
  .section-title { display: block; margin-bottom: 28px; }
  .section-title > .inline-link { display: inline-block; margin-top: 20px; }
  .show-grid, .news-grid, .values { grid-template-columns: 1fr; }
  .show-card { min-height: auto; padding: 16px; }
  .show-poster>img { height: 255px; }
  .show-poster h3 { font-size: 26px; }
  .poster-play { top: 228px; right: 29px; }
  .gallery-preview { grid-template-columns: 1fr 1fr; height: 260px; }
  .gallery-preview img:nth-child(n+5) { display: none; }
  .studio { grid-template-columns: 1fr; min-height: 0; }
  .studio-photo { min-height: 270px; }
  .studio-copy { padding: 58px 24px; }
  .studio-copy p:not(.eyebrow) { font-size: 16px; }
  .news-grid article { min-height: 0; padding: 25px 20px; }
  .episode-grid { grid-template-columns: 1fr !important; }

  .page-hero { padding: 76px 20px 60px; }
  .page-hero h1 { font-size: clamp(48px, 15vw, 67px); }
  .page-hero>p:last-child { font-size: 16px; }
  .gallery-grid { columns: 2; padding: 48px 20px 70px; }
  .news-list article { padding: 20px; }
  .activity-card>div { padding: 22px; }
  .article { padding-top: 55px; }
  .article h1 { font-size: clamp(43px, 14vw, 62px); }

  .schedule-template, .news-template { padding: 48px 18px 70px; }
  .schedule-intro { margin-bottom: 30px; }
  .schedule-intro h1 { font-size: 43px; letter-spacing: -2.5px; }
  .day-schedule { gap: 30px; }
  .schedule-slot { grid-template-columns: 1fr auto; }
  .schedule-slot time { grid-column: 1 / -1; }

  .app-banner { margin: 38px 15px 18px; padding: 28px 23px; }
  .app-actions { flex-wrap: wrap; }
  .template-footer { margin: 0 15px 15px !important; padding: 40px 24px 22px !important; }
  .audio-dock { right: 12px; bottom: 12px; min-width: 0; width: calc(100% - 24px); }

  .not-found-page { min-height: calc(100vh - 72px); display: grid; align-content: center; padding: 40px 24px 20vh; }
  .not-found-page h1 { margin: 0; font-size: clamp(58px, 19vw, 82px); line-height: .82; letter-spacing: -.07em; }
}

@media (min-width: 761px) {
  .not-found-page { min-height: calc(100vh - 84px); display: grid; align-content: center; padding: 0 max(8vw, 72px) 15vh; }
  .not-found-page h1 { margin: 0; font-size: clamp(80px, 12vw, 180px); line-height: .78; letter-spacing: -.08em; }
}

.not-found-page h1 em { font-family: 'Playfair Display', serif; font-weight: 700; }
