/* ILovePickleball.com: shared base styles and design tokens.
   Layout styles are inline on each element; colors and fonts read from the tokens below. */
:root {
  --ink: #0F1614;            /* header, footer, dark cards, body text */
  --forest: #12261F;         /* dark green sections */
  --forest-2: #1B382E;       /* rows and panels on dark green */
  --green: #2B5746;          /* links, eyebrows, accents on light */
  --green-brand: #5D937D;    /* logo green: large display use only */
  --yellow: #FFF924;         /* logo yellow: primary buttons, highlights */
  --paper: #F4F5F0;          /* page background */
  --muted: #4A5650;          /* secondary text on light */
  --line: #DDE1D8;           /* borders on light */
  --on-dark-muted: #C9D2CD;  /* secondary text on dark */
  --on-dark-soft: #E3ECE7;   /* body text on dark */
  --font-display: Fraunces, Georgia, serif;      /* headings: weight 900 + 'SOFT' 100 matches the logo */
  --font-body: Inter, system-ui, sans-serif;
}
body { margin: 0; background: var(--paper); }
a { color: var(--green); }
a:hover { color: var(--ink); }
input::placeholder { color: #8A968F; }
.row:hover { background: var(--paper); }
.st { break-inside: avoid; }

/* State page map (Leaflet) */
.ilp-pin span { width: 30px; height: 30px; box-sizing: border-box; border-radius: 50%; background: var(--ink); border: 2px solid #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(15,22,20,.35); }
.leaflet-container .leaflet-marker-pane .ilp-pin img { width: 16px !important; height: auto !important; }
.ilp-pin--top span { border-color: var(--yellow); }
.ilp-cluster span { width: 100%; height: 100%; box-sizing: border-box; border-radius: 50%; background: var(--ink); color: var(--yellow); border: 3px solid rgba(255,249,36,.55); display: flex; align-items: center; justify-content: center; font: 700 14px var(--font-body); box-shadow: 0 2px 8px rgba(15,22,20,.35); }
.leaflet-container { font-family: var(--font-body); }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content { margin: 14px 16px; }
.ilp-pop__city { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.ilp-pop__name { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.2; color: var(--ink); margin: 3px 0 8px; }
.ilp-pop__facts { display: flex; flex-wrap: wrap; gap: 5px; }
.ilp-pop__facts span { font-size: 11px; font-weight: 600; color: var(--green); background: #E6EEE9; border-radius: 999px; padding: 3px 9px; }
.ilp-pop__links { display: flex; gap: 14px; margin-top: 10px; font-size: 13px; font-weight: 600; }

/* Main menu: links turn brand yellow on hover */
nav[aria-label="Main"] a { transition: color .15s ease; }
nav[aria-label="Main"] a:hover, nav[aria-label="Main"] a:focus-visible { color: var(--yellow) !important; }
/* header "Free guide" pill fills yellow on hover */
nav[aria-label="Main"] a[href="free-guide.html"] { transition: background .15s ease, color .15s ease; }
nav[aria-label="Main"] a[href="free-guide.html"]:hover, nav[aria-label="Main"] a[href="free-guide.html"]:focus-visible { background: var(--yellow); color: var(--ink) !important; }
/* homepage hero: quick-search chips under the search bar fill yellow on hover */
.hero-chips a { transition: background .15s ease, color .15s ease, border-color .15s ease; }
.hero-chips a:hover, .hero-chips a:focus-visible { background: var(--yellow) !important; border-color: var(--yellow) !important; color: var(--ink) !important; }
