/*
Theme Name: WNFX Radio
Theme URI: https://wnfxradio.creativetugs.io/
Author: Creative Tugs
Description: Country music and the Fast Lap Racing Network. Live player, weather center, radar, and news for the visitor's location.
Version: 2.2.2
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: wnfx-radio
Template: twentytwentyfour
*/

:root {
  --red: #e31825;
  --orange: #f5820c;
  --ink: #10141b;
  --muted: #68717d;
  --line: #e8ebef;
  --soft: #f5f6f8;
  --max: 1240px;
  --shadow: 0 12px 34px rgba(18, 27, 42, 0.09);
}
body.wnfx-body {
  background: #111;
}
body.wnfx-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/holiday-backdrop.jpg") center / cover no-repeat;
  filter: grayscale(1) brightness(0.45);
  pointer-events: none;
  z-index: 0;
}
body.wnfx-body .wp-site-blocks { position: relative; z-index: 1; }
body.wnfx-body,
body.wnfx-body .wp-site-blocks,
body.wnfx-body .wp-site-blocks > main,
body.wnfx-body .entry-content,
body.wnfx-body .wp-block-post-content {
  margin: 0;
  padding: 0;
  max-width: none;
}
body.wnfx-body .wp-block-shortcode { margin: 0; }
.wnfx { color: var(--ink); background: #fff; font-family: Inter, Arial, sans-serif; line-height: 1.5; position: relative; }
.wnfx a { color: inherit; text-decoration: none; }
.wnfx button, .wnfx input { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.topline { height: 34px; background: #080b10; color: #d8dde4; font-size: 11px; display: flex; align-items: center; }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topline b { color: #ffb02e; letter-spacing: 0.08em; }
.header { background: #0b0e13; color: #fff; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid #252b34; }
.nav { min-height: 128px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand img { width: 300px; height: 104px; object-fit: contain; }
.navlinks { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.navlinks a { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #3c4452; border-radius: 5px; padding: 8px 11px; background: #171c24; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.navlinks a:hover { border-color: var(--orange); color: #ff9b24; }
.navright { display: flex; align-items: center; gap: 15px; font-size: 12px; font-weight: 800; }
.phone { white-space: nowrap; color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 5px; padding: 13px 19px; background: var(--red); color: #fff; font-weight: 900; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.btn:hover { background: #b90f1a; }
.btn.orange { background: var(--orange); color: #fff; }
.btn.orange:hover { background: #ff9524; }
.btn.small { padding: 10px 14px; font-size: 10px; }
.mobile-toggle { display: none; background: none; border: 1px solid #48505c; color: #fff; border-radius: 5px; padding: 8px 11px; cursor: pointer; }
.hero { background: #05080d; line-height: 0; }
.hero img { width: 100%; height: auto; display: block; }
.hero-bottom { background: #090d13; color: #fff; border-top: 2px solid var(--red); line-height: 1.4; }
.hero-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0; font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: 0.08em; }
.hero-strip .links { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-strip span { color: #ffb02e; }
.hero-strip a:hover { color: #ffb02e; }
.livebar { background: linear-gradient(100deg, #16120e, #21170e 60%, #10151d); color: #fff; border-bottom: 3px solid var(--orange); }
.liveinner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 18px 0; }
.livebadge { display: flex; align-items: center; gap: 10px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ef2936; box-shadow: 0 0 0 5px rgba(239, 41, 54, 0.16); }
.livebadge strong { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 24px; letter-spacing: 0.06em; }
.live-meta b { font-size: 15px; display: block; }
.live-meta small { color: #b9bec6; font-size: 12px; }
.live-actions { display: flex; align-items: center; gap: 12px; }
.live-actions small { color: #b7bdc6; font-size: 10px; letter-spacing: 0.08em; }
.section { padding: 66px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: #0d121a; color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.eyebrow { color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 9px; }
.h2, .presenter-copy h3, .adinner h2 { font-family: "Barlow Condensed", Impact, sans-serif; font-weight: 900; line-height: 0.98; text-transform: uppercase; margin: 0; }
.h2 { font-size: clamp(34px, 4vw, 48px); }
.section-intro { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 640px; margin: 11px 0 0; }
.dark .section-intro, .presenter-copy p { color: #bac3cf; }
.arrowlink { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 900; color: var(--red); }
.dark .arrowlink { color: #ff9b24; }
.ad-banner { width: min(760px, 100%); margin: 0 auto 18px; display: block; border-radius: 14px; }
.ad-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; align-items: start; }
.ad-video { position: relative; aspect-ratio: 16 / 9; background: #111; border-radius: 14px; overflow: hidden; }
.ad-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ad-shot { width: 100%; height: auto; object-fit: contain; border-radius: 14px; display: block; background: #111; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.package { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05); }
.package h3 { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 30px; text-transform: uppercase; margin: 4px 0; }
.package .price { font-size: 52px; color: var(--orange); }
.package .price span { font-size: 22px; color: var(--ink); }
.package p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 8px; }
.package .btn { margin-top: auto; align-self: flex-start; }
.kev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kev-grid img { width: 100%; height: auto; object-fit: contain; border-radius: 14px; display: block; background: #111; }
.racing-feature { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 20px; }
.race-main { position: relative; min-height: 420px; border-radius: 13px; overflow: hidden; background: #17202b; display: block; color: #fff; }
.race-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.race-main .photo-fallback { position: absolute; inset: 0; background: linear-gradient(160deg, #243044, #101820); }
.race-main:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 11, 17, 0.94), transparent 72%); }
.race-caption { position: absolute; z-index: 1; bottom: 24px; left: 24px; right: 24px; }
.race-caption h3 { font-family: "Barlow Condensed", Impact, sans-serif; font-size: clamp(28px, 3vw, 40px); line-height: 0.98; text-transform: uppercase; margin: 8px 0; }
.race-caption p { font-size: 13px; color: #d1d8e0; margin: 0 0 12px; }
.race-side { display: grid; gap: 14px; }
.race-mini { display: grid; grid-template-columns: 116px 1fr; background: #fff; color: #111923; border-radius: 10px; overflow: hidden; min-height: 124px; }
.race-mini > a { position: relative; display: block; min-height: 124px; height: 100%; overflow: hidden; background: #17202b; }
.mini-photo, .race-mini .photo-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.race-mini div { padding: 13px; }
.race-mini small { color: var(--red); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.race-mini h4 { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 20px; line-height: 1.05; text-transform: uppercase; margin: 6px 0; }
.race-mini p { font-size: 11px; color: #79818b; margin: 0 0 6px; }
.sports-grid, .music-grid, .event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .event-card { background: #fff; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; box-shadow: 0 6px 20px rgba(16, 24, 40, 0.04); }
.card-photo, .feature-card .photo-fallback, .event-card img { width: 100%; height: 190px; object-fit: cover; background: #dce2e8; display: block; }
.feature-card .pad, .event-body { padding: 17px; }
.tag { font-size: 10px; text-transform: uppercase; font-weight: 900; letter-spacing: 0.12em; color: var(--red); }
.feature-card h3, .event-body h3 { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 24px; line-height: 1.05; text-transform: uppercase; margin: 8px 0; }
.feature-card p, .event-body p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0 0 12px; }
.story-foot { display: flex; justify-content: space-between; gap: 10px; align-items: center; color: #87909b; font-size: 11px; }
.story-foot a { font-weight: 900; color: #202733; text-transform: uppercase; letter-spacing: 0.06em; }
.country-banner { background: #111318; border-radius: 12px; margin-bottom: 18px; display: flex; justify-content: center; padding: 8px; }
.country-banner img { width: min(720px, 100%); height: auto; }
.event-date { display: inline-flex; background: var(--red); color: #fff; border-radius: 4px; padding: 6px 9px; font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.event-location { font-size: 12px; color: #6c7580; font-weight: 700; margin-bottom: 10px; }
.presenters { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; }
.presenter-image { background: #0d121a; border-radius: 12px; overflow: hidden; }
.presenter-image img { width: 100%; height: 320px; object-fit: contain; object-position: center bottom; }
.presenter-copy h3 { font-size: 42px; margin-bottom: 10px; }
.presenter-copy .btn { margin-top: 8px; }
.festive-lights { position: relative; width: 100%; height: 32px; pointer-events: none; z-index: 5; overflow: hidden; background: #07090d; }
.light-wire { position: absolute; top: 0; left: 0; width: 100%; height: 32px; }
.bulbs { position: absolute; inset: 0; }
.festive-lights .bulb { position: absolute; left: var(--x); top: var(--y); width: 7px; height: 10px; border-radius: 50% 50% 45% 45%; transform: translateX(-50%); animation: festiveGlow 1.8s ease-in-out infinite alternate; animation-delay: var(--delay); }
.festive-lights .bulb::before { content: ""; position: absolute; width: 3px; height: 3px; background: #777; top: -3px; left: 2px; }
.festive-lights .red { background: #ff2525; box-shadow: 0 0 4px 1px #ff2525, 0 0 8px 2px rgba(255, 0, 0, 0.55); }
.festive-lights .green { background: #39ff65; box-shadow: 0 0 4px 1px #39ff65, 0 0 8px 2px rgba(0, 255, 70, 0.55); }
.festive-lights .yellow { background: #ffca35; box-shadow: 0 0 4px 1px #ffca35, 0 0 8px 2px rgba(255, 190, 0, 0.55); }
@keyframes festiveGlow { from { opacity: 0.55; filter: brightness(0.7); } to { opacity: 1; filter: brightness(1.5); } }
.marquee-band { background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0; }
.logo-carousel { overflow: hidden; }
.logo-carousel-thin { margin: 0; }
.logo-track { display: flex; align-items: center; gap: 12px; width: max-content; animation: wnfx-logos 36s linear infinite; }
.logo-carousel:hover .logo-track, .option-carousel:hover .option-track { animation-play-state: paused; }
.logo-track img, .logo-chip { width: 150px; height: 58px; flex: 0 0 auto; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; }
.logo-chip { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; color: var(--ink); }
.logo-chip strong { font-size: 14px; line-height: 1.1; }
.logo-chip small { color: var(--muted); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 800; }
.logo-chip.is-premiere { border-color: var(--red); background: #111; color: #fff; }
.logo-chip.is-premiere small { color: #ffb02e; }
.options-band { background: #0b0e13; color: #fff; padding: 22px 0 18px; }
.options-head { margin-bottom: 12px; }
.options-band .h2 { font-size: clamp(28px, 3vw, 40px); }
.option-carousel { overflow: hidden; }
.option-track { display: flex; gap: 14px; width: max-content; animation: wnfx-options 42s linear infinite; }
.option-track a { flex: 0 0 auto; width: 280px; height: 120px; background: #111; border-radius: 12px; overflow: hidden; display: block; }
.option-track img { width: 100%; height: 100%; object-fit: contain; display: block; }
@keyframes wnfx-logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wnfx-options { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.fastlap { background: #10141b; color: #fff; padding: 28px 0; text-align: center; }
.fastlap-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fastlap img { width: min(640px, 100%); height: auto; }
.fastlap p { margin: 0; font-family: "Barlow Condensed", Impact, sans-serif; font-size: clamp(22px, 3vw, 34px); letter-spacing: 0.04em; text-transform: uppercase; }
.fastlap-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.holiday-videos { padding-top: 36px; }
.video-deck { display: grid; grid-template-columns: 1.45fr 0.7fr; gap: 16px; align-items: stretch; }
.cam-card { background: #10141b; color: #fff; border-radius: 14px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.cam-card h3 { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 36px; text-transform: uppercase; margin: 0; line-height: 0.95; }
.cam-card p { color: #c5ccd6; margin: 0 0 6px; }
.premiere-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.premiere-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; min-height: 180px; }
.premiere-card h3 { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 32px; text-transform: uppercase; margin: 0; line-height: 0.95; }
.premiere-card p { color: var(--muted); margin: 0 0 8px; }
.premiere-card.is-lead { background: #10141b; color: #fff; border-color: var(--red); }
.premiere-card.is-lead p { color: #c5ccd6; }
.premiere-card.is-lead .arrowlink { color: #ffb02e; }
.event-card.plain .event-body { min-height: 210px; }
.section { position: relative; }
.wnfx .section::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 62px;
  right: 28px;
  bottom: 16px;
  background: url("assets/proud-logo.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.section.dark::before { opacity: 0.16; filter: grayscale(1) brightness(3); }
.merry { position: relative; min-height: 320px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.merry-bg { position: absolute; inset: 0; background: url("assets/holiday-backdrop.jpg") center / cover no-repeat; filter: grayscale(1) brightness(0.55); }
.merry-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 0; }
.merry-inner img { width: min(360px, 80%); height: auto; }
.merry-inner h2 { font-family: "Barlow Condensed", Impact, sans-serif; font-size: clamp(36px, 5vw, 64px); text-transform: uppercase; margin: 0; line-height: 0.95; }
.merry-inner p { margin: 0; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; }
.ads-still { grid-template-columns: 1fr 1fr; }
@media (prefers-reduced-motion: reduce) {
  .logo-track, .option-track, .festive-lights .bulb, .wnfx-sprinkles i, #premium-christmas-tree .xmas-bulb, #premium-christmas-tree .xmas-star { animation: none; }
  .logo-track, .option-track { width: auto; max-width: 100%; flex-wrap: wrap; }
  .logo-track img[aria-hidden="true"], .logo-track a[aria-hidden="true"], .option-track a[aria-hidden="true"] { display: none; }
}
.adband { background: linear-gradient(105deg, #17110b, #2a1809 50%, #111923); color: #fff; position: relative; overflow: hidden; }
.adband:before { content: ""; position: absolute; inset: 0; background: var(--ad-art) center / 420px no-repeat; opacity: 0.16; }
.adinner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px 0; }
.adinner h2 { font-size: 46px; }
.adinner p { color: #c3c7cd; font-size: 14px; margin: 8px 0 0; }
.ad-offer { display: flex; align-items: center; gap: 22px; }
.price { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 64px; color: #ffad36; font-weight: 900; line-height: 1; }
.price span { font-size: 18px; color: #fff; }
.footer { background: #090e15; color: #fff; padding: 48px 0 110px; position: relative; overflow: hidden; }
#premium-christmas-tree { position: absolute; left: 0; bottom: 0; width: 200px; height: 340px; pointer-events: none; z-index: 2; }
#premium-christmas-tree .xmas-tree { height: 100%; width: auto; max-width: 200px; display: block; filter: drop-shadow(0 0 8px rgba(220, 255, 237, 0.2)) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35)); }
#premium-christmas-tree .xmas-bulb { animation: premiumXmasBlink 1.6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
#premium-christmas-tree .xmas-bulb:nth-child(2n) { animation-delay: -0.7s; }
#premium-christmas-tree .xmas-bulb:nth-child(3n) { animation-delay: -1.1s; }
#premium-christmas-tree .xmas-star { animation: premiumXmasStar 2.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes premiumXmasBlink { from { opacity: 0.4; transform: scale(0.82); } to { opacity: 1; transform: scale(1.28); } }
@keyframes premiumXmasStar { from { filter: drop-shadow(0 0 3px #f6d58c); } to { filter: drop-shadow(0 0 17px #fff1b7); } }
.footer .wrap { position: relative; z-index: 3; }
.wnfx-sprinkles { position: fixed; inset: 0; pointer-events: none; z-index: 30; overflow: hidden; }
.wnfx-sprinkles i { position: absolute; top: -12px; width: 7px; height: 7px; border-radius: 50%; opacity: 0.85; animation: wnfx-fall linear infinite; }
.wnfx-sprinkles i:nth-child(3n+1) { background: #ff2525; box-shadow: 0 0 8px #ff2525; }
.wnfx-sprinkles i:nth-child(3n+2) { background: #39ff65; box-shadow: 0 0 8px #39ff65; width: 5px; height: 5px; }
.wnfx-sprinkles i:nth-child(3n) { background: #ffca35; box-shadow: 0 0 8px #ffca35; }
@keyframes wnfx-fall { from { transform: translateY(-10px); } to { transform: translateY(105vh); } }
.wnfx-editor { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 88px; }
.wnfx-editor h1, .wnfx-editor h2, .wnfx-editor h3 { font-family: "Barlow Condensed", Impact, sans-serif; text-transform: uppercase; line-height: 0.98; }
.wnfx-editor p, .wnfx-editor ul, .wnfx-editor ol { margin: 0 0 14px; }
.wnfx-editor .wp-block-image, .wnfx-editor .wp-block-buttons, .wnfx-editor .wp-block-list { margin: 0 0 18px; }
.wnfx-editor .page-section { margin: 8px 0 28px; }
.wnfx-editor .livebar { border-radius: 12px; overflow: hidden; }
.wnfx-editor .liveinner { padding: 18px 20px; }
.wnfx-editor .section.dark, .wnfx-editor .section.soft { border-radius: 14px; padding: 22px 18px; }
.wnfx-editor .wp-block-button__link { border-radius: 5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.wnfx-form { display: grid; gap: 12px; max-width: 560px; margin-top: 18px; }
.wnfx-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; }
.wnfx-form input, .wnfx-form textarea { border: 1px solid var(--line); border-radius: 8px; padding: 12px; font: inherit; }
.wnfx-note { background: #eef8ef; border: 1px solid #b7e0be; border-radius: 8px; padding: 12px 14px; }
.wnfx-hp { position: absolute; left: -9999px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-logo { width: 220px; height: auto; margin-bottom: 14px; }
.footer p, .footer a { font-size: 13px; line-height: 1.7; color: #aeb8c4; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 12px; }
.footer a { display: block; margin: 8px 0; }
.footer a:hover { color: #ff9b24; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 28px; padding-top: 16px; color: #738091; font-size: 12px; display: flex; justify-content: space-between; gap: 16px; }
.sticky-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; background: #0a0f17; color: #fff; border-top: 2px solid var(--red); }
.sticky-inner { height: 68px; display: flex; align-items: center; gap: 14px; }
.playbtn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--red); color: #fff; font-size: 16px; cursor: pointer; }
.track { flex: 1; min-width: 0; }
.track b { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 20px; text-transform: uppercase; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track small { color: #aab4c0; font-size: 12px; }
.player-links { font-size: 11px; color: #ffb02e; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.sticky-inner audio { display: none; }

.wfxw-root {
  --wfxw-bg-top: #101b2d; --wfxw-bg-bottom: #0a1220;
  --wfxw-card-bg: #0d1826; --wfxw-panel-bg: #13202f;
  --wfxw-panel-bg-active: #1c3a52; --wfxw-orange: #f5820c;
  --wfxw-orange-hover: #ff9524; --wfxw-text: #fff;
  --wfxw-text-dim: #9fb0c3; --wfxw-text-faint: #6f8296;
  --wfxw-border: rgba(255, 255, 255, 0.06);
  background: transparent; padding: 0; color: var(--wfxw-text);
}
.wfxw-root, .wfxw-root * { box-sizing: border-box; }
.wfxw-root * { margin: 0; padding: 0; }
.wfxw-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
.wfxw-card { background: linear-gradient(180deg, var(--wfxw-bg-top), var(--wfxw-bg-bottom)); border-radius: 20px; padding: 28px 28px 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); border: 1px solid var(--wfxw-border); }
.wfxw-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.wfxw-title { font-size: 22px; font-weight: 800; letter-spacing: 0.5px; }
.wfxw-location-line { font-size: 13px; color: var(--wfxw-text-dim); display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.wfxw-location-line svg { width: 14px; height: 14px; stroke: var(--wfxw-text-dim); }
.wfxw-zip-form { display: flex; align-items: center; background: var(--wfxw-panel-bg); border-radius: 10px; padding: 4px; border: 1px solid var(--wfxw-border); }
.wfxw-zip-form input { background: transparent; border: 0; outline: none; color: #fff; font-size: 14px; padding: 8px 12px; width: 190px; }
.wfxw-zip-form input::placeholder { color: var(--wfxw-text-dim); }
.wfxw-zip-btn { background: var(--wfxw-orange); border: 0; width: 34px; height: 34px; border-radius: 7px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.wfxw-zip-btn:hover { background: var(--wfxw-orange-hover); }
.wfxw-zip-btn svg { width: 16px; height: 16px; stroke: #fff; }
.wfxw-zip-btn:disabled { opacity: 0.5; cursor: default; }
.wfxw-status-msg { font-size: 12px; color: var(--wfxw-text-dim); margin: 8px 0 16px; min-height: 16px; }
.wfxw-status-msg.wfxw-error { color: #ff8a8a; }
.wfxw-top-row { display: grid; grid-template-columns: 240px 1fr; gap: 20px; margin-bottom: 18px; }
.wfxw-current-main { display: flex; align-items: center; gap: 12px; }
.wfxw-sun-icon { width: 64px; height: 64px; display: inline-flex; }
.wfxw-sun-icon svg, .wfxw-day-icon svg { width: 100%; height: 100%; }
.wfxw-temp { font-size: 52px; font-weight: 800; line-height: 1; }
.wfxw-condition { font-size: 16px; font-weight: 700; margin-top: 8px; }
.wfxw-feels-like { font-size: 13px; color: var(--wfxw-text-dim); margin-top: 4px; }
.wfxw-stats { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.wfxw-stat-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; gap: 12px; }
.wfxw-stat-label { color: var(--wfxw-text-dim); }
.wfxw-stat-value { font-weight: 700; }
.wfxw-radar { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--wfxw-border); height: 280px; background: #0a1626; }
.wfxw-radar-map, .wfxw-radar-map .leaflet-container { position: absolute; inset: 0; height: 100%; width: 100%; background: #0a1626; }
.wfxw-radar-label, .wfxw-radar-refresh { position: absolute; top: 14px; z-index: 500; background: rgba(0, 0, 0, 0.6); color: #fff; }
.wfxw-radar-label { left: 14px; font-size: 12px; font-weight: 800; letter-spacing: 0.5px; padding: 6px 10px; border-radius: 5px; }
.wfxw-radar-refresh { right: 14px; width: 28px; height: 28px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.wfxw-radar-refresh svg { width: 14px; height: 14px; stroke: #f5820c; }
.wfxw-radar-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--wfxw-text-dim); font-size: 13px; z-index: 400; background: #0a1626; }
.wfxw-forecast { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; background: var(--wfxw-card-bg); border-radius: 14px; padding: 12px 8px; border: 1px solid var(--wfxw-border); }
.wfxw-day-card { text-align: center; padding: 8px 2px; border-radius: 10px; }
.wfxw-day-card.wfxw-active { background: var(--wfxw-panel-bg-active); }
.wfxw-day-name { font-size: 11px; font-weight: 800; letter-spacing: 0.4px; color: var(--wfxw-text-dim); margin-bottom: 6px; }
.wfxw-day-card.wfxw-active .wfxw-day-name { color: var(--wfxw-orange); }
.wfxw-day-icon { width: 30px; height: 30px; margin: 0 auto 6px; }
.wfxw-day-high { font-size: 16px; font-weight: 800; }
.wfxw-day-low { font-size: 12px; color: var(--wfxw-text-faint); }
.wfxw-view-full { display: block; width: 100%; margin-top: 16px; padding: 14px; background: var(--wfxw-orange); border: 0; border-radius: 10px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.5px; cursor: pointer; }
.wfxw-view-full:hover { background: var(--wfxw-orange-hover); }
.wfxw-news-panel { background: #fff; color: #15181c; border-radius: 20px; padding: 24px 24px 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08); border: 1px solid #eceef1; }
.wfxw-news-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; gap: 12px; }
.wfxw-news-title { font-size: 22px; font-weight: 800; color: #111417; }
.wfxw-news-view-all { font-size: 12px; font-weight: 800; color: #111417; background: none; border: 0; cursor: pointer; }
.wfxw-news-status { font-size: 12px; color: #8a919b; min-height: 16px; margin-bottom: 6px; }
.wfxw-news-status.wfxw-error { color: #c0392b; }
.wfxw-news-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #eef0f2; cursor: pointer; }
.wfxw-news-item:last-child { border-bottom: 0; }
.wfxw-news-thumb, .wfxw-news-skeleton { width: 110px; height: 78px; min-width: 110px; border-radius: 10px; object-fit: cover; background: #eceef1; flex-shrink: 0; }
.wfxw-news-body { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.wfxw-news-category { font-size: 11px; font-weight: 800; letter-spacing: 0.4px; color: var(--wfxw-orange); margin-bottom: 4px; text-transform: uppercase; }
.wfxw-news-headline { font-size: 15px; font-weight: 700; color: #15181c; line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wfxw-news-date { font-size: 12px; color: #9aa1aa; }
.leaflet-control-attribution { background: rgba(0, 0, 0, 0.45) !important; color: #9fb0c3 !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: #cfd8e3 !important; }

@media (max-width: 980px) {
  .weather-layout, .wfxw-layout, .racing-feature, .presenters, .footer-grid, .ad-grid, .package-grid, .video-deck, .premiere-grid { grid-template-columns: 1fr; }
  .sports-grid, .music-grid, .event-grid, .kev-grid { grid-template-columns: 1fr 1fr; }
  .logo-track img { width: 160px; }
  .race-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .topline { display: none; }
  .mobile-toggle { display: block; }
  .nav { min-height: 64px; flex-wrap: wrap; }
  .brand img { width: 150px; height: 54px; }
  .navlinks { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #0b0e13; padding: 16px 20px 18px; flex-direction: column; align-items: flex-start; }
  .navlinks.is-open { display: flex; }
  .navlinks.is-open a { width: 100%; }
  .navright .phone { display: none; }
  .liveinner, .section-head, .adinner, .copyright { display: flex; flex-direction: column; align-items: flex-start; }
  .live-actions { width: 100%; }
  .section { padding: 42px 0; }
  .wfxw-top-row, .sports-grid, .music-grid, .event-grid, .race-side, .kev-grid, .ad-grid, .package-grid, .video-deck, .premiere-grid, .ads-still { grid-template-columns: 1fr; }
  .wfxw-forecast { grid-template-columns: repeat(4, 1fr); }
  .wfxw-forecast .wfxw-day-card:nth-child(n+5) { display: none; }
  .wfxw-card, .wfxw-news-panel { padding: 18px; }
  .player-links { display: none; }
  .presenter-image img { height: 220px; }
  .festive-lights, .light-wire { height: 26px; }
  .festive-lights .bulb { width: 6px; height: 8px; }
  #premium-christmas-tree { width: 130px; height: 220px; }
}
