:root {
  --wg-green-50:  #f0faf3;
  --wg-green-100: #dcf3e3;
  --wg-green-500: #1c9a53;
  --wg-green-600: #167d43;
  --wg-green-700: #126636;

  --wg-gray-50:  #f5f5f7;
  --wg-gray-100: #f2f2f4;
  --wg-gray-150: #e9e9ec;
  --wg-gray-200: #e5e5e8;
  --wg-gray-300: #d2d2d7;
  --wg-gray-400: #a1a1a6;
  --wg-gray-500: #86868b;
  --wg-gray-600: #6e6e73;
  --wg-gray-700: #48484d;
  --wg-gray-800: #2c2c2e;
  --wg-gray-900: #1d1d1f;

  --wg-red-500: #d9463f;
  --wg-amber-500: #d98b1f;

  --wg-amber-700: #8f5a0d;
  --wg-red-700: #a3302a;

  --wg-bg: var(--wg-gray-150);
  --wg-surface: #ffffff;
  --wg-border: var(--wg-gray-200);
  --wg-text: var(--wg-gray-900);
  --wg-text-muted: var(--wg-gray-500);

  --wg-radius-sm: 8px;
  --wg-radius-md: 14px;
  --wg-radius-lg: 20px;
  --wg-radius-pill: 999px;

  --wg-shadow-sm: 0 1px 2px rgba(23, 24, 26, 0.06), 0 1px 1px rgba(23, 24, 26, 0.04);
  --wg-shadow-md: 0 8px 24px rgba(23, 24, 26, 0.08), 0 2px 6px rgba(23, 24, 26, 0.05);

  --wg-font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wg-font-heading: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wg-font-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --wg-header-h: 64px;
  --wg-header-bg: rgba(250, 250, 250, 0.9);

  --wg-logo-color-header: var(--wg-green-700);
  --wg-logo-color-footer: #5e5d5b;

  --wg-teal-500: #16a487;
  --wg-lime-400: #a8e05f;
  --wg-ease: cubic-bezier(.22, 1, .36, 1);

  --wg-icon-ball: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='46' fill='none' stroke='white' stroke-width='3.5' opacity='.9'/%3E%3Cpolygon points='50,33 60,40 56,52 44,52 40,40' fill='white' opacity='.95'/%3E%3Cpolygon points='50,10 58,16 55,25 45,25 42,16' fill='white' opacity='.65'/%3E%3Cpolygon points='83,42 90,50 84,58 75,55 76,45' fill='white' opacity='.65'/%3E%3Cpolygon points='17,42 24,45 25,55 16,58 10,50' fill='white' opacity='.65'/%3E%3Cpolygon points='62,72 68,80 61,88 50,86 52,75' fill='white' opacity='.65'/%3E%3Cpolygon points='38,72 48,75 50,86 39,88 32,80' fill='white' opacity='.65'/%3E%3C/svg%3E");

  color-scheme: light;
}

:root[data-theme="dark"] {
  --wg-green-50:  #102419;
  --wg-green-100: #123321;
  --wg-green-500: #22b563;
  --wg-green-600: #1ea058;
  --wg-green-700: #1c9a53;

  --wg-gray-50:  #1c1d20;
  --wg-gray-100: #232428;
  --wg-gray-150: #26272b;
  --wg-gray-200: #2f3034;
  --wg-gray-300: #3c3d42;
  --wg-gray-400: #55565c;
  --wg-gray-500: #8b8b91;
  --wg-gray-600: #a9a9ae;
  --wg-gray-700: #c6c6ca;
  --wg-gray-800: #e2e2e4;
  --wg-gray-900: #f5f5f7;

  --wg-red-500: #e5766f;
  --wg-amber-500: #e8ab5c;

  --wg-amber-700: #e8ab5c;
  --wg-red-700: #e5766f;

  --wg-bg: #141517;
  --wg-surface: #1d1e21;
  --wg-border: var(--wg-gray-200);
  --wg-text: var(--wg-gray-900);
  --wg-text-muted: var(--wg-gray-500);

  --wg-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35), 0 1px 1px rgba(0, 0, 0, 0.25);
  --wg-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);

  --wg-header-bg: #000000;

  --wg-logo-color-header: var(--wg-gray-900);
  --wg-logo-color-footer: var(--wg-gray-900);

  color-scheme: dark;
}
:root[data-theme="dark"] body::before,
:root[data-theme="dark"] body::after { opacity: .5; }

* { box-sizing: border-box; }

[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--wg-font);
  background: var(--wg-bg);
  color: var(--wg-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  position: relative;
  transition: background-color .2s ease, color .2s ease;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wg-link-hover { cursor: pointer; transition: opacity .15s var(--wg-ease); }
.wg-link-hover:hover, .wg-link-hover:focus-visible { opacity: .72; text-decoration: underline; }
button { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--wg-font-heading); }
.article-body { font-family: var(--wg-font-serif); }

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
  pointer-events: none;
}
body::before {
  top: -180px; left: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--wg-green-500), transparent 70%);
  animation: wg-drift-a 26s var(--wg-ease) infinite alternate;
}
body::after {
  bottom: -220px; right: -180px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--wg-teal-500), transparent 70%);
  animation: wg-drift-b 30s var(--wg-ease) infinite alternate;
}
@keyframes wg-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}
@keyframes wg-drift-b {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, -30px) scale(1.1); }
}

@keyframes wg-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.wg-deco-dots {
  position: absolute;
  background-image: radial-gradient(currentColor 1.6px, transparent 1.6px);
  background-size: 14px 14px;
  color: var(--wg-green-500);
  opacity: .25;
  pointer-events: none;
}

.wg-deco-cross {
  position: absolute;
  width: 16px; height: 16px;
  opacity: .22;
  pointer-events: none;
}
.wg-deco-cross::before,
.wg-deco-cross::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  border-radius: 2px;
  background: var(--wg-green-600);
}
.wg-deco-cross::before { width: 100%; height: 2px; transform: translate(-50%, -50%); }
.wg-deco-cross::after { width: 2px; height: 100%; transform: translate(-50%, -50%); }
.wg-deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.6px solid var(--wg-green-500);
  opacity: .3;
  pointer-events: none;
}

