:root {
    --navy-950: #020b18;
    --navy-900: #041326;
    --navy-850: #071a31;
    --navy-800: #0a2341;
    --navy-700: #12365d;

    --red-700: #89151b;
    --red-600: #a7191f;
    --red-500: #c7242c;
    --red-400: #e34950;

    --gold-500: #f2b632;
    --gold-400: #ffd36a;

    --cream: #fff8ea;
    --white: #ffffff;

    --surface: #ffffff;
    --surface-soft: #f3f6fa;
    --surface-muted: #e9eef5;

    --text: #111b2c;
    --text-soft: #344258;
    --muted: #647186;

    --line: #d8e0eb;
    --line-dark: rgba(255, 255, 255, 0.13);

    --shadow-small:
        0 8px 24px rgba(3, 18, 38, 0.08);

    --shadow-medium:
        0 18px 48px rgba(3, 18, 38, 0.14);

    --shadow-large:
        0 28px 70px rgba(2, 11, 24, 0.3);

    --radius-small: 10px;
    --radius-medium: 18px;
    --radius-large: 28px;

    --container: 1180px;
}

/* ---------------------------------------------------------
   Base
--------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: #f7f9fc;
    color: var(--text);
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

a {
    color: inherit;
}

.container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}

p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

h2 {
    margin: 0;
    color: var(--navy-900);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
}

button,
.btn,
.menu a,
.text-link {
    transition:
        transform 160ms ease,
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        opacity 160ms ease;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(242, 182, 50, 0.7);
    outline-offset: 4px;
}

/* ---------------------------------------------------------
   Header and navigation
--------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(
            90deg,
            rgba(2, 11, 24, 0.98),
            rgba(7, 26, 49, 0.97)
        );
    box-shadow:
        0 8px 30px
        rgba(2, 11, 24, 0.2);
    backdrop-filter: blur(14px);
}

.nav {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-small {
    display: block;
    width: auto;
    height: 68px;
    object-fit: contain;
}

.menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.menu a {
    position: relative;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.menu a:not(.listen-button)::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: var(--gold-500);
    transition: right 160ms ease;
}

.menu a:hover {
    color: var(--white);
}

.menu a:hover::after {
    right: 0;
}

.listen-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-small);
    background: var(--red-600);
    color: var(--white);
    cursor: pointer;
    box-shadow:
        0 10px 25px
        rgba(167, 25, 31, 0.28);
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.07em;
}

.listen-button:hover {
    transform: translateY(-2px);
    background: var(--red-500);
    box-shadow:
        0 14px 30px
        rgba(167, 25, 31, 0.38);
}

.menu-toggle {
    min-height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: auto;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.07em;
}

.menu-toggle-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* ---------------------------------------------------------
   Broadcast hero
--------------------------------------------------------- */

.broadcast-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(
            100deg,
            rgba(2, 11, 24, 0.98) 0%,
            rgba(4, 19, 38, 0.93) 43%,
            rgba(4, 19, 38, 0.68) 100%
        ),
        url("assets/cover-photo.png")
            center / cover
            no-repeat;
}

.broadcast-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(
            circle at 78% 30%,
            rgba(242, 182, 50, 0.14),
            transparent 28%
        ),
        radial-gradient(
            circle at 18% 75%,
            rgba(167, 25, 31, 0.22),
            transparent 33%
        );
}

.broadcast-hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 92px;
    background: #f7f9fc;
    clip-path: polygon(
        0 100%,
        100% 0,
        100% 100%
    );
    pointer-events: none;
}

.broadcast-hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(2, 11, 24, 0.05),
            rgba(2, 11, 24, 0.3)
        );
}

.broadcast-hero-grid {
    position: relative;
    z-index: 2;
    min-height: 545px;
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(350px, 0.95fr);
    align-items: center;
    gap: clamp(38px, 6vw, 76px);
    padding-top: 36px;
    padding-bottom: 88px;
}

.broadcast-intro {
    max-width: 690px;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(3, 15, 31, 0.6);
    color: var(--gold-400);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.live-dot {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ff4148;
    box-shadow:
        0 0 0 6px rgba(255, 65, 72, 0.13),
        0 0 22px rgba(255, 65, 72, 0.7);
    animation: live-pulse 1.8s infinite;
}

@keyframes live-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.82);
        opacity: 0.72;
    }
}

.broadcast-intro h1 {
    max-width: 680px;
    margin: 20px 0 18px;
    color: var(--white);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(3rem, 5.2vw, 4.9rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.broadcast-intro h1 span {
    display: block;
    color: var(--gold-400);
}

.hero-lead {
    max-width: 630px;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.7;
}

.hero-actions,
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 25px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-small);
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.red {
    background: var(--red-600);
    color: var(--white);
    box-shadow:
        0 12px 28px
        rgba(167, 25, 31, 0.28);
}

.btn.red:hover {
    background: var(--red-500);
    box-shadow:
        0 16px 34px
        rgba(167, 25, 31, 0.36);
}

.btn.outline {
    border-color: var(--navy-800);
    background: var(--white);
    color: var(--navy-900);
}

.btn.outline:hover {
    background: var(--navy-900);
    color: var(--white);
}

.btn.light-outline {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn.light-outline:hover {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.13);
}

.player-button-icon {
    font-size: 0.8rem;
}

.hero-clock {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    justify-content: start;
    column-gap: 14px;
    row-gap: 2px;
    margin-top: 34px;
    color: var(--white);
}

.hero-clock-label {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.56);
    text-transform: uppercase;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.hero-clock strong {
    font-family:
        "Courier New",
        Courier,
        monospace;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

.hero-clock span:last-child {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    font-weight: 700;
}

/* ---------------------------------------------------------
   On-air player card
--------------------------------------------------------- */

.on-air-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            145deg,
            rgba(9, 32, 60, 0.95),
            rgba(2, 13, 28, 0.97)
        );
    box-shadow: var(--shadow-large);
    backdrop-filter: blur(18px);
}

.on-air-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -70px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(242, 182, 50, 0.08);
    filter: blur(8px);
}

.on-air-card-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.card-kicker {
    color: var(--red-600);
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.card-kicker.light {
    color: var(--gold-400);
}

.on-air-card h2 {
    margin-top: 6px;
    color: var(--white);
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.05;
}

.station-state {
    min-width: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    border: 1px solid rgba(72, 220, 155, 0.26);
    border-radius: 999px;
    background: rgba(45, 183, 122, 0.12);
    color: #6ce6ad;
    text-transform: uppercase;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.now-playing {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        76px
        minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.045);
}

.album-art-shell {
    width: 76px;
    height: 76px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--navy-950);
    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.28);
}

