/* Buzztag360: site styles. Colors and sizes are tokens so a licensed
   template can re-skin the site by changing :root only. */

:root {
  --brand: #d93a2a;
  --brand-dark: #b32a1c;
  --brand-soft: #fdebe8;
  --ink: #16181d;
  --ink-2: #3a404a;
  --muted: #5f6772;
  --line: #e6e2dc;
  --bg: #ffffff;
  --soft: #f7f4f0;
  --dark: #14161a;
  --dark-2: #1f2228;
  --on-dark: #f3f1ee;
  --on-dark-muted: #a9adb4;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 20, 25, .06), 0 8px 24px -12px rgba(20, 20, 25, .18);
  --shadow-lift: 0 2px 4px rgba(20, 20, 25, .06), 0 18px 40px -18px rgba(20, 20, 25, .35);
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Montserrat", "Inter", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
.h3, h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 820px; }

.preview-bar { background: var(--ink); color: #f5d98b; font-size: .8rem; text-align: center; padding: 6px var(--gutter); }

/* ------------------------------------------------ buttons, chips, inputs */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent; font: 600 .95rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.round-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.round-btn:hover { border-color: var(--ink); }

.chip-row { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--ink-2); font-size: .88rem; font-weight: 500; text-decoration: none; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

input[type=search], input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number],
input[type=date], input[type=time], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: 1rem var(--font); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* ------------------------------------------------ header & navigation */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: #fff; display: grid; place-items: center;
  font: 800 1.2rem/1 var(--font-display); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); }
.brand-name { font: 800 1.35rem/1 var(--font-display); letter-spacing: -.02em; }
.brand-name b { color: var(--brand); font-weight: 800; }
.header-search { flex: 1; max-width: 520px; margin-left: auto; display: flex; position: relative; }
.header-search input { border-radius: 999px; padding-right: 48px; background: var(--soft); border-color: transparent; }
.header-search input:focus { background: #fff; }
.header-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); place-items: center; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }

