/* === KELOWNA GOLF GUIDE — MASTER STYLESHEET === */

:root {
  --green-dark: #0a2f1e;
  --green-mid: #2d5a3d;
  --green-light: #4a7c59;
  --green-pale: #e8f0eb;
  --gold: #c9922a;
  --gold-light: #f0c96a;
  --gold-pale: #fdf5e6;
  --cream: #faf8f4;
  --white: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #7a7a7a;
  --border: #e2e2e2;
  --border-light: #f0f0f0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --nav-height: 100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
.nav-links-center li, .nav-links-left li { display: flex; align-items: center; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
em { font-style: italic; color: var(--gold); }
p { color: var(--text-secondary); line-height: 1.75; }

/* === LAYOUT === */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-alt { background: var(--white); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); }

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50px;
  padding: 5px 16px;
  margin-bottom: 16px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,58,42,0.3);
}
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: white;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline:hover {
  background: var(--green-dark);
  color: white;
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-lg { padding: 17px 40px; font-size: 1rem; }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: #0a2f1e;
  border-bottom: 2px solid rgba(201, 146, 42, 0.6);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav.scrolled {
  background: #0a2f1e;
  border-bottom: 2px solid rgba(201, 146, 42, 0.6);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav.solid {
  background: #0a2f1e;
  border-bottom: 2px solid rgba(201, 146, 42, 0.6);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 8px;
}
.nav-logo-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  justify-self: start;
}
.nav-links-center {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links-center a {
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 400;
  padding: 7px 9px;
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  display: block;
}
.nav-links-center a:hover, .nav-links-center a.active {
  color: white;
  background: rgba(255,255,255,0.12);
}
.nav-links-left {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: flex-start;
  flex-wrap: nowrap;
}
.nav-links-left a {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 400;
  padding: 8px 10px;
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links-left a:hover, .nav-links-left a.active {
  color: white;
  background: rgba(255,255,255,0.12);
}
.nav-logo-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  justify-self: end;
}

/* === CONDITIONS BUTTON (Option B) === */
.weather-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s;
}
.weather-pill:hover { background: rgba(255,255,255,0.14); }
.wp-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wp-icon {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}
.wp-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.wp-temp {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
  line-height: 1.2;
}
.wp-desc {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  line-height: 1.2;
}
.wp-right {
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 12px;
  flex-shrink: 0;
}
.wp-conditions-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}
.wp-divider { display: none; }
.wp-saying { display: none; }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}
.logo-img {
  height: 90px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-logo-left .logo-img {
  height: 72px !important;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 400;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.12);
}
.nav-cta, .nav-links-left .nav-cta, .nav-links-center .nav-cta {
  background: var(--gold) !important;
  color: white !important;
  font-weight: 500 !important;
}
.nav-cta:hover, .nav-links-left .nav-cta:hover, .nav-links-center .nav-cta:hover {
  background: #b07a20 !important;
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 15s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 45, 30, 0.82) 0%,
    rgba(20, 45, 30, 0.55) 50%,
    rgba(20, 45, 30, 0.4) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 120px 24px 80px;
  margin: 0 auto;
  text-align: center;
  animation: fadeUp 1s ease 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201,146,42,0.5);
  background: rgba(201,146,42,0.12);
  border-radius: 50px;
  padding: 6px 20px;
  margin-bottom: 24px;
  animation: fadeUp 1s ease 0.1s both;
}
.hero-title {
  color: white;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  font-weight: 700;
}
.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 16px 32px;
  display: inline-flex;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.hero-stat strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-light);
  font-weight: 700;
  line-height: 1;
}
.hero-stat span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
}
/* === HERO END === */