.album-art-shell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.now-playing-copy {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.now-playing-label {
    color: var(--gold-400);
    text-transform: uppercase;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.now-playing-copy strong {
    overflow: hidden;
    color: var(--white);
    font-size: clamp(1.1rem, 2vw, 1.42rem);
    line-height: 1.25;
    text-overflow: ellipsis;
}

.now-playing-copy > span:last-child {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.62);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-controls {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.main-play-button {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--red-600);
    color: var(--white);
    cursor: pointer;
    box-shadow:
        0 12px 30px rgba(167, 25, 31, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.main-play-button:hover {
    transform: scale(1.05);
    background: var(--red-500);
}

.main-play-icon {
    margin-left: 3px;
    font-size: 1.1rem;
}

.player-status-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.player-status-copy strong {
    color: var(--white);
    font-size: 1rem;
}

.player-status-copy span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.82rem;
}

.station-meta {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
}

.station-meta > div {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 15px 13px;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    text-align: center;
}

.station-meta > div:last-child {
    border-right: 0;
}

.station-meta span {
    color: rgba(255, 255, 255, 0.46);
    text-transform: uppercase;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.09em;
}

.station-meta strong {
    overflow: hidden;
    color: var(--white);
    font-size: 0.84rem;
    text-overflow: ellipsis;
}

.on-air-card audio {
    display: none;
}

.on-air-card noscript p {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.68);
}

.on-air-card noscript a {
    color: var(--gold-400);
}

/* ---------------------------------------------------------
   Sections
--------------------------------------------------------- */

.section {
    position: relative;
    padding: clamp(64px, 8vw, 96px) 0;
}

.section.alt {
    background: var(--surface-muted);
}

.latest-section {
    padding-top: 75px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.section-heading > div {
    max-width: 720px;
}

.section-heading p {
    max-width: 620px;
    margin-top: 12px;
    color: var(--muted);
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--red-600);
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.eyebrow.gold {
    color: var(--gold-500);
}

/* ---------------------------------------------------------
   News cards
--------------------------------------------------------- */

.content-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.content-card {
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: var(--surface);
    box-shadow: var(--shadow-small);
}

.content-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            var(--red-600),
            var(--gold-500)
        );
}

.content-card:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 25, 31, 0.24);
    box-shadow: var(--shadow-medium);
}

.content-card h3 {
    margin: 11px 0 12px;
    color: var(--navy-900);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.45rem;
    line-height: 1.2;
}

.content-card p {
    color: var(--text-soft);
}

.text-link {
    margin-top: auto;
    padding-top: 20px;
    color: var(--red-600);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 900;
}

.text-link:hover {
    color: var(--red-500);
}

/* ---------------------------------------------------------
   Calendar cards
--------------------------------------------------------- */

.calendar-grid {
    display: grid;
    gap: 16px;
}

.calendar-card {
    display: grid;
    grid-template-columns:
        94px
        minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: var(--surface);
    box-shadow: var(--shadow-small);
}

.calendar-card:hover {
    transform: translateY(-3px);
    border-color: rgba(5, 26, 51, 0.2);
    box-shadow: var(--shadow-medium);
}

.date-badge {
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            var(--navy-800),
            var(--navy-950)
        );
    color: var(--white);
    box-shadow:
        0 12px 24px
        rgba(5, 26, 51, 0.2);
}

.date-badge span {
    color: var(--gold-400);
    text-transform: uppercase;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.date-badge strong {
    font-size: 2rem;
    line-height: 1.05;
}

.calendar-card-body {
    min-width: 0;
}

.calendar-card h3 {
    margin: 6px 0 7px;
    color: var(--navy-900);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.38rem;
}

.calendar-card-body p {
    margin-top: 6px;
}

.event-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ---------------------------------------------------------
   Lighthouse Local
--------------------------------------------------------- */

.lighthouse-local-section {
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(242, 182, 50, 0.13),
            transparent 28%
        ),
        linear-gradient(
            130deg,
            var(--navy-950),
            var(--navy-800)
        );
}

.home-video {
    display: grid;
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(420px, 1.15fr);
    align-items: center;
    gap: clamp(38px, 6vw, 76px);
}

.video-copy h2 {
    color: var(--white);
}

.video-copy p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.03rem;
}

.video-copy .btn.outline {
    border-color: rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
}

.video-copy .btn.outline:hover {
    background: var(--white);
    color: var(--navy-900);
}

.video-shell {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: #000000;
    box-shadow: var(--shadow-large);
}

.video-shell iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------------------------------------------------------
   Feature band
--------------------------------------------------------- */

.feature-band {
    width: 100%;
    overflow: hidden;
    padding: clamp(38px, 5vw, 58px);
    border-radius: var(--radius-large);
    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(242, 182, 50, 0.13),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            var(--navy-850),
            var(--navy-950)
        );
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.feature-band-heading {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

.feature-band-heading h2 {
    color: var(--white);
    font-size: clamp(2.25rem, 4vw, 4rem);
    line-height: 1;
}

.features {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.feature {
    min-width: 0;
    min-height: 220px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    text-align: left;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 182, 50, 0.28);
    background: rgba(255, 255, 255, 0.055);
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border: 1px solid rgba(242, 182, 50, 0.25);
    border-radius: 12px;
    background: rgba(242, 182, 50, 0.1);
    color: var(--gold-400);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.05rem;
    font-weight: 900;
}

.feature h3 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: 1.2rem;
    line-height: 1.25;
}

.feature p {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.96rem;
    line-height: 1.65;
    letter-spacing: normal;
    overflow-wrap: normal;
    word-break: normal;
}

/* ---------------------------------------------------------
   Empty states
--------------------------------------------------------- */

.empty-state {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px dashed #b7c2d0;
    border-radius: var(--radius-medium);
    background: var(--surface);
    color: var(--muted);
    text-align: center;
}

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */

footer {
    padding: 60px 0 26px;
    background: var(--navy-950);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns:
        1.45fr
        0.85fr
        0.85fr
        1fr;
    align-items: start;
    gap: 38px;
}

.footer-brand {
    max-width: 330px;
}

.footer-logo {
    display: block;
    width: min(230px, 100%);
    margin-bottom: 18px;
}

footer strong {
    display: block;
    margin-bottom: 14px;
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.09em;
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.91rem;
}

