/*
Theme Name: NaluAtlas
Theme URI: https://naluatlas.com
Author: NaluAtlas
Author URI: https://naluatlas.com
Description: Custom theme for NaluAtlas - the definitive global wave pool directory, interactive map, and ranking system.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: naluatlas
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ==================== RESET & VARIABLES ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0B1222;
  --navy-mid: #111B2E;
  --navy-light: #162340;
  --deep: #133058;
  --teal: #00B4D8;
  --teal-light: #48CAE4;
  --teal-glow: rgba(0,180,216,0.15);
  --teal-glow2: rgba(0,180,216,0.06);
  --coral: #E07A5F;
  --coral-bright: #F2946D;
  --coral-dim: rgba(224,122,95,0.12);
  --gold: #D4A843;
  --gold-dim: rgba(212,168,67,0.12);
  --green: #2DD4BF;
  --green-dim: rgba(45,212,191,0.12);
  --white: #FFFFFF;
  --w95: rgba(255,255,255,0.95);
  --w80: rgba(255,255,255,0.82);
  --w60: rgba(255,255,255,0.65);
  --w40: rgba(255,255,255,0.45);
  --w20: rgba(255,255,255,0.22);
  --w10: rgba(255,255,255,0.12);
  --w06: rgba(255,255,255,0.08);
  --w04: rgba(255,255,255,0.05);
  --glass: rgba(14,24,44,0.92);
  --radius: 14px;
  --radius-sm: 8px;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
  --section-alt: rgba(255,255,255,0.02);
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

/* Film grain overlay — subtle texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0.012;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== NAVIGATION ==================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(8,14,26,0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--w06);
  transition: background 0.4s;
}

.site-nav.scrolled {
  background: var(--glass);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
}

.nav-wordmark {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.3px;
}

.nav-wordmark b { color: var(--teal); }

.nav-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-glow);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0,180,216,0.15);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--w80);
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--teal-light); }

/* ==================== SECTION HEADERS ==================== */
.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--w60);
  max-width: 500px;
}

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 50% at 30% 40%, rgba(0,180,216,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 70% at 75% 60%, rgba(224,122,95,0.04) 0%, transparent 70%),
    var(--navy);
}

.hero-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  overflow: hidden;
  opacity: 0.04;
}

.hero-line {
  position: absolute;
  width: 200%;
  left: -50%;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1;
}

.hero-line:nth-child(1) { bottom: 80px; animation: waveDrift 12s linear infinite; }
.hero-line:nth-child(2) { bottom: 120px; animation: waveDrift 16s linear infinite reverse; opacity: 0.7; }
.hero-line:nth-child(3) { bottom: 160px; animation: waveDrift 20s linear infinite; opacity: 0.4; }

@keyframes waveDrift { 0% { transform: translateX(0); } 100% { transform: translateX(25%); } }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 2.5s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-overline span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-light);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -2px;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--teal), var(--teal-light), var(--coral-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--w60);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 44px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.btn-glow {
  background: linear-gradient(135deg, var(--teal), #0097b2);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(0,180,216,0.25);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,180,216,0.35);
}

.btn-ghost {
  background: var(--w06);
  color: var(--w80);
  border: 1px solid var(--w10);
}

.btn-ghost:hover {
  background: var(--w10);
  border-color: var(--w20);
  color: var(--white);
}

/* Hero counters */
.hero-counters {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--w06);
}

.hero-counter { text-align: center; }

.hero-counter-number {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(180deg, #fff 30%, var(--w40));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-counter-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--w40);
  margin-top: 4px;
}

/* ==================== MAP SECTION ==================== */
.map-section { padding: 0; position: relative; }

.map-header {
  padding: 80px 0 32px;
  text-align: center;
}

.map-wrap {
  width: 100%;
  height: 600px;
  border-top: 1px solid var(--w06);
  border-bottom: 1px solid var(--w06);
}

#naluatlas-map { width: 100%; height: 100%; }

/* Leaflet custom popup styles */
.leaflet-popup-content-wrapper {
  background: var(--glass) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  border: 1px solid var(--w10) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5) !important;
  backdrop-filter: blur(20px) !important;
  padding: 0 !important;
}