.site-nav { border-top: 1px solid var(--line); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { display: block; padding: 11px 10px; color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; border-radius: 8px; }
.nav-list a:hover, .nav-list a[aria-current=page] { color: var(--brand-dark); }
.nav-label { display: block; padding: 11px 2px 11px 10px; color: var(--ink-2); font-size: .9rem; font-weight: 500; cursor: default; }
.nav-list a[aria-current=page] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.sub-toggle { border: 0; background: none; color: var(--muted); width: 26px; height: 32px; margin-left: -8px; cursor: pointer; display: grid; place-items: center; }
.sub-toggle .icon { transform: rotate(90deg); width: 16px; height: 16px; transition: transform .2s; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 5; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 9px 12px; }
.sub a:hover { background: var(--soft); }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .header-inner { gap: 12px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; margin: 0 0 12px; }
  .header-inner { flex-wrap: wrap; }
  .brand { margin-right: auto; }
  .site-nav { display: none; max-height: calc(100vh - 140px); overflow: auto; }
  .site-header.nav-open .site-nav { display: block; }
  .nav-list { flex-direction: column; padding: 8px 0 16px; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .nav-list > li > .nav-label { flex: 1; padding: 14px 4px; font-size: 1rem; }
  .sub-toggle { width: 44px; height: 44px; margin: 0; }
  .has-sub.is-open > .sub-toggle .icon { transform: rotate(-90deg); }
  .sub { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.is-open > .sub { display: block; }
}

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

.hero { background: radial-gradient(900px 400px at 0% 0%, var(--brand-soft), transparent 70%), linear-gradient(180deg, #fff, var(--soft)); padding: clamp(32px, 6vw, 72px) 0 clamp(36px, 6vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero h1 { max-width: 16ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; color: var(--brand-dark); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.big-search { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 8px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); margin-top: 22px; }
.big-search input { border-color: transparent; background: var(--soft); }
.big-search.slim { grid-template-columns: minmax(0, 1fr) auto; max-width: 640px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .big-search { grid-template-columns: minmax(0, 1fr); }
}

/* carousel of top banner ads */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { scroll-snap-align: start; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.carousel-count { font-size: .85rem; color: var(--muted); min-width: 3.5em; text-align: center; font-variant-numeric: tabular-nums; }

.ad { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--soft); box-shadow: var(--shadow); }
.ad img { width: 100%; }
.ad-label { position: absolute; top: 8px; left: 8px; background: rgba(20, 22, 26, .72); color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }

/* ------------------------------------------------ quick links */

.quick-links { margin-top: -28px; position: relative; z-index: 1; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quick { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border-left: 4px solid var(--brand); transition: transform .2s, box-shadow .2s; }
.quick strong { font: 700 1.05rem/1.2 var(--font-display); }
.quick span { color: var(--muted); font-size: .9rem; }
.quick:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: var(--ink); }
@media (max-width: 760px) { .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quick-links { margin-top: 0; padding-top: 20px; } }

/* ------------------------------------------------ sections & grids */

.section { padding: clamp(40px, 6vw, 72px) 0; }
.section-tight { padding: 36px 0 8px; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark h2, .section-dark .tile-title { color: var(--on-dark); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.section-dark .more { color: #ffb3a8; }

.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.grid-videos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid-listings { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: transparent; color: var(--ink); }
.section-dark .tile { background: var(--dark-2); border-color: #2c3038; }
.tile-media { position: relative; background: var(--soft); overflow: hidden; }
.section-dark .tile-media { background: #0d0e11; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-card { aspect-ratio: 7 / 4; }
.ratio-video { aspect-ratio: 16 / 9; }
.ratio-wide { aspect-ratio: 4 / 3; }
.tile-fallback { position: absolute; inset: 0; display: grid; place-items: center; font: 800 2.4rem/1 var(--font-display); color: var(--brand); background: var(--brand-soft); text-transform: uppercase; }
.tile-fallback.provider { font-size: 1rem; letter-spacing: .1em; color: var(--on-dark-muted); background: #0d0e11; }
.tile-fallback.big { position: static; aspect-ratio: 7 / 4; font-size: 4rem; border-radius: var(--radius); }
.tile-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.tile-kicker { margin: 0; color: var(--brand-dark); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tile-title { margin: 0; font: 700 1.02rem/1.3 var(--font); }
.tile-meta { margin: 0; display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .88rem; }
.tile-text { margin: 0; color: var(--muted); font-size: .9rem; }
.play-badge { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.play-badge .icon { margin-left: 2px; }

.ad-row-section { padding: 28px 0; }
.ad-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; align-items: start; }

/* testimonials & resources */
.two-col { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.quotes { position: relative; }
.quote { margin: 0; display: none; }
.quote.is-active { display: block; }
.quote blockquote { margin: 0 0 14px; font: 600 clamp(1.1rem, 2vw, 1.35rem)/1.5 var(--font); color: var(--ink); }
.quote blockquote p { margin: 0 0 .6em; }
.quote figcaption { color: var(--brand-dark); font-weight: 700; }
.quote figcaption::before { content: "— "; }
.resources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.resources a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.resources a:hover { border-color: var(--ink); color: var(--ink); }
.resources a .icon { margin-left: auto; color: var(--muted); }
.resources .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--dot, var(--brand)); flex: none; }

/* ------------------------------------------------ list pages */

.page-head { background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); padding: clamp(28px, 5vw, 56px) 0 clamp(22px, 4vw, 36px); margin-bottom: 28px; }
.page-head h1 { margin-bottom: .25em; }
.page-head .lede { margin: 0; }
.filters { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto auto; gap: 12px; align-items: end; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
@media (max-width: 900px) { .filters { grid-template-columns: minmax(0, 1fr); } }
.result-count { color: var(--muted); font-size: .92rem; margin: 18px 0; }
.empty { padding: 40px; text-align: center; background: var(--soft); border-radius: var(--radius); color: var(--muted); }
.empty-line { color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 32px 0 8px; color: var(--muted); }
.pager a { font-weight: 600; }

/* ------------------------------------------------ detail pages */

.detail { padding-top: 24px; padding-bottom: 48px; }
.back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 20px; color: var(--muted); text-decoration: none; font-weight: 500; }
.back:hover { color: var(--ink); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: minmax(0, 1fr); } }
.meta-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.biz-bio { font-size: 1.05rem; color: var(--ink-2); white-space: pre-line; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 16px 0 22px; }
.facts dt { color: var(--muted); font-size: .88rem; }
.facts dd { margin: 0; font-weight: 600; }

/* business card flip */
.biz-card-stage { display: grid; gap: 14px; justify-items: start; }
.flip { width: 100%; perspective: 1400px; }
.flip-inner { position: relative; transition: transform .7s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); backface-visibility: hidden; background: #fff; }
.flip-back { position: absolute; inset: 0; transform: rotateY(180deg); }
.flip-face img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

.gallery { display: grid; gap: 12px; }
.gallery img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.side-ads { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 40px; }

/* videos */
.video-main { max-width: 960px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--dark); box-shadow: var(--shadow-lift); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-link { display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--on-dark); text-align: center; padding: 24px; }
.video-title { margin-top: 22px; font-size: clamp(1.5rem, 3vw, 2.2rem); }

/* events */
.event-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 10px; }
.event-row { display: flex; gap: 18px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; }
.event-row:hover { border-color: var(--ink); color: var(--ink); }
.event-date { flex: none; width: 64px; text-align: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); padding: 8px 0; font-size: .72rem; font-weight: 700; text-transform: uppercase; line-height: 1.3; }
.event-date strong { display: block; font: 800 1.6rem/1.1 var(--font-display); color: var(--ink); }
.event-body { display: grid; gap: 4px; }
.is-past .event-date { background: var(--soft); color: var(--muted); }
.event-image { border-radius: var(--radius); margin: 20px 0; }

/* ------------------------------------------------ content pages (moved from WordPress) */

.content-layout { padding-bottom: 56px; }
.content-layout.has-aside { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .content-layout.has-aside { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 760px; color: var(--ink-2); font-size: 1.05rem; overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: 1.4em; }
.prose img { border-radius: 10px; margin: 1em 0; }
.prose iframe { max-width: 100%; border: 0; border-radius: 10px; }
.prose iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose blockquote { margin: 1em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand); color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose .aligncenter, .prose .has-text-align-center { text-align: center; margin-inline: auto; }
.prose .alignleft { float: left; margin: .3em 1.2em .8em 0; max-width: 45%; }
.prose .alignright { float: right; margin: .3em 0 .8em 1.2em; max-width: 45%; }
.prose .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; }
.prose .wp-block-column { flex: 1 1 240px; min-width: 0; }
.prose .wp-block-image figcaption, .prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; }
.prose .wp-block-button__link, .prose .uagb-button__link { display: inline-block; background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.prose::after { content: ""; display: table; clear: both; }
.lead-image { width: 100%; border-radius: var(--radius); margin: 0 0 24px; }
.section-nav { position: sticky; top: 140px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.section-nav h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--font); }
.section-nav ul { list-style: none; margin: 0; padding: 0; }
.section-nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.section-nav li:last-child a { border-bottom: 0; }

.page-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.page-results a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.page-results a:hover { border-color: var(--ink); }
.page-results span { color: var(--muted); font-size: .92rem; }
.not-found { padding: 64px var(--gutter); text-align: center; }
.not-found .big-search { margin-inline: auto; }

/* ------------------------------------------------ footer */

.site-footer { background: var(--dark); color: var(--on-dark-muted); margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.2fr); gap: 32px; padding-block: 48px 32px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.brand-footer { color: var(--on-dark); }
.footer-note { margin-top: 14px; max-width: 36ch; }
.footer-title { font: 700 .8rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a2d33; padding-block: 18px; font-size: .85rem; }

/* ------------------------------------------------ top bar & social links */

.top-bar { background: var(--dark); color: var(--on-dark-muted); font-size: .85rem; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--on-dark-muted); text-decoration: none; transition: color .2s, background .2s; }
.social a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.social .icon { width: 16px; height: 16px; }
.icon-text { font: 800 .8rem/1 var(--font); letter-spacing: -.02em; }
.top-bar .social { margin-left: auto; }
.site-footer .social { margin-top: 16px; margin-left: -8px; }
.listen-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid #3a3e46; background: transparent;
  color: #fff; font: 600 .82rem/1 var(--font); cursor: pointer; }
.listen-btn:hover, .listen-btn[aria-pressed=true] { background: var(--brand); border-color: var(--brand); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 3px; height: 40%; background: currentColor; border-radius: 1px; }
.is-playing .eq i { animation: eq 1s ease-in-out infinite; }
.is-playing .eq i:nth-child(2) { animation-delay: -.3s; }
.is-playing .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }

/* ------------------------------------------------ radio player bar */

body.has-radio { padding-bottom: 76px; }
.radio-bar { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 60; width: min(760px, calc(100% - 24px));
  display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; background: rgba(20, 22, 26, .96); color: var(--on-dark);
  border-radius: 18px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); backdrop-filter: blur(10px); }
.radio-play { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; }
.radio-play:hover { background: var(--brand-dark); }
.radio-play .icon { width: 22px; height: 22px; }
.radio-play .i-pause, .radio-bar.is-playing .radio-play .i-play { display: none; }
.radio-bar.is-playing .radio-play .i-pause { display: block; }
.radio-info { min-width: 0; flex: 1; display: grid; line-height: 1.25; }
.radio-live { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffb3a8; }
.radio-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #6b7078; }
.radio-bar.is-playing .radio-live .dot { background: #ff5a47; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.radio-name { font: 700 .98rem/1.3 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-status { font-size: .8rem; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-vol { display: flex; align-items: center; gap: 6px; color: var(--on-dark-muted); }
.radio-vol input { width: 96px; accent-color: var(--brand); }
.radio-pop { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #3a3e46; background: transparent; color: var(--on-dark-muted); display: grid; place-items: center; cursor: pointer; }
.radio-pop:hover { color: #fff; border-color: #fff; }
@media (max-width: 600px) {
  .radio-vol { display: none; }
  .radio-bar { bottom: 8px; width: calc(100% - 16px); }
}
.radio-page { padding: 48px var(--gutter) 24px; text-align: center; }
body.radio-popout .site-header, body.radio-popout .top-bar, body.radio-popout .site-footer, body.radio-popout .preview-bar { display: none; }

/* ------------------------------------------------ forms */

.site-form { margin: 28px 0; padding: clamp(18px, 3vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 1rem; color: var(--ink); }
.site-form h2 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-grid > .wide, .form-grid > fieldset, .form-grid > .form-section, .form-grid > .form-html { grid-column: 1 / -1; }
.field { margin: 0; min-width: 0; }
.field > label, .field legend, .field-part > label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; padding: 0; }
fieldset.field { border: 0; padding: 0; }
.req { color: var(--brand-dark); margin-left: 3px; }
.field-help { margin: -2px 0 6px; font-size: .84rem; color: var(--muted); }
.field input, .field select, .field textarea, .field-part input { font-size: 1rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field-part.wide { grid-column: 1 / -1; }
.field-part > label { font-weight: 500; color: var(--muted); font-size: .8rem; }
.choices { display: grid; gap: 8px; }
.choices.many { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.choice { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; cursor: pointer; }
.choice input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.form-section h3 { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.form-html { font-size: .95rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field-part.has-error input { border-color: var(--brand); background: #fff8f7; }
.field-error { margin: 6px 0 0; color: var(--brand-dark); font-size: .84rem; font-weight: 600; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.form-note { color: var(--muted); font-size: .84rem; }
.form-status { margin: 16px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 14px 16px; border-radius: 12px; background: #e9f7ef; color: #155d35; }
.form-status.is-error { color: var(--brand-dark); }
.site-form.is-sent form .form-grid, .site-form.is-sent form .form-actions { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.prose .site-form { max-width: none; }
.prose .site-form ul, .prose .site-form ol { padding-left: 0; }

.newsletter { display: grid; gap: 6px; margin-top: 12px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-row input { flex: 1; min-width: 0; }
.newsletter-row .btn { flex: none; }
.newsletter.on-dark input { background: #1f2228; border-color: #353941; color: #fff; }
.newsletter.on-dark input::placeholder { color: #8b9098; }
.newsletter.on-dark .form-status.is-ok { background: #16321f; color: #9fe3b5; }
.newsletter.on-dark .field-error { color: #ffb3a8; }
.newsletter.is-sent .newsletter-row { display: none; }
.embed-newsletter { max-width: 520px; margin: 24px 0; }

/* page swap while the radio plays */
main { transition: opacity .15s; }
body.is-loading main { opacity: .45; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Plays & taps (admin) */
.desk-section{margin:28px 0 0}
.desk-section h2{font-size:1.15rem;margin:0 0 4px}
.desk-table{width:100%;border-collapse:collapse;margin-top:10px;font-size:.95rem}
.desk-table th,.desk-table td{text-align:left;padding:8px 10px;border-bottom:1px solid rgba(127,127,127,.25);overflow-wrap:anywhere}
.desk-table th:not(:first-child),.desk-table td:not(:first-child){text-align:right;white-space:nowrap;width:1%}