footer a {
    display: block;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.66);
    text-decoration: none;
    font-size: 0.9rem;
}

footer a:hover {
    color: var(--gold-400);
}

footer button.btn {
    margin-top: 14px;
}

.copyright {
    margin-top: 42px;
    padding-top: 21px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
}

/* ---------------------------------------------------------
   Homepage directory section
--------------------------------------------------------- */

.directory-home-section {
    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(167, 25, 31, 0.06),
            transparent 28%
        ),
        #f7f9fc;
}

.directory-home-section .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 36px;
}

.directory-home-section .section-heading > div {
    min-width: 0;
    max-width: 760px;
}

.directory-choice-grid {
    width: 100%;
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.directory-choice-card {
    position: relative;
    min-width: 0;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: var(--shadow-small);
    color: inherit;
    text-decoration: none;
}

.directory-choice-card::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: var(--red-600);
    opacity: 0.08;
}

.directory-choice-card.business::before {
    background: var(--gold-500);
    opacity: 0.14;
}

.directory-choice-card:hover {
    transform: translateY(-6px);
    border-color: rgba(5, 26, 51, 0.2);
    box-shadow: var(--shadow-medium);
}

.directory-card-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.directory-card-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(167, 25, 31, 0.18);
    border-radius: 16px;
    background: rgba(167, 25, 31, 0.08);
    color: var(--red-600);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.25rem;
    font-weight: 900;
}

.directory-card-icon.business {
    border-color: rgba(242, 182, 50, 0.3);
    background: rgba(242, 182, 50, 0.13);
    color: #956200;
}

.directory-badge {
    width: fit-content;
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(43, 153, 93, 0.2);
    border-radius: 999px;
    background: rgba(43, 153, 93, 0.09);
    color: #217846;
    text-transform: uppercase;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.directory-badge.paid {
    border-color: rgba(242, 182, 50, 0.34);
    background: rgba(242, 182, 50, 0.14);
    color: #865900;
}

.directory-card-copy {
    min-width: 0;
}

.directory-choice-card h3 {
    max-width: 100%;
    margin: 9px 0 12px;
    color: var(--navy-900);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
    line-height: 1.07;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.directory-choice-card p,
.directory-card-link {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.directory-choice-card p {
    color: var(--muted);
}

.directory-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.directory-tag-list span {
    display: inline-flex;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.75rem;
    font-weight: 800;
}

.directory-card-link {
    margin-top: auto;
    color: var(--red-600);
    font-size: 0.86rem;
    font-weight: 900;
}

/* ---------------------------------------------------------
   Directory landing page
--------------------------------------------------------- */

.directory-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(95px, 12vw, 155px) 0;
    background:
        radial-gradient(
            circle at 78% 20%,
            rgba(242, 182, 50, 0.16),
            transparent 27%
        ),
        linear-gradient(
            125deg,
            var(--navy-950),
            var(--navy-800)
        );
}

.directory-page-hero-content {
    max-width: 810px;
}

.directory-page-hero h1 {
    margin: 14px 0 22px;
    color: var(--white);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.directory-page-hero h1 span {
    display: block;
    color: var(--gold-400);
}

.directory-page-hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 2vw, 1.22rem);
}

.directory-detail-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(330px, 0.85fr);
    align-items: center;
    gap: clamp(38px, 7vw, 90px);
}

.directory-detail-intro {
    max-width: 720px;
    margin-top: 24px;
    font-size: 1.05rem;
}

.directory-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.directory-category-list span {
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.75rem;
    font-weight: 800;
}

.directory-info-card {
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f2f7f4
        );
    box-shadow: var(--shadow-medium);
}

.directory-info-card.business {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fff9eb
        );
}

.directory-info-card h3 {
    margin: 22px 0 18px;
    color: var(--navy-900);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.7rem;
}

.directory-info-card > p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.88rem;
}

.directory-feature-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.directory-feature-list li {
    position: relative;
    padding-left: 27px;
    color: var(--text-soft);
}

.directory-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #25804c;
    font-weight: 900;
}

.directory-process-section {
    background: var(--navy-950);
}

.directory-process-heading {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.directory-process-heading h2 {
    color: var(--white);
}

.directory-process-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 20px;
}

.directory-process-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.04);
}

.directory-process-card > span {
    color: var(--gold-400);
    font-family:
        "Courier New",
        monospace;
    font-size: 0.82rem;
    font-weight: 900;
}

.directory-process-card h3 {
    margin: 13px 0 9px;
    color: var(--white);
    font-size: 1.3rem;
}

.directory-process-card p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
}

/* ---------------------------------------------------------
   Directory submission forms
--------------------------------------------------------- */

.directory-form-hero {
    padding: clamp(80px, 10vw, 125px) 0;
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(242, 182, 50, 0.16),
            transparent 28%
        ),
        linear-gradient(
            125deg,
            var(--navy-950),
            var(--navy-800)
        );
}

.directory-form-hero-content {
    max-width: 820px;
}

.directory-form-hero h1 {
    margin: 14px 0 22px;
    color: var(--white);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.directory-form-hero h1 span {
    display: block;
    color: var(--gold-400);
}

.directory-form-hero p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
}

.directory-form-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, 0.65fr);
    align-items: start;
    gap: 34px;
}

.directory-form-panel,
.directory-form-sidebar {
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.directory-form-panel {
    padding: clamp(25px, 5vw, 45px);
}

.directory-form-sidebar {
    position: sticky;
    top: 115px;
    padding: 30px;
}

.directory-form-sidebar h3 {
    margin: 22px 0 18px;
    color: var(--navy-900);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.75rem;
}

.directory-form-intro {
    max-width: 760px;
    margin: 18px 0 30px;
}

.directory-form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 19px;
}

.directory-short-textarea {
    min-height: 105px !important;
}

.form-group {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 8px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin: 0;
    color: var(--navy-900);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.35;
}

.form-control {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    display: block;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #bcc7d5;
    border-radius: 10px;
    background: var(--white);
    color: var(--text);
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow:
        inset 0 1px 2px
        rgba(5, 26, 51, 0.04);
}

.form-control::placeholder {
    color: #7d8999;
    opacity: 1;
}

.form-control:hover {
    border-color: #9eabba;
}

.form-control:focus {
    border-color: var(--red-600);
    outline: 3px solid rgba(167, 25, 31, 0.12);
    outline-offset: 0;
    box-shadow:
        0 0 0 1px
        rgba(167, 25, 31, 0.08);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

textarea.directory-short-textarea {
    min-height: 105px;
}

.form-help {
    display: block;
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.directory-checkbox {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text-soft);
    line-height: 1.55;
}

.directory-checkbox input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--red-600);
}

