/* The Hyzer Line — dirt-under-the-nails Kentucky disc golf hub
   Deep woodland #09120d · Lime #b7f26d · Amber/gold #f2d16d */

:root {
  --bg: #0b130e;
  --bg-elevated: #121a12;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.085);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(183, 242, 109, 0.3);
  --text: #f4f7f2;
  --text-muted: #c8d5c2;
  --lime: #b7f26d;
  --lime-soft: rgba(183, 242, 109, 0.14);
  --gold: #f2d16d;
  --gold-soft: rgba(242, 209, 109, 0.14);
  --sky: #5ba8ff;
  --sky-soft: rgba(91, 168, 255, 0.1);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --max: 1120px;
  --pad-x: clamp(1rem, 4vw, 1.5rem);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --shadow-card: 0 8px 28px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.42);
  --ease: 0.22s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(180, 120, 50, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 40% at 80% 100%, rgba(90, 70, 30, 0.05), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--lime);
  text-decoration: none;
  transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

a:hover {
  color: #d4f9a0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* ——— Live pulse ribbon ——— */

.live-pulse {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem var(--pad-x);
  background: linear-gradient(90deg, #0a1a10 0%, #132a1a 50%, #0a1a10 100%);
  border-bottom: 1px solid var(--border-strong);
  overflow: hidden;
}

.live-pulse__dot {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(183, 242, 109, 0.55);
  animation: pulse-dot 1.8s ease-out infinite;
}

.live-pulse__track {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.live-pulse__track strong {
  color: var(--lime);
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(183, 242, 109, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(183, 242, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(183, 242, 109, 0); }
}

/* ——— Hero & Nav ——— */

.hero {
  position: relative;
  isolation: isolate;
  /* no overflow:hidden — keeps sticky nav working inside the hero */
  padding: 1rem var(--pad-x) 3.25rem;
  min-height: clamp(28rem, 72vh, 40rem);
  background: #0a120c;
}

/* Full-bleed atmospheric photo + ken-burns via background (respects reduced-motion) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("images/courses/west-sixth-hole4-wash.jpg");
  background-repeat: no-repeat;
  background-position: 50% 40%;
  background-size: 106% 106%;
  animation: hero-kenburns 40s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(18, 22, 12, 0.42) 0%,
      rgba(28, 32, 16, 0.48) 32%,
      rgba(14, 18, 12, 0.78) 68%,
      rgba(11, 19, 14, 0.96) 100%
    ),
    linear-gradient(
      115deg,
      rgba(60, 42, 18, 0.28) 0%,
      rgba(40, 50, 28, 0.12) 45%,
      rgba(20, 28, 16, 0.35) 100%
    );
  pointer-events: none;
}

@keyframes hero-kenburns {
  from {
    background-size: 106% 106%;
    background-position: 50% 40%;
  }
  to {
    background-size: 110% 110%;
    background-position: 48% 36%;
  }
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

.nav {
  position: sticky;
  top: 0.75rem;
  z-index: 100;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(9, 18, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.01em;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: var(--text);
  min-height: 44px;
}

.brand:hover {
  color: var(--text);
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.footer-brand .logo-img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
}

.nav-links a:hover {
  color: var(--bg);
  background: var(--lime);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem 0.6rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.hero-content {
  max-width: 44rem;
  margin: clamp(2.75rem, 7vw, 5rem) auto 1.5rem;
  padding: 0 0.25rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.75rem;
  background: var(--lime-soft);
  color: var(--lime);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow--hero {
  background: rgba(242, 209, 109, 0.12);
  color: var(--gold);
  border-color: rgba(242, 209, 109, 0.35);
}

.eyebrow--tiny {
  margin: 0;
  font-size: 0.7rem;
  padding: 0.22rem 0.6rem;
}

.hero-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.85rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

.hero-lede {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.18rem);
  max-width: 38rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  background: var(--lime);
  color: #09120d;
  box-shadow: 0 6px 20px rgba(183, 242, 109, 0.28);
}

.button.primary:hover {
  background: #c8f78a;
  color: #09120d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border);
}

.button.ghost:hover {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.hero-stats {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.hero-stats li {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.35rem 0;
  border-left: 2px solid var(--border-strong);
  padding-left: 0.85rem;
}

.hero-stats strong {
  color: var(--lime);
  font-weight: 800;
}

/* ——— Quick jumps ribbon ——— */

.ribbon {
  max-width: var(--max);
  margin: 1.75rem auto 0;
  padding: 0 var(--pad-x);
}

.ribbon-label {
  margin: 0 0 0.65rem;
}

.ribbon-track {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.ribbon-track a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  background: var(--bg-card);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 700;
}

.ribbon-track a:hover {
  color: var(--bg);
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px) rotate(-0.5deg);
}

.ribbon-emoji {
  font-size: 1rem;
  line-height: 1;
}

/* ——— Sections ——— */

main {
  overflow-x: clip;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad-x);
}

.section-title {
  margin-bottom: 1.85rem;
  max-width: 44rem;
}

.section-title .eyebrow {
  margin-bottom: 0.85rem;
}

.section-title h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

.section-title p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

/* Shared cards */

.event-card,
.story-card,
.link-box,
.calendar-column,
.directory-note,
.county-card,
.rss-item,
.weekend-card,
.map-panel,
.radar-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--border);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
}