.wg-underline {
  position: relative;
  white-space: nowrap;
}
.wg-underline::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: -0.06em;
  height: 0.22em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9.5C22 3 45 2 60 5.5C78 9.5 100 10.5 118 6' stroke='%231c9a53' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: .55;
  z-index: -1;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

#site-header {
  min-height: var(--wg-header-h);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--wg-header-h);
  display: flex;
  align-items: center;
  background: var(--wg-header-bg);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--wg-border);
}

.site-header::after {
  content: "";
  display: none;
  position: absolute;
  top: 0; right: 210px;
  width: 64px; height: 100%;
  background-image: radial-gradient(var(--wg-gray-400) 1.3px, transparent 1.3px);
  background-size: 12px 12px;
  background-position: center;
  opacity: .3;
  pointer-events: none;
}
@media (min-width: 1040px) {
  .site-header::after { display: block; }
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--wg-gray-900);
  flex-shrink: 0;
}

.brand .dot { color: inherit; }
.brand .brand-tld { color: inherit; font-weight: 700; }

.site-header .brand,
.site-header .brand .dot,
.site-header .brand .brand-tld {
  color: var(--wg-logo-color-header);
}
.footer-brand .brand,
.footer-brand .brand .dot,
.footer-brand .brand .brand-tld {
  color: var(--wg-logo-color-footer);
}

.brand-text {
  display: inline-flex;

  position: relative;
  top: 3px;
}

.brand-logo {
  display: block;
  width: 24px;
  aspect-ratio: 138.76587 / 153.11438;
  background-color: var(--wg-logo-color-header);
  -webkit-mask: url("../assets/logo.svg") no-repeat center / contain;
  mask: url("../assets/logo.svg") no-repeat center / contain;
  flex-shrink: 0;
  transition: background-color .2s ease;
}
.footer-brand .brand-logo { background-color: var(--wg-logo-color-footer); }
@keyframes wg-brand-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: var(--wg-radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--wg-gray-600);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 3px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--wg-green-500), var(--wg-teal-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--wg-ease);
}
.main-nav a:hover { background: var(--wg-gray-100); color: var(--wg-gray-900); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { background: var(--wg-green-50); color: var(--wg-green-700); }
.main-nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  border: 1px solid var(--wg-border);
  background: var(--wg-surface);

  color: var(--wg-text);
  border-radius: var(--wg-radius-sm);
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: var(--wg-header-h);
    left: 0; right: 0;
    background: var(--wg-surface);
    border-bottom: 1px solid var(--wg-border);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 16px;
    display: none;
    box-shadow: var(--wg-shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; border-radius: var(--wg-radius-sm); }
  .nav-toggle { display: inline-flex; }
}

.theme-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px 0 10px;
}
.theme-toggle-label {
  display: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--wg-gray-600);
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 25px;
  padding: 2px;
  border: none;
  border-radius: var(--wg-radius-pill);
  background: var(--wg-gray-300);
  cursor: pointer;
  transition: background .2s var(--wg-ease);
}
.theme-toggle[aria-checked="true"] { background: var(--wg-green-600); }
.theme-toggle-thumb {
  width: 21px; height: 21px;
  border-radius: 50%;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  transform: translateX(0);
  transition: transform .2s var(--wg-ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.theme-toggle[aria-checked="true"] .theme-toggle-thumb { transform: translateX(19px); }
.theme-toggle-thumb svg { width: 13px; height: 13px; }
.theme-toggle-thumb .icon-sun { color: var(--wg-amber-500); }
.theme-toggle-thumb .icon-moon { display: none; color: var(--wg-green-700); }
.theme-toggle[aria-checked="true"] .theme-toggle-thumb .icon-sun { display: none; }
.theme-toggle[aria-checked="true"] .theme-toggle-thumb .icon-moon { display: block; }

@media (max-width: 860px) {
  .theme-toggle-row {
    justify-content: space-between;
    padding: 14px 10px 4px;
    margin-top: 6px;
    border-top: 1px solid var(--wg-border);
  }
  .theme-toggle-label { display: inline; }
}

.hero {
  position: relative;
  padding: 56px 0 38px;
  background: linear-gradient(120deg, var(--wg-green-100) 0%, var(--wg-surface) 45%, var(--wg-green-100) 100%);
  background-size: 220% 220%;
  animation: wg-hero-gradient 14s ease infinite;
  box-shadow: 0 22px 36px -30px rgba(18, 102, 54, 0.4);
}
@keyframes wg-hero-gradient {
  0%   { background-position: 0% 30%; }
  50%  { background-position: 100% 70%; }
  100% { background-position: 0% 30%; }
}

.hero-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
@keyframes wg-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

.hero-decor::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .12;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-deco-dots { display: none; bottom: 6px; left: 0; width: 90px; height: 66px; }
.hero-deco-cross-1 { display: none; top: 22px; right: 8%; }
.hero-deco-cross-2 { display: none; top: 96px; right: 2%; animation: wg-float 7s ease-in-out infinite; }
.hero-deco-cross-3 { display: none; bottom: 18px; left: 34%; }
@media (min-width: 720px) {
  .hero-deco-dots, .hero-deco-cross-1, .hero-deco-cross-2, .hero-deco-cross-3 { display: block; }
}
.hero .container { position: relative; z-index: 1; }

.hero h1 .wg-corner-flag {
  display: none;
  width: 0.62em; height: 0.62em;
  margin-left: 10px;
  vertical-align: middle;
  animation: wg-flag-wave 2.6s ease-in-out infinite;
  transform-origin: bottom left;
}
@media (min-width: 560px) {
  .hero h1 .wg-corner-flag { display: inline-block; }
}
@keyframes wg-flag-wave {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-8deg); }
}
.hero h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  color: var(--wg-gray-900);
  animation: wg-fade-up .6s var(--wg-ease) both;
}

.wg-region-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 5px 12px 5px 9px;
  border-radius: var(--wg-radius-pill);
  background: var(--wg-green-50);
  border: 1px solid var(--wg-green-100);
  color: var(--wg-green-700);
  font-size: 13px;
  font-weight: 700;
  animation: wg-fade-up .6s var(--wg-ease) .04s both;
}
.wg-region-badge svg { width: 15px; height: 15px; flex-shrink: 0; }