.directory-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin-top: 28px;
}

.directory-form-note {
    margin-top: 28px;
    padding: 18px;
    border-left: 4px solid var(--gold-500);
    border-radius: 10px;
    background: var(--cream);
}

.directory-form-note strong {
    color: var(--navy-900);
}

.directory-form-note p {
    margin-top: 7px;
    font-size: 0.88rem;
}

/* ---------------------------------------------------------
   Media Hub breaking label
--------------------------------------------------------- */

.news-breaking-label {
    display: inline-flex;
    align-items: center;
    margin-right: 7px;
    padding: 4px 7px;
    border-radius: 999px;
    background: var(--red-600);
    color: var(--white);
    font-size: 0.58rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------
   Lighthouse Local homepage panel
--------------------------------------------------------- */

.lighthouse-local-section .home-video {
    width: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns:
        minmax(300px, 0.85fr)
        minmax(0, 1.35fr);
    align-items: center;
    gap: clamp(38px, 6vw, 78px);
    padding: clamp(40px, 6vw, 72px);
    border-radius: var(--radius-large);
}

.lighthouse-local-section .video-copy {
    min-width: 0;
    max-width: none;
}

.lighthouse-local-section .video-copy h2 {
    max-width: 620px;
    margin-top: 12px;
    font-size: clamp(2.45rem, 4.4vw, 4.25rem);
    line-height: 0.98;
    overflow-wrap: normal;
    word-break: normal;
}

.lighthouse-local-section .video-copy p {
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: normal;
    text-transform: none;
}

.lighthouse-local-section .video-shell {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.lighthouse-local-section .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* ---------------------------------------------------------
   Header clock and graphical icons
--------------------------------------------------------- */

.site-header-clock {
    min-width: 138px;
    display: grid;
    flex: 0 0 auto;
    margin-left: 16px;
    padding-left: 16px;
    border-left:
        1px solid rgba(255, 255, 255, 0.14);
    text-align: right;
    line-height: 1.1;
}

.site-header-clock-label {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.site-header-clock strong {
    color: #ffffff;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 0.96rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.site-header-clock-date {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.63rem;
    white-space: nowrap;
}

.team-group-icon svg,
.directory-card-icon svg {
    width: 27px;
    height: 27px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.directory-card-icon svg {
    width: 30px;
    height: 30px;
}

/* ---------------------------------------------------------
   Large tablet
--------------------------------------------------------- */

@media (max-width: 1180px) {
    .site-header-clock {
        min-width: 92px;
        padding-left: 12px;
    }

    .site-header-clock-date {
        display: none;
    }
}

@media (max-width: 1080px) {
    .menu {
        gap: 15px;
    }

    .menu a {
        font-size: 0.7rem;
    }

    .broadcast-hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(350px, 0.9fr);
        gap: 38px;
    }

    .footer-grid {
        grid-template-columns:
            1.35fr
            1fr
            1fr;
    }

    .footer-grid > div:last-child {
        grid-column: 2 / -1;
    }
}

/* ---------------------------------------------------------
   Tablet
--------------------------------------------------------- */

@media (max-width: 960px) {
    .lighthouse-local-section .home-video {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .lighthouse-local-section .video-copy {
        max-width: 720px;
    }

    .lighthouse-local-section .video-shell {
        max-width: 860px;
    }
}

@media (max-width: 920px) {
    .nav {
        min-height: 82px;
        flex-wrap: wrap;
    }

    .logo-small {
        height: 61px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .menu {
        width: 100%;
        max-height: 0;
        display: grid;
        grid-template-columns:
            repeat(2, 1fr);
        gap: 8px;
        overflow: hidden;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transition:
            max-height 220ms ease,
            opacity 180ms ease,
            padding 220ms ease,
            visibility 180ms ease;
    }

    .menu.open,
    .menu.is-open {
        max-height: 540px;
        padding: 0 0 20px;
        opacity: 1;
        visibility: visible;
    }

    .menu a,
    .menu .listen-button {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 11px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.045);
        text-align: center;
    }

    .menu a::after {
        display: none;
    }

    .menu .listen-button {
        grid-column: 1 / -1;
        background: var(--red-600);
    }

    .site-header-clock {
        min-width: auto;
        margin-left: 10px;
        padding-left: 10px;
    }

    .site-header-clock-label,
    .site-header-clock-date {
        display: none;
    }

    .site-header-clock strong {
        font-size: 0.82rem;
    }

    .broadcast-hero {
        min-height: auto;
    }

    .broadcast-hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 38px;
        padding-top: 58px;
        padding-bottom: 140px;
    }

    .broadcast-intro {
        max-width: 750px;
    }

    .broadcast-intro h1 {
        max-width: 760px;
    }

    .on-air-card {
        width: min(650px, 100%);
    }

    .content-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .home-video {
        grid-template-columns: 1fr;
    }

    .video-copy {
        max-width: 680px;
    }

    .directory-home-section .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .directory-choice-grid {
        grid-template-columns: 1fr;
    }

    .directory-detail-grid,
    .directory-process-grid,
    .directory-form-layout {
        grid-template-columns: 1fr;
    }

    #business .directory-info-card {
        order: 2;
    }

    .directory-form-sidebar {
        position: static;
    }
}

/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media (max-width: 680px) {
    .container {
        width: min(94%, var(--container));
    }

    .nav {
        min-height: 76px;
        gap: 14px;
    }

    .logo-small {
        height: 56px;
    }

    .menu {
        grid-template-columns: 1fr;
    }

    .menu .listen-button {
        grid-column: auto;
    }

    .broadcast-hero {
        min-height: auto;
    }

    .broadcast-hero::after {
        height: 62px;
    }

    .broadcast-hero-grid {
        min-height: auto;
        padding-top: 48px;
        padding-bottom: 110px;
    }

    .broadcast-intro h1 {
        margin-top: 18px;
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-clock {
        grid-template-columns: 1fr;
        row-gap: 3px;
    }

    .hero-clock-label {
        grid-column: auto;
    }

    .on-air-card {
        padding: 22px;
        border-radius: 22px;
    }

    .on-air-card-header {
        align-items: center;
    }

    .now-playing {
        grid-template-columns:
            76px
            minmax(0, 1fr);
        gap: 15px;
        padding: 14px;
    }

    .album-art-shell {
        width: 76px;
        height: 76px;
        border-radius: 12px;
    }

    .station-meta {
        grid-template-columns: 1fr;
    }

    .station-meta > div {
        border-right: 0;
        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.09);
    }

    .station-meta > div:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 62px 0;
    }

    .latest-section {
        padding-top: 55px;
    }

    .section-heading {
        display: grid;
        align-items: start;
        gap: 20px;
    }

    .section-heading .btn {
        width: 100%;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .calendar-card {
        grid-template-columns:
            74px
            minmax(0, 1fr);
        gap: 15px;
        padding: 16px;
    }

    .date-badge {
        height: 74px;
    }

    .date-badge strong {
        font-size: 1.6rem;
    }

    .feature-band {
        padding: 32px 22px;
        border-radius: 22px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .feature {
        min-height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .copyright {
        line-height: 1.6;
    }

    .directory-choice-card {
        min-height: auto;
    }

    .directory-card-top {
        align-items: flex-start;
    }

    .directory-page-hero {
        padding: 80px 0;
    }

    .directory-form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

    .directory-form-actions {
        display: grid;
    }

    .directory-form-actions .btn {
        width: 100%;
    }

    .lighthouse-local-section .home-video {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .lighthouse-local-section .video-copy h2 {
        font-size: clamp(2.25rem, 12vw, 3.35rem);
    }

    .lighthouse-local-section .actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .lighthouse-local-section .actions .btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .site-header-clock {
        display: none;
    }
}

@media (max-width: 430px) {
    .menu-toggle {
        padding-inline: 12px;
    }

    .broadcast-intro h1 {
        font-size: clamp(2.75rem, 15vw, 3.8rem);
    }

    .live-pill {
        max-width: 100%;
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }

    .on-air-card-header {
        align-items: flex-start;
    }

    .now-playing {
        grid-template-columns:
            76px
            minmax(0, 1fr);
    }

    .album-art-shell {
        width: 76px;
        height: 76px;
        aspect-ratio: auto;
    }

    .player-controls {
        align-items: flex-start;
    }

    .calendar-card {
        grid-template-columns: 1fr;
    }

    .date-badge {
        width: 74px;
    }
}

/* ---------------------------------------------------------
   Reduced motion
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}/* Slightly larger main navigation links */
header nav a,
.main-nav a,
.nav-links a,
.site-nav a {
    font-size: 1.1rem;
    padding: 0.8rem 1.1rem;
}

/* Slightly larger mobile navigation links */
@media (max-width: 768px) {
    header nav a,
    .main-nav a,
    .nav-links a,
    .site-nav a {
        font-size: 1.05rem;
        padding: 0.9rem 1rem;
    }
}

/* ---------------------------------------------------------
   Permanent Lighthouse dark theme
--------------------------------------------------------- */

html[data-theme="dark"] {
    color-scheme: dark;

    --surface: #0b1727;
    --surface-soft: #101f32;
    --surface-muted: #17283d;

    --text: #edf3fb;
    --text-soft: #bdc9d8;
    --muted: #93a3b7;

    --line: #2a3d54;

    --shadow-small:
        0 8px 24px
        rgba(0, 0, 0, 0.24);

    --shadow-medium:
        0 18px 48px
        rgba(0, 0, 0, 0.3);

    --shadow-large:
        0 28px 70px
        rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] body {
    background: #07111f;
    color: var(--text);
}

html[data-theme="dark"] main {
    background-color: #07111f;
}

html[data-theme="dark"]
main > section:not(
    .broadcast-hero
):not(
    [class*="page-hero"]
):not(
    [class*="submission-hero"]
) {
    background-color: #07111f;
}

html[data-theme="dark"]
.broadcast-hero::after {
    background: #07111f;
}

html[data-theme="dark"]
:where(
    h1,
    h2,
    h3,
    h4,
    label,
    legend,
    th,
    dt
) {
    color: var(--text);
}

html[data-theme="dark"]
:where(
    input,
    select,
    textarea,
    .form-control
) {
    border-color: var(--line);
    background-color: #0c1b2d;
    color: var(--text);
}

html[data-theme="dark"]
:where(
    input,
    textarea
)::placeholder {
    color: #8293a9;
}

html[data-theme="dark"]
main :where(
    [class$="-card"],
    [class*="-card "],
    .calendar-notice,
    .empty-state
) {
    border-color: var(--line);
    background-color: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-small);
}

html[data-theme="dark"]
main :where(
    [class$="-card"],
    [class*="-card "],
    .calendar-notice,
    .empty-state
)
:where(
    h1,
    h2,
    h3,
    h4,
    strong
) {
    color: var(--text);
}

html[data-theme="dark"]
:where(
    hr,
    table,
    td,
    th
) {
    border-color: var(--line);
}

html[data-theme="dark"] {
    scrollbar-color:
        #37516d
        #07111f;
}

/* ---------------------------------------------------------
   Dark internal page hero dividers
--------------------------------------------------------- */

html[data-theme="dark"]
main > :is(
    [class$="-page-hero"],
    [class*="-page-hero "],
    [class$="-submission-hero"],
    [class*="-submission-hero "]
)::after {
    background: #07111f !important;
}

/* ---------------------------------------------------------
   Dark Team and Music hero dividers
--------------------------------------------------------- */

html[data-theme="dark"] .team-hero::after,
html[data-theme="dark"] .music-hero::after {
    background: #07111f !important;
}
/* Lighthouse App Store badge */
.app-store-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.app-store-badge {
    display: block;
    height: 44px;
    width: auto;
    border-radius: 8px;
}

@media (max-width: 1100px) {
    .menu .app-store-link {
        width: 100%;
        justify-content: center;
    }

    .menu .app-store-badge {
        max-width: 100%;
        height: 44px;
    }
}

@media (max-width: 700px) {
    .menu .app-store-link {
        width: 100%;
    }

    .menu .app-store-badge {
        height: 40px;
    }
}



/* App Store badge visibility fix */
.menu .app-store-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 120px !important;
    width: 120px !important;
    height: 44px !important;
    min-width: 120px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none !important;
}

.menu .app-store-link::after {
    display: none !important;
}

.menu .app-store-badge {
    display: block !important;
    width: 120px !important;
    height: 44px !important;
    max-width: none !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 1100px) {
    .menu .app-store-link {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        flex-basis: 100% !important;
    }
}

/* LIGHTHOUSE EVENT CALENDAR V2 START */

#calendar-feed.event-calendar-host,
#calendar-feed.calendar-grid.event-calendar-host {
    display: block;
}

.event-calendar-app {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-medium);
}

.event-calendar-toolbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(
            135deg,
            var(--navy-950),
            var(--navy-800)
        );
    color: var(--white);
}