.event-card:hover,
.story-card:hover,
.link-box:hover,
.rss-item:hover,
.weekend-card:hover,
.county-card:hover,
.radar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.event-card h3,
.story-card h3,
.link-box h3,
.calendar-column h3,
.rss-item h3,
.weekend-card h3,
.map-panel h3,
.radar-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.event-card p,
.story-card p,
.rss-item p,
.radar-card p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.event-card > a,
.event-card .card-body > a,
.weekend-card > a,
.weekend-card .card-body > a,
.radar-card > a,
.radar-card .card-body > a {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ——— Picture cards (media frames) ——— */

.has-media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.has-media > .card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a1510;
  border-radius: 0;
}

.card-media--sm {
  aspect-ratio: 16 / 9;
}

.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.has-media:hover .card-media img,
.story-card--lead:hover .card-media img,
.national-banner:hover img {
  transform: scale(1.045);
}

/* ——— Section atmosphere (soft photo washes) ——— */

.section--atmos {
  position: relative;
  z-index: 0;
}

.section--atmos::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section--events::before {
  background:
    linear-gradient(180deg, rgba(14, 18, 12, 0.92) 0%, rgba(28, 26, 14, 0.88) 45%, rgba(11, 19, 14, 0.95) 100%),
    url("images/courses/west-sixth-hole4-wash.jpg");
  opacity: 1;
}

.section--weekend::before {
  background:
    linear-gradient(180deg, rgba(14, 18, 12, 0.93) 0%, rgba(24, 28, 16, 0.9) 50%, rgba(11, 19, 14, 0.96) 100%),
    url("images/courses/blue-goose-field-goal-wash.jpg");
}

.section--national::before {
  background:
    linear-gradient(180deg, rgba(14, 18, 12, 0.93) 0%, rgba(30, 28, 16, 0.88) 40%, rgba(11, 19, 14, 0.96) 100%),
    url("images/courses/west-sixth-hole4-wash.jpg");
}

.section--stories::before {
  background:
    linear-gradient(180deg, rgba(14, 18, 12, 0.93) 0%, rgba(22, 26, 14, 0.88) 50%, rgba(11, 19, 14, 0.96) 100%),
    url("images/courses/blue-goose-field-goal-wash.jpg");
}

/* National wide banner */
.national-banner {
  margin: 0 0 1.35rem;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a1510;
  box-shadow: var(--shadow-card);
  position: relative;
}

.national-banner img {
  display: block;
  width: 100%;
  height: clamp(9rem, 28vw, 16rem);
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.55s ease;
}

.national-banner figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.75rem 1.15rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(180deg, transparent, rgba(4, 10, 7, 0.88));
}

/* ——— Event cards ——— */

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1.15rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.65rem;
}

.date-pill {
  display: inline-block;
  background: var(--lime-soft);
  color: var(--lime);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid var(--border-strong);
}

.event-loc {
  margin: 0 !important;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.event-tag {
  display: inline-block;
  margin: 0 0 0.55rem !important;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.spotlight {
  border-color: rgba(183, 242, 109, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(183, 242, 109, 0.12);
  background: linear-gradient(165deg, rgba(183, 242, 109, 0.08), rgba(255, 255, 255, 0.04));
}

.spotlight:hover {
  border-color: var(--lime);
}

.spotlight .date-pill {
  background: rgba(183, 242, 109, 0.22);
}

.spotlight .event-tag {
  color: var(--lime);
}

/* ——— Info / calendar columns ——— */

.info-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}

.info-columns--single {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.info-columns--single .calendar-column {
  padding: 1.1rem 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.info-columns--single .calendar-column h3 {
  margin-top: 0;
}

.calendar-column {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.calendar-column a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.35rem;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
}

.calendar-column a:hover {
  color: var(--lime);
  border-bottom-color: var(--border-strong);
}

/* ——— Weekend ——— */

.weekend-section {
  border-top: 1px solid transparent;
}

.weekend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.1rem;
}

.featured-weekend {
  border-color: rgba(183, 242, 109, 0.32);
  min-height: 100%;
  background: linear-gradient(165deg, rgba(183, 242, 109, 0.07), rgba(255, 255, 255, 0.04));
}

.weekend-tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  background: var(--lime-soft);
  color: var(--lime);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
}

.weekend-meta {
  color: var(--gold) !important;
  margin-bottom: 0.85rem !important;
  font-weight: 700;
  font-size: 0.92rem;
}

.weekend-note {
  margin-top: 1.5rem;
  background: var(--sky-soft);
  border: 1px solid rgba(91, 168, 255, 0.22);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  color: #d8e7ff;
}

.weekend-note strong {
  color: #fff;
}

/* ——— RSS ——— */

.rss-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(14, 26, 20, 0.55), transparent);
}