.leaflet-popup-content { margin: 0 !important; min-width: 260px; }
.leaflet-popup-tip { background: var(--glass) !important; border: 1px solid var(--w10) !important; }
.leaflet-popup-close-button { color: var(--w40) !important; font-size: 20px !important; top: 8px !important; right: 10px !important; }
.leaflet-container { background: var(--navy) !important; }

/* Popup inner styles */
.popup-inner { padding: 18px; }

.popup-status {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.popup-status.open { background: var(--green-dim); color: var(--green); border: 1px solid rgba(45,212,191,0.2); }
.popup-status.build { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(212,168,67,0.2); }

.popup-name { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.popup-loc { font-size: 13px; color: var(--w60); margin-bottom: 14px; }

.popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--w06);
}

.popup-grid-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--w40); }
.popup-grid-value { font-size: 13px; font-weight: 600; color: var(--w95); }

.popup-score {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--w06);
}

.popup-score-num {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.popup-score-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--w40); }

/* ==================== WAVE FINDER ==================== */
.finder-section { padding: 80px 0 100px; background: var(--section-alt); }

.finder-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.finder-search {
  flex: 1;
  min-width: 220px;
  position: relative;
}

.finder-search input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 20px 12px 44px;
  border-radius: 10px;
  border: 1px solid var(--w10);
  background: var(--w04);
  color: var(--white);
  outline: none;
  transition: all 0.3s;
}

.finder-search input::placeholder { color: var(--w40); }
.finder-search input:focus { border-color: var(--teal); background: var(--w06); }

.finder-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--w20);
  fill: none;
  stroke-width: 2;
}

.pill {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--w10);
  background: var(--w04);
  color: var(--w60);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.pill:hover { border-color: var(--w20); color: var(--w80); }
.pill.active { background: var(--teal-glow); border-color: rgba(0,180,216,0.3); color: var(--teal-light); }

.finder-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--w40);
  margin-bottom: 20px;
}

/* Pool cards grid */
.pool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

.pool-card {
  background: var(--navy-mid);
  border: 1px solid var(--w08, rgba(255,255,255,0.08));
  border-radius: var(--radius);
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.pool-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.pool-card:hover .pool-card-image {
  transform: scale(1.04);
}

.pool-card-image-wrap {
  overflow: hidden;
  position: relative;
}

.pool-card-image-wrap .pool-card-score {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.pool-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pool-card:hover {
  border-color: rgba(0,180,216,0.15);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.pool-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pool-card-info { flex: 1; }
.pool-card-name { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.pool-card-loc { font-size: 13px; color: var(--w60); }

.pool-card-score {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  border: 2px solid;
}

.pool-card-score.high { border-color: var(--teal); color: var(--teal-light); background: var(--teal-glow2); }
.pool-card-score.mid { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.pool-card-score.low { border-color: var(--coral); color: var(--coral); background: var(--coral-dim); }
.pool-card-score.none { border-color: var(--w10); color: var(--w20); background: var(--w04); font-size: 11px; }

.pool-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.pool-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--w04);
  color: var(--w40);
  border: 1px solid var(--w06);
}

.pool-tag.tech { color: var(--teal); background: var(--teal-glow2); border-color: rgba(0,180,216,0.1); }
.pool-tag.barrel { color: var(--coral-bright); background: var(--coral-dim); border-color: rgba(224,122,95,0.15); }
.pool-tag.status-open { color: var(--green); background: var(--green-dim); border-color: rgba(45,212,191,0.15); }
.pool-tag.status-build { color: var(--gold); background: var(--gold-dim); border-color: rgba(212,168,67,0.15); }

.pool-card-stats { display: flex; gap: 16px; }

.pool-stat-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--w40); }
.pool-stat-value { font-size: 14px; font-weight: 600; color: var(--w95); }

.pool-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--w06);
}

.pool-card-price { font-weight: 700; color: var(--coral-bright); font-size: 14px; }
.pool-card-year { font-family: var(--font-mono); font-size: 11px; color: var(--w20); }

/* ==================== RANKING ==================== */
.ranking-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), transparent);
}

.rank-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  overflow-x: auto;
}

.rank-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--w06);
  background: transparent;
  color: var(--w40);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.rank-tab:hover { color: var(--white); border-color: var(--w10); }
.rank-tab.active { background: var(--teal-glow); border-color: rgba(0,180,216,0.3); color: var(--teal-light); }

.rank-list { display: flex; flex-direction: column; gap: 6px; }