.hero p.lead {
  color: var(--wg-text-muted);
  font-size: 16px;
  max-width: 620px;
  margin: 0 0 26px;
  animation: wg-fade-up .6s var(--wg-ease) .08s both;
}

.search-card {

  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-lg);
  box-shadow: var(--wg-shadow-md);
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  animation: wg-fade-up .6s var(--wg-ease) .16s both;
  transition: box-shadow .25s var(--wg-ease);
}
.search-card:focus-within { box-shadow: var(--wg-shadow-md), 0 0 0 4px var(--wg-green-100); }
.search-field {
  position: relative;
  flex: 1 1 280px;
}
.search-field input[type="text"] {
  width: 100%;
  height: 52px;
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-md);
  padding: 0 16px 0 44px;
  font-size: 16px;
  background: var(--wg-gray-50);
  color: var(--wg-text);
}
.search-field input[type="text"]:focus {
  outline: none;
  border-color: var(--wg-green-500);
  background: var(--wg-surface);
  box-shadow: 0 0 0 3px var(--wg-green-100);
}
.search-field .icon {
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--wg-gray-400);
  width: 20px; height: 20px;
}
.autocomplete-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--wg-surface);
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-md);
  box-shadow: var(--wg-shadow-md);
  max-height: 280px;
  overflow-y: auto;
  z-index: 30;
  display: none;
}
.autocomplete-list.open { display: block; }
.autocomplete-list button {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14.5px;
  color: var(--wg-gray-800);
}
.autocomplete-list button:hover,
.autocomplete-list button.active { background: var(--wg-green-50); }
.autocomplete-list .sub { font-size: 12.5px; color: var(--wg-text-muted); }

.autocomplete-list .autocomplete-empty {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  color: var(--wg-text-muted);
}
.autocomplete-list .autocomplete-empty:hover,
.autocomplete-list .autocomplete-empty:focus-visible {
  background: var(--wg-green-50);
  color: var(--wg-gray-800);
}
.autocomplete-list .autocomplete-empty strong { color: var(--wg-gray-900); }

.date-range-field { flex: 0 0 auto; }
.date-range-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 16px;
  background: var(--wg-gray-50);
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-md);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--wg-gray-800);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.date-range-trigger:hover { border-color: var(--wg-green-500); }
.date-range-trigger .icon { width: 18px; height: 18px; color: var(--wg-gray-400); flex-shrink: 0; }

.wg-dr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 32, 24, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 200;
}
.wg-dr-overlay[hidden] { display: none; }
.wg-dr-dialog {
  background: var(--wg-surface);
  border-radius: var(--wg-radius-lg);
  box-shadow: var(--wg-shadow-md);
  width: 100%;
  max-width: 360px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 18px;
  animation: wg-fade-up .2s var(--wg-ease) both;
}
.wg-dr-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}
.wg-dr-close {
  border: none; background: none; font-size: 22px; line-height: 1;
  cursor: pointer; color: var(--wg-gray-500); padding: 4px;
}
.wg-dr-close:hover { color: var(--wg-gray-800); }
.wg-dr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.wg-dr-chip {
  border: 1px solid var(--wg-border);
  background: var(--wg-gray-50);
  border-radius: var(--wg-radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wg-gray-700);
  cursor: pointer;
}
.wg-dr-chip:hover { border-color: var(--wg-green-500); color: var(--wg-green-700); }
.wg-dr-month-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14.5px;
}
.wg-dr-nav-btn {
  border: 1px solid var(--wg-border);
  background: var(--wg-surface);
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: var(--wg-gray-700);
}
.wg-dr-nav-btn:hover { border-color: var(--wg-green-500); color: var(--wg-green-700); }
.wg-dr-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--wg-text-muted);
  margin-bottom: 4px;
}
.wg-dr-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.wg-dr-day, .wg-dr-day-empty { aspect-ratio: 1; }
.wg-dr-day {
  border: none;
  background: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wg-gray-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wg-dr-day:hover:not(:disabled) { background: var(--wg-green-50); }
.wg-dr-day.is-today { box-shadow: inset 0 0 0 1.5px var(--wg-green-500); border-radius: 50%; }
.wg-dr-day.is-in-range { background: var(--wg-green-50); }
.wg-dr-day.is-start, .wg-dr-day.is-end {
  background: var(--wg-green-500);
  color: #fff;
  border-radius: 50%;
  box-shadow: none;
}
.wg-dr-day:disabled { color: var(--wg-gray-300); cursor: not-allowed; }
.wg-dr-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 16px; flex-wrap: wrap;
}
.wg-dr-selection { font-size: 12.5px; color: var(--wg-text-muted); }
.wg-dr-actions { display: flex; gap: 8px; }
.wg-dr-actions .btn { height: 40px; padding: 0 16px; font-size: 13.5px; }

.radius-select {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wg-gray-50);
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-md);
  padding: 0 6px;
  height: 52px;
}
.radius-select select {
  border: none;
  background: transparent;
  height: 100%;
  font-size: 15px;
  font-weight: 600;
  color: var(--wg-gray-800);
  padding: 0 10px;
}
.radius-select select:focus { outline: none; }

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  border-radius: var(--wg-radius-md);
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s, transform .12s var(--wg-ease), box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--wg-green-500), var(--wg-green-600));
  color: #fff;
}
.btn-primary:hover { background: linear-gradient(135deg, var(--wg-green-600), var(--wg-green-700)); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(28, 154, 83, .28); }

.btn-primary::after {
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .5s var(--wg-ease);
}
.btn-primary:hover::after { left: 130%; }
.btn-secondary { background: var(--wg-gray-100); color: var(--wg-gray-800); }
.btn-secondary:hover { background: var(--wg-gray-200); transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.hero-hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--wg-text-muted);
}

.section { padding: 42px 0; }
.section-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
}
.section-title::before {
  content: "";
  display: inline-block;
  width: 5px; height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--wg-green-500), var(--wg-teal-500));
  flex-shrink: 0;
}
.section-subtitle { color: var(--wg-text-muted); font-size: 14.5px; margin: 0 0 20px; }