.rss-feed {
  display: grid;
  gap: 1rem;
}

.rss-item h3 {
  margin-bottom: 0.4rem;
}

.rss-item h3 a {
  color: var(--text);
}

.rss-item h3 a:hover {
  color: var(--lime);
}

.rss-item small {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* ——— National radar ——— */

.radar-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.radar-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.radar-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.7rem;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(242, 209, 109, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.radar-meta {
  color: var(--lime) !important;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.55rem !important;
}

.radar-card > a,
.radar-card .card-body > a {
  margin-top: auto;
}

.radar-card.has-media .card-body {
  flex: 1;
}

.radar-links {
  margin-top: 0.25rem;
}

.link-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.1rem;
}

.link-box {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.link-box a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
  color: var(--text-muted);
}

.link-box a:hover {
  color: var(--lime);
}

/* ——— Stories ——— */

.story-card--lead {
  max-width: none;
  margin-bottom: 1.35rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background:
    linear-gradient(135deg, rgba(183, 242, 109, 0.08) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(242, 209, 109, 0.06) 100%);
  border-color: rgba(183, 242, 109, 0.28);
  position: relative;
  overflow: hidden;
}

.story-card--lead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  z-index: 2;
  background: linear-gradient(180deg, var(--lime), var(--gold));
}

.story-card--lead .card-media {
  margin: 0;
  aspect-ratio: 1 / 1;
  min-height: 0;
  height: auto;
  max-height: none;
  align-self: stretch;
  border-radius: 0;
}

.story-card--lead .card-body {
  padding: clamp(1.35rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-lead-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}

.story-kicker {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.story-deck {
  margin: 0 !important;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.story-card--lead h3 {
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.05rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  max-width: 28ch;
  text-wrap: balance;
}

.story-lede {
  font-size: 1.08rem;
  color: var(--text) !important;
  max-width: 52rem;
  font-weight: 500;
}

.story-body {
  max-width: 48rem;
  columns: 1;
}

.story-body p:last-child {
  margin-bottom: 0;
}

.story-card p:last-child {
  margin-bottom: 0;
}

/* ——— Map ——— */

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: 1.1rem;
  align-items: stretch;
}

#kentucky-map {
  width: 100%;
  height: 520px;
  min-height: 520px;
  border-radius: 22px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  z-index: 0;
}

#kentucky-map .map-error {
  padding: 1.5rem;
  color: var(--text-muted);
}

.map-panel h3 {
  margin-top: 0;
}

.map-panel p {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.map-legend {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.legend-dot {
  display: inline-block;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sky);
  border: 2px solid var(--lime);
}

.legend-dot.big {
  width: 28px;
  height: 28px;
  background: var(--gold);
}

.legend-dot.medium {
  width: 22px;
  height: 22px;
}

.legend-dot.small {
  width: 16px;
  height: 16px;
}

.map-note {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0 !important;
}

.leaflet-container {
  background: #0e1a14;
  font: inherit;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-card);
}

.leaflet-popup-content a {
  color: var(--lime);
  font-weight: 700;
}

.leaflet-control-attribution {
  background: rgba(9, 18, 13, 0.85) !important;
  color: var(--text-muted) !important;
}

.leaflet-control-attribution a {
  color: var(--lime) !important;
}

/* ——— Courses directory ——— */

.directory-note {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.directory-note strong {
  color: var(--text);
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  background: var(--lime-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  color: var(--lime);
  font-weight: 600;
  font-size: 0.88rem;
}

.source-links a:hover {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--lime);
}

.course-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}

.county-card {
  scroll-margin-top: 5.5rem;
  padding: 0;
  overflow: hidden;
}

.county-card summary {
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  min-height: 52px;
  list-style: none;
}

