/* WRMI Legends — AirSite template 01.1.0004
   Day is the default; night only when the visitor presses the switch.
   Style on :root[data-theme] only — never prefers-color-scheme.
   brief.md lists the content conventions this sheet turns into the design. */

@font-face{font-family:"Alfa Slab One";src:url(fonts/AlfaSlabOne-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url(fonts/AtkinsonHyperlegible-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url(fonts/AtkinsonHyperlegible-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}

:root,:root[data-theme="day"]{
  --ground:#EEF8FD; --panel:#FFFFFF; --panel-2:#DDF0FA;
  --ink:#13244D; --ink-2:#2A3B66; --head:#0E2A8A; --link:#0E2A8A;
  --line:#CFE2F0; --line-2:#B7D2E6; --focus:#0E2A8A;
  --btn:#0E2A8A; --btn-ink:#FFFFFF; --btn-2-ink:#0E2A8A;
  --navy:#0E2A8A; --sun:#FFD400; --deep:#0A1838; --onair:#E1261C; --qsl-band:#0E2A8A;
  --sky1:#5CC3EE; --sky2:#C9EEFC; --sea1:#1AA9D2; --sea2:#2CC4E2; --wave1:#8FE6F7; --wave2:#0D8FB8;
  --sand1:#F3DCA6; --sand2:#F8EACB; --foam:#FFFFFF;
  --shadow:0 1px 0 rgba(14,42,138,.06),0 10px 24px rgba(14,42,138,.10);
}
:root{--frame:1280px;--gutter:32px}
:root[data-theme="night"]{
  --ground:#081430; --panel:#10224C; --panel-2:#17306A;
  --ink:#EAF1FF; --ink-2:#C9D6F2; --head:#FFD400; --link:#8FE3F7;
  --line:#1E3366; --line-2:#2F4787; --focus:#FFD400;
  --btn:#FFD400; --btn-ink:#0A1838; --btn-2-ink:#FFD400;
  --deep:#030817; --qsl-band:#0B1F66;
  --sky1:#06173D; --sky2:#1D3B7A; --sea1:#0B3F66; --sea2:#0F5682; --wave1:#3C86B4; --wave2:#08304F;
  --sand1:#7D6B4A; --sand2:#958160; --foam:#C9E6F2;
  --shadow:0 1px 0 rgba(0,0,0,.3),0 12px 28px rgba(0,0,0,.45);
}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);font-family:"Atkinson Hyperlegible",system-ui,sans-serif;font-size:18px;line-height:1.55;overflow-x:hidden}
img{max-width:100%;height:auto}
a{color:var(--link)}
.wrap{max-width:var(--frame);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;z-index:100;background:var(--btn);color:var(--btn-ink);padding:12px 18px;border-radius:10px;font-weight:700}
.skip:focus{left:12px}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
svg{display:block}

/* ---------- header ---------- */
.site-head{position:sticky;top:0;z-index:50;background:var(--panel);border-bottom:4px solid var(--sun)}
body:has(.as-closedbar) .site-head{top:2.1rem}
@media (min-width:1001px){body:has(.as-closedbar) .site-main>.as-section>.as-text>blockquote:first-child{top:calc(112px + 2.1rem)}}
.site-head .wrap{max-width:1440px}
.head-row{display:flex;align-items:center;gap:18px;min-height:84px}
.head-mark{display:flex;align-items:center;flex:none;padding:6px 0;min-height:48px}
.head-mark img{height:66px;width:auto;display:block}
.site-nav{flex:1 1 auto;min-width:0}
.site-nav ul{list-style:none;margin:0;padding:0}
.site-nav .as-menu-1{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px}
.site-nav .as-menu-1>li{position:relative}
.site-nav a{display:flex;align-items:center;min-height:48px;padding:10px 9px;font-weight:700;font-size:17px;color:var(--ink);text-decoration:none;border-radius:10px;white-space:nowrap}
/* Donate has its own button in the header, so it leaves the menu */
.site-nav .as-menu-1>li:has(> a[href$="/donate"]){display:none}
.site-nav a:hover{background:var(--panel-2)}
.site-nav .is-current>a,.site-nav .is-open>a{color:var(--head);box-shadow:inset 0 -3px 0 var(--head)}
.site-nav .has-children>a::after{content:"";width:8px;height:8px;margin-left:7px;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg) translateY(-3px)}
.site-nav .as-menu-2{position:absolute;left:0;top:100%;z-index:60;min-width:270px;padding:8px;background:var(--panel);border:2px solid var(--line);border-radius:14px;box-shadow:var(--shadow);display:none}
.site-nav .as-menu-1>li:nth-last-child(-n+3)>.as-menu-2{left:auto;right:0}
.site-nav .as-menu-1>li:hover>.as-menu-2,.site-nav .as-menu-1>li:focus-within>.as-menu-2{display:grid;gap:2px}
.site-nav .as-menu-3{display:none}
.head-actions{display:flex;align-items:center;gap:10px;flex:none}
.mode-toggle,.menu-toggle{min-width:48px;height:48px;border-radius:999px;border:2px solid var(--line);background:var(--panel);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font:inherit;font-weight:700;font-size:17px;padding:0 12px}
.mode-toggle svg,.menu-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.mode-toggle .i-sun{display:none}
:root[data-theme="night"] .mode-toggle .i-sun{display:block}
:root[data-theme="night"] .mode-toggle .i-moon{display:none}
.menu-toggle{display:none}
.head-listen{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:11px 20px;border-radius:999px;background:var(--btn);color:var(--btn-ink);font-weight:700;font-size:17px;text-decoration:none;white-space:nowrap}
:root[data-theme="night"] .head-listen{background:#FFFFFF;color:#0A1838}
.head-donate{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:11px 20px;border-radius:999px;background:#FFD400;color:#0A1838;border:2px solid #E5BE00;font-weight:700;font-size:17px;text-decoration:none;white-space:nowrap;box-shadow:0 3px 0 #C9A400}
.head-donate svg{width:18px;height:18px;fill:#E1261C;flex:none}
.head-donate:hover{background:#FFDF33}
.nav-extra{display:none}
.dot,.head-listen .dot{width:10px;height:10px;border-radius:50%;background:var(--onair);box-shadow:0 0 0 4px rgba(225,38,28,.25);flex:none}
html.wl-playing .head-listen .dot{animation:wl-blinkdot 1.2s ease-in-out infinite}

@media (max-width:1280px){
  .menu-toggle{display:inline-flex}
  .head-row{flex-wrap:wrap}
  .head-actions{margin-left:auto}
  .site-nav{order:3;flex:1 0 100%;display:none;max-height:calc(100vh - 100px);overflow-y:auto;padding:4px 0 14px}
  .site-nav.is-open{display:block}
  .site-nav .as-menu-1{flex-direction:column;justify-content:flex-start}
  .site-nav .as-menu-2{position:static;display:grid;min-width:0;border:0;box-shadow:none;background:transparent;padding:0 0 4px 18px}
  .site-nav .has-children>a::after{display:none}
  .site-nav .is-current>a,.site-nav .is-open>a{box-shadow:inset 4px 0 0 var(--head)}
}
@media (max-width:760px){
  :root{--gutter:18px}
  .head-mark img{height:56px}
  .head-listen,.head-donate{padding:11px 14px}
  .menu-toggle span{display:none}
  .head-actions>.mode-toggle{display:none}
  .nav-extra{display:block;padding:8px 0 0}
  .nav-extra .mode-toggle{width:100%;justify-content:flex-start;border-radius:12px;padding:0 14px;min-height:48px}
}
@media (max-width:430px){
  .head-row{gap:10px}
  .head-actions{gap:8px}
  .head-mark img{height:52px}
  .head-listen{padding:11px 12px;gap:8px}
  .head-listen .hl-more,.head-donate svg{display:none}
  .head-donate{padding:11px 13px}
  .menu-toggle{padding:0 10px;min-width:44px}
}

/* ---------- home intro ---------- */
.wl-hero{position:relative;overflow:hidden;background:var(--sand2)}
.wl-hero-row{position:relative;display:flex;flex-wrap:wrap;align-items:flex-end;gap:0 32px;padding-top:22px}
.wl-scene{position:relative;flex:0 1 680px;min-width:0;display:flex;align-items:flex-end;gap:4%}
.wl-sky,.wl-sea,.wl-foam,.wl-sand{position:absolute;left:-100vw;width:300vw;pointer-events:none}
.wl-sky{top:-800px;bottom:30%;background:linear-gradient(var(--sky1),var(--sky2))}
.wl-sea{bottom:16%;height:14%;background:linear-gradient(var(--sea1),var(--sea2));overflow:hidden}
.wl-sea svg{position:absolute;width:200%;height:12px}
.wl-sea path{fill:none;stroke-width:3}
.wl-waves{left:0;top:22%}.wl-waves path{stroke:var(--wave1)}
.wl-waves2{left:-100%;top:60%}.wl-waves2 path{stroke:var(--wave2)}
.wl-foam{bottom:calc(16% - 10px);height:14px;overflow:hidden}
.wl-foam svg{position:absolute;left:0;top:0;width:200%;height:100%}
.wl-foam path{fill:var(--foam);opacity:.9}
.wl-sand{bottom:-200px;height:calc(17% + 200px);background:linear-gradient(var(--sand1),var(--sand2))}
.wl-logo{position:relative;flex:0 1 63%;min-width:0;aspect-ratio:2251/1880}
.wl-logo>*{position:absolute}
.wl-arcbox{inset:0;width:100%;height:100%;overflow:visible}
.wl-arc{fill:none;stroke:#FFDD00;stroke-width:52;stroke-dasharray:1}
.wl-l-wrmi{left:7.818%;top:56.489%;width:83.296%;height:24.681%}
.wl-l-trunk{left:26.122%;top:36.277%;width:10.395%;height:45%}
.wl-l-fronds{left:5.420%;top:0;width:49.489%;height:54.362%;transform-origin:56.9% 74.4%}
.wl-l-legends{left:6.442%;top:84.202%;width:86.628%;height:15.532%}
.wl-radio{position:relative;flex:0 1 34%;min-width:0;display:flex;justify-content:center;margin-bottom:4px}
.wl-radio svg{width:100%;max-width:250px;height:auto;overflow:visible}
.wl-replay{position:absolute;right:0;top:4px;z-index:5;width:48px;height:48px;border-radius:50%;background:#FFFFFF;border:2px solid #0E2A8A;color:#0E2A8A;display:grid;place-items:center;cursor:pointer;padding:0}
.wl-replay svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.5}

.wl-hero-copy{position:relative;flex:999 1 400px;min-width:0;align-self:stretch;display:flex;flex-direction:column;padding:6px 0 26px}
.wl-hero-copy>.as-section,.wl-hero-copy>.as-section>.as-text{display:flex;flex-direction:column;flex:1 1 auto}
.wl-hero-copy h1{margin:0;font-family:"Alfa Slab One",serif;font-weight:400;font-size:44px;line-height:1.04;color:#0E2A8A;text-wrap:balance}
.wl-hero-copy p{margin:12px 0 0;font-size:20px;line-height:1.45;color:#13244D;max-width:34ch}
.wl-hero-copy p:has(> a > strong:only-child){max-width:none;margin-top:auto;padding-top:18px;display:flex;flex-wrap:wrap;gap:12px}
.wl-hero-copy .wl-onair+p:has(> a > strong:only-child){margin-top:0}
:root[data-theme="night"] .wl-hero-copy h1{color:#FFFFFF}
:root[data-theme="night"] .wl-hero-copy p{color:#E3ECFF}

/* the On Air Now badge: AirSite's own markup, from the On Air schedule, above
   the intro's buttons. Who is on (or, between shows, the station and what is
   up next), with their picture; LIVE in red while a live show is on. */
.wl-onair{margin-top:auto;max-width:470px}
.wl-onair .as-onair{position:relative;display:flex;align-items:center;gap:14px;min-height:78px;background:#FFFFFF;border-radius:14px;padding:10px 18px 10px 10px;box-shadow:0 2px 0 #D9C28C;color:#13244D;text-decoration:none;font-size:17px;line-height:1.35;box-sizing:border-box}
.wl-onair a.as-onair{cursor:pointer}
.wl-onair a.as-onair:hover{box-shadow:0 2px 0 #D9C28C,0 0 0 3px #0E2A8A}
.wl-onair .as-onair-pic{width:58px;height:58px;border-radius:50%;object-fit:cover;flex:none;display:block;background:#FFFFFF}
.wl-onair .as-onair-text{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
.wl-onair .as-onair-label{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:700;color:#0E2A8A;text-transform:none;letter-spacing:0}
.wl-onair .as-onair.is-live .as-onair-label::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--onair);box-shadow:0 0 0 4px rgba(225,38,28,.25);flex:none;animation:wl-blinkdot 1.2s ease-in-out infinite}
.wl-onair .as-onair-show{font-size:18px;font-weight:700;color:#13244D;line-height:1.3}
.wl-onair :is(.as-onair-host,.as-onair-time,.as-onair-next){font-size:17px;color:#13244D}
.wl-onair :is(.as-onair-time,.as-onair-next)::after{content:var(--wl-zone,"")}
.wl-onair .as-onair-next{margin-top:3px;font-weight:700;color:#0E2A8A}
/* while a show is on, the badge is about that show; "Up next" is for the hours in between */
.wl-onair .as-onair:not(.is-fallback) .as-onair-next{display:none}
.wl-onair.is-samehost .as-onair-host{display:none}
/* AirSite re-checks the badge every minute; no blink when nothing has changed */
.wl-onair .as-onair.is-new{animation:none}
.wl-onair .as-onair-badge{position:absolute;top:-11px;right:14px;background:var(--onair);color:#FFFFFF;font-size:15px;font-weight:800;line-height:1.4;border-radius:999px;padding:1px 11px}
:root[data-theme="night"] .wl-onair .as-onair{background:#10224C;box-shadow:0 2px 0 #050B1F;color:#EAF1FF}
:root[data-theme="night"] .wl-onair a.as-onair:hover{box-shadow:0 2px 0 #050B1F,0 0 0 3px #FFD400}
:root[data-theme="night"] .wl-onair .as-onair-label,:root[data-theme="night"] .wl-onair .as-onair-next{color:#FFD400}
:root[data-theme="night"] .wl-onair :is(.as-onair-show,.as-onair-host,.as-onair-time){color:#EAF1FF}

@media (max-width:1180px){
  .wl-hero-copy{flex-basis:300px}
  .wl-scene{flex-basis:600px}
  .wl-hero-copy h1{font-size:38px}
  .wl-hero-copy p{font-size:19px}
}
@media (max-width:760px){
  .wl-scene{flex:1 1 100%}
  .wl-hero-copy{padding-top:20px}
  .wl-hero-copy h1{font-size:36px}
  .wl-hero-copy p:has(> a > strong:only-child){margin-top:0}
  .wl-onair{margin-top:18px}
  .wl-replay{display:none}
}

/* idle motion — always on */
.wl-waves{animation:wl-slide 7s linear infinite}
.wl-waves2{animation:wl-slide-r 10s linear infinite}
.wl-foamline{animation:wl-slide 6s linear infinite}
.wl-l-fronds{animation:wl-sway 5s ease-in-out infinite}
.wl-lamp{opacity:.5;animation:wl-glow 2.6s ease-in-out infinite}
.wl-ring1,.wl-ring2,.wl-ring3{transform-box:fill-box;transform-origin:50% 50%;opacity:0;animation:wl-ring 2.4s ease-out infinite}
.wl-ring2{animation-delay:.8s}.wl-ring3{animation-delay:1.6s}
.wl-led{animation:wl-blink 1.2s steps(2,start) infinite}
.wl-pointer{transform:translateX(53px)}
.wl-knob{transform-box:fill-box;transform-origin:50% 50%;transform:rotate(85deg)}
.wl-ant{transform-box:fill-box;transform-origin:50% 100%}

/* the intro — runs once per visit, and on Replay */
.wl-play .wl-l-wrmi{animation:wl-rise .8s cubic-bezier(.2,.8,.2,1) .3s both}
.wl-play .wl-l-trunk{transform-origin:50% 100%;animation:wl-grow .7s cubic-bezier(.3,.9,.3,1) .8s both}
.wl-play .wl-l-fronds{animation:wl-unfurl .9s cubic-bezier(.2,.9,.3,1.2) 1.3s both,wl-gust 1.7s ease-in-out 2.7s,wl-sway 5s ease-in-out 4.4s infinite}
.wl-play .wl-drop{animation:wl-drop .9s cubic-bezier(.3,.7,.3,1) 1.6s both}
.wl-play .wl-ant{animation:wl-ant .5s ease-out 2.4s both}
.wl-play .wl-pointer{animation:wl-tune 1.8s cubic-bezier(.45,0,.2,1) 2.7s both}
.wl-play .wl-knob{animation:wl-knob 1.8s cubic-bezier(.45,0,.2,1) 2.7s both}
.wl-play .wl-lamp{animation:wl-lamp .6s ease-out 2.7s both,wl-glow 2.6s ease-in-out 3.4s infinite}
.wl-play .wl-arc{animation:wl-draw 1.7s cubic-bezier(.5,0,.3,1) 2.7s both}
.wl-play .wl-ring1{animation-delay:4.3s}.wl-play .wl-ring2{animation-delay:5.1s}.wl-play .wl-ring3{animation-delay:5.9s}
.wl-play .wl-led{animation-delay:2.7s}
.wl-play .wl-l-legends{animation:wl-pop .8s cubic-bezier(.3,1.4,.4,1) 4.1s both}

@keyframes wl-slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes wl-slide-r{from{transform:translateX(0)}to{transform:translateX(50%)}}
@keyframes wl-rise{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}
@keyframes wl-grow{from{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}
@keyframes wl-unfurl{0%{opacity:0;transform:scale(.15) rotate(-30deg)}70%{opacity:1;transform:scale(1.04) rotate(3deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@keyframes wl-gust{0%{transform:rotate(0)}35%{transform:rotate(-6deg)}70%{transform:rotate(3.5deg)}100%{transform:rotate(0)}}
@keyframes wl-sway{0%,100%{transform:rotate(0)}25%{transform:rotate(1.8deg)}75%{transform:rotate(-1.8deg)}}
@keyframes wl-drop{0%{opacity:0;transform:translateY(-70%)}60%{opacity:1;transform:translateY(3%)}80%{transform:translateY(-1.5%)}100%{opacity:1;transform:none}}
@keyframes wl-ant{from{transform:scaleY(.12)}to{transform:scaleY(1)}}
@keyframes wl-tune{0%{transform:translateX(0)}55%{transform:translateX(208px)}100%{transform:translateX(53px)}}
@keyframes wl-knob{0%{transform:rotate(0)}55%{transform:rotate(330deg)}100%{transform:rotate(85deg)}}
@keyframes wl-lamp{from{opacity:0}to{opacity:.5}}
@keyframes wl-glow{0%,100%{opacity:.5}50%{opacity:.75}}
@keyframes wl-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes wl-ring{0%{opacity:.95;transform:scale(1)}100%{opacity:0;transform:scale(3.6)}}
@keyframes wl-blink{to{visibility:hidden}}
@keyframes wl-pop{0%{opacity:0;transform:scale(.6)}100%{opacity:1;transform:scale(1)}}
@keyframes wl-blinkdot{50%{opacity:.25}}

/* ---------- inner page band ---------- */
.page-band{position:relative;overflow:hidden;background:linear-gradient(var(--sky1),var(--sky2) 70%,var(--sea2) 70%,var(--sea1) 82%,var(--sand1) 82%,var(--sand2));padding:34px 0 54px}
.page-band h1{margin:0;font-family:"Alfa Slab One",serif;font-weight:400;font-size:clamp(34px,5vw,52px);line-height:1.08;color:#0E2A8A;text-wrap:balance}
:root[data-theme="night"] .page-band h1{color:#FFFFFF}
.page-band .crumbs{font-size:17px;margin-bottom:6px;color:#13244D}
:root[data-theme="night"] .page-band .crumbs{color:#E3ECFF}
.page-band .crumbs a{color:inherit;font-weight:700;display:inline-block;padding:10px 0;min-height:44px}

/* ---------- content (Text blocks) ----------
   AirSite prints every block as
     <section class="as-section as-mod-wysiwyg" id="s42"><div class="as-text"> …the block's HTML… </div></section>
   so everything below reads the block's own markup inside .as-text. */
.site-main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:56px;row-gap:64px;align-items:start;padding-top:64px;padding-bottom:96px}
.site-main>*{grid-column:1 / -1;min-width:0}
/* a block that starts with a small heading (Heading 3) sits half width beside the next one */
.site-main>.as-section:has(> .as-text > h3:first-child){grid-column:auto}
.site-main .as-text>:first-child{margin-top:0}
.site-main .as-text>:last-child{margin-bottom:0}
.site-main h1,.site-main h2{font-family:"Alfa Slab One",serif;font-weight:400;color:var(--head);line-height:1.08;margin:0 0 .45em;text-wrap:balance}
.site-main h1{font-size:46px}
.site-main h2{font-size:38px}
.site-main h3{font-size:24px;line-height:1.25;margin:1.2em 0 .3em;color:var(--ink)}
.site-main>.as-section>.as-text>h3:first-child{font-family:"Alfa Slab One",serif;font-weight:400;font-size:26px;line-height:1.15;color:var(--head);margin:0 0 12px}
.site-main p,.site-main li,.site-main td,.site-main th{font-size:18px}
.site-main p{margin:0 0 1em;color:var(--ink-2)}
.site-main h2+p{font-size:19px}
.site-main .as-text>p,.site-main .as-text>ul:not(:has(img)),.site-main .as-text>ol{max-width:72ch}
.site-main img{border-radius:12px;display:inline-block}
.site-main hr{border:0;border-top:3px dashed var(--line-2);margin:2em 0}
.site-main a:not(:has(img)){text-underline-offset:3px;text-decoration-thickness:2px}
/* every text link gets a 44px-tall hit area without changing the line spacing */
.site-main a:not(:has(img)):not(:has(> strong:only-child)),.wl-hero-copy a:not(:has(> strong:only-child)){padding-top:.62em;padding-bottom:.62em}
.site-main a:has(> img){display:inline-block}
.site-main a[href^="tel:"]{white-space:nowrap}
.site-main p>img:only-child{display:block;max-width:min(100%,760px)}

/* buttons: a link whose whole text is bold */
.site-main a:has(> strong:only-child),.site-main strong>a:only-child,.site-foot a:has(> strong:only-child),.wl-hero-copy a:has(> strong:only-child){
  display:inline-flex;align-items:center;gap:10px;min-height:54px;padding:13px 24px;margin:6px 10px 6px 0;border-radius:12px;
  background:var(--btn);color:var(--btn-ink);font-weight:700;font-size:19px;text-decoration:none;line-height:1.2;border:2px solid var(--btn)}
.site-main a:has(> strong:only-child) strong,.wl-hero-copy a:has(> strong:only-child) strong{font-weight:700}
.site-main p>a:has(> strong:only-child)~a:has(> strong:only-child){background:transparent;color:var(--btn-2-ink)}
.wl-hero-copy a:has(> strong:only-child){margin:0;background:#0E2A8A;border-color:#0E2A8A;color:#FFFFFF}
.wl-hero-copy p>a:has(> strong:only-child)~a:has(> strong:only-child){background:#FFFFFF;color:#0E2A8A}
:root[data-theme="night"] .wl-hero-copy a:has(> strong:only-child){background:#FFD400;border-color:#FFD400;color:#0A1838}
:root[data-theme="night"] .wl-hero-copy p>a:has(> strong:only-child)~a:has(> strong:only-child){background:#0A1838;color:#FFD400}
.wl-playicon{display:inline-block;width:16px;height:16px;fill:currentColor;vertical-align:-2px;margin-right:9px}
a.wl-playlink.is-live{box-shadow:0 0 0 4px rgba(225,38,28,.35)}

/* a picture with a line of text beside it */
.site-main>.as-section>.as-text>p:not(:has(> img ~ img))>img:first-child:not(:only-child){width:64px;height:64px;border-radius:50%;object-fit:cover;vertical-align:middle;margin:0 14px 0 0}
.site-main>.as-section>.as-text>p.wl-avatar{display:flex;align-items:center;gap:16px;max-width:none}
.site-main>.as-section>.as-text>p.wl-avatar>img{margin:0;flex:none}
.site-main>.as-section>.as-text>p.wl-avatar>span{font-size:19px}
.site-main>.as-section:has(> .as-text > p:only-child > img:first-child:not(:only-child)){margin-top:-36px}

/* a picture first, then a big heading: picture on the left, words on the right, on a panel */
.site-main>.as-section:has(> .as-text > p:first-child + h2):has(> .as-text > p:first-child img){background:var(--panel);border-radius:22px;padding:30px;box-shadow:var(--shadow)}
.site-main>.as-section>.as-text:has(> p:first-child + h2):has(> p:first-child img){display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:1fr repeat(20,auto) 1fr;column-gap:44px;row-gap:0;align-items:start}
.site-main>.as-section>.as-text:has(> p:first-child + h2):has(> p:first-child img)::before{content:"";grid-column:2;grid-row:1}
.site-main>.as-section>.as-text:has(> p:first-child + h2):has(> p:first-child img)>*{grid-column:2;margin:14px 0 0;max-width:56ch}
.site-main>.as-section>.as-text:has(> p:first-child + h2):has(> p:first-child img)>p:first-child{grid-column:1;grid-row:1 / -1;align-self:center;margin:0;max-width:none}
.site-main>.as-section>.as-text:has(> p:first-child + h2):has(> p:first-child img)>p:first-child :is(a,img){display:block}
.site-main>.as-section>.as-text:has(> p:first-child + h2):has(> p:first-child img)>p:first-child img{width:100%;max-width:none;border-radius:16px}
.site-main>.as-section>.as-text:has(> p:first-child + h2):has(> p:first-child img)>p:first-child+h2{margin-top:0}
.site-main>.as-section>.as-text:has(> p:first-child + h2):has(> p:first-child img)>p:has(> a > strong:only-child){margin-top:20px}

/* ---------- full-width bands ----------
   a block that starts with a quote          -> Ted's QSL card on navy
   a paragraph of two pictures side by side  -> the story, on the dark glass
   a PayPal button                           -> the yellow "help keep us on the air" band */
.site-main>.as-section:is(:has(> .as-text > blockquote:first-child),:has(> .as-text > p > img + img),:has(> .as-text > p > .wl-fig + .wl-fig),:has(> .as-text > p > a[href*="paypal.me"] > strong:only-child)){position:relative;padding:88px 0;border-image:conic-gradient(var(--bandc) 0 0) fill 0//0 100vmax}
.site-main>.as-section:is(:has(> .as-text > blockquote:first-child),:has(> .as-text > p > img + img),:has(> .as-text > p > .wl-fig + .wl-fig),:has(> .as-text > p > a[href*="paypal.me"] > strong:only-child))+.as-section:is(:has(> .as-text > blockquote:first-child),:has(> .as-text > p > img + img),:has(> .as-text > p > .wl-fig + .wl-fig),:has(> .as-text > p > a[href*="paypal.me"] > strong:only-child)){margin-top:-64px}
.site-main>.as-section:is(:has(> .as-text > blockquote:first-child),:has(> .as-text > p > img + img),:has(> .as-text > p > .wl-fig + .wl-fig),:has(> .as-text > p > a[href*="paypal.me"] > strong:only-child)):first-child{margin-top:-64px}
.site-main>.as-section:is(:has(> .as-text > blockquote:first-child),:has(> .as-text > p > img + img),:has(> .as-text > p > .wl-fig + .wl-fig),:has(> .as-text > p > a[href*="paypal.me"] > strong:only-child)):last-child{margin-bottom:-96px}

/* Ted: a QSL card beside the words; the card stays in view while a long story scrolls by */
.site-main>.as-section:has(> .as-text > blockquote:first-child){--bandc:var(--qsl-band);--focus:#FFD400;color:#FFFFFF}
.site-main>.as-section>.as-text:has(> blockquote:first-child){display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);grid-template-rows:1fr repeat(60,auto) 1fr;column-gap:64px;row-gap:0;align-items:start}
.site-main>.as-section>.as-text:has(> blockquote:first-child)::before{content:"";grid-column:2;grid-row:1}
.site-main>.as-section>.as-text:has(> blockquote:first-child)>*{grid-column:2;margin:16px 0 0;max-width:60ch}
.site-main>.as-section>.as-text:has(> blockquote:first-child)>blockquote+*{margin-top:0}
.site-main>.as-section>.as-text:has(> blockquote:first-child)>h2{color:#FFFFFF}
.site-main>.as-section>.as-text:has(> blockquote:first-child)>h3{font-family:"Alfa Slab One",serif;font-weight:400;font-size:28px;line-height:1.15;color:#FFFFFF;margin-top:44px}
.site-main>.as-section>.as-text:has(> blockquote:first-child)>p{font-size:20px;color:#DCE6FF}
.site-main>.as-section>.as-text:has(> blockquote:first-child)>p:has(> strong:only-child){color:#FFD400}
.site-main>.as-section>.as-text:has(> blockquote:first-child)>p:has(> a > strong:only-child){margin-top:22px}
.site-main>.as-section>.as-text:has(> blockquote:first-child)>p:has(> .wl-bcast){margin-top:28px}
.site-main>.as-section>.as-text:has(> blockquote:first-child) a:not(:has(> strong:only-child)):not(.wl-bcast){color:#FFD400}
.site-main>.as-section>.as-text:has(> blockquote:first-child) a:has(> strong:only-child){background:#FFD400;border-color:#FFD400;color:#0A1838}
.site-main>.as-section>.as-text:has(> blockquote:first-child) p>a:has(> strong:only-child)~a:has(> strong:only-child){background:transparent;border-color:#FFFFFF;color:#FFFFFF}
.site-main>.as-section>.as-text:has(> blockquote:first-child)>blockquote{grid-column:1;grid-row:1 / -1;align-self:start;max-width:none;margin:0;position:sticky;top:112px;display:flow-root;
  background:#FFFBEF;color:#0E2A8A;border-radius:6px;padding:32px 34px 28px;transform:rotate(-1.6deg);box-shadow:0 18px 40px rgba(3,10,40,.45);outline:3px solid #0E2A8A;outline-offset:-14px}
.site-main>.as-section>.as-text>blockquote:first-child>p:first-child:has(> img){float:right;margin:0 0 12px 18px}
.site-main>.as-section>.as-text>blockquote:first-child>p:first-child>img{display:block;width:120px;height:158px;object-fit:cover;border:6px solid #FFFFFF;border-radius:0;box-shadow:0 4px 12px rgba(0,0,0,.25);transform:rotate(3deg)}
.site-main>.as-section>.as-text>blockquote:first-child>h3{font-family:"Alfa Slab One",serif;font-weight:400;font-size:66px;line-height:1;margin:0;color:#0E2A8A}
.site-main>.as-section>.as-text>blockquote:first-child>h3+p{margin:12px 0 0;font-size:18px;line-height:1.4;color:#2A3B66}
.site-main>.as-section>.as-text>blockquote:first-child>h3+p strong{display:block;font-size:22px;color:#13244D}
.site-main>.as-section>.as-text>blockquote:first-child>h3+p br{display:none}
.site-main>.as-section>.as-text>blockquote:first-child>ul{list-style:none;clear:both;margin:22px 0 0;padding:0 96px 0 0;display:grid;gap:10px;max-width:none}
.site-main>.as-section>.as-text>blockquote:first-child>ul>li{display:grid;grid-template-columns:178px minmax(0,1fr);gap:12px;border-bottom:2px dotted #9FB0D8;padding-bottom:6px;font-size:18px;line-height:1.4;color:#13244D}
.site-main>.as-section>.as-text>blockquote:first-child>ul>li>strong{font-size:16px;color:#2A3B66}
.site-main>.as-section>.as-text>blockquote:first-child::after{content:"73";position:absolute;right:28px;bottom:22px;width:86px;height:86px;border-radius:50%;border:3px solid #0E2A8A;display:grid;place-items:center;
  font-family:"Alfa Slab One",serif;font-size:34px;line-height:1;color:#0E2A8A;background:rgba(255,212,0,.45);transform:rotate(-12deg)}

/* the story: words beside two snapshots */
.site-main>.as-section:has(> .as-text > p > img + img,> .as-text > p > .wl-fig + .wl-fig){--bandc:var(--deep);--focus:#FFD400;color:#FFFFFF}
.site-main>.as-section>.as-text:has(> p > img + img,> p > .wl-fig + .wl-fig){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:1fr repeat(28,auto) 1fr;column-gap:56px;row-gap:0;align-items:start}
.site-main>.as-section>.as-text:has(> p > img + img,> p > .wl-fig + .wl-fig)::before{content:"";grid-column:1;grid-row:1}
.site-main>.as-section>.as-text:has(> p > img + img,> p > .wl-fig + .wl-fig)>*{grid-column:1;margin:16px 0 0;max-width:56ch}
.site-main>.as-section>.as-text:has(> p > img + img,> p > .wl-fig + .wl-fig)>:first-child{margin-top:0}
.site-main>.as-section>.as-text:has(> p > img + img,> p > .wl-fig + .wl-fig)>h2{color:#FFFFFF}
.site-main>.as-section>.as-text:has(> p > img + img,> p > .wl-fig + .wl-fig)>p{font-size:19px;color:#DCE6FF}
.site-main>.as-section>.as-text:has(> p > img + img,> p > .wl-fig + .wl-fig) a{color:#FFD400;font-weight:700}
.site-main>.as-section>.as-text:has(> p > img + img,> p > .wl-fig + .wl-fig)>p:is(:has(> img + img),:has(> .wl-fig + .wl-fig)){grid-column:2;grid-row:1 / -1;align-self:center;position:relative;min-height:500px;max-width:none;margin:0}
.site-main>.as-section>.as-text>p:is(:has(> img + img),:has(> .wl-fig + .wl-fig))>:is(img,.wl-fig){position:absolute;display:block;margin:0;background:#FFFFFF;padding:10px 10px 12px;border-radius:0;box-shadow:0 14px 30px rgba(0,0,0,.45)}
.site-main>.as-section>.as-text>p:is(:has(> img + img),:has(> .wl-fig + .wl-fig))>:is(img,.wl-fig):first-child{right:0;top:0;width:76%;transform:rotate(1.5deg)}
.site-main>.as-section>.as-text>p:is(:has(> img + img),:has(> .wl-fig + .wl-fig))>:is(img,.wl-fig):nth-child(2){left:0;bottom:-6px;width:40%;transform:rotate(-3deg)}
.site-main .wl-fig img{display:block;width:100%;height:auto;border-radius:0}
.site-main .wl-cap{display:block;font-size:16px;line-height:1.3;font-weight:700;color:#13244D;padding-top:8px}
.site-main .wl-fig:first-child .wl-cap{text-align:right}

/* help keep us on the air */
.site-main>.as-section:has(> .as-text > p > a[href*="paypal.me"] > strong:only-child){--bandc:var(--sun);--focus:#0A1838;color:#0A1838;padding:72px 0}
.site-main>.as-section>.as-text:has(> p > a[href*="paypal.me"] > strong:only-child){display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:48px;row-gap:0;align-items:center}
.site-main>.as-section>.as-text:has(> p > a[href*="paypal.me"] > strong:only-child)>*{grid-column:1;margin:12px 0 0;max-width:56ch}
.site-main>.as-section>.as-text:has(> p > a[href*="paypal.me"] > strong:only-child)>:first-child{margin-top:0}
.site-main>.as-section>.as-text:has(> p > a[href*="paypal.me"] > strong:only-child)>h2{color:#0A1838}
.site-main>.as-section>.as-text:has(> p > a[href*="paypal.me"] > strong:only-child)>p{font-size:20px;color:#0A1838}
.site-main>.as-section>.as-text:has(> p > a[href*="paypal.me"] > strong:only-child) a{color:#0A1838}
.site-main>.as-section>.as-text:has(> p > a[href*="paypal.me"] > strong:only-child)>p:has(> a > strong:only-child){grid-column:2;grid-row:1 / span 9;margin:0;max-width:none;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}
.site-main>.as-section>.as-text:has(> p > a[href*="paypal.me"] > strong:only-child) a:has(> strong:only-child){margin:0;background:#0E2A8A;border-color:#0E2A8A;color:#FFFFFF}
.site-main>.as-section>.as-text:has(> p > a[href*="paypal.me"] > strong:only-child) p>a:has(> strong:only-child)~a:has(> strong:only-child){background:transparent;color:#0E2A8A}

/* ---------- the memorial broadcast: a player panel with the real waveform ----------
   site.js builds it from a picture linked to an .mp3 */
.site-main .wl-bcast{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"play title" "play wave" "play time";column-gap:20px;row-gap:8px;align-items:center;
  max-width:640px;padding:20px 24px 16px 20px;border-radius:20px;background:#0A1838;color:#FFFFFF;border:2px solid rgba(255,255,255,.16);text-decoration:none;box-shadow:0 14px 34px rgba(3,10,40,.35);cursor:pointer}
.site-main .wl-bcast:hover{border-color:rgba(255,212,0,.7)}
.site-main .wl-bcast.is-live{box-shadow:0 0 0 3px #FFD400,0 14px 34px rgba(3,10,40,.35)}
.site-main .wl-bcast>img{display:none}
.wl-bc-play{grid-area:play;width:80px;height:80px;border-radius:50%;background:#FFD400;color:#0A1838;display:grid;place-items:center;box-shadow:0 0 0 8px rgba(255,212,0,.16)}
.wl-bc-play svg{width:32px;height:32px;fill:currentColor}
.wl-bc-play .i-pause,.wl-bcast.is-live .wl-bc-play .i-play{display:none}
.wl-bcast.is-live .wl-bc-play .i-pause{display:block}
.wl-bc-title{grid-area:title;font-family:"Alfa Slab One",serif;font-weight:400;font-size:22px;line-height:1.2;color:#FFFFFF}
.wl-bc-wave{grid-area:wave;display:block;height:64px;background:linear-gradient(90deg,#FFD400 var(--p,0%),rgba(255,255,255,.55) var(--p,0%));
  -webkit-mask:var(--wave) center / 100% 100% no-repeat;mask:var(--wave) center / 100% 100% no-repeat}
.wl-bc-time{grid-area:time;display:flex;justify-content:space-between;gap:12px;font-size:16px;font-weight:700;color:#DCE6FF;font-variant-numeric:tabular-nums}
@media (max-width:560px){
  .site-main .wl-bcast{column-gap:14px;padding:16px 16px 14px 14px}
  .wl-bc-play{width:62px;height:62px;box-shadow:0 0 0 6px rgba(255,212,0,.16)}
  .wl-bc-play svg{width:26px;height:26px}
  .wl-bc-title{font-size:19px}
  .wl-bc-wave{height:52px}
}

@media (max-width:1180px){
  .site-main>.as-section>.as-text:has(> blockquote:first-child){grid-template-columns:minmax(0,440px) minmax(0,1fr);column-gap:48px}
  .site-main>.as-section>.as-text>blockquote:first-child>h3{font-size:44px}
  .site-main>.as-section>.as-text>blockquote:first-child>p:first-child>img{width:100px;height:132px}
  .site-main>.as-section>.as-text>blockquote:first-child>ul{padding-right:0}
  .site-main>.as-section>.as-text>blockquote:first-child>ul>li{grid-template-columns:150px minmax(0,1fr)}
  .site-main>.as-section>.as-text>blockquote:first-child::after{position:static;margin:16px 0 0 auto;width:72px;height:72px;font-size:28px}
}
@media (max-width:1000px){
  .site-main>.as-section>.as-text:has(> blockquote:first-child),.site-main>.as-section>.as-text:has(> p > img + img,> p > .wl-fig + .wl-fig){display:block}
  .site-main>.as-section>.as-text:has(> blockquote:first-child)::before,.site-main>.as-section>.as-text:has(> p > img + img,> p > .wl-fig + .wl-fig)::before{display:none}
  .site-main>.as-section>.as-text:has(> blockquote:first-child)>blockquote{max-width:560px;margin:0 0 48px;position:relative;top:auto}
  .site-main>.as-section>.as-text:has(> p > img + img,> p > .wl-fig + .wl-fig)>p:is(:has(> img + img),:has(> .wl-fig + .wl-fig)){min-height:0;margin-top:32px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
  .site-main>.as-section>.as-text>p:is(:has(> img + img),:has(> .wl-fig + .wl-fig))>:is(img,.wl-fig):is(:first-child,:nth-child(2)){position:static;width:auto;transform:none}
  .site-main .wl-fig:first-child .wl-cap{text-align:left}
}
@media (max-width:860px){
  .site-main{grid-template-columns:minmax(0,1fr)}
  .site-main>.as-section:has(> .as-text > h3:first-child){grid-column:1 / -1}
  .site-main>.as-section>.as-text:has(> p > a[href*="paypal.me"] > strong:only-child){display:block}
  .site-main>.as-section>.as-text:has(> p > a[href*="paypal.me"] > strong:only-child)>p:has(> a > strong:only-child){margin-top:22px;justify-content:flex-start}
}
@media (max-width:760px){
  .site-main{row-gap:56px;padding-top:48px}
  .site-main h1{font-size:36px}
  .site-main h2{font-size:32px}
  .site-main>.as-section:is(:has(> .as-text > blockquote:first-child),:has(> .as-text > p > img + img),:has(> .as-text > p > .wl-fig + .wl-fig)){padding:64px 0}
  .site-main>.as-section:is(:has(> .as-text > blockquote:first-child),:has(> .as-text > p > img + img),:has(> .as-text > p > .wl-fig + .wl-fig),:has(> .as-text > p > a[href*="paypal.me"] > strong:only-child))+.as-section:is(:has(> .as-text > blockquote:first-child),:has(> .as-text > p > img + img),:has(> .as-text > p > .wl-fig + .wl-fig),:has(> .as-text > p > a[href*="paypal.me"] > strong:only-child)){margin-top:-56px}
  .site-main>.as-section:is(:has(> .as-text > blockquote:first-child),:has(> .as-text > p > img + img),:has(> .as-text > p > .wl-fig + .wl-fig),:has(> .as-text > p > a[href*="paypal.me"] > strong:only-child)):first-child{margin-top:-48px}
  .site-main>.as-section>.as-text:has(> blockquote:first-child)>blockquote{transform:rotate(-1deg);padding:24px 22px 22px;outline-offset:-10px}
  .site-main>.as-section>.as-text>blockquote:first-child>h3{font-size:clamp(30px,9vw,48px)}
  .site-main>.as-section>.as-text>blockquote:first-child>p:first-child{margin:0 0 10px 14px}
  .site-main>.as-section>.as-text>blockquote:first-child>p:first-child>img{width:92px;height:122px}
  .site-main>.as-section>.as-text>blockquote:first-child>ul>li{grid-template-columns:minmax(0,1fr);gap:0}
  .site-main>.as-section>.as-text:has(> blockquote:first-child)>p{font-size:19px}
  .site-main>.as-section>.as-text:has(> blockquote:first-child)>h3{font-size:25px;margin-top:36px}
  .site-main>.as-section:has(> .as-text > p:first-child + h2):has(> .as-text > p:first-child img){padding:18px}
  .site-main>.as-section>.as-text:has(> p:first-child + h2):has(> p:first-child img){display:block}
  .site-main>.as-section>.as-text:has(> p:first-child + h2):has(> p:first-child img)::before{display:none}
  .site-main>.as-section>.as-text:has(> p:first-child + h2):has(> p:first-child img)>p:first-child{margin:0 0 20px}
  .site-main>.as-section>.as-text:has(> p:first-child + h2):has(> p:first-child img)>p:first-child+h2{margin-top:0}
}
@media (max-width:560px){
  .site-main>.as-section>.as-text:has(> p > img + img,> p > .wl-fig + .wl-fig)>p:is(:has(> img + img),:has(> .wl-fig + .wl-fig)){grid-template-columns:minmax(0,1fr)}
  .site-main>.as-section>.as-text>blockquote:first-child>p:first-child>img{width:76px;height:100px;border-width:5px}
}

/* a small note with its picture beside it */
.site-main>.as-section>.as-text:has(> h3:first-child):has(> p > a > img:only-child,> p > img:only-child){display:grid;grid-template-columns:150px minmax(0,1fr);column-gap:18px;row-gap:0;align-items:start}
.site-main>.as-section>.as-text:has(> h3:first-child):has(> p > a > img:only-child,> p > img:only-child)>*{grid-column:2;margin:0 0 10px}
.site-main>.as-section>.as-text:has(> h3:first-child)>p:is(:has(> a > img:only-child),:has(> img:only-child)){grid-column:1;grid-row:1 / span 9;margin:0}
.site-main>.as-section>.as-text:has(> h3:first-child)>p:is(:has(> a > img:only-child),:has(> img:only-child)) img{display:block;width:150px;border-radius:10px}
@media (max-width:480px){
  .site-main>.as-section>.as-text:has(> h3:first-child):has(> p > a > img:only-child,> p > img:only-child){display:block}
  .site-main>.as-section>.as-text:has(> h3:first-child)>p:is(:has(> a > img:only-child),:has(> img:only-child)){margin:0 0 14px}
  .site-main>.as-section>.as-text:has(> h3:first-child)>p:is(:has(> a > img:only-child),:has(> img:only-child)) img{width:180px}
}

/* links to keep up with us: a small picture beside each link */
.site-main ul:has(> li > img + p){list-style:none;margin:30px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;max-width:none}
.site-main ul:has(> li > img + p)>li{display:flex;gap:16px;align-items:flex-start}
.site-main ul:has(> li > img + p)>li>img{width:76px;height:76px;border-radius:14px;object-fit:cover;flex:none;background:#FFFFFF;box-shadow:0 0 0 1px var(--line)}
.site-main ul:has(> li > img + p)>li>p{margin:0;font-size:17px;line-height:1.45;color:var(--ink-2)}
.site-main ul:has(> li > img + p)>li>p>:is(a,strong):first-child{display:inline-block;font-weight:700;font-size:19px;line-height:1.3;padding:8px 0;min-height:44px;color:var(--ink)}
.site-main ul:has(> li > img + p)>li>p>a:first-child{color:var(--link)}
@media (max-width:1180px){.site-main ul:has(> li > img + p){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.site-main ul:has(> li > img + p){grid-template-columns:minmax(0,1fr);gap:18px}}

/* sponsors: AirSite's ad cards, as white tiles with the logo whole */
.site-main .as-mod-spots .as-spot-head{font-family:"Alfa Slab One",serif;font-weight:400;font-size:28px;line-height:1.15;letter-spacing:0;text-transform:none;opacity:1;color:var(--head);margin:0 0 18px}
.site-main .as-mod-spots .as-card{background:#FFFFFF;color:#13244D;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.site-main .as-mod-spots .as-ad-card__media{background:#FFFFFF;aspect-ratio:3/1}
.site-main .as-mod-spots .as-ad-card__media img{object-fit:contain;padding:10px 16px;border-radius:0}
.site-main .as-mod-spots .as-card-head{font-size:16px;line-height:1.3;color:#13244D}

/* cards: a list whose items carry a picture and a heading */
.site-main :is(ul:has(> li > img + h3),ul:has(> li > a > img),ul:has(> li > p > img),ul:has(> li > p > a > img)){
  list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:28px;max-width:none}
.site-main :is(ul:has(> li > img + h3),ul:has(> li > a > img),ul:has(> li > p > img),ul:has(> li > p > a > img))>li{
  background:var(--panel);border-radius:6px;padding:12px 12px 18px;box-shadow:var(--shadow);transform:rotate(-.4deg);transition:transform .2s ease;display:flex;flex-direction:column}
.site-main :is(ul:has(> li > img + h3),ul:has(> li > a > img),ul:has(> li > p > img),ul:has(> li > p > a > img))>li:nth-child(even){transform:rotate(.45deg)}
.site-main :is(ul:has(> li > img + h3),ul:has(> li > a > img),ul:has(> li > p > img),ul:has(> li > p > a > img))>li:hover{transform:none}
.site-main :is(ul:has(> li > img + h3),ul:has(> li > a > img),ul:has(> li > p > img),ul:has(> li > p > a > img))>li img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:3px;display:block;background:var(--panel-2)}
.site-main :is(ul:has(> li > img + h3),ul:has(> li > a > img),ul:has(> li > p > img),ul:has(> li > p > a > img))>li>:is(a,p):has(img){display:block;margin:0;padding:0;background:none;border:0;min-height:0}
.site-main :is(ul:has(> li > img + h3),ul:has(> li > a > img),ul:has(> li > p > img),ul:has(> li > p > a > img)) h3{margin:.7em 6px .2em;font-size:22px}
.site-main :is(ul:has(> li > img + h3),ul:has(> li > a > img),ul:has(> li > p > img),ul:has(> li > p > a > img)) h3 a{color:var(--ink);text-decoration:none}
.site-main :is(ul:has(> li > img + h3),ul:has(> li > a > img),ul:has(> li > p > img),ul:has(> li > p > a > img)) h3 a:hover{text-decoration:underline}
.site-main :is(ul:has(> li > img + h3),ul:has(> li > a > img),ul:has(> li > p > img),ul:has(> li > p > a > img)) li>p{margin:.25em 6px .3em;font-size:17px}
/* photo walls: long lists of pictures go denser */
.site-main ul:has(> li:nth-child(13) img){grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:22px}
.site-main ul:has(> li:nth-child(13) img)>li img{aspect-ratio:4/3}
.site-main ul:has(> li:nth-child(13) img) li>p{font-size:16px;font-weight:700;text-align:center;margin-top:.5em}

/* long name lists (Friends of WRMI Legends) */
.site-main ul:has(> li:nth-child(40)):not(:has(img)){columns:4 220px;column-gap:28px;list-style:none;padding:0;max-width:none}
.site-main ul:has(> li:nth-child(40)):not(:has(img))>li{break-inside:avoid;padding:6px 0;border-bottom:1px solid var(--line);font-size:17px}

/* tables — the schedule table becomes the week (site.js); this is how it looks before that */
.site-main table{width:100%;border-collapse:separate;border-spacing:0;background:var(--panel);border:2px solid var(--line);border-radius:18px;overflow:hidden;margin:18px 0}
.site-main th{background:#0E2A8A;color:#FFFFFF;text-align:left;padding:14px 18px;font-weight:700}
.site-main td{padding:12px 18px;border-top:1px solid var(--line);vertical-align:middle;color:var(--ink)}
.site-main tr:nth-child(even) td{background:var(--panel-2)}
.site-main td:first-child{font-weight:700;color:var(--head);white-space:nowrap}
.site-main td img{width:44px;height:44px;border-radius:50%;object-fit:cover;vertical-align:middle;margin:0 10px 0 0}
@media (max-width:720px){.site-main table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}}

/* forms (AirSite's Contact form) */
.site-main .as-form{max-width:640px;display:grid;gap:18px}
.site-main .as-form .as-field{display:grid;gap:6px}
.site-main .as-form label{font-weight:700;font-size:18px;color:var(--ink)}
.site-main .as-form .as-req{color:var(--onair)}
.site-main .as-form :is(input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],select,textarea){width:100%;min-height:52px;padding:12px 14px;font:inherit;font-size:18px;color:var(--ink);background:var(--panel);border:2px solid var(--line-2);border-radius:12px}
.site-main .as-form textarea{min-height:170px;resize:vertical}
.site-main .as-form :is(input,select,textarea):focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-color:var(--head)}
.site-main .as-form .as-form-submit{justify-self:start;min-height:54px;padding:13px 28px;border-radius:12px;background:var(--btn);color:var(--btn-ink);font:inherit;font-size:19px;font-weight:700;border:2px solid var(--btn);cursor:pointer}
.site-main .as-form-sent{font-size:18px;border-radius:12px}

/* the week, printed from On Air under the "On Air week" block */
.wl-week{display:grid;grid-template-columns:var(--wl-cols,repeat(7,minmax(0,1fr)));margin-top:30px;border-top:2px solid var(--line);border-bottom:2px solid var(--line)}
.wl-week .wl-day{position:relative;padding:18px 14px 24px;border-left:1px solid var(--line)}
.wl-week .wl-day:first-child{border-left:0}
.wl-week .wl-day-name{margin:0 0 14px;font-weight:700;font-size:18px;line-height:1.3;color:var(--head)}
.wl-week .wl-day.is-today{background:var(--sun);border-radius:16px;border-left-color:transparent}
.wl-week .wl-day.is-today+.wl-day{border-left-color:transparent}
.wl-week .wl-day-tag{position:absolute;top:-15px;left:12px;margin:0;font-size:15px;font-weight:700;line-height:1.4;background:#0E2A8A;color:#FFFFFF;padding:3px 12px;border-radius:999px}
.wl-week .wl-day-tag.is-live{background:var(--onair)}
.wl-week .wl-show{display:flex;flex-direction:column;gap:10px}
.wl-week .wl-face{width:96px;height:96px;border-radius:50%;object-fit:cover;border:4px solid var(--panel);box-shadow:0 2px 0 var(--line);display:block;background:var(--panel-2)}
.wl-week .wl-show-title{margin:0;font-weight:700;font-size:18px;line-height:1.25;color:var(--ink)}
.wl-week .wl-show-time{margin:2px 0 0;font-size:17px;color:var(--ink-2)}
.wl-week .wl-show.is-mini{flex-direction:row;align-items:center;gap:12px}
.wl-week .wl-show.is-mini+.wl-show.is-mini{margin-top:12px}
.wl-week .wl-show.is-mini .wl-face{width:56px;height:56px;border-radius:12px;border-width:3px}
.wl-week .wl-day.is-today :is(.wl-day-name,.wl-show-title,.wl-show-time){color:#0A1838}
@media (max-width:1180px){
  .wl-week .wl-day{padding:16px 10px 20px}
  .wl-week .wl-face{width:84px;height:84px}
  .wl-week .wl-show-time{font-size:16px;white-space:nowrap}
}
@media (max-width:1000px){
  .wl-week{grid-template-columns:minmax(0,1fr);border-bottom:0}
  .wl-week .wl-day{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:6px 14px;border-left:0;border-bottom:1px solid var(--line);padding:14px 12px}
  .wl-week .wl-day-name{margin:0}
  .wl-week .wl-day-tag{position:static;grid-column:1;justify-self:start}
  .wl-week .wl-shows{grid-column:2;grid-row:1 / span 2}
  .wl-week .wl-show{flex-direction:row;align-items:center;gap:14px}
  .wl-week .wl-face{width:64px;height:64px;border-width:3px}
}
@media (max-width:560px){
  .wl-week .wl-day{grid-template-columns:96px minmax(0,1fr);gap:6px 10px;padding:12px 10px}
  .wl-week .wl-face{width:54px;height:54px}
  .wl-week .wl-show.is-mini .wl-face{width:50px;height:50px}
  .wl-week .wl-show{gap:12px}
}

/* ---------- footer ---------- */
.site-foot{background:var(--deep);color:#DCE6FF;padding:56px 0 40px;--focus:#FFD400}
.site-foot .as-text{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:36px;row-gap:0;align-items:start}
.site-foot .as-text>*{grid-column:2;margin:8px 0 0}
.site-foot .as-text>:first-child,.site-foot .as-text>p:first-child+*{margin-top:0}
.site-foot .as-text>p:first-child:has(> img:only-child){grid-column:1;grid-row:1 / span 9;margin:0}
.site-foot .as-section+.as-section{margin-top:28px}
.site-foot img{width:110px;height:110px;border-radius:50%;background:#FFFFFF;display:block}
.site-foot h2,.site-foot h3{font-family:"Alfa Slab One",serif;font-weight:400;font-size:26px;line-height:1.2;color:#FFFFFF}
.site-foot p,.site-foot li{font-size:17px;color:#DCE6FF}
.site-foot ul{list-style:none;padding:0;margin:14px 0 0;display:flex;flex-wrap:wrap;gap:0 26px}
.site-foot a{color:#FFD400;display:inline-block;padding:10px 0;min-height:44px}
@media (max-width:760px){
  .site-foot .as-text{display:block}
  .site-foot .as-text>*{margin-top:8px}
  .site-foot .as-text>p:first-child:has(> img:only-child){margin:0 0 16px}
}

/* ---------- player bar ----------
   One fixed height whatever is playing: three single lines that end in "..."
   when they run long, the artist line kept even when it is empty, so the bar
   never grows, shrinks or jumps. It shows from the very first paint when a
   station is carried over from the last page (the head script puts
   wl-player-open on <html> before anything is drawn), and the footer, not the
   page, makes room for it. */
:root{--wl-barh:84px}
.wl-player{display:none;position:fixed;left:0;right:0;bottom:0;z-index:70;background:#0A1838;color:#FFFFFF;border-top:4px solid #FFD400;box-shadow:0 -10px 30px rgba(0,0,0,.25);padding-bottom:env(safe-area-inset-bottom,0px);--focus:#FFD400}
html.wl-player-open .wl-player{display:block}
html.wl-player-open{scroll-padding-bottom:calc(var(--wl-barh) + 4px)}
html.wl-player-open .site-foot{padding-bottom:calc(40px + var(--wl-barh) + 4px + env(safe-area-inset-bottom,0px))}
.wl-player-row{display:flex;align-items:center;gap:16px;height:var(--wl-barh)}
.wl-art{width:64px;height:64px;border-radius:10px;object-fit:cover;flex:none;display:block;background:#FFFFFF;box-shadow:0 0 0 2px rgba(255,255,255,.2)}
.wl-pp{width:56px;height:56px;border-radius:50%;border:0;background:#FFD400;color:#0A1838;display:grid;place-items:center;cursor:pointer;flex:none}
.wl-pp svg{width:24px;height:24px;fill:currentColor}
.wl-pp .i-play{display:none}
.wl-player.is-paused .wl-pp .i-play{display:block}
.wl-player.is-paused .wl-pp .i-pause{display:none}
.wl-np{flex:1 1 auto;min-width:0;display:grid;grid-template-rows:20px 27px 23px;align-content:center}
.wl-np>*{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wl-np-label{font-size:16px;line-height:20px;font-weight:700;color:#FFD400}
.wl-np-name{font-size:20px;line-height:27px;font-weight:700}
.wl-np-artist{font-size:18px;line-height:23px;color:#DCE6FF}
.wl-vol{display:flex;align-items:center;min-height:48px;flex:none}
.wl-vol input{width:140px;height:44px;accent-color:#FFD400}
.wl-close{width:48px;height:48px;border-radius:50%;border:2px solid #FFFFFF;background:transparent;color:#FFFFFF;display:grid;place-items:center;cursor:pointer;flex:none}
.wl-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.5}
@media (max-width:1280px){
  /* the open phone menu stops above the bar instead of running under it */
  html.wl-player-open .site-nav{max-height:calc(100vh - 100px - var(--wl-barh) - 4px - env(safe-area-inset-bottom,0px))}
}
@media (max-width:760px){
  .wl-vol{display:none}
}
@media (max-width:560px){
  :root{--wl-barh:76px}
  .wl-player-row{gap:10px}
  .wl-art{width:48px;height:48px;border-radius:8px}
  .wl-pp{width:48px;height:48px}
  .wl-pp svg{width:22px;height:22px}
  .wl-close{width:44px;height:44px}
  .wl-np{grid-template-rows:19px 24px 21px}
  .wl-np-label{font-size:15px;line-height:19px}
  .wl-np-name{font-size:18px;line-height:24px}
  .wl-np-artist{font-size:16px;line-height:21px}
}

/* ---------- moving between pages ----------
   While the next page is on its way, a red pointer sweeps along the yellow
   line under the header, like the dial pointer on the radio. */
html.wl-loading{cursor:progress}
html.wl-loading .site-head::after{content:"";position:absolute;left:0;bottom:-4px;width:22%;height:4px;background:#E1261C;animation:wl-sweep .9s ease-in-out infinite alternate}
@keyframes wl-sweep{from{transform:translateX(0)}to{transform:translateX(355%)}}
/* a jump to a spot on a page lands below the sticky header, not under it
   (set on the spots themselves: padding on the whole page would make the
   page jump whenever a header button takes the keyboard focus) */
main [id]{scroll-margin-top:100px}
/* the new page's heading takes the focus for screen readers, without a ring */
h1[tabindex="-1"]:focus,main[tabindex="-1"]:focus{outline:none}

/* ---------- video / picture viewer ---------- */
.wl-video{position:fixed;inset:0;z-index:90;background:rgba(5,11,31,.88);display:grid;place-items:center;padding:20px;--focus:#FFD400}
.wl-video[hidden]{display:none}
.wl-video-box{position:relative;width:min(1100px,100%)}
.wl-video video,.wl-video img{width:100%;max-height:82vh;object-fit:contain;display:block;border-radius:12px;background:#000}
.wl-video-close{position:absolute;right:-6px;top:-60px;width:48px;height:48px;border-radius:50%;border:2px solid #FFFFFF;background:#0A1838;color:#FFFFFF;display:grid;place-items:center;cursor:pointer}
.wl-video-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.5}

/* ---------- motion off when asked ---------- */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .wl-rings{display:none}
}

/* night: keep the navy WRMI letters readable on the dark sea and header */
:root[data-theme="night"] .wl-l-wrmi,:root[data-theme="night"] .head-mark img{filter:drop-shadow(0 0 1.5px #FFFFFF) drop-shadow(0 0 1.5px #FFFFFF) drop-shadow(0 0 10px rgba(255,255,255,.55))}