:root {
  --wg-hit-grad-1: #ff8a3d;
  --wg-hit-grad-2: #ef4444;
  --wg-hit-grad-3: #7c1d1d;
}
:root[data-theme="dark"] {
  --wg-hit-grad-1: #ff9d52;
  --wg-hit-grad-2: #dc2f2f;
  --wg-hit-grad-3: #3a0f0f;
}
.hit-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 16px 0;
  padding: 30px 24px;
  border-radius: var(--wg-radius-md);
  background: linear-gradient(135deg, var(--wg-hit-grad-1), var(--wg-hit-grad-2) 55%, var(--wg-hit-grad-3));
  box-shadow: var(--wg-shadow-md);
  text-align: center;
}
.hit-banner-emoji {
  position: absolute;
  z-index: 0;
  font-size: 26px;
  opacity: .4;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3));
  animation: wg-hit-float 6.5s ease-in-out infinite;
}
.hit-banner-emoji-1 { top: 12%;  left: 6%;  font-size: 32px; animation-delay: 0s; }
.hit-banner-emoji-2 { top: 58%;  left: 91%; font-size: 22px; animation-delay: 1.6s; }
.hit-banner-emoji-3 { top: 78%;  left: 12%; font-size: 20px; animation-delay: 3.2s; }
.hit-banner-emoji-4 { top: 18%;  left: 82%; font-size: 28px; animation-delay: 2.1s; }
@keyframes wg-hit-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hit-banner-emoji { animation: none; }
}
.hit-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hit-banner-text { color: inherit; text-decoration: none; }
.hit-banner-kicker {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
}
.hit-banner-teams {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: clamp(19px, 4.5vw, 26px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
}
.hit-banner-teams-empty { font-size: 17px; font-weight: 700; opacity: .95; }
.hit-banner-vs {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}
.hit-banner-cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.hit-banner-cta:hover { background: rgba(255, 255, 255, .28); transform: translateY(-1px); }

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 960px) {

  .results-layout { grid-template-columns: minmax(0, 1fr); }
}

#results-summary { scroll-margin-top: calc(var(--wg-header-h) + 14px); }

.wg-matched-note {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #7a5410;
  background: #fdf3e3; border: 1px solid #f2dfb3;
  padding: 8px 14px; border-radius: var(--wg-radius-sm);
  margin-bottom: 10px;
}

.results-toolbar {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  margin-bottom: 10px; font-size: 13px; color: var(--wg-text-muted);
}
.results-toolbar select {
  font-size: 13px; padding: 6px 10px; border-radius: var(--wg-radius-sm, 8px);
  border: 1px solid var(--wg-border); background: var(--wg-surface); color: var(--wg-gray-900);
}

.results-pager {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; flex-wrap: wrap;
}
.results-pager .btn { padding: 8px 14px; font-size: 13px; }
.results-pager .btn:disabled { opacity: .45; cursor: not-allowed; }

.wg-pager-nums {
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 2px;
}
.wg-pager-nums::-webkit-scrollbar { display: none; }
.wg-pager-num {
  flex-shrink: 0;
  min-width: 36px;
  height: 36px;
  padding: 0 4px;
  border: none;
  background: none;
  border-radius: var(--wg-radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--wg-gray-600);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.wg-pager-num:hover { background: var(--wg-gray-100); color: var(--wg-gray-900); }
.wg-pager-num.is-active { background: var(--wg-green-500); color: #fff; }
.wg-pager-ellipsis {
  flex-shrink: 0;
  min-width: 20px;
  text-align: center;
  color: var(--wg-gray-400);
  font-weight: 700;
  font-size: 13.5px;
}

#map {
  position: relative;
  z-index: 0;
  height: 520px;
  border-radius: var(--wg-radius-lg);
  border: 1px solid var(--wg-border);
  box-shadow: var(--wg-shadow-sm);
  background: var(--wg-gray-100);
}

#match-map {
  position: relative;
  z-index: 0;
}

.map-col { min-width: 0; }
.map-footnote {
  margin: 10px 2px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--wg-text-muted);
}
.match-list { display: flex; flex-direction: column; gap: 10px; max-height: 560px; overflow-y: auto; padding-right: 2px; }

.round-group {
  margin-bottom: 12px;
  background: var(--wg-surface);
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-md);
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
  animation: wg-fade-up .4s var(--wg-ease) both;
}
.round-group:last-child { margin-bottom: 0; }
.round-group[open] { border-color: var(--wg-green-100); box-shadow: var(--wg-shadow-sm); }

.round-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 0; padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: background .15s;
}
.round-divider::-webkit-details-marker { display: none; }
.round-divider::marker { content: ""; }
.round-divider:hover { background: var(--wg-green-50); }

.round-divider-label {
  font-size: 13px; font-weight: 800; letter-spacing: .01em;
  color: var(--wg-green-700); background: var(--wg-green-50);
  padding: 5px 14px; border-radius: var(--wg-radius-pill);
  white-space: nowrap;
}
.round-divider-count {
  flex: 1; font-size: 13px; color: var(--wg-text-muted); white-space: nowrap;
}
.round-divider-chevron {
  flex-shrink: 0; color: var(--wg-gray-400);
  transition: transform .2s ease;
}
.round-group[open] > .round-divider .round-divider-chevron { transform: rotate(180deg); color: var(--wg-green-600); }

.round-group > .match-list {
  padding: 0 16px 16px;
  max-height: none !important;
  overflow-y: visible;
  animation: wg-round-reveal .22s ease;
}
@keyframes wg-round-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.match-card {
  background: var(--wg-surface);
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .2s var(--wg-ease), transform .2s var(--wg-ease);
  animation: wg-fade-up .4s var(--wg-ease) both;
}
.match-card:hover { border-color: var(--wg-green-500); box-shadow: var(--wg-shadow-sm); transform: translateY(-2px); }
.match-card.is-highlighted { border-color: var(--wg-green-500); box-shadow: 0 0 0 3px var(--wg-green-100); }

.match-card-top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.match-card-top > *:first-child { min-width: 0; flex-shrink: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-card-top > *:last-child { flex-shrink: 0; }
.badge {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--wg-radius-pill);
  background: var(--wg-gray-100); color: var(--wg-gray-600);
}
.badge-green { background: var(--wg-green-50); color: var(--wg-green-700); }