.event-calendar-navigation,
.event-calendar-views {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.event-calendar-heading {
    min-width: 0;
    text-align: center;
}

.event-calendar-heading h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    line-height: 1.05;
}

.event-calendar-heading p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.event-calendar-control,
.event-calendar-view {
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.event-calendar-control {
    min-width: 42px;
    padding: 0 13px;
    font-size: 1.45rem;
    line-height: 1;
}

.event-calendar-today {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.event-calendar-view {
    padding: 0 15px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.event-calendar-control:hover,
.event-calendar-control:focus-visible,
.event-calendar-view:hover,
.event-calendar-view:focus-visible,
.event-calendar-view.is-active {
    border-color: var(--gold-400);
    background: var(--gold-400);
    color: var(--navy-950);
    outline: none;
}

.event-calendar-month-wrap {
    overflow-x: auto;
}

.event-calendar-weekdays,
.event-calendar-month-grid {
    min-width: 860px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.event-calendar-weekdays {
    border-bottom: 1px solid var(--line);
    background: color-mix(
        in srgb,
        var(--surface) 88%,
        var(--navy-900)
    );
}

.event-calendar-weekdays span {
    padding: 13px 10px;
    color: var(--muted);
    text-align: center;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-calendar-day {
    min-height: 156px;
    padding: 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.event-calendar-day:nth-child(7n) {
    border-right: 0;
}

.event-calendar-day.is-outside-month {
    opacity: 0.46;
    background: color-mix(
        in srgb,
        var(--surface) 92%,
        var(--navy-900)
    );
}

.event-calendar-day.is-today {
    box-shadow:
        inset 0 0 0 2px
        var(--gold-400);
}

.event-calendar-day-number {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 26px;
    color: var(--navy-900);
    font-size: 0.82rem;
    font-weight: 900;
}

.event-calendar-day.is-today
.event-calendar-day-number span:last-child {
    min-width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--gold-400);
    color: var(--navy-950);
}

.event-calendar-mobile-weekday {
    display: none;
}

.event-calendar-day-events {
    display: grid;
    gap: 6px;
    margin-top: 6px;
}

.event-calendar-entry,
.event-calendar-more {
    width: 100%;
    border: 0;
    border-radius: 9px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.event-calendar-entry {
    display: grid;
    gap: 2px;
    padding: 8px 9px;
    background:
        linear-gradient(
            135deg,
            var(--navy-900),
            var(--navy-800)
        );
    color: var(--white);
    box-shadow:
        0 6px 14px
        rgba(5, 26, 51, 0.14);
}

.event-calendar-entry:hover,
.event-calendar-entry:focus-visible {
    transform: translateY(-1px);
    background:
        linear-gradient(
            135deg,
            var(--red-600),
            var(--navy-900)
        );
    outline: 2px solid var(--gold-400);
    outline-offset: 1px;
}

.event-calendar-entry-time {
    color: var(--gold-400);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.event-calendar-entry-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.25;
}

.event-calendar-more {
    padding: 6px 8px;
    background: transparent;
    color: var(--red-600);
    font-size: 0.72rem;
    font-weight: 900;
}

.event-calendar-more:hover,
.event-calendar-more:focus-visible {
    text-decoration: underline;
    outline: none;
}

.event-calendar-list {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.event-calendar-list[hidden] {
    display: none;
}

.event-agenda-focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 4px 0 10px;
}

.event-agenda-show-month {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.event-agenda-card {
    width: 100%;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow-small);
}

.event-agenda-card:hover,
.event-agenda-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(5, 26, 51, 0.28);
    box-shadow: var(--shadow-medium);
    outline: none;
}

.event-agenda-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background:
        linear-gradient(
            145deg,
            var(--navy-800),
            var(--navy-950)
        );
    color: var(--white);
}

.event-agenda-date small {
    color: var(--gold-400);
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.event-agenda-date strong {
    font-size: 1.8rem;
    line-height: 1;
}

.event-agenda-copy {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 16px 18px 16px 0;
}

.event-agenda-copy > strong {
    color: var(--navy-900);
    font-size: 1.05rem;
}

.event-agenda-copy > span:last-child {
    color: var(--muted);
    font-size: 0.85rem;
}

.event-agenda-community {
    color: var(--red-600);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-modal[hidden] {
    display: none;
}

.event-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.event-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 11, 24, 0.78);
    backdrop-filter: blur(7px);
}

.event-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(86vh, 900px);
    overflow-y: auto;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    color: var(--text);
    box-shadow:
        0 28px 80px
        rgba(2, 11, 24, 0.45);
}

.event-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--navy-900);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.event-modal-close:hover,
.event-modal-close:focus-visible {
    border-color: var(--red-600);
    color: var(--red-600);
    outline: none;
}

.event-modal-kicker {
    padding-right: 50px;
    color: var(--red-600);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-modal-dialog h2 {
    margin: 9px 50px 24px 0;
    color: var(--navy-900);
    font-size: clamp(2rem, 5vw, 3.3rem);
    line-height: 1.02;
}

.event-detail-list {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}

.event-detail-list > div {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: color-mix(
        in srgb,
        var(--surface) 94%,
        var(--navy-900)
    );
}

.event-detail-list dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-detail-list dd {
    margin: 0;
    color: var(--navy-900);
    font-weight: 800;
    line-height: 1.45;
}

.event-modal-description {
    white-space: pre-line;
    color: var(--text-soft);
    line-height: 1.75;
}

.event-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.event-modal-open {
    overflow: hidden;
}

html[data-theme="dark"]
.event-calendar-day-number,
html[data-theme="dark"]
.event-agenda-copy > strong,
html[data-theme="dark"]
.event-modal-dialog h2,
html[data-theme="dark"]
.event-detail-list dd,
html[data-theme="dark"]
.event-modal-close {
    color: var(--text);
}

@media (max-width: 900px) {
    .event-calendar-toolbar {
        grid-template-columns: 1fr;
    }

    .event-calendar-navigation,
    .event-calendar-views {
        justify-content: center;
    }

    .event-calendar-heading {
        grid-row: 1;
    }
}

@media (max-width: 700px) {
    .event-calendar-app {
        border-radius: 18px;
    }

    .event-calendar-toolbar {
        padding: 18px;
    }

    .event-calendar-month-wrap {
        overflow: visible;
    }

    .event-calendar-weekdays {
        display: none;
    }

    .event-calendar-month-grid {
        min-width: 0;
        display: grid;
        grid-template-columns: 1fr;
    }

    .event-calendar-day {
        min-height: 0;
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
        border-right: 0;
    }

    .event-calendar-day.is-outside-month {
        display: none;
    }

    .event-calendar-day-number {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 7px;
        color: var(--muted);
    }

    .event-calendar-mobile-weekday {
        display: inline;
        font-size: 0.72rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .event-calendar-day-events {
        margin-top: 0;
    }

    .event-calendar-day:not(.is-today)
    .event-calendar-day-number
    span:last-child {
        color: var(--navy-900);
        font-size: 1.1rem;
    }

    .event-calendar-day-events:empty::after {
        content: "No events";
        color: var(--muted);
        font-size: 0.78rem;
    }

    .event-calendar-entry-title {
        -webkit-line-clamp: 3;
        font-size: 0.82rem;
    }

    .event-agenda-focus {
        align-items: flex-start;
        flex-direction: column;
    }

    .event-detail-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .event-calendar-navigation {
        display: grid;
        grid-template-columns: 44px 1fr 44px;
    }

    .event-calendar-views {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .event-calendar-view {
        width: 100%;
    }

    .event-calendar-list {
        padding: 14px;
    }

    .event-agenda-card {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 12px;
    }

    .event-agenda-copy {
        padding: 14px 12px 14px 0;
    }

    .event-modal {
        align-items: end;
        padding: 0;
    }

    .event-modal-dialog {
        width: 100%;
        max-height: 92vh;
        border-radius: 22px 22px 0 0;
        padding: 28px 20px 24px;
    }

    .event-modal-actions {
        display: grid;
    }

    .event-modal-actions .btn {
        width: 100%;
    }
}

/* LIGHTHOUSE EVENT CALENDAR V2 END */

/* LIGHTHOUSE GROUPED HEADER V2 START */

.site-header .nav {
    position: relative;
    gap: clamp(14px, 1.5vw, 24px);
}

.site-header .menu {
    gap: clamp(10px, 1.15vw, 18px);
}

.menu-dropdown {
    position: relative;
    flex: 0 0 auto;
}

.menu-dropdown-toggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 3px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.84);
    cursor: pointer;
    text-transform: uppercase;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.menu-dropdown-toggle:hover,
.menu-dropdown-toggle:focus-visible,
.menu-dropdown.is-open
.menu-dropdown-toggle {
    color: #ffffff;
}

.menu-dropdown-chevron {
    display: inline-block;
    color: var(--gold-400);
    font-size: 0.78rem;
    transition: transform 160ms ease;
}

.menu-dropdown.is-open
.menu-dropdown-chevron {
    transform: rotate(180deg);
}

.menu-dropdown-panel {
    position: absolute;
    z-index: 120;
    top: calc(100% + 13px);
    left: 50%;
    width: max-content;
    min-width: 205px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid
        rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            rgba(5, 23, 44, 0.99),
            rgba(2, 11, 24, 0.99)
        );
    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform:
        translate(-50%, -7px);
    transition:
        opacity 150ms ease,
        visibility 150ms ease,
        transform 150ms ease;
}

.menu-dropdown-panel::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 13px;
    height: 13px;
    border-top: 1px solid
        rgba(255, 255, 255, 0.12);
    border-left: 1px solid
        rgba(255, 255, 255, 0.12);
    background: #05172c;
    transform:
        translateX(-50%)
        rotate(45deg);
}

.menu-dropdown:hover
.menu-dropdown-panel,
.menu-dropdown:focus-within
.menu-dropdown-panel,
.menu-dropdown.is-open
.menu-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform:
        translate(-50%, 0);
}

.menu-dropdown-panel a {
    position: relative;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 10px 13px;
    border-radius: 9px;
    color:
        rgba(255, 255, 255, 0.82);
    text-transform: none;
    white-space: nowrap;
    font-size: 0.84rem;
    font-weight: 750;
    letter-spacing: 0.01em;
}

.menu-dropdown-panel a::after,
.menu-app-link::after {
    display: none !important;
}

.menu-dropdown-panel a:hover,
.menu-dropdown-panel a:focus-visible {
    background:
        rgba(255, 255, 255, 0.09);
    color: #ffffff;
}

.menu-app-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.menu-app-link img {
    display: block;
    max-width: 116px;
    height: auto;
}

/*
 * The clock is useful, but it is the first
 * item to surrender space on normal laptops.
 */
@media (max-width: 1380px) {
    .site-header-clock {
        display: none;
    }
}

@media (
    min-width: 1101px
)
and (
    max-width: 1280px
) {
    .logo-small {
        height: 60px;
    }

    .site-header .menu {
        gap: 11px;
    }

    .menu a,
    .menu-dropdown-toggle {
        font-size: 0.71rem;
        letter-spacing: 0.055em;
    }

    .listen-button {
        padding-inline: 14px;
    }
}

@media (max-width: 1100px) {
    .site-header .nav {
        min-height: 82px;
    }

    .logo-small {
        height: 60px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-header .menu {
        position: absolute;
        z-index: 130;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        max-height:
            calc(100vh - 82px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        margin: 0;
        padding: 16px;
        overflow-y: auto;
        border: 1px solid
            rgba(255, 255, 255, 0.1);
        border-top: 0;
        border-radius:
            0 0 18px 18px;
        background:
            linear-gradient(
                160deg,
                rgba(3, 17, 34, 0.995),
                rgba(2, 11, 24, 0.995)
            );
        box-shadow:
            0 22px 40px
            rgba(0, 0, 0, 0.4);
    }

    .site-header .menu.open,
    .site-header .menu.is-open {
        display: flex;
    }

    .site-header .menu > a,
    .menu-dropdown-toggle {
        width: 100%;
        min-height: 48px;
        justify-content: space-between;
        padding: 13px 15px;
        border-radius: 10px;
        text-align: left;
        font-size: 0.8rem;
    }

    .site-header .menu > a:hover,
    .menu-dropdown-toggle:hover,
    .menu-dropdown.is-open
    .menu-dropdown-toggle {
        background:
            rgba(255, 255, 255, 0.075);
    }

    .site-header .menu > a::after {
        display: none;
    }

    .menu-dropdown {
        width: 100%;
    }

    .menu-dropdown-panel {
        position: static;
        width: 100%;
        min-width: 0;
        display: none;
        gap: 3px;
        margin-top: 4px;
        padding: 6px 8px 8px 18px;
        border: 0;
        border-radius: 10px;
        background:
            rgba(255, 255, 255, 0.035);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .menu-dropdown-panel::before {
        display: none;
    }

    .menu-dropdown:hover
    .menu-dropdown-panel,
    .menu-dropdown:focus-within
    .menu-dropdown-panel {
        display: none;
    }

    .menu-dropdown.is-open
    .menu-dropdown-panel {
        display: grid;
    }

    .menu-dropdown-panel a {
        min-height: 43px;
        padding: 10px 13px;
        white-space: normal;
    }

    .site-header
    .menu
    .listen-button {
        justify-content: center;
        margin-top: 6px;
    }

    .menu-app-link {
        width: 100%;
        min-height: 58px;
        justify-content: center !important;
    }

    .menu-app-link img {
        max-width: 132px;
    }

    .site-header-clock {
        display: none;
    }
}

/* LIGHTHOUSE GROUPED HEADER V2 END */

/* LIGHTHOUSE MOBILE NAV REPAIR 20260815 */
@media (max-width: 1100px) {

    /*
     * Keep the open mobile navigation above page content
     * and the Lighthouse player.
     */
    .site-header {
        z-index: 1000;
    }

    .site-header .nav {
        z-index: 1001;
    }

    .site-header .menu {
        z-index: 1002;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /*
     * Keep grouped dropdowns completely inside the
     * mobile navigation panel.
     */
    .menu-dropdown {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .menu-dropdown-panel {
        position: static;
        left: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin: 4px 0 0;
        padding: 6px 8px 8px;
        overflow: hidden;
        transform: none;
    }

    .menu-dropdown-panel a {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin: 0;
        padding: 10px 13px 10px 22px;
        white-space: normal;
    }

    /*
     * Desktop badge flex-basis values become vertical
     * spacing when the mobile menu switches to column
     * layout. Neutralize them here.
     */
    .site-header .menu > .app-store-link,
    .site-header .menu > .google-play-link,
    .site-header .menu > .menu-app-link {
        display: flex !important;
        flex: 0 0 auto !important;
        flex-basis: auto !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 52px !important;
        margin: 0 !important;
        padding: 4px 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }

    .site-header .menu > .app-store-link img,
    .site-header .menu > .google-play-link img,
    .site-header .menu > .menu-app-link img {
        display: block !important;
        width: 120px !important;
        max-width: 120px !important;
        height: 44px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }
}

/* LIGHTHOUSE MOBILE NAV CASCADE FIX V2 */
@media (max-width: 1100px) {

    /*
     * Override the higher-specificity desktop dropdown
     * transform when a mobile dropdown is open.
     */
    .site-header
    .menu
    .menu-dropdown
    > .menu-dropdown-panel,
    .site-header
    .menu
    .menu-dropdown.is-open
    > .menu-dropdown-panel,
    .site-header
    .menu
    .menu-dropdown:hover
    > .menu-dropdown-panel,
    .site-header
    .menu
    .menu-dropdown:focus-within
    > .menu-dropdown-panel {
        position: static !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 4px 0 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    .site-header
    .menu
    .menu-dropdown.is-open
    > .menu-dropdown-panel {
        display: grid !important;
    }

    .site-header
    .menu
    .menu-dropdown-panel
    > a {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    /*
     * Prevent earlier grid/flex rules from stretching
     * the app badges vertically.
     */
    .site-header .menu {
        justify-content: flex-start !important;
    }

    .site-header .menu.open,
    .site-header .menu.is-open {
        max-height: calc(100dvh - 82px) !important;
        justify-content: flex-start !important;
    }

    .site-header .menu > a.app-store-link,
    .site-header .menu > a.google-play-link,
    .site-header .menu > a.menu-app-link {
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        flex-basis: 52px !important;
        width: 100% !important;
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        margin: 0 !important;
        padding: 4px 0 !important;
    }

    .site-header .menu > a.app-store-link img,
    .site-header .menu > a.google-play-link img,
    .site-header .menu > a.menu-app-link img {
        width: 120px !important;
        max-width: 120px !important;
        height: 44px !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }
}


/* ---------------------------------------------------------
   SOCAN licensing footer badge
   Added 2026-08-17
--------------------------------------------------------- */

.footer-licensing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 38px;
    padding: 22px 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}

.footer-licensing-copy {
    min-width: 0;
}

.footer-licensing .footer-license-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--gold-400);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-licensing strong {
    margin: 0 0 5px;
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
}

.footer-licensing p {
    margin: 0;
}

.footer-socan-logo-card {
    flex: 0 0 auto;
    padding: 8px 11px;
    border-radius: 9px;
    background: #ffffff;
}

.footer-socan-logo {
    display: block;
    width: 150px;
    max-width: 30vw;
    height: auto;
}

@media (max-width: 640px) {
    .footer-licensing {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 20px;
    }

    .footer-socan-logo {
        width: 142px;
        max-width: 100%;
    }
}


/* LIGHTHOUSE DESKTOP DROPDOWN HOVER FIX */
@media (min-width: 1101px) {
    /*
     * Preserve hover while the pointer travels from the
     * navigation button to the dropdown panel.
     */
    .site-header .menu-dropdown::after {
        content: "";
        position: absolute;
        z-index: 119;
        top: 100%;
        right: -14px;
        left: -14px;
        height: 16px;
        background: transparent;
    }

    .site-header .menu-dropdown-panel {
        z-index: 120;
    }

    /*
     * Keep the arrow and panel open while hovering,
     * using the keyboard, or after clicking the button.
     */
    .site-header .menu-dropdown:hover
    > .menu-dropdown-toggle
    .menu-dropdown-chevron,
    .site-header .menu-dropdown:focus-within
    > .menu-dropdown-toggle
    .menu-dropdown-chevron,
    .site-header .menu-dropdown.is-open
    > .menu-dropdown-toggle
    .menu-dropdown-chevron {
        transform: rotate(180deg);
    }

    .site-header .menu-dropdown:hover
    > .menu-dropdown-toggle,
    .site-header .menu-dropdown:focus-within
    > .menu-dropdown-toggle,
    .site-header .menu-dropdown.is-open
    > .menu-dropdown-toggle {
        color: #ffffff;
    }
}
/* LIGHTHOUSE DESKTOP DROPDOWN HOVER FIX END */