.county-card summary::-webkit-details-marker {
  display: none;
}

.county-card summary::after {
  content: "+";
  color: var(--lime);
  font-size: 1.2rem;
  font-weight: 400;
  flex-shrink: 0;
}

.county-card[open] summary::after {
  content: "−";
}

.county-card summary span {
  color: var(--gold);
  font-size: 0.85rem;
  white-space: nowrap;
  font-weight: 700;
}

.county-card ul {
  margin: 0;
  padding: 0 1.25rem 1.15rem 2.4rem;
  color: var(--text-muted);
}

.county-card li {
  margin-bottom: 0.35rem;
}

.county-card li:last-child {
  margin-bottom: 0;
}

/* ——— Footer ——— */

footer {
  text-align: center;
  padding: 2.75rem var(--pad-x);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-elevated);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 800;
  margin-bottom: 0.5rem !important;
}

footer p {
  margin: 0.35rem 0;
}

.social-links a {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.25rem;
}

/* ——— Mobile ——— */

@media (max-width: 900px) {
  .radar-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .map-layout {
    grid-template-columns: 1fr;
  }

  #kentucky-map {
    height: 380px;
    min-height: 380px;
  }

  .story-card--lead {
    grid-template-columns: 1fr;
  }

  .story-card--lead .card-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
    max-height: 240px;
  }

  .national-banner img {
    height: 10.5rem;
  }

  .has-media:hover .card-media img,
  .story-card--lead:hover .card-media img,
  .national-banner:hover img {
    transform: none;
  }

  .event-card:hover,
  .story-card:hover,
  .link-box:hover,
  .rss-item:hover,
  .weekend-card:hover,
  .county-card:hover,
  .radar-card:hover,
  .ribbon-track a:hover,
  .button.primary:hover,
  .button.ghost:hover {
    transform: none;
  }
}