.badge-amber { background: #fdf3e3; color: #8f5a0d; }
.badge-red { background: #fbeae9; color: #a3302a; }

.distance-pill {
  font-size: 12.5px; font-weight: 700; color: var(--wg-green-700);
  background: var(--wg-green-50);
  padding: 3px 10px; border-radius: var(--wg-radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}

.wg-footnote-mark {
  font-size: .9em;
  margin-left: 1px;
}

.team-logo { object-fit: contain; vertical-align: middle; margin-right: 6px; background: #fff; border-radius: 4px; border: 1px solid var(--wg-border); flex-shrink: 0; }

.match-teams {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15.5px; color: var(--wg-gray-900);
}
.match-teams > span { display: inline-flex; align-items: center; min-width: 0; }
.match-teams > span:not(.vs) { flex: 1 1 0; }
.match-teams > span:not(.vs) span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.match-teams > span:first-child { justify-content: flex-end; text-align: right; }
.match-teams > span:last-child { justify-content: flex-start; text-align: left; }
.match-teams .vs {
  flex: 0 0 auto; color: var(--wg-text-muted); font-weight: 500; font-size: 13px;
  white-space: nowrap; padding: 0 1px;
}
.match-score { font-variant-numeric: tabular-nums; }

@media (max-width: 420px) {
  .match-teams { gap: 6px; font-size: 14px; }
  .match-teams .vs { font-size: 12px; }
}

.match-meta { margin-top: 8px; font-size: 13px; color: var(--wg-text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.match-meta span { display: inline-flex; align-items: center; gap: 5px; }

.match-meta span.match-meta-right { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }

.wg-comment-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-pill);
  background: var(--wg-surface);
  color: var(--wg-gray-700);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.wg-comment-icon { font-size: 13px; }
.wg-comment-badge .wg-comment-count {
  background: var(--wg-gray-100);
  color: var(--wg-gray-700);
  border-radius: var(--wg-radius-pill);
  padding: 1px 7px;
  font-size: 11.5px;
}

.wg-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-pill);
  background: var(--wg-surface);
  color: var(--wg-gray-700);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .12s var(--wg-ease);
  white-space: nowrap;
}
.wg-vote-btn:hover:not(:disabled) {
  border-color: var(--wg-amber-500);

  color: var(--wg-amber-700);
  transform: translateY(-1px);
}
.wg-vote-btn:active:not(:disabled) { transform: translateY(0); }
.wg-vote-btn .wg-vote-count {
  background: var(--wg-gray-100);
  color: var(--wg-gray-700);
  border-radius: var(--wg-radius-pill);
  padding: 1px 7px;
  font-size: 11.5px;
}
.wg-vote-btn.is-voted {
  background: #fdf3e3;
  border-color: #f2dfb3;
  color: #7a5410;
  cursor: default;
}
.wg-vote-btn.is-voted .wg-vote-count { background: #f2dfb3; color: #7a5410; }
.wg-vote-btn:disabled:not(.is-voted) { opacity: .6; cursor: default; }

.wg-hit-card {
  align-items: center;
  gap: 14px;
}
.wg-hit-rank {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  background: var(--wg-gray-100);
  color: var(--wg-gray-600);
  border: 1px solid var(--wg-border);
}
.wg-hit-rank-top {
  background: var(--wg-green-500);
  color: #fff;
  border-color: var(--wg-green-500);
}
.wg-hit-votes {
  font-weight: 700;

  color: var(--wg-amber-700);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--wg-text-muted);
  border: 1px dashed var(--wg-border);
  border-radius: var(--wg-radius-lg);
  background: var(--wg-surface);
}
.empty-state strong { display: block; color: var(--wg-gray-800); font-size: 16px; margin-bottom: 6px; }

.error-page {
  text-align: center;
  padding: 70px 20px 90px;
  max-width: 560px;
  margin: 0 auto;
}
.error-page-code {
  font-family: var(--wg-font-heading);
  font-weight: 800;
  font-size: clamp(64px, 14vw, 108px);
  line-height: 1;
  margin: 0 0 8px;
  background: linear-gradient(135deg, var(--wg-green-500), var(--wg-teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-page-title {
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--wg-text);
}
.error-page-text {
  font-size: 15px;
  color: var(--wg-text-muted);
  line-height: 1.6;
  margin: 0 0 28px;
}
.error-page .btn { min-width: 200px; }

.skeleton {
  background: linear-gradient(90deg, var(--wg-gray-100) 25%, var(--wg-gray-200) 37%, var(--wg-gray-100) 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: var(--wg-radius-md);
}
@keyframes skeleton-loading { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.leaflet-popup-content-wrapper { border-radius: var(--wg-radius-md); }
.wg-popup { max-width: 100%; }
.wg-popup h4 { margin: 0 0 4px; font-size: 14.5px; font-weight: 700; word-break: break-word; }

.wg-popup .wg-popup-league { font-size: 12px; color: var(--wg-gray-600); margin-bottom: 6px; }
.wg-popup .wg-popup-row { font-size: 13px; margin: 2px 0; color: var(--wg-gray-700); word-break: break-word; }
.wg-popup a.btn-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--wg-green-600); }

@media (max-width: 480px) {
  .leaflet-popup-content-wrapper,
  .leaflet-popup-content { max-width: calc(100vw - 56px) !important; }
}

.filters-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 20px;
}
.select-field {
  height: 44px;
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-sm);
  background: var(--wg-surface);
  padding: 0 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--wg-gray-800);
}

.team-search-field {
  position: relative;
  flex: 1 1 220px;
  max-width: 320px;
}
.team-search-field .icon {
  position: absolute;
  left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--wg-gray-400);
  width: 18px; height: 18px;
  pointer-events: none;
}
.team-search-field input[type="text"] {
  width: 100%;
  height: 44px;
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-sm);
  padding: 0 12px 0 38px;
  font-size: 14.5px;
  background: var(--wg-surface);
  color: var(--wg-text);
}
.team-search-field input[type="text"]:focus {
  outline: none;
  border-color: var(--wg-green-500);
  box-shadow: 0 0 0 3px var(--wg-green-100);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--wg-border); border-radius: var(--wg-radius-lg); background: var(--wg-surface); }
