/*
Theme Name: NCM Country Radio
Author: NCM Country Radio
Description: NCM Country Radio Christmas station theme with live radio and playlists.
Version: 2.4.8
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: ncm-country-radio
*/
@font-face {
    font-family: 'Mulish';
    src: url('assets/mulish-variable.ttf') format('truetype');
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
}

:root{--navy:#081833;--blue:#103678;--red:#a62029;--line:#ced8e6;--paper:#fff;--ink:#142847;--soft:#f2f6fb}
*{box-sizing:border-box}
body{margin:0;background:#e8eef7;color:var(--ink);font:16px/1.5 'Mulish',Arial,sans-serif}
a{color:#124581}a:hover{text-decoration:underline}
button,input{font:inherit}button{cursor:pointer}img{display:block;max-width:100%;height:auto}
:focus-visible{outline:3px solid #d17c00;outline-offset:3px}
[hidden]{display:none!important}
.wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.skip{position:absolute;top:-100px;left:10px;background:white;padding:12px;z-index:1000}
.skip:focus{top:8px}
.station-header{background:var(--navy)}
.masthead{display:block;padding-block:12px}.masthead img{width:100%}
.station-nav{background:#034565 var(--ncm-image-navigation-background, url('assets/navigation-background.png')) center / 100% 100% no-repeat;border-top:1px solid #324b74}
.nav-inner{display:flex;justify-content:space-between;gap:14px;align-items:center;min-height:44px}
#navigation ul { margin: 0; padding: 0; list-style: none; }
#navigation .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(24px, 4vw, 38px); }
#navigation .nav-links > li > a, #navigation summary {
    display: block;
    padding-block: 10px;
    color: #000066;
    text-decoration: none;
    font-size: 16px;
}
#navigation a:hover, #navigation summary:hover { text-decoration: underline; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { cursor: pointer; list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: '▾'; margin-inline-start: 6px; font-size: 12px; }
#navigation .nav-dropdown ul {
    position: absolute;
    z-index: 10;
    inset: 100% auto auto -12px;
    min-width: 170px;
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 6px 16px #08183330;
}
#navigation .nav-dropdown a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-size: 14px; }
#navigation .nav-dropdown a:hover { background: #eef4fa; text-decoration: underline; }
@media (max-width: 600px) {
    #navigation .nav-links { display: block; }
    #navigation .nav-dropdown ul { position: static; margin-bottom: 6px; }
}
.button,.menu-toggle{display:inline-flex;align-items:center;justify-content:center;color:#fff;background:var(--red);border:1px solid #ce4952;padding:10px 16px;text-decoration:none;font-weight:800;border-radius:3px}
.listen-live{white-space:nowrap}.button:hover{background:#861923}.menu-toggle{display:none;font-size:16px;font-weight:400;background:transparent;border:0}
.station-layout{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(270px,1fr);gap:22px;padding-block:24px 40px;align-items:start}
.station-layout.station-layout-full{grid-template-columns:minmax(0,1fr)}
.station-main,.station-sidebar{display:grid;gap:18px;min-width:0}
.station-panel,.countdown-panel{border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0b21490c}
.station-panel{background:#fff var(--ncm-image-panel-background, url('assets/panel-background.png')) center / 100% 100% no-repeat}
.panel-heading{margin:0;padding:10px 15px;background:linear-gradient(90deg,#112c58,#184582);color:white;font:800 17px/1.1 'Mulish',Arial,sans-serif;letter-spacing:.02em}
.panel-content{padding:14px 16px}.panel-content>p:first-child{margin-top:0}
.panel-link{display:block;padding:10px 15px;font-weight:700;border-top:1px solid var(--line);font-size:14px}
.panel-note{margin:0;padding:0 15px;color:#465979;font-size:13px}.panel-note:not(:empty){padding-block:8px}
.countdown-digits{display:flex;justify-content:center;gap:8px}
.countdown-digits div{min-width:64px;background:#ffffff12;border:1px solid #ffffff42;border-radius:4px;padding:5px 8px}
.countdown-digits strong,.countdown-digits small{display:block}.countdown-digits strong{font:800 35px/1 'Mulish',Arial,sans-serif;font-variant-numeric:tabular-nums;color:#ffe09a}.countdown-digits small{font-size:11px;margin-top:3px}
.holiday-slider {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 9px;
}
.slides {
    display: flex;
    aspect-ratio: 1.95;
    min-height: 178px;
    transition: transform 800ms ease;
}
@media (prefers-reduced-motion: reduce) {
    .slides { transition: none; }
}
.holiday-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    margin: 0;
}
.holiday-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.slide-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 10px clamp(12px, 2.4vw, 20px) 29px;
    background: rgba(8, 54, 102, 0.85);
    color: #fff;
    text-shadow: 0 1px 2px #071c38;
}
.slide-caption strong { font-size: clamp(16px, 2.5vw, 22px); }
.slide-caption p { margin: 4px 0 0; font-size: clamp(12px, 1.8vw, 15px); line-height: 1.4; }
.slide-dots { position: absolute; inset: auto 0 2px; display: flex; justify-content: center; pointer-events: none; }
.slide-dots button {
    display: grid;
    place-items: center;
    width: 20px;
    height: 26px;
    pointer-events: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.slide-dots button::before {
    content: '';
    width: 10px;
    height: 10px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
}
.slide-dots button[aria-pressed="true"]::before { background: #fff; }
.media-line{display:flex;align-items:center;gap:12px}.media-line img{width:66px;height:66px;object-fit:cover;border-radius:4px;flex-shrink:0}
.media-line span,.station-tracks span{display:block;color:#4a607b;font-size:13px}.media-line strong,.onair-name{font-weight:800;overflow-wrap:anywhere}
.sidebar-media-copy { min-width: 0; }
.sidebar-media-actions { display: grid; justify-items: start; gap: 7px; margin-top: 8px; }
.sidebar-media-actions .now-album { font-size: 13px; }
.sidebar-media-actions .button { background: #000; border-color: #000; border-radius: 8px; padding: 7px 10px; font-size: 13px; }
.sidebar-media-actions .button:hover { background: #303030; }
.station-tracks,.lineup-list{list-style:none;padding:0;margin:0}
.station-tracks li{display:flex;align-items:center;gap:10px;padding:9px 13px;border-bottom:1px solid #e2e8f1}
#full-playlist > li{background:#ffffff}
#full-playlist > li:nth-child(even){background:#f6f8fc}
.station-tracks img{width:42px;height:42px;object-fit:cover;border-radius:3px;flex-shrink:0}
.station-tracks li div{flex:1;min-width:0;overflow-wrap:anywhere}
.station-tracks strong{font-size:14px}.station-tracks time{font-size:12px;white-space:nowrap;color:#435a77}
#full-playlist img{width:52px;height:52px}
#full-playlist .playlist-track-details { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 14px; max-width: 42%; }
.playlist-track-details a { font-size: 12px; text-align: right; }
.station-news{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:15px}
.station-news .news{border:1px solid #dbe3ee;border-radius:4px;overflow:hidden}
.news>a{display:block;color:var(--ink);text-decoration:none}
.news>a:hover h3{text-decoration:underline}
.news img{width:100%;aspect-ratio:16/10;object-fit:cover}
.news-copy{padding:10px 12px}.news-copy small{color:#536783;font-size:12px}
.news-copy h3{font-size:17px;line-height:1.25;margin:3px 0 0}.excerpt{font-size:13px}.excerpt p{display:none}
iframe{width:100%;border:1px solid var(--line)}
.show-detail h2{margin-top:16px;border-radius:8px}
.lineup-list li{border-top:1px solid var(--line)}.lineup-list a{padding:10px 0;text-decoration:none}.lineup-list a:hover strong{text-decoration:underline}.lineup-list img{width:66px;height:66px;border-radius:50%}
.show-detail>img{width:min(100%,350px);aspect-ratio:1;object-fit:cover;border-radius:50%}
footer{color:#fff;background:transparent;border-top:1px solid #fff}footer a{color:#fff}
.station-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;padding-block:24px}.station-footer p{margin:4px 0 0}
.article{margin-block:24px 40px;padding:22px;background:white;border:1px solid var(--line)}
.article img{max-width:100%;height:auto}
.listen-shell { padding-block: 24px 40px; }
.listen-heading { margin: 0 0 16px; }
.listen-history-heading h2, .listen-card p { margin: 0; }
.listen-eyebrow { margin: 0; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.listen-card {
    display: grid;
    grid-template-columns: minmax(96px, 220px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(14px, 4vw, 36px);
    padding: clamp(16px, 5vw, 40px);
    border-radius: 12px;
    background: linear-gradient(120deg, #102e49, #213039);
    color: #fff;
    box-shadow: 0 10px 25px #14284726;
}
.listen-card .now-art { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.listen-card .now-title { margin: 4px 0; font-size: clamp(19px, 4vw, 34px); line-height: 1.2; overflow-wrap: anywhere; }
.listen-card .listen-eyebrow span { color: #ff6671; }
.listen-card .panel-note { padding-inline: 0; color: #fff; }
.listen-card audio { width: 100%; margin-top: 12px; }
.listen-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
.listen-controls input { width: min(140px, 100%); accent-color: #fff; }
.listen-controls label { font-size: 13px; }
.listen-history-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 30px 0 14px; }
.listen-refresh { padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #124581; }
.listen-history { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.listen-history li { display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.listen-history li.panel-content { grid-column: 1 / -1; }
.listen-history img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 6px; }
@media (max-width: 600px) {
    .listen-history { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .listen-card { grid-template-columns: minmax(80px, 30%) minmax(0, 1fr); }
}

@media(max-width:820px){.station-layout{grid-template-columns:1fr}.station-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.station-sidebar #recently-played{grid-row:span 2}}
@media(max-width:600px){.wrap{width:calc(100% - 24px)}.nav-inner{flex-wrap:wrap;padding-block:4px}.menu-toggle{display:inline-flex}#navigation{display:none;order:3;width:100%}#navigation.open{display:block}.station-sidebar{grid-template-columns:1fr}.station-news{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px}.countdown-digits{gap:5px}.countdown-digits div{min-width:0;flex:1;max-width:80px}}

/* Christmas site artwork and centered 990px layout */
body.ncm-holiday {
    background: #08028a var(--ncm-image-site-background, url('assets/site-background-holiday.jpg')) repeat-y center top / 1600px auto fixed;
}
.station-shell {
    max-width: 990px;
    min-height: 100vh;
    margin-inline: auto;
    background: #e8eef7;
    box-shadow: 0 0 24px #0006;
}
.station-shell .wrap { width: calc(100% - 32px); }
.station-header { background: #e8eef7; }
.masthead-bands {
    background: #0e2f3e var(--ncm-image-header-background, url('assets/header-background.png')) center / 100% 100% no-repeat;
}
.masthead { padding-block: 12px 0; }
.station-shell .masthead-row {
    display: flex;
    align-items: center;
    width: calc(100% - 20px);
    height: 150px;
    overflow: hidden;
}
.masthead-logo { display: block; flex: 0 0 auto; }
.masthead-logo img { width: clamp(180px, 40vw, 260px); height: auto; }
.station-shell .masthead-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 20px);
    height: 38px;
    gap: 8px;
}
.masthead-actions .listen-image-link {
    display: flex;
    align-items: center;
    width: clamp(180px, 34vw, 220px);
    min-width: 0;
    height: 38px;
    margin-inline-start: calc((clamp(180px, 40vw, 260px) - clamp(180px, 34vw, 220px)) / 2);
    flex-shrink: 0;
    overflow: visible;
}
.masthead-actions .listen-image-link img {
    width: 100%;
    height: 64px;
    transform: translateY(0);
    flex-shrink: 0;
}
.masthead-actions .masthead-facebook {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 8px;
    background: #325261;
    font-size: 13px;
}
.masthead-facebook {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 4px;
    background: #2157a3;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}
.masthead-facebook span { font-size: 19px; line-height: 1; }
.popup-controls {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 5px 14px;
    text-align: left;
}
.popup-controls button { grid-row: span 2; min-width: 98px; }
.popup-controls label { display: flex; justify-content: space-between; }
.popup-controls input { width: 100%; margin: 0; accent-color: #f5b844; }
.christmas-banner .masthead { padding-block: 10px; }
.listen-image-link { display: inline-block; border-radius: 4px; }
.listen-image-link:hover { filter: brightness(1.12); }
.listen-image-link img { width: 150px; height: 50px; }
#countdown-title, #music-news > .panel-heading, .station-page-heading {
    background: #215a70 var(--ncm-image-main-heading, url('assets/mod_ctr_blue.png')) center / 100% 100% no-repeat;
}
#countdown-title { text-align: left; }
.station-sidebar .panel-heading {
    background: #215a70 var(--ncm-image-sidebar-heading, url('assets/mod_right_blue.png')) center / 100% 100% no-repeat;
}
.countdown-art {
    display: grid;
    align-items: center;
    min-height: clamp(120px, 19vw, 200px);
    padding: 14px 21%;
    background: #090883 var(--ncm-image-countdown-background, url('assets/countdown-background-updated.png')) center / 100% 100% no-repeat;
    color: #fff;
    text-align: center;
}
#countdown-complete { margin: 0; font-weight: 800; }
.countdown-digits { gap: 5px; }
.countdown-digits div {
    min-width: 0;
    flex: 1;
    max-width: 75px;
    padding-inline: 3px;
    background: #02022e85;
}
@media (max-width: 600px) {
    .station-shell .wrap { width: calc(100% - 24px); }
    .countdown-art { padding-inline: 13%; }
    .countdown-digits strong { font-size: 29px; }
    .countdown-digits small { font-size: 10px; }
}

.media-line .onair-photo { border-radius: 50%; }
.schedule-days {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.schedule-days a {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: #153d5a;
    font-weight: 700;
    text-decoration: none;
}
.schedule-days a:hover { text-decoration: underline; }
.schedule-days a[aria-current="page"] {
    background: #215a70;
    border-color: #215a70;
    color: #fff;
}
.schedule-day-heading {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    padding-bottom: 8px;
}
.schedule-day-heading h2 { margin: 0; font-size: 17px; }
.schedule-day-heading span { font-size: 13px; color: #4a607b; }
.schedule-day .lineup-list strong { display: block; }

.christmas-banner img { width: 100%; aspect-ratio: 2048 / 190; object-fit: cover; object-position: center 45.5466%; }

/* Homepage modules use WordPress blocks for visual editing. */
.ncm-home-layout { padding-block: 24px 40px; }
.ncm-home-columns.wp-block-columns { gap: 22px; margin: 0; align-items: flex-start; }
.ncm-home-columns > .wp-block-column { min-width: 0; }
.ncm-home-columns > .wp-block-column > * + * { margin-top: 18px; }
@media (max-width: 820px) {
    .ncm-home-columns.wp-block-columns { flex-wrap: wrap !important; }
    .ncm-home-columns > .wp-block-column { flex-basis: 100% !important; }
}

.ncm-sidebar-module > .panel-heading {
    background: #215a70 var(--ncm-image-sidebar-heading, url('assets/mod_right_blue.png')) center / 100% 100% no-repeat;
}

/* Native WordPress menu dropdowns, including keyboard access. */
#navigation .menu-item-has-children { position: relative; }
#navigation .menu-item-has-children > a::after { content: ' ▾'; font-size: 12px; }
#navigation .sub-menu { display: none; position: absolute; z-index: 30; top: 100%; left: -12px; min-width: 180px; background: white; border: 1px solid var(--line); border-radius: 0 0 8px 8px; box-shadow: 0 6px 16px #08183330; }
#navigation .menu-item-has-children:hover > .sub-menu,
#navigation .menu-item-has-children:focus-within > .sub-menu { display: block; }
#navigation .sub-menu a { display:block; padding:10px 14px; color:var(--ink); font-size:14px; font-weight:400; }
#navigation .sub-menu a:hover { background:#eef4fa; }
#navigation .sub-menu .sub-menu { top:0; left:100%; }
@media(max-width:600px) { #navigation .sub-menu { position:static; margin-left:14px; } }

/* Country News: Bootstrap card and responsive row primitives, scoped to this archive. */
.ncm-country-news .row { display:flex; flex-wrap:wrap; margin:-12px; }
.ncm-country-news .row > .col { flex:0 0 auto; width:33.333333%; padding:12px; min-width:0; }
.ncm-country-news .card { display:flex; flex-direction:column; min-width:0; height:100%; background:#fff; border:1px solid #dce3ed; border-radius:12px; overflow:hidden; box-shadow:0 3px 10px #1428470a; }
.ncm-country-news .ncm-card-image { display:block; aspect-ratio:16 / 10; overflow:hidden; background:#f6f8fc; }
.ncm-country-news .card-img-top { width:100%; height:100%; object-fit:cover; }
.ncm-country-news .card-img-top.ncm-card-fallback { object-fit:contain; padding:16px; }
.ncm-country-news .card-body { display:flex; flex-direction:column; flex:1 1 auto; padding:18px; }
.ncm-country-news .card-date { font-size:12px; color:#58708a; }
.ncm-country-news .card-title { font-size:17px; line-height:1.4; margin:9px 0; }
.ncm-country-news .card-title a { color:var(--ink); text-decoration:none; }
.ncm-country-news .card-title a:hover { text-decoration:underline; }
.ncm-country-news .card-text { font-size:14px; line-height:1.65; margin:0 0 18px; }
.ncm-country-news .btn { display:inline-block; align-self:flex-start; margin-top:auto; padding:8px 14px; border:1px solid transparent; border-radius:6px; font-size:14px; line-height:1.5; text-decoration:none; }
.ncm-country-news .btn-primary { color:#fff; background:#215a70; border-color:#215a70; }
.ncm-country-news .btn-primary:hover { background:#163f50; border-color:#163f50; }
.ncm-country-news .pagination { margin-top:28px; }
.ncm-country-news .nav-links { display:flex; flex-wrap:wrap; gap:8px; }
.ncm-country-news .page-numbers { display:inline-block; padding:7px 12px; border:1px solid #dce3ed; border-radius:6px; background:#fff; }
.ncm-country-news .page-numbers.current { color:#fff; background:#215a70; }
.ncm-country-news .archive-description { margin-bottom:22px; }
@media(max-width:900px) { .ncm-country-news .row > .col { width:50%; } }
@media(max-width:580px) { .ncm-country-news .row > .col { width:100%; } }

.ncm-contact-details { display:flex; flex-wrap:wrap; gap:16px 48px; margin-bottom:24px; }
.ncm-contact-page h2 { font-size:17px; }
.ncm-contact-form { max-width:680px; }
.ncm-contact-form label { display:block; margin-bottom:6px; font-weight:700; }
.ncm-contact-form input:not([type=hidden]), .ncm-contact-form textarea { display:block; width:100%; padding:11px 12px; border:1px solid #aebfd1; border-radius:7px; background:#fff; color:var(--ink); font:inherit; }
.ncm-contact-form textarea { resize:vertical; }
.ncm-contact-notice { padding:14px; border:1px solid #aebfd1; border-radius:7px; background:#fff; }
.ncm-contact-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }

/* The supplied 1600px artwork has a centered 990px content opening. */
.station-shell { background:transparent; }
.ncm-home-layout { background:transparent; }
.ncm-home-layout .panel-heading.ncm-graphic-heading,
.editor-styles-wrapper .panel-heading.ncm-graphic-heading {
    padding:0; margin:0; background:none; border:0; border-radius:0; line-height:0;
}
.ncm-graphic-heading img { display:block; width:100%; height:auto; aspect-ratio:auto; }
.ncm-home-layout .ncm-graphic-heading:not(:has(img)) { padding:10px 14px; line-height:1.4; background:#100692; color:#fff; }

/* Square homepage modules and keep the site artwork visible behind the banner. */
.ncm-home-layout .station-panel,
.ncm-home-layout .countdown-panel,
.ncm-home-layout .panel-heading,
.ncm-home-layout .countdown-art,
.ncm-home-layout .holiday-slider,
.ncm-home-layout .holiday-slide,
.ncm-home-layout .station-news .news { border-radius:0; }
.station-header { background:transparent; }
.station-shell .christmas-banner { width:calc(100% - 20px); background:transparent; }
.christmas-banner .masthead { padding-block:10px; }
.christmas-banner img { width:100%; height:auto; aspect-ratio:970 / 115; object-fit:contain; object-position:center; border-radius:0; }

/* Let the supplied banner span the entire center column without side gutters. */
.station-shell .wrap.christmas-banner { width:100%; max-width:none; margin:0; padding-top:16px; }
.station-shell .christmas-banner .masthead { display:block; width:100%; padding:0; }
.station-shell .christmas-banner img { display:block; width:100%; max-width:none; height:auto; aspect-ratio:auto; object-fit:fill; }

/* Show the complete taller candy cane within the generated banner artwork. */
.station-shell .christmas-banner img { aspect-ratio:2175 / 336; height:auto; object-fit:cover; object-position:50% 53.74677%; }

/* Navigation text, including dropdowns and the mobile menu label. */
#navigation .nav-links a, #navigation .nav-links summary,
#navigation .nav-dropdown a, #navigation .sub-menu a,
.station-nav .menu-toggle { color:#000066; }

/* Keep all navigation states navy, including plugin-added menu text wrappers. */
body .station-nav #navigation a,
body .station-nav #navigation a:visited,
body .station-nav #navigation a:hover,
body .station-nav #navigation a:focus,
body .station-nav #navigation a *,
body .station-nav #navigation summary,
body .station-nav #navigation summary *,
body .station-nav .menu-toggle { color:#000066 !important; }

/* Bold navigation labels and dropdown links. */
body .station-nav #navigation a,
body .station-nav #navigation a *,
body .station-nav #navigation summary,
body .station-nav #navigation summary *,
body .station-nav .menu-toggle { font-weight:900 !important; }

/* Center a smaller banner; retain its full artwork width on all screens. */
.station-shell .wrap.christmas-banner { width:calc(100% - 32px); max-width:920px; margin-inline:auto; padding-top:16px; }
.station-shell .christmas-banner .masthead { overflow:hidden; }
.station-shell .christmas-banner img { width:100%; max-width:100%; height:auto; aspect-ratio:auto; object-fit:contain; object-position:center; }
/* This asset contains black canvas above/below: hide only that empty canvas. */
.station-shell .ncm-letterboxed-banner .masthead { position:relative; aspect-ratio:2175 / 336; }
.station-shell .ncm-letterboxed-banner img { position:absolute; inset:auto 0; top:-61.904762%; width:100%; max-width:100%; height:215.178572%; object-fit:fill; }

/* Equal-sized homepage news cards, including the first story. */
.ncm-home-layout .station-news { grid-auto-rows:1fr; }
.ncm-home-layout .station-news .news { display:flex; flex-direction:column; min-width:0; height:100%; }
.ncm-home-layout .station-news .news > a { flex:1; }
.ncm-home-layout .station-news .news img { width:100%; height:auto; aspect-ratio:16 / 10; object-fit:cover; }
.ncm-home-layout .station-news .news .excerpt { margin-top:auto; }
.station-shell > footer { background:transparent; border-top:1px solid #fff; }

.station-footer { flex-direction:column; justify-content:center; gap:8px; text-align:center; }
.station-footer p { margin:0; }

/* Center both footer lines independently across the full footer width. */
.station-shell > footer .station-footer { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.station-shell > footer .station-footer > p { display:block; width:100%; margin:0; text-align:center; }

/* Christmas artwork for the homepage On Air Now widget only. */
.ncm-home-layout .ncm-onair-widget { background:#08028a url('assets/onair-christmas-background.jpg') center / 100% 100% no-repeat; color:#fff; }
.ncm-home-layout .ncm-onair-widget .onair-name,
.ncm-home-layout .ncm-onair-widget .onair-time { color:#fff; }

/* Let the parent artwork continue seamlessly behind the On Air Now heading. */
.ncm-home-layout .ncm-onair-widget > .panel-heading { background:transparent; background-image:none; color:#fff; }

.ncm-terms-page { overflow-wrap:anywhere; }
.ncm-terms-page article > h1 { font-size:24px; margin-top:0; }
.ncm-terms-page .ptm-page-body > h1 { font-size:22px; }
.ncm-terms-page h2 { font-size:20px; margin-top:28px; }
.ncm-terms-page h3 { font-size:18px; margin-top:24px; }
.ncm-terms-page li { margin-block:7px; }

/* Keep the station directory link small and aligned to the menu's far right. */
.station-nav .nav-inner { align-items:center; }
.station-nav #navigation { flex:1; min-width:0; }
.station-nav .ncm-stations-link { flex:0 0 auto; margin-left:auto; color:#000066; font-size:12px; font-weight:700; text-decoration:none; white-space:nowrap; }
.station-nav .ncm-stations-link:hover { text-decoration:underline; }
@media(max-width:600px) { .station-nav #navigation { flex-basis:100%; } .station-nav .ncm-stations-link { order:2; font-size:11px; } }

/* White listen-page text over the blue site artwork. */
.listen-shell, .listen-shell h1, .listen-shell h2, .listen-shell p,
.listen-shell .station-tracks span, .listen-shell .station-tracks strong,
.listen-shell .station-tracks time, .listen-shell .station-tracks a,
.listen-shell .panel-note, .listen-shell label { color:#fff; }
.listen-shell .listen-history li { background:#07066b66; }
.listen-shell .listen-refresh { background:#163f70; color:#fff; }

/* Clear page wrappers without changing show pages or individual news cards. */
.ncm-clean-content,
.ncm-clean-content > .station-main > .station-panel { background:transparent; background-image:none; border:0; box-shadow:none; }
.ncm-clean-content { color:#fff; }
.ncm-clean-content .schedule-day-heading,
.ncm-clean-content .lineup-list a,
.ncm-clean-content .lineup-list span { color:#fff; }
.ncm-clean-content .ncm-country-news,
.ncm-clean-content .card,
.ncm-clean-content #full-playlist { color:var(--ink); }
.ncm-hidden-page-title { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }

/* Homepage forecast supplied by the National Weather Service. */
.ncm-nws-widget .panel-content{color:#142847}
.ncm-nws-location{margin:0 0 8px}
.ncm-nws-periods{list-style:none;margin:0;padding:0}
.ncm-nws-periods li{display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding:10px 0;border-bottom:1px solid #ced8e6}
.ncm-nws-temperature{font-weight:700}
.ncm-nws-summary{grid-column:1/-1;font-size:14px}
.ncm-nws-credit{display:block;margin-top:12px;font-size:12px;color:#000066}

/* Schedule background supplied for the schedule page only. */
.ncm-clean-content > .station-main > .ncm-schedule-widget {
    background:#fff url('assets/schedule-background-christmas.jpg') center top / 100% auto no-repeat;
    color:var(--ink);
}
.ncm-schedule-widget .schedule-day-heading,
.ncm-schedule-widget .lineup-list a,
.ncm-schedule-widget .lineup-list span { color:var(--ink); }

/* Square panels and controls on Schedule and Contact. */
.ncm-schedule-widget,
.ncm-schedule-widget .schedule-days a,
.ncm-contact-page .station-panel,
.ncm-contact-page .panel-heading,
.ncm-contact-page .ncm-contact-notice,
.ncm-contact-page .ncm-contact-form input:not([type=hidden]),
.ncm-contact-page .ncm-contact-form textarea,
.ncm-contact-page .button { border-radius:0; }