/* === FEATURED THIS MONTH === */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.featured-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.featured-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
}
.featured-card-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.featured-card-img-wrap img {
  transition: transform 0.6s ease;
}
.featured-card:hover .featured-card-img-wrap img {
  transform: scale(1.05);
}
.featured-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}
.featured-card-rating {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: white;
  border-radius: 50px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stars { color: var(--gold-light); letter-spacing: -1px; }
.featured-card-body {
  padding: 28px;
}
.featured-card-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.featured-card-body h3 {
  margin-bottom: 12px;
  color: var(--green-dark);
}
.featured-card-body p {
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.7;
}
.featured-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--green-mid);
  background: var(--green-pale);
  border-radius: 50px;
  padding: 4px 12px;
}
.featured-card-footer {
  display: flex;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.price-range { font-size: 0.88rem; color: var(--text-muted); }
.price-range strong { font-size: 1.1rem; color: var(--green-dark); font-family: var(--font-display); }

/* === COURSE CARDS === */
.filter-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 8px 20px;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green-dark);
  color: white;
  border-color: var(--green-dark);
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.course-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.course-card.hidden { display: none; }
.course-card-img {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.course-card-img img {
  transition: transform 0.5s ease;
}
.course-card:hover .course-card-img img {
  transform: scale(1.08);
}
.course-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(26,58,42,0.85);
  color: white;
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 50px;
}
.course-badge-gold {
  left: auto;
  right: 12px;
  background: var(--gold);
}
.course-card-body {
  padding: 20px;
}
.course-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.region-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 3px 10px;
  border-radius: 50px;
}
.par-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: #f3f3f3;
  padding: 3px 10px;
  border-radius: 50px;
}
.course-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--green-dark);
  line-height: 1.3;
}
.course-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.course-amenities {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.course-amenities span { cursor: default; }
.course-card-footer {
  display: flex;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.course-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* === LEADERBOARD CTA BAR (Golf Courses page) === */
.lb-cta-bar {
  background: var(--green-pale);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}
.lb-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lb-cta-left {
  display: flex; align-items: center; gap: 14px;
}
.lb-cta-icon { font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.lb-cta-title {
  font-size: 0.9rem; font-weight: 600; color: var(--green-dark); line-height: 1.2;
}
.lb-cta-sub {
  font-size: 0.75rem; color: var(--text-muted); margin-top: 2px;
}
.lb-cta-btn {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  color: var(--green-dark); text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--green-dark); border-radius: 50px;
  padding: 8px 18px; transition: background 0.18s, color 0.18s; flex-shrink: 0;
}
.lb-cta-btn:hover { background: var(--green-dark); color: white; }
@media(max-width: 560px) {
  .lb-cta-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* === LEADERBOARD HOME GRID === */
.lb-home-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.lbh-row {
  display: grid;
  grid-template-columns: 44px 100px 1fr 160px;
  align-items: center;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0 16px;
  min-height: 70px;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.lbh-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--border-light);
}
.lbh-row:hover { box-shadow: var(--shadow-sm); border-color: var(--border); }
.lbh-gold { background: #fffbf0; border-color: rgba(201,146,42,0.25); }
.lbh-gold::before { background: var(--gold); }
.lbh-silver::before { background: #9aa3a8; }
.lbh-bronze::before { background: #a0673a; }
.lbh-pos {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 700;
  text-align: center; color: var(--border); line-height: 1;
}
.lbh-gold .lbh-pos { color: var(--gold); }
.lbh-silver .lbh-pos { color: #9aa3a8; }
.lbh-bronze .lbh-pos { color: #a0673a; }
.lbh-photo { padding: 8px 12px 8px 0; }
.lbh-photo img { width: 88px; height: 54px; object-fit: cover; border-radius: 8px; display: block; }
.lbh-info { min-width: 0; padding-right: 12px; }
.lbh-name {
  font-size: 1rem; font-weight: 500; color: var(--green-dark);
  line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lbh-gold .lbh-name { color: var(--green-dark); }
.lbh-meta { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; }
.lbh-bar-wrap { padding: 0 8px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.lbh-bar-track { height: 4px; background: var(--border-light); border-radius: 2px; overflow: hidden; }
.lbh-bar-fill { height: 100%; border-radius: 2px; background: var(--green-mid); transition: width 0.8s ease; }
.lbh-gold .lbh-bar-fill { background: var(--gold); }
.lbh-silver .lbh-bar-fill { background: #9aa3a8; }
.lbh-bronze .lbh-bar-fill { background: #a0673a; }
.lbh-votes { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.lbh-action { display: flex; align-items: center; justify-content: flex-end; }
.lbh-btn {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 8px 16px; border-radius: 50px;
  border: 1.5px solid var(--green-dark); background: transparent;
  color: var(--green-dark); cursor: pointer;
  transition: background 0.18s, color 0.18s; white-space: nowrap;
}
.lbh-btn:hover:not(.lbh-voted) { background: var(--green-dark); color: white; }
.lbh-btn.lbh-voted { border-color: var(--border); color: var(--text-muted); cursor: default; background: var(--green-pale); }
.lbh-btn { text-decoration: none; display: inline-block; }
@media(max-width:768px) {
  .lbh-row { grid-template-columns: 36px 76px 1fr 80px; padding: 0 10px; min-height: 60px; }
  .lbh-bar-wrap { display: none; }
  .lbh-photo img { width: 66px; height: 44px; }
}
@media(max-width:500px) {
  .lbh-row { grid-template-columns: 32px 1fr 80px; }
  .lbh-photo { display: none; }
}


.region-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.region-col {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.region-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green-pale);
}
.region-col-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.region-col-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--green-dark);
  margin: 0;
  flex: 1;
}
.region-col-count {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--green-pale);
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.region-course-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.region-course-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.region-course-list li a:hover {
  background: var(--green-pale);
  color: var(--green-dark);
}
.rcl-par {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #f3f3f3;
  padding: 2px 8px;
  border-radius: 50px;
  flex-shrink: 0;
}
.region-course-list li a:hover .rcl-par {
  background: rgba(45,90,61,0.12);
  color: var(--green-mid);
}
@media (max-width: 1024px) {
  .region-directory { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .region-directory { grid-template-columns: 1fr; }
}

/* === WHY SECTION === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--gold-pale);
  border: 1px solid rgba(201,146,42,0.15);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: white;
}
.why-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.why-card h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.blog-card-featured {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.blog-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.blog-card-img img { transition: transform 0.5s ease; }
.blog-card-featured:hover .blog-card-img img { transform: scale(1.05); }
.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gold);
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
}
.blog-card-body {
  padding: 28px;
}
.blog-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.blog-card-body h3 {
  margin-bottom: 12px;
  color: var(--green-dark);
}
.blog-card-body p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}
.read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-mid);
  transition: color var(--transition);
}
.read-more:hover { color: var(--gold); }

.blog-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-card-mini {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 120px 1fr;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.blog-card-mini:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.blog-mini-img { height: 100%; min-height: 100px; overflow: hidden; }
.blog-mini-img img { height: 100%; }
.blog-mini-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.blog-category-sm {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.blog-mini-body h4 {
  font-size: 0.9rem;
  color: var(--green-dark);
  line-height: 1.4;
  margin: 2px 0 4px;
}
.blog-meta-sm {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.read-more-sm {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-mid);
  transition: color var(--transition);
}
.read-more-sm:hover { color: var(--gold); }

/* === VOTE CTA SECTION === */
.vote-cta-section {
  background: var(--green-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.vote-cta-section::before {
  content: '';
  position: absolute;
  top: -40%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,146,42,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.vote-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.vote-cta-left .section-tag { border-color: rgba(201,146,42,0.5); color: var(--gold-light); }
.vote-cta-left h2 { color: white; margin: 12px 0 16px; }
.vote-cta-left p { color: rgba(255,255,255,0.7); margin-bottom: 28px; font-size: 0.95rem; line-height: 1.75; }
.mini-podium { display: flex; flex-direction: column; gap: 14px; }
.mp-item { display: flex; align-items: center; gap: 12px; }
.mp-medal { font-size: 1.3rem; flex-shrink: 0; }
.mp-name { font-size: 0.88rem; color: white; font-weight: 500; min-width: 180px; }
.mp-bar {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: rgba(201,146,42,0.8);
  transition: width 1s ease;
}
.mp-2 .mp-bar { background: rgba(255,255,255,0.4); }
.mp-3 .mp-bar { background: rgba(255,255,255,0.25); }

@media (max-width: 768px) {
  .vote-cta-inner { grid-template-columns: 1fr; gap: 32px; }
}


.newsletter-section {
  background: var(--gold-pale);
  border-top: 2px solid rgba(201,146,42,0.25);
  border-bottom: 2px solid rgba(201,146,42,0.25);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,146,42,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.newsletter-inner .section-tag { border-color: var(--gold); color: var(--gold); }
.newsletter-inner h2 { color: var(--green-dark); margin-bottom: 16px; }
.newsletter-inner p { color: var(--text-secondary); max-width: 480px; margin: 0 auto 36px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.newsletter-form input {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 14px 24px;
  border-radius: 50px;
  border: 1.5px solid rgba(201,146,42,0.4);
  background: white;
  color: var(--text-primary);
  width: 300px;
  outline: none;
  transition: all var(--transition);
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,146,42,0.15);
}
.newsletter-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* === FOOTER === */
.footer {
  background: #0a2f1e;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: white;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: lowercase;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* === PAGE HERO (inner pages) === */
.page-hero { background: var(--green-dark); padding: 140px 0 80px; min-height: 580px; text-align: center; position: relative; overflow: hidden; box-sizing: border-box; }
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1587174486073-ae5e5cff23aa?w=1600&q=60') center/cover;
  opacity: 0.15;
}
.page-hero-inner { position: relative; z-index: 1; width: 100%; }
.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero h1 em { color: var(--gold); }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* === COURSE DETAIL PAGE === */
.course-search-wrap {
  background: white;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.search-filter-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.search-input-wrap {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.search-input-wrap input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px 12px 44px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--cream);
  outline: none;
  transition: all var(--transition);
}
.search-input-wrap input:focus {
  border-color: var(--green-mid);
  background: white;
}
.search-input-wrap::before {
  content: '🔍';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
}
.select-filter {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 12px 20px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: white;
  color: var(--text-secondary);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
}
.select-filter:focus { border-color: var(--green-mid); }

/* === SIMULATOR PAGE === */
.sim-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.sim-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  display: grid;
  grid-template-columns: 280px 1fr;
}
.sim-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.sim-card-img {
  height: 100%;
  min-height: 240px;
  overflow: hidden;
}
.sim-card-img img { height: 100%; }
.sim-card-body { padding: 28px; }
.sim-tech-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--green-dark);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.sim-card-body h3 { color: var(--green-dark); margin-bottom: 8px; }
.sim-card-body .location { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.sim-card-body p { font-size: 0.88rem; margin-bottom: 16px; }
.sim-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.sim-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* === BLOG PAGE === */
.blog-full-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.blog-post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.blog-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }
.sidebar-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.sidebar-card h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.sidebar-search input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
}
.category-list { display: flex; flex-direction: column; gap: 8px; }
.category-list a {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 4px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition);
}
.category-list a:hover { color: var(--green-mid); }
.category-count {
  background: var(--green-pale);
  color: var(--green-mid);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 50px;
}
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: #f5f5f5;
  border-radius: 50px;
  padding: 4px 12px;
  transition: all var(--transition);
}
.tag-pill:hover {
  background: var(--green-pale);
  color: var(--green-mid);
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h2 { margin-bottom: 8px; color: var(--green-dark); }
.contact-form-card > p { margin-bottom: 32px; }
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  outline: none;
  transition: all var(--transition);
  color: var(--text-primary);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  background: white;
  box-shadow: 0 0 0 4px rgba(45,90,61,0.07);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit { width: 100%; padding: 16px; font-size: 1rem; border-radius: var(--radius-sm); }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}
.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.info-card h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.info-card p, .info-card a {
  font-size: 0.92rem;
  color: var(--green-dark);
  font-weight: 500;
  transition: color var(--transition);
}
.info-card a:hover { color: var(--gold); }
.map-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.map-placeholder {
  height: 220px;
  background: var(--green-pale);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--green-mid);
}
.map-placeholder span:first-child { font-size: 2.5rem; }
.map-placeholder span:last-child { font-size: 0.82rem; font-weight: 500; }

/* === SUCCESS/TOAST === */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--green-dark);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .sim-card { grid-template-columns: 1fr; }
  .sim-card-img { height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .blog-full-grid { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr 340px; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 80px; }
  .section { padding: 64px 0; }
  .featured-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .sim-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hamburger { display: flex; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-right { display: none; }
  .nav-links-center {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #0a2f1e;
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-links-center.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links-center a { padding: 12px 20px; display: block; width: 100%; border-radius: var(--radius-sm); }
  .nav-links-left {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #0a2f1e;
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav-links-left.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links-left a { padding: 12px 20px; display: block; width: 100%; border-radius: var(--radius-sm); }
  .nav-right { display: none; }
  .hero-stats { flex-wrap: wrap; border-radius: var(--radius-md); padding: 16px 20px; }
  .hero-stat-divider { display: none; }
  .hero-stat { padding: 8px 16px; }
  .newsletter-form input { width: 100%; }
  .search-filter-row { flex-direction: column; }
  .search-input-wrap { width: 100%; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .blog-card-mini { grid-template-columns: 1fr; }
  .blog-mini-img { height: 160px; }
}


/* ═══ COURSE DETAIL PAGES ═══ */
/* ================================================
   KELOWNA GOLF GUIDE — COURSE & SIMULATOR DETAIL PAGE
   ================================================ */
.detail-hero { position:relative;height:580px;overflow:hidden;margin-top:var(--nav-height); }
.detail-hero-img { width:100%;height:100%;object-fit:cover;object-position:center; }
.detail-hero-overlay { position:absolute;inset:0;background:linear-gradient(to top,rgba(10,47,30,0.85) 0%,rgba(10,47,30,0.3) 60%,transparent 100%); }
.detail-hero-content { position:absolute;bottom:0;left:0;right:0;padding:40px;z-index:1; }
.detail-hero-inner { max-width:1240px;margin:0 auto; }
.detail-breadcrumb { display:flex;align-items:center;gap:8px;font-size:0.75rem;color:rgba(255,255,255,0.6);margin-bottom:14px; }
.detail-breadcrumb a { color:rgba(255,255,255,0.7);transition:color 0.2s; }
.detail-breadcrumb a:hover { color:var(--gold-light); }
.detail-breadcrumb span { color:rgba(255,255,255,0.3); }
.detail-hero-title { font-family:var(--font-display);font-size:clamp(2rem,4vw,3.2rem);font-weight:700;color:white;line-height:1.15;margin-bottom:12px; }
.detail-hero-meta { display:flex;align-items:center;gap:12px;flex-wrap:wrap; }
.detail-tag { font-size:0.7rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;padding:5px 12px;border-radius:50px; }
.tag-region { background:var(--gold);color:white; }
.tag-par { background:rgba(255,255,255,0.15);color:white;backdrop-filter:blur(4px); }
.tag-award { background:rgba(201,146,42,0.25);color:var(--gold-light);border:1px solid rgba(201,146,42,0.4); }
.detail-rating { display:flex;align-items:center;gap:8px;font-size:0.85rem;color:white; }
.detail-rating .stars { color:var(--gold-light); }

.detail-section { padding:56px 0; }
.detail-layout { display:grid;grid-template-columns:1fr 320px;gap:48px;align-items:start; }
.detail-main { display:flex;flex-direction:column;gap:32px; }

.quick-info-bar { display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:var(--green-dark);border-radius:var(--radius-md);overflow:hidden; }
.qi-item { display:flex;flex-direction:column;align-items:center;padding:20px 16px;gap:4px;text-align:center;border-right:1px solid rgba(255,255,255,0.1); }
.qi-item:last-child { border-right:none; }
.qi-icon { font-size:1.3rem;margin-bottom:4px; }
.qi-label { font-size:0.62rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;color:rgba(255,255,255,0.45); }
.qi-value { font-family:var(--font-display);font-size:1.1rem;font-weight:600;color:white; }
.qi-value.gold { color:var(--gold-light); }

.detail-card { background:white;border-radius:var(--radius-md);padding:32px;border:1px solid var(--border-light);box-shadow:var(--shadow-sm); }
.detail-card h2 { font-family:var(--font-display);font-size:1.6rem;color:var(--green-dark);margin-bottom:16px; }
.detail-card h2 em { color:var(--gold);font-style:italic; }
.detail-card p { font-size:0.92rem;color:var(--text-secondary);line-height:1.8;margin-bottom:12px; }
.detail-card p:last-child { margin-bottom:0; }

.specs-grid { display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--border-light);border-radius:var(--radius-md);overflow:hidden; }
.spec-item { padding:14px 18px;border-bottom:1px solid var(--border-light);border-right:1px solid var(--border-light);display:flex;flex-direction:column;gap:2px; }
.spec-item:nth-child(even) { border-right:none;background:var(--cream); }
.spec-item:nth-last-child(-n+2) { border-bottom:none; }
.spec-key { font-size:0.65rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;color:var(--text-muted); }
.spec-val { font-size:0.9rem;font-weight:500;color:var(--text-primary); }

.amenities-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:12px; }
.amenity-item { display:flex;align-items:center;gap:10px;padding:12px 14px;background:var(--green-pale);border-radius:var(--radius-sm);font-size:0.82rem;font-weight:500;color:var(--green-mid); }
.amenity-icon { font-size:1rem;flex-shrink:0; }



.detail-sidebar { display:flex;flex-direction:column;gap:0; }

/* ── sidebar weather card ── */
.sidebar-wx-card {
  background: #0a2f1e !important;
  border-radius: var(--radius-md);
  padding: 20px 18px;
  border: 1px solid rgba(201,146,42,0.25);
  display: flex;
  flex-direction: column;
  flex: 1;
  color: white !important;
  min-height: 100%;
}
.swx-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.32) !important;
  margin-bottom: 14px;
}
.swx-loading { font-size: 0.85rem; color: rgba(255,255,255,0.4) !important; text-align: center; padding: 20px 0; }
.swx-body { display: flex; flex-direction: column; flex: 1; }
.swx-main { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.swx-icon { font-size: 2.6rem; line-height: 1; flex-shrink: 0; }
.swx-temp-block { display: flex; flex-direction: column; }
.swx-temp { font-family: var(--font-body) !important; font-size: 2.8rem; font-weight: 700; color: var(--gold-light) !important; line-height: 1; letter-spacing: -0.02em; }
.swx-desc { font-size: 0.82rem; color: rgba(255,255,255,0.55) !important; margin-top: 5px; }

/* 3x2 stat grid */
.swx-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 10px; }
.swx-cell { background: rgba(255,255,255,0.07); border-radius: 6px; padding: 9px 11px; }
.swx-cell-k { font-size: 0.62rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.4) !important; margin-bottom: 4px; display: block; }
.swx-cell-v { font-size: 0.88rem !important; font-weight: 700; color: white !important; line-height: 1.2; display: block; }
.swx-cell-v.gold { color: var(--gold-light) !important; }
.swx-wind-bar { height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 5px; overflow: hidden; }
.swx-wind-fill { height: 100%; background: var(--gold-light); border-radius: 2px; transition: width 0.6s ease; }

/* play badge */
.swx-badge { font-size: 0.72rem; font-weight: 700; border-radius: 50px; padding: 7px 14px; display: block; text-align: center; width: 100%; margin-bottom: 0; }
.swx-badge.wx-great { background: rgba(76,175,80,0.2); color: #81c784; }
.swx-badge.wx-good  { background: rgba(201,146,42,0.2); color: var(--gold-light); }
.swx-badge.wx-check { background: rgba(255,152,0,0.2); color: #ffb74d; }
.swx-badge.wx-poor  { background: rgba(244,67,54,0.2); color: #ef9a9a; }

/* separator */
.swx-sep { height: 1px; background: rgba(255,255,255,0.07); margin: 12px 0; }
.swx-section-label { font-size: 0.6rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.3) !important; margin-bottom: 8px; display: block; }

/* 5-day forecast */
.swx-forecast { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.swx-fc-day { background: rgba(255,255,255,0.04); border-radius: 5px; padding: 6px 3px; text-align: center; }
.swx-fc-d { font-size: 0.6rem !important; color: rgba(255,255,255,0.35) !important; margin-bottom: 3px; font-weight: 700; letter-spacing: 0.05em; display: block; }
.swx-fc-i { font-size: 1.1rem; line-height: 1.3; display: block; }
.swx-fc-hi { font-size: 0.78rem !important; font-weight: 700; color: var(--gold-light) !important; display: block; }
.swx-fc-lo { font-size: 0.68rem !important; color: rgba(255,255,255,0.3) !important; display: block; }

/* time of day */
.swx-tod { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.swx-tod-slot { background: rgba(255,255,255,0.04); border-radius: 5px; padding: 7px 3px; text-align: center; }
.swx-tod-label { font-size: 0.58rem !important; color: rgba(255,255,255,0.35) !important; margin-bottom: 3px; font-weight: 600; display: block; }
.swx-tod-temp { font-size: 0.82rem !important; font-weight: 700; line-height: 1.2; display: block; }
.swx-tod-icon { font-size: 0.8rem; margin-top: 2px; display: block; }

/* book button */
.swx-book-btn {
  display: block;
  text-align: center;
  background: var(--gold);
  color: white;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 14px;
  transition: background 0.2s;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.swx-book-btn:hover { background: #b07a20; color: white; }



/* ── contact block ── */
.sidebar-info-card { background:white;border-radius:var(--radius-md);padding:20px;border:1px solid var(--border-light);box-shadow:var(--shadow-sm); }
.sidebar-info-card h4 { font-family:var(--font-body);font-size:0.62rem;font-weight:700;text-transform:uppercase;letter-spacing:0.12em;color:var(--text-muted);border-bottom:1px solid var(--border-light);padding-bottom:10px;margin-bottom:4px; }
.info-row { display:flex;justify-content:space-between;align-items:flex-start;padding:8px 0;border-bottom:1px solid var(--border-light);font-size:0.82rem;gap:12px; }
.info-row:last-child { border-bottom:none;padding-bottom:0; }
.info-row-key { color:var(--text-muted);font-weight:500;flex-shrink:0; }
.info-row-val { color:var(--text-primary);font-weight:500;text-align:right; }
.info-row-val a { color:var(--green-mid);transition:color 0.2s; }
.info-row-val a:hover { color:var(--gold); }

/* legacy sidebar-visit-btn kept for any other pages */
.sidebar-visit-btn {
  display: block; text-align: center;
  background: var(--gold); color: white;
  border-radius: 8px; padding: 13px;
  font-size: 0.9rem; font-weight: 600;
  transition: background 0.2s;
}
.sidebar-visit-btn:hover { background: #b07a20; }

.nearby-section { padding:56px 0;background:white;border-top:1px solid var(--border-light); }
.nearby-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:20px; }
.nearby-card { background:var(--cream);border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--border-light);transition:all 0.25s ease; }
.nearby-card:hover { transform:translateY(-3px);box-shadow:var(--shadow-md); }
.nearby-img { height:130px;overflow:hidden; }
.nearby-img img { width:100%;height:100%;object-fit:cover;transition:transform 0.4s; }
.nearby-card:hover .nearby-img img { transform:scale(1.06); }
.nearby-body { padding:14px; }
.nearby-name { font-family:var(--font-display);font-size:1rem;color:var(--green-dark);margin-bottom:4px;line-height:1.3; }
.nearby-meta { font-size:0.72rem;color:var(--text-muted);margin-bottom:10px; }
.nearby-link { font-size:0.78rem;font-weight:600;color:var(--green-mid);transition:color 0.2s; }
.nearby-link:hover { color:var(--gold); }

@media(max-width:900px){
  .detail-layout{grid-template-columns:1fr;}
  .detail-sidebar{position:static;}
  .quick-info-bar{grid-template-columns:repeat(2,1fr);}
  .amenities-grid{grid-template-columns:repeat(2,1fr);}
  .nearby-grid{grid-template-columns:repeat(2,1fr);}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .specs-grid{grid-template-columns:1fr;}
  .spec-item{border-right:none!important;}
  .detail-hero{height:420px;}
  .detail-hero-content{padding:24px;}
}
@media(max-width:560px){
  .amenities-grid{grid-template-columns:1fr 1fr;}
  .nearby-grid{grid-template-columns:1fr;}
}

/* ── COURSE WEATHER WIDGET ── */
.course-wx { background:linear-gradient(135deg,var(--green-dark) 0%,#1a4a2e 100%);border-radius:var(--radius-md);padding:18px;border:1px solid rgba(201,146,42,0.3);color:white; }
.course-wx-header { display:flex;align-items:center;justify-content:space-between;margin-bottom:12px; }
.course-wx-title { font-size:0.65rem;font-weight:700;text-transform:uppercase;letter-spacing:0.12em;color:rgba(255,255,255,0.5); }
.course-wx-updated { font-size:0.6rem;color:rgba(255,255,255,0.3); }
.course-wx-main { display:flex;align-items:center;gap:12px;margin-bottom:12px; }
.course-wx-icon { font-size:2rem;line-height:1; }
.course-wx-temp { font-family:var(--font-display);font-size:2rem;font-weight:700;color:var(--gold-light);line-height:1; }
.course-wx-desc { font-size:0.72rem;color:rgba(255,255,255,0.55);margin-top:3px;text-transform:capitalize; }
.course-wx-stats { display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:10px; }
.course-wx-stat { background:rgba(255,255,255,0.07);border-radius:6px;padding:6px;text-align:center; }
.course-wx-stat-val { font-size:0.78rem;font-weight:600;color:white;display:block; }
.course-wx-stat-label { font-size:0.56rem;text-transform:uppercase;letter-spacing:0.06em;color:rgba(255,255,255,0.4);display:block;margin-top:1px; }
.course-wx-play { display:flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:6px;font-size:0.72rem;font-weight:700;text-align:center; }
.wx-great { background:rgba(76,175,80,0.2);color:#81c784;border:1px solid rgba(76,175,80,0.3); }
.wx-good  { background:rgba(201,146,42,0.2);color:var(--gold-light);border:1px solid rgba(201,146,42,0.3); }
.wx-check { background:rgba(255,152,0,0.2);color:#ffb74d;border:1px solid rgba(255,152,0,0.3); }
.wx-poor  { background:rgba(244,67,54,0.2);color:#ef9a9a;border:1px solid rgba(244,67,54,0.3); }
.course-wx-loading { text-align:center;padding:16px;color:rgba(255,255,255,0.4);font-size:0.8rem; }

/* ── VARIATION 2 HERO BOTTOM BAR ── */
.detail-hero-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 16px;
  padding-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.detail-hero-wx { min-width: 0; }
.dhw-loading { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.dhw-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dhw-icon { font-size: 1.3rem; flex-shrink: 0; }
.dhw-temp { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--gold-light); }
.dhw-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.dhw-stat { font-size: 0.78rem; color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); padding: 3px 8px; border-radius: 4px; }
.dhw-badge { font-size: 0.75rem; font-weight: 700; border-radius: 50px; padding: 4px 12px; }
.dhw-badge.wx-great { background: rgba(76,175,80,0.25); color: #81c784; }
.dhw-badge.wx-good  { background: rgba(201,146,42,0.25); color: var(--gold-light); }
.dhw-badge.wx-check { background: rgba(255,152,0,0.25); color: #ffb74d; }
.dhw-badge.wx-poor  { background: rgba(244,67,54,0.25); color: #ef9a9a; }
.dhw-time { font-size: 0.65rem; color: rgba(255,255,255,0.2); }

.detail-hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.detail-quick-stats { font-size: 0.72rem; color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.dqs-dot { color: rgba(255,255,255,0.15); }
.detail-visit-btn {
  display: inline-block;
  background: var(--gold); color: white;
  border-radius: 8px; padding: 10px 22px;
  font-size: 0.88rem; font-weight: 600;
  white-space: nowrap; transition: background 0.2s;
  text-decoration: none;
}
.detail-visit-btn:hover { background: #b07a20; color: white; }

/* Sidebar visit button */
.sidebar-visit-btn {
  display: block; text-align: center;
  background: var(--gold); color: white;
  border-radius: var(--radius-sm); padding: 13px;
  font-size: 0.9rem; font-weight: 600;
  transition: background 0.2s;
}
.sidebar-visit-btn:hover { background: #b07a20; }

@media(max-width:700px) {
  .detail-hero-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .detail-hero-actions { align-items: flex-start; }
  .detail-quick-stats { justify-content: flex-start; }
}

/* ── VARIATION 1 COURSE ACTION BAR ── */
.course-action-bar {
  background: var(--green-dark);
  border-bottom: 3px solid var(--gold);
  position: relative;
  z-index: 2;
}
.cab-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- stat chips on the left --- */
.cab-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
}
.cab-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 5px 12px;
  gap: 1px;
  white-space: nowrap;
}
.cab-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}
.cab-key {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.38);
}

/* --- weather in the centre --- */
.cab-wx {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  flex-wrap: wrap;
}
.cab-wx-loading { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.cab-wx-icon { font-size: 1.2rem; }
.cab-wx-temp {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
}
.cab-wx-desc { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.cab-wx-stat {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  padding: 3px 8px;
  border-radius: 4px;
}
.cab-wx-badge {
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 3px 10px;
}
.cab-wx-badge.wx-great { background: rgba(76,175,80,0.2); color: #81c784; }
.cab-wx-badge.wx-good  { background: rgba(201,146,42,0.2); color: var(--gold-light); }
.cab-wx-badge.wx-check { background: rgba(255,152,0,0.2); color: #ffb74d; }
.cab-wx-badge.wx-poor  { background: rgba(244,67,54,0.2); color: #ef9a9a; }

/* --- button tight on the right --- */
.cab-btn {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: white;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
  text-decoration: none;
  border-radius: 50px;
  border-left: 1px solid rgba(255,255,255,0.1);
  margin-left: 8px;
}
.cab-btn:hover { background: #b07a20; color: white; }

@media(max-width:960px) {
  .cab-inner { grid-template-columns: 1fr; min-height: auto; padding: 0; }
  .cab-stats { flex-wrap: wrap; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 10px 16px; gap: 5px; }
  .cab-wx { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 10px 16px; }
  .cab-btn { margin: 10px 16px; border-left: none; border-radius: 8px; justify-content: center; }
}


/* === PREMIUM COURSE PAGE REFRESH === */
.course-action-bar{
  position:relative;
  z-index:20;
  margin-top:0;
  background:transparent;
  border-bottom:none;
  padding:24px 24px 0;
}
.cab-inner{
  max-width:1240px;
  margin:0 auto;
  min-height:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  align-items:center;
  padding:22px 28px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(10,47,30,0.96),rgba(16,60,38,0.93));
  box-shadow:0 18px 55px rgba(0,0,0,0.22);
  backdrop-filter:blur(10px);
}
.cab-stats{
  display:grid;
  grid-template-columns:repeat(5,minmax(110px,1fr));
  gap:12px;
}
.cab-stat{
  border-right:none;
  padding:0;
  min-width:0;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  padding:14px 16px;
}
.cab-val{
  font-family:var(--font-display);
  font-size:1.2rem;
  line-height:1.1;
  color:white;
}
.cab-key{
  margin-top:6px;
  font-size:0.68rem;
  letter-spacing:0.14em;
  color:rgba(255,255,255,0.54);
}
.cab-btn{
  justify-content:center;
  border-radius:999px;
  padding:15px 26px;
  background:linear-gradient(135deg,var(--gold),#b47a1f);
  box-shadow:0 10px 30px rgba(201,146,42,0.28);
  font-size:0.92rem;
  letter-spacing:0.02em;
}
.cab-btn:hover{ background:linear-gradient(135deg,#d59f39,#b47a1f); }

/* Vote button in action bar */
.cab-vote-count {
  display: block;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-top: -2px;
}
.cab-vote-btn {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.35) !important;
  color: rgba(255,255,255,0.8) !important;
  box-shadow: none !important;
}
.cab-vote-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.6) !important;
  color: white !important;
}
.cab-vote-btn.cab-btn-voted,
.cab-vote-btn:disabled {
  background: rgba(76,175,80,0.15) !important;
  border-color: rgba(76,175,80,0.4) !important;
  color: #81c784 !important;
  cursor: default !important;
  box-shadow: none !important;
}
/* Two-button right column */
.cab-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  flex-shrink: 0;
}
.cab-actions .cab-btn { width: 100%; text-align: center; }
.course-detail-section{
  padding:56px 0 64px;
  background:linear-gradient(180deg,#f7f4ee 0%, #faf8f4 100%);
}
.course-detail-grid{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(320px,0.78fr);
  gap:26px;
  align-items:start;
}
.course-main-stack,.course-side-stack{ display:grid; gap:22px; }
.premium-card{
  background:rgba(255,255,255,0.82);
  border:1px solid rgba(10,47,30,0.08);
  border-radius:24px;
  padding:30px;
  box-shadow:0 10px 35px rgba(10,47,30,0.06);
  backdrop-filter:blur(8px);
}
.premium-card h2{
  font-size:2rem;
  color:var(--green-dark);
  margin-bottom:18px;
}
.premium-card p:last-child{ margin-bottom:0 !important; }
.premium-card .card-accent{
  display:inline-block;
  margin-bottom:12px;
  font-size:0.72rem;
  text-transform:uppercase;
  letter-spacing:0.14em;
  color:var(--gold);
  font-weight:700;
}
.course-about p,.course-contact p,.course-contact div,.course-contact span,.course-contact a,.course-specs p,.course-specs div,.course-specs span,.course-specs a{
  font-family:var(--font-body) !important;
}
.course-about > div:first-of-type,
.course-specs > h2,
.course-amenities > h2,
.course-contact > h2{
  display:none;
}
.course-about-body p{font-size:1rem !important; line-height:1.9 !important; color:var(--text-secondary) !important; margin-bottom:14px !important;}
.course-amenities-wrap{ display:flex; flex-wrap:wrap; gap:10px; }
.course-amenities-wrap span{
  display:inline-flex !important;
  align-items:center;
  min-height:40px;
  border-radius:999px !important;
  padding:8px 14px !important;
  background:var(--green-pale) !important;
  color:var(--green-dark) !important;
  border:1px solid rgba(10,47,30,0.07);
  font-size:0.88rem !important;
  font-weight:600 !important;
}
.spec-list{ display:grid; gap:12px; }
.spec-item{
  display:grid;
  grid-template-columns:1fr;
  gap:4px;
  padding:14px 16px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--border-light);
}
.spec-label{
  font-size:0.68rem;
  text-transform:uppercase;
  letter-spacing:0.12em;
  color:var(--text-muted);
  font-weight:700;
}
.spec-value{
  font-size:0.98rem;
  color:var(--text-primary);
  font-weight:600;
}
.contact-list{ display:grid; gap:12px; }
.contact-item{
  padding:14px 16px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--border-light);
}
.contact-item .label{
  display:block;
  margin-bottom:5px;
  font-size:0.68rem;
  text-transform:uppercase;
  letter-spacing:0.12em;
  color:var(--text-muted);
  font-weight:700;
}
.contact-item .value,.contact-item .value a{ font-size:0.95rem; color:var(--green-dark) !important; font-weight:600; }
.course-weather-card{
  background:linear-gradient(135deg,var(--green-dark),#123d29);
  color:white;
  overflow:hidden;
}
.course-weather-card .weather-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.course-weather-card .weather-title{ color:rgba(255,255,255,0.72); font-size:0.74rem; letter-spacing:0.14em; text-transform:uppercase; font-weight:700; }
.course-weather-card .weather-icon{ font-size:2rem; line-height:1; }
.course-weather-card .weather-temp{ font-family:var(--font-display); font-size:2.3rem; line-height:1; color:#fff; }
.course-weather-card .weather-desc{ font-size:0.92rem; color:rgba(255,255,255,0.72); margin-top:6px; }
.course-weather-card .weather-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.course-weather-card .wx-stat{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;
  padding:12px 14px;
}
.course-weather-card .wx-label{ font-size:0.67rem; letter-spacing:0.12em; text-transform:uppercase; color:rgba(255,255,255,0.48); font-weight:700; margin-bottom:4px; }
.course-weather-card .wx-value{ font-size:0.95rem; color:white; font-weight:600; }
.course-weather-card .wx-badge{
  margin-top:16px;
  display:inline-flex;
  border-radius:999px;
  padding:7px 12px;
  font-size:0.74rem;
  font-weight:700;
}
.course-weather-card .wx-note{ margin-top:10px; font-size:0.8rem; color:rgba(255,255,255,0.56); }
.course-weather-card .wx-loading{ color:rgba(255,255,255,0.68); font-size:0.94rem; }
.course-weather-card .wx-great { background:rgba(76,175,80,0.22); color:#b7f0bf; }
.course-weather-card .wx-good { background:rgba(201,146,42,0.22); color:#ffe3a2; }
.course-weather-card .wx-check { background:rgba(255,152,0,0.24); color:#ffd18d; }
.course-weather-card .wx-poor { background:rgba(244,67,54,0.24); color:#ffc0b8; }
@media (max-width: 1024px){
  .cab-stats{ grid-template-columns:repeat(3,minmax(110px,1fr)); }
  .course-detail-grid{ grid-template-columns:1fr; }
}
@media (max-width: 768px){
  .course-action-bar{ margin-top:-20px; padding:0 16px; }
  .cab-inner{ grid-template-columns:1fr; padding:18px; }
  .cab-stats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cab-btn{ width:100%; }
  .course-detail-section{ padding:40px 0 48px; }
  .premium-card{ padding:22px; border-radius:20px; }
}

/* === SIMULATOR PAGE HERO OVERRIDE === */
.page-hero.simulator-page-hero::before {
  background: url('/images/simulator-hero.webp') center/cover !important;
  opacity: 0.35 !important;
}


/* === BLOG HERO === */
.page-hero.blog-page-hero::before {
  background: url('/images/blog-hero.webp') center/cover !important;
  opacity: 0.35 !important;
}

/* === CONTACT HERO === */
.page-hero.contact-page-hero::before {
  background: url('/images/contact-hero.webp') center/cover !important;
  opacity: 0.35 !important;
}

/* === MATCH GOLF COURSES HERO HEIGHT EXACTLY === */
.page-hero.simulator-page-hero,
.page-hero.blog-page-hero,
.page-hero.contact-page-hero {
  min-height: 580px !important;
  height: 580px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 140px 0 80px !important;
}

.page-hero.simulator-page-hero .page-hero-inner,
.page-hero.blog-page-hero .page-hero-inner,
.page-hero.contact-page-hero .page-hero-inner { position: relative; z-index: 1; width: 100%; }

@media (max-width: 768px) {
  .page-hero.simulator-page-hero,
  .page-hero.blog-page-hero,
  .page-hero.contact-page-hero {
    min-height: 420px !important;
    height: 420px !important;
  }
}



/* === SIMULATOR PAGE MATCH GOLF COURSES LAYOUT === */
.sim-listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sim-detail-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sim-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.sim-detail-body {
  padding: 28px;
}

.sim-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sim-city-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(16, 71, 44, 0.08);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sim-rating {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sim-detail-card h3 {
  margin-bottom: 10px;
  color: var(--green-dark);
}

.sim-detail-card p {
  margin-bottom: 18px;
  color: var(--text-muted);
}

.sim-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.sim-tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f6f8f6;
  border: 1px solid var(--border-light);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.city-empty-card {
  background: white;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  color: var(--text-muted);
}

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


/* === STAY & PLAY === */
.stay-play-hero {
  background: linear-gradient(rgba(8,31,20,0.72), rgba(8,31,20,0.72)), url('/images/stayandplay-hero.webp') center/cover;
  padding: 148px 0 92px;
}
.stay-play-hero-inner { max-width: 860px; }
.stay-play-hero .breadcrumb { color: rgba(255,255,255,0.45); }
.stay-play-hero h1 { color: white; }
.stay-play-hero p { color: rgba(255,255,255,0.7); }
.stay-play-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.stay-play-hero .breadcrumb span { color: rgba(255,255,255,0.25); }
.stay-card-grid {
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.stay-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.stay-card-top {
  display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:16px;
}
.stay-card .tag { display:inline-flex; }
.stay-area { font-size:0.76rem; color:var(--text-muted); font-weight:600; text-transform:uppercase; letter-spacing:0.08em; }
.stay-card h3 { margin-bottom: 10px; font-size: 1.5rem; }
.stay-card p { color: var(--text-muted); margin-bottom: 16px; }
.stay-card a { font-weight: 600; color: var(--green-dark); }
.stay-play-grid {
  display:grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 30px;
  align-items:start;
}
.stay-play-form-card { position: relative; }
.stay-play-why-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field-help { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; }
.course-selection-shell {
  border: 1px solid rgba(10,47,30,0.08);
  background: linear-gradient(180deg, rgba(245,243,238,0.86) 0%, rgba(255,255,255,0.98) 100%);
  border-radius: 22px;
  padding: 20px;
}
.course-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 16px;
  margin-bottom: 18px;
}
.course-toolbar-left,
.course-toolbar-actions {
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
}
.course-search-wrap {
  position:relative;
  min-width: min(100%, 320px);
}
.course-search-icon {
  position:absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events:none;
}
.course-search-input {
  width: min(100%, 320px);
  padding: 13px 16px 13px 38px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: white;
  color: var(--text-primary);
  font: inherit;
}
.course-search-input:focus {
  outline: none;
  border-color: rgba(10,47,30,0.35);
  box-shadow: 0 0 0 4px rgba(10,47,30,0.08);
}
.course-selected-pill {
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10,47,30,0.08);
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 700;
}
.course-toolbar-btn,
.course-group-action {
  border: 1px solid rgba(10,47,30,0.12);
  background: white;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.course-toolbar-btn:hover,
.course-group-action:hover {
  transform: translateY(-1px);
  border-color: rgba(10,47,30,0.22);
  box-shadow: var(--shadow-sm);
}
.course-selector {
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.course-group {
  border:1px solid rgba(10,47,30,0.08);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  box-shadow: var(--shadow-sm);
}
.course-group-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(240,247,242,1) 0%, rgba(248,250,248,1) 100%);
  border-bottom: 1px solid rgba(10,47,30,0.08);
}
.course-group-title {
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.course-group-meta {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.course-check {
  display:grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items:center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid rgba(10,47,30,0.08);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.course-check:hover {
  background: rgba(245,243,238,0.52);
}
.course-check.is-selected {
  background: rgba(10,47,30,0.05);
  box-shadow: inset 3px 0 0 var(--gold);
}
.course-check input { width: 18px; height: 18px; accent-color: var(--green-dark); }
.course-check span { display:flex; flex-direction:column; gap: 2px; min-width:0; }
.course-check strong { line-height: 1.25; }
.course-check small { color: var(--text-muted); font-size: 0.76rem; }
.course-check a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-mid);
  background: rgba(10,47,30,0.06);
  padding: 7px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.stay-play-home-card {
  display:grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  background: linear-gradient(135deg, #0a2f1e 0%, #123d2a 100%);
  border: 1px solid rgba(201,146,42,0.25);
  border-radius: 24px;
  padding: 42px;
  color: white;
  box-shadow: 0 20px 50px rgba(10,47,30,0.22);
}
.stay-play-home-copy p { color: rgba(255,255,255,0.78); max-width: 650px; }
.stay-play-home-copy h2 { color: white; }
.stay-play-home-copy h2 em { color: var(--gold-light); }
.stay-play-home-panel {
  display:grid;
  gap: 14px;
  align-content:center;
}
.sp-mini-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 18px 20px;
}
.sp-mini-stat strong {
  display:block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: white;
}
.sp-mini-stat span { color: rgba(255,255,255,0.72); }
@media (max-width: 1080px) {
  .stay-card-grid, .course-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stay-play-grid, .stay-play-home-card { grid-template-columns: 1fr; }
  .course-toolbar { align-items:flex-start; flex-direction:column; }
  .course-search-input { width: min(100%, 420px); }
}
@media (max-width: 720px) {
  .stay-card-grid, .course-selector, .stay-play-why-grid { grid-template-columns: 1fr; }
  .stay-play-home-card { padding: 28px; }
  .course-selection-shell { padding: 16px; }
  .course-toolbar-left, .course-toolbar-actions { width: 100%; }
  .course-search-wrap, .course-search-input { width: 100%; }
  .course-toolbar-actions { justify-content: stretch; }
  .course-toolbar-btn { flex: 1 1 0; text-align:center; }
  .course-group-head { align-items:flex-start; flex-direction:column; }
  .course-group-action { width: 100%; text-align:center; }
  .course-check { grid-template-columns: auto 1fr; }
  .course-check a { grid-column: 2; justify-self:start; }
}