table.standings { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
table.standings th, table.standings td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--wg-border); }
table.standings th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--wg-text-muted); font-weight: 700; }
table.standings td.team-cell, table.standings th.team-cell { text-align: left; font-weight: 700; color: var(--wg-gray-900); }
table.standings tbody tr { transition: background .12s; }
table.standings tbody tr:hover { background: var(--wg-green-50); }

@keyframes wg-row-highlight {
  0% { background-color: var(--wg-green-100, #c8ecd7); }
  35% { background-color: var(--wg-green-100, #c8ecd7); }
  100% { background-color: transparent; }
}
table.standings tbody tr.wg-row-highlight {
  animation: wg-row-highlight 3s ease-out forwards;
}
table.standings td.pts { font-weight: 800; color: var(--wg-green-700); }
table.standings tbody tr:nth-child(-n+1) td.rank { color: var(--wg-green-600); font-weight: 800; }

.table-subrow { display: none; font-size: 11.5px; font-weight: 600; color: var(--wg-text-muted); margin-top: 2px; }

@media (max-width: 560px) {
  .table-wrap { overflow-x: visible; border-radius: var(--wg-radius-md); }
  table.standings { min-width: 0; font-size: 13px; }
  table.standings th, table.standings td { padding: 9px 6px; }
  table.standings th.col-optional, table.standings td.col-optional { display: none; }
  table.standings td.team-cell, table.standings th.team-cell { padding-left: 10px; }
  table.standings td.rank, table.standings th:first-child { padding-right: 2px; width: 22px; }
  .table-subrow { display: block; }
}

.card-grid > *:nth-child(1), .news-grid > *:nth-child(1), .news-grid-3col > *:nth-child(1), .match-list > *:nth-child(1), #schedule-content > *:nth-child(1) { animation-delay: .02s; }
.card-grid > *:nth-child(2), .news-grid > *:nth-child(2), .news-grid-3col > *:nth-child(2), .match-list > *:nth-child(2), #schedule-content > *:nth-child(2) { animation-delay: .06s; }
.card-grid > *:nth-child(3), .news-grid > *:nth-child(3), .news-grid-3col > *:nth-child(3), .match-list > *:nth-child(3), #schedule-content > *:nth-child(3) { animation-delay: .1s; }
.card-grid > *:nth-child(4), .news-grid > *:nth-child(4), .news-grid-3col > *:nth-child(4), .match-list > *:nth-child(4), #schedule-content > *:nth-child(4) { animation-delay: .14s; }
.card-grid > *:nth-child(5), .news-grid > *:nth-child(5), .news-grid-3col > *:nth-child(5), .match-list > *:nth-child(5), #schedule-content > *:nth-child(5) { animation-delay: .18s; }
.card-grid > *:nth-child(6), .news-grid > *:nth-child(6), .news-grid-3col > *:nth-child(6), .match-list > *:nth-child(6), #schedule-content > *:nth-child(6) { animation-delay: .22s; }
.card-grid > *:nth-child(n+7), .news-grid > *:nth-child(n+7), .news-grid-3col > *:nth-child(n+7), .match-list > *:nth-child(n+7), #schedule-content > *:nth-child(n+7) { animation-delay: .26s; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.entity-card {
  background: var(--wg-surface); border: 1px solid var(--wg-border); border-radius: var(--wg-radius-md);
  padding: 16px; transition: border-color .15s, box-shadow .2s var(--wg-ease), transform .2s var(--wg-ease);
  animation: wg-fade-up .4s var(--wg-ease) both;
}
.entity-card:hover { border-color: var(--wg-green-500); box-shadow: var(--wg-shadow-sm); transform: translateY(-3px); }
.entity-card.is-clickable { cursor: pointer; }

a.entity-card { display: block; color: inherit; text-decoration: none; }
.entity-card h3 { margin: 0 0 4px; font-size: 15.5px; }
.entity-card p { margin: 2px 0; font-size: 13px; color: var(--wg-text-muted); }

.team-grid { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 860px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}
.entity-card .wg-team-league { font-size: 13px; color: var(--wg-text-muted); margin: 2px 0 0; }

.wg-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(23, 24, 26, .55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--wg-ease);
}
.wg-modal-overlay.open { opacity: 1; pointer-events: auto; }
.wg-modal {
  background: var(--wg-surface);
  border-radius: var(--wg-radius-lg);
  width: 100%; max-width: 460px;
  max-height: 88vh;
  overflow: hidden auto;
  box-shadow: var(--wg-shadow-md);
  transform: translateY(14px) scale(.98);
  transition: transform .22s var(--wg-ease);
}
.wg-modal-overlay.open .wg-modal { transform: translateY(0) scale(1); }
.wg-modal-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  background-image: linear-gradient(135deg, var(--wg-green-600), var(--wg-teal-500));
  display: flex; align-items: center; justify-content: center;
}
.wg-modal-photo::after {
  content: "";
  position: absolute;
  width: 96px; height: 64px;
  opacity: .8;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Crect x='4' y='4' width='112' height='72' rx='3' fill='none' stroke='white' stroke-width='3'/%3E%3Cline x1='60' y1='4' x2='60' y2='76' stroke='white' stroke-width='2.5'/%3E%3Ccircle cx='60' cy='40' r='12' fill='none' stroke='white' stroke-width='2.5'/%3E%3Ccircle cx='60' cy='40' r='1.5' fill='white'/%3E%3Crect x='4' y='24' width='14' height='32' fill='none' stroke='white' stroke-width='2.5'/%3E%3Crect x='102' y='24' width='14' height='32' fill='none' stroke='white' stroke-width='2.5'/%3E%3C/svg%3E");
}
.wg-modal-photo-note {
  position: absolute; left: 12px; bottom: 10px;
  font-size: 11px; font-weight: 700; color: #fff; background: rgba(23,24,26,.35);
  padding: 3px 10px; border-radius: var(--wg-radius-pill); backdrop-filter: blur(2px);
}
.wg-modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: rgba(23,24,26,.4); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; line-height: 1;
  transition: background .15s;
}
.wg-modal-close:hover { background: rgba(23,24,26,.65); }
.wg-modal-body { padding: 20px 22px 24px; }
.wg-modal-body h3 { margin: 0 0 8px; font-size: 18px; }
.wg-modal-body .wg-modal-row { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--wg-gray-700); margin-top: 8px; }
.wg-modal-body .wg-modal-row strong { color: var(--wg-gray-900); font-weight: 700; min-width: 60px; flex-shrink: 0; }