@media (max-width: 700px) {
  .live-pulse {
    align-items: flex-start;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .live-pulse__track {
    font-size: 0.78rem;
    gap: 0.25rem 0.65rem;
  }

  .nav {
    border-radius: 16px;
    align-items: center;
    position: relative;
    top: 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex-basis: 100%;
    gap: 0.15rem;
    padding: 0.35rem 0 0.5rem;
    border-top: 1px solid var(--border);
    margin-top: 0.15rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
  }

  .hero {
    padding-top: 0.75rem;
    min-height: 0;
  }

  .hero-content {
    margin-top: 2.25rem;
  }

  .hero-stats {
    gap: 0.35rem 0;
    flex-direction: column;
  }

  .ribbon {
    margin-top: 1.25rem;
  }

  .ribbon-track a {
    min-height: 44px;
  }

  .section {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .info-columns,
  .link-columns,
  .event-grid,
  .course-directory,
  .weekend-grid {
    grid-template-columns: 1fr;
  }

  .story-card--lead h3 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .live-pulse__dot {
    animation: none;
  }

  .hero::before {
    animation: none !important;
    background-size: 106% 106%;
    background-position: 50% 40%;
  }

  .card-media img,
  .national-banner img {
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ——— Courses / map helpers ——— */

.map-cta {
  display: inline-flex;
  margin-top: 0.5rem;
  text-align: center;
  justify-content: center;
}

.hero--compact {
  min-height: auto;
  padding-bottom: 2.5rem;
}

.hero--compact .hero-content {
  padding-top: 1rem;
}

.rss-status,
.rss-fallback-note {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.rss-item--fallback {
  border-style: dashed;
}

.nav-links a[aria-current="page"] {
  color: var(--lime);
}

/* ——— Story pages (article / prose) ——— */

.story-article {
  max-width: var(--max);
  margin: 0 auto;
}

.article-meta {
  margin-bottom: 1.25rem;
}

.article-byline {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose strong {
  color: var(--text);
}

.series-hook {
  margin: 1.75rem 0 0;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong);
  background: var(--lime-soft);
}

.series-hook p {
  margin: 0.35rem 0 0;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* ——— Story photo gallery ——— */

.story-gallery {
  margin: 1.5rem 0 1.75rem;
  max-width: none;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.photo-grid figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.photo-grid figure.photo-grid__feature {
  grid-column: 1 / -1;
}

.photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  object-position: center;
  background: #0a1510;
}

.photo-grid__feature img {
  max-height: 34rem;
  object-position: center 35%;
}

.photo-grid figcaption {
  margin: 0;
  padding: 0 0.85rem 0.85rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.central-photo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0.85rem;
  margin: 1.75rem 0 0;
}

.central-photo-row + .central-photo-row {
  margin-top: 0.85rem;
}

.central-photo-row .central-photo {
  margin: 0;
}

.central-photo {
  margin: 1.35rem 0 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.central-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: cover;
  object-position: center 40%;
}

.central-photo figcaption {
  margin: 0;
  padding: 0.7rem 0.95rem 0.9rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (max-width: 700px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid img,
  .photo-grid__feature img {
    max-height: 22rem;
  }
}

/* Story card CTAs */

.story-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--lime-soft);
  color: var(--lime);
  font-weight: 700;
  font-size: 0.92rem;
}

.story-cta:hover {
  color: #09120d;
  background: var(--lime);
  border-color: var(--lime);
}

.story-card--lead .story-cta {
  margin-top: 1rem;
}

/* Score strip (recap) */

.score-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.score-pill {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: grid;
  gap: 0.15rem;
}

.score-pill--ky {
  border-color: rgba(242, 209, 109, 0.35);
  background: var(--gold-soft);
}

.score-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.score-pill strong {
  font-size: 1rem;
}

.score-num {
  color: var(--lime);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Clubs directory */

.clubs-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0 1.5rem;
}

.clubs-column {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.clubs-column h3 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
}

.clubs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.clubs-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.clubs-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.clubs-host {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.85;
}

.clubs-list--plain li {
  display: block;
}

.clubs-note {
  margin-top: 0.5rem;
}

/* Central KY map */

#central-kentucky-map {
  width: 100%;
  height: 400px;
  min-height: 400px;
  border-radius: 22px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  z-index: 0;
}

#central-kentucky-map .map-error {
  padding: 1.5rem;
  color: var(--text-muted);
}

.map-layout--central {
  margin-bottom: 0.5rem;
}

.central-course-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.course-note {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}

.county-jump {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  #central-kentucky-map {
    height: 340px;
    min-height: 340px;
  }

  .score-strip {
    grid-template-columns: 1fr 1fr;
  }
}

.section-more {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.section-more a {
  color: var(--lime);
  font-weight: 600;
  text-underline-offset: 0.15em;
}
.section-more a:hover {
  text-decoration: underline;
}


/* ——— Explore tiles (home dashboard) ——— */

.explore-section {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.explore-tile {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 7.5rem;
}

.explore-tile:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--lime) 55%, var(--border));
  box-shadow: var(--shadow-md);
}

.explore-tile__icon {
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.explore-tile__label {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--lime);
}

.explore-tile__hint {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.see-all {
  display: flex;
  justify-content: center;
  margin: 1.35rem 0 0;
}

.weekend-note a {
  color: var(--lime);
  font-weight: 600;
  text-underline-offset: 0.15em;
}

.weekend-note a:hover {
  text-decoration: underline;
}

.section--peek .section-title h2 {
  max-width: 28ch;
}

@media (max-width: 1100px) {
  .explore-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .explore-tile {
    min-height: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
    padding: 0.95rem 1rem;
  }

  .explore-tile__icon {
    margin-bottom: 0;
  }

  .explore-tile__hint {
    flex-basis: 100%;
    padding-left: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .explore-tile:hover {
    transform: none;
  }
}

/* ——— Guest course review form ——— */

.review-pitch {
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong);
  background: var(--lime-soft);
}

.review-form {
  max-width: 42rem;
  margin: 0 auto 0.5rem;
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.review-form__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.review-form__fieldset {
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
}

.review-form__legend {
  display: block;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.review-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.85rem 1rem;
}

.review-form__field {
  margin: 0 0 0.95rem;
}

.review-form__fieldset .review-form__row .review-form__field {
  margin-bottom: 0;
}

.review-form__fieldset .review-form__row + .review-form__field,
.review-form__fieldset > .review-form__field {
  margin-top: 0.95rem;
}

.review-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.review-form__required {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.8rem;
}

.review-form__optional,
.review-form__hint {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.8rem;
}

.review-form input[type="text"],
.review-form input[type="email"],
.review-form textarea {
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  line-height: 1.45;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.review-form textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.review-form input::placeholder,
.review-form textarea::placeholder {
  color: rgba(200, 213, 194, 0.55);
}

.review-form input:hover,
.review-form textarea:hover {
  border-color: rgba(183, 242, 109, 0.35);
}

.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(183, 242, 109, 0.22);
  background: rgba(0, 0, 0, 0.38);
}

.review-form__note {
  margin: 0.25rem 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.review-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.review-form button.button {
  font-family: inherit;
}

.review-cta-card {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.review-cta-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.review-cta-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.review-cta-card .actions {
  margin-top: 0;
}

.quiet-review-link {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.quiet-review-link a {
  font-weight: 600;
}