.rank-row {
  display: grid;
  grid-template-columns: 48px 2fr 100px 80px 80px 80px 120px;
  align-items: center;
  padding: 14px 18px;
  background: var(--navy-mid);
  border: 1px solid var(--w04);
  border-radius: var(--radius-sm);
  transition: all 0.25s;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.rank-row:hover { background: var(--navy-light); border-color: var(--w10); }

.rank-row.header {
  background: transparent;
  border-color: transparent;
  padding: 8px 18px;
}

.rank-row.header span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--w20);
}

.rank-position { font-weight: 800; font-size: 16px; text-align: center; color: var(--w20); }
.rank-position.gold { color: var(--gold); }

.rank-name { display: flex; flex-direction: column; }
.rank-name-main { font-weight: 600; font-size: 14.5px; }
.rank-name-sub { font-size: 12px; color: var(--w40); }

.rank-total { font-weight: 800; font-size: 20px; text-align: center; }
.rank-total.high { color: var(--teal-light); }
.rank-total.mid { color: var(--gold); }

.rank-sub { text-align: center; font-size: 13px; color: var(--w60); }
.rank-price { text-align: right; font-weight: 600; font-size: 13px; color: var(--coral-bright); }

.rank-bar { width: 100%; height: 4px; background: var(--w04); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.rank-bar-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--teal-light)); }

/* ==================== SINGLE POOL PAGE ==================== */
.pool-hero {
  padding: 120px 0 60px;
  position: relative;
}

.pool-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.pool-hero-score {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--teal);
  background: var(--teal-glow2);
  flex-shrink: 0;
}

.pool-hero-score-num { font-size: 36px; font-weight: 900; color: var(--teal-light); }
.pool-hero-score-label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 1px; text-transform: uppercase; color: var(--w40); }

.pool-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.pool-detail-item {
  background: var(--navy-mid);
  border: 1px solid var(--w10);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.pool-detail-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--w60); margin-bottom: 6px; }
.pool-detail-value { font-size: 18px; font-weight: 700; }

.pool-scores-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 32px 0;
  border-top: 1px solid var(--w06);
  border-bottom: 1px solid var(--w06);
}

.pool-score-item { text-align: center; }
.pool-score-item-label { font-family: var(--font-mono); font-size: 9px; color: var(--w40); text-transform: uppercase; margin-bottom: 6px; }
.pool-score-item-value { font-size: 28px; font-weight: 800; color: var(--teal-light); }
.pool-score-item-max { font-family: var(--font-mono); font-size: 10px; color: var(--w20); }

/* ==================== FOOTER ==================== */
.site-footer {
  border-top: 1px solid var(--w06);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand { max-width: 320px; }
.footer-brand-name { font-weight: 800; font-size: 20px; margin-bottom: 10px; }
.footer-brand-name b { color: var(--teal); }
.footer-brand-desc { font-size: 13px; color: var(--w60); line-height: 1.65; }

.footer-col-title { font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--w40); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--w60); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--w06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy { font-family: var(--font-mono); font-size: 10px; color: var(--w40); }

.footer-langs { display: flex; gap: 12px; }
.footer-langs span { font-size: 12px; color: var(--w40); cursor: pointer; transition: color 0.2s; }
.footer-langs span:hover { color: var(--teal); }
.footer-langs span.active { color: var(--teal); font-weight: 600; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-counters { gap: 24px; }
  .hero-counter-number { font-size: 28px; }
  .pool-grid { grid-template-columns: 1fr; }
  .rank-row { grid-template-columns: 36px 1.5fr 70px 70px; }
  .rank-row .rank-hide { display: none; }
  .footer-inner { flex-direction: column; }
  .pool-hero-inner { flex-direction: column; }
  .pool-scores-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-strip { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 600px) {
  .hero-counters { flex-direction: column; gap: 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .map-wrap { height: 450px; }
  .rank-row { grid-template-columns: 32px 1fr 60px; }
  .pool-detail-grid { grid-template-columns: 1fr 1fr; }
  .pool-scores-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-strip-grid { grid-template-columns: 1fr !important; height: auto !important; }
  .photo-strip-grid > div { height: 150px !important; }
}

/* ==================== WP ADMIN BAR FIX ==================== */
.admin-bar .site-nav { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .site-nav { top: 46px; }
}