.section-news { border-top: 1px solid var(--wg-border); }
.section-news-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 4px; flex-wrap: wrap;
}
.section-news-header .btn { flex-shrink: 0; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

.section-news-footer {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.news-grid-3col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .news-grid-3col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .news-grid-3col { grid-template-columns: minmax(0, 1fr); } }

.news-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--wg-surface); border: 1px solid var(--wg-border); border-radius: var(--wg-radius-md);
  transition: border-color .15s, box-shadow .2s var(--wg-ease), transform .2s var(--wg-ease);
  animation: wg-fade-up .45s var(--wg-ease) both;
}
.news-card:hover { border-color: var(--wg-green-500); box-shadow: var(--wg-shadow-md); transform: translateY(-4px); }
.news-card:hover .news-card-media { transform: scale(1.04); }
.news-card-media { transition: transform .35s var(--wg-ease); }

.news-card-media {
  aspect-ratio: 16 / 9; background-color: var(--wg-green-50);
  background-size: cover; background-position: center; flex-shrink: 0;
}
.news-card-media-empty {
  background-image: linear-gradient(135deg, var(--wg-green-600), var(--wg-green-700));
  display: flex; align-items: center; justify-content: center;
}
.news-card-media-empty::after {
  content: "";
  width: 40px; height: 40px;
  opacity: .6;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: var(--wg-icon-ball);
}

.news-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.news-card h3 { margin: 8px 0 6px; font-size: 16.5px; line-height: 1.3; color: var(--wg-gray-900); }
.news-card-teaser {
  margin: 0; font-size: 13.5px; color: var(--wg-text-muted); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  text-align: justify; text-justify: inter-word;
}
.news-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 14px; font-size: 12.5px; color: var(--wg-text-muted);
}
.news-card-cta { font-weight: 700; color: var(--wg-green-600); white-space: nowrap; }

.news-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.news-tag {
  display: inline-flex; align-items: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: .01em;
  padding: 3px 10px;
  border-radius: var(--wg-radius-pill);
  background: var(--wg-green-50); color: var(--wg-green-700);
}

.news-tag-sponsored { background: #fdf3e3; color: #8f5a0d; }
.news-tag-sponsored::before { content: "★ "; }

.container-narrow { max-width: 760px; }
.back-link { display: inline-block; margin-bottom: 18px; font-size: 13.5px; font-weight: 600; color: var(--wg-text-muted); }
.back-link:hover { color: var(--wg-green-600); }
.article-view {
  background: var(--wg-surface); border: 1px solid var(--wg-border); border-radius: var(--wg-radius-lg);
  overflow: hidden; box-shadow: var(--wg-shadow-sm);
  animation: wg-fade-up .45s var(--wg-ease) both;
}
.article-view-body { padding: 30px; }
.article-header-image {
  width: 100%; aspect-ratio: 21 / 9; max-height: 380px;
  background-color: var(--wg-green-50); background-size: cover; background-position: center;
}
.article-header-image-empty {
  background-image: linear-gradient(135deg, var(--wg-green-600), var(--wg-green-700));
  display: flex; align-items: center; justify-content: center;
}
.article-header-image-empty::after {
  content: "";
  width: 66px; height: 66px;
  opacity: .55;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: var(--wg-icon-ball);
}
.article-view h1 { font-size: clamp(22px, 3.4vw, 30px); line-height: 1.25; margin: 12px 0 10px; letter-spacing: -0.01em; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--wg-text-muted); margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--wg-border); }
.article-body { font-size: 15.5px; line-height: 1.7; color: var(--wg-gray-800); }
.article-body p { margin: 0 0 16px; text-align: justify; text-justify: inter-word; hyphens: auto; }
.article-body p:last-child { margin-bottom: 0; }
.article-body h2, .article-body h3 {
  font-family: var(--wg-font-heading); color: var(--wg-text); letter-spacing: -0.01em;
  margin: 30px 0 12px;
}
.article-body h2 { font-size: 21px; }
.article-body h3 { font-size: 17.5px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--wg-text); }
.article-body table {
  width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px;
  background: var(--wg-surface); border: 1px solid var(--wg-border); border-radius: var(--wg-radius-md);
  overflow: hidden;
}
.article-body caption {
  text-align: left; font-size: 12.5px; color: var(--wg-text-muted); margin-bottom: 8px; caption-side: top;
}
.article-body th, .article-body td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--wg-border); }
.article-body th {
  font-family: var(--wg-font-heading); font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--wg-text-muted); background: var(--wg-bg);
}
.article-body td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.article-body tr:last-child td { border-bottom: none; }
.article-body tr:hover td { background: var(--wg-green-50); }
.article-image-placeholder {
  display: flex; flex-direction: column; gap: 8px;
  margin: 22px 0; padding: 18px 20px;
  background: var(--wg-green-50); border: 1.5px dashed var(--wg-green-500);
  border-radius: var(--wg-radius-md); font-size: 14px; line-height: 1.6;
}
.article-image-placeholder .label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--wg-font-heading); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--wg-green-700);
}
.article-image-placeholder .label::before { content: "🖼"; font-size: 14px; }
.article-image-placeholder .prompt {
  font-family: "SFMono-Regular", Consolas, monospace; font-size: 12.5px; line-height: 1.55;
  color: var(--wg-gray-700); background: var(--wg-surface); border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-sm); padding: 10px 12px; white-space: pre-wrap;
}
.article-bibliography {
  margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--wg-border);
  font-size: 13.5px; color: var(--wg-text-muted);
}
.article-bibliography h2, .article-bibliography h3 { margin-top: 0; }
.article-bibliography ol { padding-left: 20px; }
.article-bibliography li { margin-bottom: 8px; line-height: 1.55; }
.article-bibliography a { color: var(--wg-green-600); }
.article-bibliography a:hover { text-decoration: underline; }

.mock-banner {
  background: #fdf3e3;
  color: #7a5410;
  border-bottom: 1px solid #f2dfb3;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}
.mock-banner strong { font-weight: 800; }

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--wg-border);
  margin-top: 24px;
  padding: 48px 0 28px;
  color: var(--wg-text-muted);
  font-size: 13.5px;
}
.site-footer::before {
  content: "";
  position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--wg-green-500), var(--wg-teal-500), transparent);
  opacity: .5;
}

.site-footer::after {
  content: "";
  position: absolute; bottom: -70px; right: -70px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--wg-green-100), transparent 70%);
  pointer-events: none;
}
.site-footer .container { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 32px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand { margin-bottom: 10px; }
.footer-tagline { margin: 0; max-width: 320px; line-height: 1.6; color: var(--wg-text-muted); }
.footer-col h4 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--wg-gray-800);
}
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col a, .footer-col p { margin: 0; color: var(--wg-text-muted); transition: color .15s; }
.footer-col a:hover { color: var(--wg-green-600); }
.footer-col p a { color: var(--wg-gray-700); font-weight: 600; }
.footer-col p a:hover { color: var(--wg-green-600); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--wg-border);
  font-size: 12.5px;
}

.match-hero {
  position: relative;
  overflow: hidden;
  background: var(--wg-surface); border: 1px solid var(--wg-border); border-radius: var(--wg-radius-lg);
  padding: 26px; box-shadow: var(--wg-shadow-sm);
  animation: wg-fade-up .45s var(--wg-ease) both;
}
.match-hero::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--wg-green-500), var(--wg-teal-500), var(--wg-lime-400));
  background-size: 200% 100%;
  animation: wg-brand-shift 5s ease infinite;
}

.match-hero::after {
  content: "";
  position: absolute; top: 12px; right: 16px;
  width: 70px; height: 46px;
  background-image: radial-gradient(var(--wg-green-500) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: .18;
  pointer-events: none;
}

.match-hero-teams { display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 22px; font-weight: 800; margin: 14px 0; text-align: center; flex-wrap: wrap; }
.match-hero-teams > span:not(.vs) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 180px;
  word-break: break-word;
}
.match-hero-teams .vs { font-size: 14px; font-weight: 600; color: var(--wg-text-muted); flex: 0 0 auto; }
.match-hero-teams a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 180px;
  word-break: break-word;
}
.match-hero-teams a .team-logo { margin-right: 0; }
@media (max-width: 480px) {
  .match-hero-teams { flex-direction: column; gap: 6px; font-size: 17px; }
  .match-hero-teams > span:not(.vs) { flex: 0 0 auto; max-width: 100%; }
  .match-hero-teams .vs { margin: 2px 0; }
}
.match-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 22px; }
.match-info-item .label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--wg-text-muted); margin-bottom: 4px; }
.match-info-item .value { font-size: 15px; font-weight: 700; color: var(--wg-gray-900); }

.precision-note { font-size: 12px; color: var(--wg-amber-700); margin-top: 4px; }

.contact-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .contact-tiles { grid-template-columns: minmax(0, 1fr); }
}
.contact-card {
  position: relative;
  background: var(--wg-surface);
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-lg);
  padding: 20px;
  transition: border-color .15s, box-shadow .2s var(--wg-ease), transform .2s var(--wg-ease);
  animation: wg-fade-up .4s var(--wg-ease) both;
}
.contact-card:hover { border-color: var(--wg-green-500); box-shadow: var(--wg-shadow-sm); transform: translateY(-2px); }
.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-bottom: 12px;
  border-radius: var(--wg-radius-md);
  background: var(--wg-green-50);
  color: var(--wg-green-600);
}
.contact-card-icon svg { width: 20px; height: 20px; }
.contact-card h3 { margin: 0 0 4px; font-size: 15.5px; }
.contact-card p { margin: 0; font-size: 14px; color: var(--wg-text-muted); }
.contact-card p a { color: var(--wg-green-600); font-weight: 700; }
.contact-card p a:hover { text-decoration: underline; }

.contact-card-action {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.contact-card-action:focus-visible {
  outline: 2px solid var(--wg-green-500);
  outline-offset: 2px;
}
.contact-card-action #contact-email-label {
  color: var(--wg-green-600);
  font-weight: 700;
}
.contact-card-hint {
  margin-top: 6px !important;
  font-size: 12.5px !important;
  color: var(--wg-text-muted);
}

.contact-card-action.is-copied {
  border-color: var(--wg-green-500);
}

.contact-card-copied-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-radius: inherit;
  background: var(--wg-surface);
  color: var(--wg-green-600);
  font-weight: 700;
  font-size: 15.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s var(--wg-ease);
}
.contact-card-action.is-copied .contact-card-copied-overlay {
  opacity: 1;
}

.wg-comment-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.wg-comment {
  background: var(--wg-surface);
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-md);
  padding: 14px 16px;
}
.wg-comment-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.wg-comment-author { font-weight: 700; font-size: 14px; color: var(--wg-gray-900); }
.wg-comment-date { font-size: 12px; color: var(--wg-text-muted); flex-shrink: 0; }
.wg-comment-body { font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.wg-comment-empty { color: var(--wg-text-muted); font-size: 14px; padding: 12px 0; margin-bottom: 20px; }

.wg-comment-form {
  position: relative;
  background: var(--wg-gray-50);
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--wg-text); }
.form-field input[type="text"],
.form-field textarea {
  width: 100%;
  border: 1px solid var(--wg-border);
  border-radius: var(--wg-radius-md);
  padding: 10px 14px;
  font-size: 14.5px;
  font-family: var(--wg-font);
  background: var(--wg-surface);
  color: var(--wg-text);
  box-sizing: border-box;
}
.form-field textarea { resize: vertical; min-height: 72px; line-height: 1.5; }
.form-field input[type="text"]:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--wg-green-500);
  box-shadow: 0 0 0 3px var(--wg-green-100);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--wg-gray-400); }

.wg-comment-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wg-comment-form-hint { font-size: 12.5px; color: var(--wg-text-muted); }
.wg-comment-form-msg { font-size: 13.5px; font-weight: 600; padding: 8px 12px; border-radius: var(--wg-radius-sm); }
.wg-comment-form-msg.is-success { background: var(--wg-green-50); color: var(--wg-green-700); }

.wg-comment-form-msg.is-error { background: #fbeae9; color: #a3302a; }

.wg-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }

