body {

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  margin: 0; padding: 0; background: #fff; color: #111;

}

/* Full-bleed paint: ::before layer spans viewport; content stays in 900px shell */
body.of-course-page { overflow-x: clip; }

.of-page { margin: 0; padding: 0; width: 100%; max-width: none; }

.of-page > .of-hero,
.of-page > .of-strip {
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.of-page > .of-hero::before,
.of-page > .of-strip::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  pointer-events: none;
  box-sizing: border-box;
}

/* ── Open Fairway page layout (horizontal strips) ── */
.of-strip { position: relative; }

.of-strip-inner {

  position: relative;

  z-index: 1;

  width: min(900px, calc(100% - 48px));
  margin-inline: auto;
  padding: 40px 0 48px;
  box-sizing: border-box;

}

.of-strip--about::before { background: #e8f1e9; }

.of-strip--cta::before {

  background: #f7f9f8;

  border-top: 1px solid #e8eeea;

  border-bottom: 1px solid #e8eeea;

}

.of-strip--cta-request::before {

  background: #eee8dd;

  border-top: 1px solid #ddd5c8;

  border-bottom: 1px solid #ddd5c8;

}

.of-strip--preview::before {

  background-color: #e6f0ea;

  background-image:

    linear-gradient(180deg, rgba(26, 115, 72, 0.14) 0%, transparent 72px),

    repeating-linear-gradient(

      162deg,

      transparent,

      transparent 26px,

      rgba(26, 115, 72, 0.07) 26px,

      rgba(26, 115, 72, 0.07) 52px

    ),

    linear-gradient(180deg, #dcebdd 0%, #edf4ef 42%, #f6faf8 100%);

}

.of-strip--preview .of-strip-inner { padding-top: 36px; padding-bottom: 40px; }

.of-preview-head { margin-bottom: 18px; text-align: left; }

.of-preview-title {

  margin: 0;

  font-size: clamp(1.65rem, 4vw, 2.1rem);

  font-weight: 800;

  letter-spacing: -0.02em;

  color: #0a4028;

  text-align: left;

}

.of-strip--preview .carousel { position: relative; margin: 0; }

.of-strip--preview .carousel-frame {

  position: relative;

  border: 3px solid #1a7348;

  box-shadow: 0 16px 48px rgba(15, 82, 54, 0.16);

}

.of-strip--preview .carousel-track { border-radius: 0; }

.of-strip--preview .carousel-track img { border-radius: 0; }

.of-strip--preview .carousel-dots { margin-top: 12px; }

.about-section .cta-wrap--about { margin: 18px 0 0; }

.of-strip--about .of-strip-inner { padding-bottom: 12px; }

.of-strip--cta { color: inherit; }

.of-strip--cta .cta-wrap { margin: 0; }

.of-strip--cta .cta-sub { color: #777; }

.of-strip--play { position: relative; }

.of-strip--play .of-strip-inner {

  width: min(900px, calc(100% - 48px));

  margin-inline: auto;

  padding: 0 0 56px;

}

.of-fairway-banner {

  display: block;

  position: relative;

  width: 100vw;

  max-width: 100vw;

  left: 50%;

  right: 50%;

  margin-left: -50vw;

  margin-right: -50vw;

  padding: 18px 0;

  margin-bottom: 28px;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.28em;

  text-transform: uppercase;

  text-align: center;

  box-sizing: border-box;

}

.of-play-heading {

  margin: 0 0 28px;

  font-size: clamp(1.85rem, 4.5vw, 2.35rem);

  font-weight: 800;

  line-height: 1.06;

  letter-spacing: -0.03em;

}

.of-play-block .table-wrap,
.of-play-block .best-tees,
.of-play-block .yardage-spark,
.of-play-block .hole-highlights {

  max-width: none;

  margin-left: 0;

  margin-right: 0;

  padding-left: 0;

  padding-right: 0;

  box-sizing: border-box;

}

.of-play-block { padding: 0; }

/* ── 1 · Tee Information — mowed fairway ── */
.of-strip--tee-info::before {

  background-color: #1a7348;

  background-image: repeating-linear-gradient(

    162deg,

    transparent,

    transparent 20px,

    rgba(0, 0, 0, 0.11) 20px,

    rgba(0, 0, 0, 0.11) 40px

  );

}

.of-strip--tee-info { color: #fff; }

.of-strip--tee-info .of-fairway-banner {

  background: #0a4028;

  color: rgba(255, 255, 255, 0.88);

}

.of-strip--tee-info .of-play-heading { color: #fff; }

.of-strip--tee-info .of-play-table {

  border: none;

  border-radius: 0;

  box-shadow: none;

  margin-bottom: 0;

}

.of-strip--tee-info .of-play-table table { background: #fff; color: #111; }

.of-strip--tee-info .of-play-table th {

  background: #0f5236;

  color: #fff;

  border-color: #0a4028;

}

/* ── 2 · Find Your Tee — bunker sand ── */
.of-strip--find-tee::before {

  background-color: #d4bc82;

  background-image:

    radial-gradient(circle at 12% 38%, rgba(255, 255, 255, 0.5) 0%, transparent 45%),

    radial-gradient(circle at 88% 62%, rgba(60, 45, 15, 0.08) 0%, transparent 40%);

}

.of-strip--find-tee { color: #2a1f08; }

.of-strip--find-tee .of-fairway-banner {

  background: #a8884a;

  color: #1a1406;

}

.of-strip--find-tee .of-play-heading { color: #1a1406; }

.of-strip--find-tee .bt-input-row {

  background: rgba(255, 255, 255, 0.55);

  border: 2px solid #b8995a;

  border-radius: 0;

  padding: 18px 20px;

}

.of-strip--find-tee .bt-toggle button.active {

  background: #1a7348;

}

.of-strip--find-tee .bt-tee-row.recommended {

  background: #fff;

  border: 2px solid #1a7348;

  box-shadow: none;

}

.of-strip--find-tee .bt-tee-row:not(.recommended) {

  background: rgba(255, 255, 255, 0.45);

  border: 1px solid #c4ad78;

}

/* ── 3 · Scorecard — printed card ── */
.of-strip--scorecard::before {

  background: #fffef6;

}

.of-strip--scorecard { color: #111; }

.of-strip--scorecard .of-fairway-banner {

  background: #1a7348;

  color: #fff;

  margin-bottom: 28px;

}

.of-strip--scorecard .of-play-heading { color: #0a4028; }

.of-scorecard-table {

  border: 1px solid #b8d4c0;

  border-radius: 0;

  box-shadow: none;

}

.of-scorecard-table th {

  background: #e8f5ec;

  color: #0a4028;

  font-weight: 800;

  border-color: #b8d4c0;

}

.of-scorecard-table .scorecard-label {

  background: #f0faf4;

  font-weight: 800;

}

/* ── 4 · Yardage — twilight fairway ── */
.of-strip--yardage::before {

  background-color: #0a2e1a;

  background-image: repeating-linear-gradient(

    162deg,

    transparent,

    transparent 24px,

    rgba(255, 255, 255, 0.03) 24px,

    rgba(255, 255, 255, 0.03) 48px

  );

}

.of-strip--yardage { color: #fff; }

.of-strip--yardage .of-fairway-banner {

  background: #0a8f5a;

  color: #fff;

}

.of-strip--yardage .of-play-heading { color: #fff; }

.of-strip--yardage .yardage-spark {

  background: rgba(255, 255, 255, 0.06);

  border: 2px solid rgba(255, 255, 255, 0.18);

  border-radius: 0;

  padding: 20px 12px 38px;

  margin-bottom: 28px;

  height: 276px;

}

.of-strip--yardage .ys-lbl { color: rgba(255, 255, 255, 0.55); }

.of-strip--yardage .ys-legend { color: rgba(255, 255, 255, 0.65); }

.of-strip--yardage .hole-hl {

  background: rgba(255, 255, 255, 0.08);

  border: 2px solid rgba(255, 255, 255, 0.22);

  border-radius: 0;

  box-shadow: none;

}

.of-strip--yardage .hole-hl-title { color: rgba(255, 255, 255, 0.6); }

.of-strip--yardage .hole-hl-val { color: #fff; }

.of-strip--yardage .hole-hl-sub { color: rgba(255, 255, 255, 0.75); }

/* Facility nine — stacked fairway blocks inside tab (full-bleed breakout) */
.of-play-stack {

  display: flex;

  flex-direction: column;

  gap: 0;

  margin-top: 0;

  padding-top: 0;

  border-top: none;

}

.of-play-stack .of-play-block {

  position: relative;

  isolation: isolate;

  overflow: visible;

  box-sizing: border-box;

  width: 100vw;

  max-width: 100vw;

  margin-left: calc(50% - 50vw);

  margin-right: calc(50% - 50vw);

  padding: 32px max(24px, calc((100vw - 900px) / 2)) 36px;

}

.of-play-stack .of-play-block::before {

  content: "";

  position: absolute;

  z-index: 0;

  top: 0;

  bottom: 0;

  left: 50%;

  transform: translateX(-50%);

  width: 100vw;

  max-width: 100vw;

  pointer-events: none;

  box-sizing: border-box;

}

.of-play-stack .of-play-block > * {

  position: relative;

  z-index: 1;

}

.of-play-stack .of-play-block:last-child { border-bottom: none; }

.of-play-stack .of-play-block[data-of-block="tees"]::before {

  background-color: #1a7348;

  background-image: repeating-linear-gradient(

    162deg, transparent, transparent 20px,

    rgba(0, 0, 0, 0.11) 20px, rgba(0, 0, 0, 0.11) 40px

  );

}

.of-play-stack .of-play-block[data-of-block="tees"] { color: #fff; }

.of-play-stack .of-play-block[data-of-block="tees"] .of-fairway-banner { background: #0a4028; color: #fff; }

.of-play-stack .of-play-block[data-of-block="tees"] .of-play-heading { color: #fff; }

.of-play-stack .of-play-block[data-of-block="find-tee"]::before {

  background-color: #d4bc82;

  background-image:

    radial-gradient(circle at 12% 38%, rgba(255, 255, 255, 0.5) 0%, transparent 45%),

    radial-gradient(circle at 88% 62%, rgba(60, 45, 15, 0.08) 0%, transparent 40%);

}

.of-play-stack .of-play-block[data-of-block="find-tee"] { color: #2a1f08; }

.of-play-stack .of-play-block[data-of-block="find-tee"] .of-fairway-banner { background: #a8884a; }

.of-play-stack .of-play-block[data-of-block="scorecard"]::before {

  background: #fffef6;

}

.of-play-stack .of-play-block[data-of-block="scorecard"] .of-fairway-banner { background: #1a7348; color: #fff; }

.of-play-stack .of-play-block[data-of-block="yardage"]::before {

  background-color: #0a2e1a;

  background-image: repeating-linear-gradient(

    162deg, transparent, transparent 24px,

    rgba(255, 255, 255, 0.03) 24px, rgba(255, 255, 255, 0.03) 48px

  );

}

.of-play-stack .of-play-block[data-of-block="yardage"] { color: #fff; }

.of-play-stack .of-play-block[data-of-block="yardage"] .of-fairway-banner { background: #0a8f5a; color: #fff; }

.of-play-stack .of-play-block[data-of-block="yardage"] .of-play-heading { color: #fff; }

.of-play-stack .of-play-block[data-of-block="yardage"] .yardage-spark {

  background: rgba(255, 255, 255, 0.06);

  border: 2px solid rgba(255, 255, 255, 0.18);

  border-radius: 0;

  padding: 20px 12px 38px;

  margin-bottom: 28px;

  height: 276px;

}

.of-play-stack .of-fairway-banner {

  width: 100vw;

  max-width: 100vw;

  left: 50%;

  margin-left: -50vw;

  margin-right: -50vw;

  padding: 14px 0;

}

.of-play-table {

  border-radius: 0;

  box-shadow: none;

  border: none;

}

.of-strip--map.of-strip--play::before {

  background-color: #d8e9de;

  background-image:

    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 255, 255, 0.75) 0%, transparent 55%),

    repeating-linear-gradient(

      162deg,

      transparent,

      transparent 30px,

      rgba(15, 82, 54, 0.06) 30px,

      rgba(15, 82, 54, 0.06) 60px

    ),

    linear-gradient(180deg, #c8ddd0 0%, #dceee3 38%, #e8f3ec 100%);

}

.of-strip--map.of-strip--play .of-section-head { margin-bottom: 20px; }

.of-strip--map.of-strip--play .of-section-label { color: #0f5236; }

.of-strip--map.of-strip--play .of-strip-inner { padding: 36px 0 24px; }

.facility-nines-head { margin-bottom: 10px; }

.of-strip--map.of-strip--play .facility-nine-tabs { margin-top: 0; }

.of-strip--map.of-strip--play .facility-nine-panel .overview-map,
.of-strip--map.of-strip--play .facility-nine-panel .overview-img {
  border-radius: 0;
}

.of-strip--map.of-strip--play .overview-map,
.of-strip--map.of-strip--play .overview-img {
  border-radius: 12px;
  overflow: visible;
  box-shadow: none;
  border: none;
}

.of-strip--map.of-strip--play .facility-nine-tabs {
  box-shadow: none;
  border: none;
  overflow: visible;
}

.of-strip--map.of-strip--play .facility-nine-tablist {

  background: linear-gradient(180deg, #0f5236, #145c38);

  border-bottom: none;

  margin-bottom: 0;

  padding: 6px 6px 0;

  border-radius: 12px 12px 0 0;

  overflow: hidden;

}

.of-strip--map.of-strip--play .facility-nine-tab {

  color: rgba(255, 255, 255, 0.75);

  border-bottom-color: transparent;

}

.of-strip--map.of-strip--play .facility-nine-tab:hover,
.of-strip--map.of-strip--play .facility-nine-tab:focus-visible {

  color: #fff;

  background: rgba(255, 255, 255, 0.12);

}

.of-strip--map.of-strip--play .facility-nine-tab.active {

  color: #0f5236;

  background: #fff;

  border-bottom-color: #fff;

  border-radius: 8px 8px 0 0;

}

.of-strip--nearby::before { background: #e8f1e9; }

.of-nearby-lead {

  position: relative;

  z-index: 0;

  height: 10px;

  width: 100vw;

  max-width: 100vw;

  left: 50%;

  margin-left: -50vw;

  margin-right: -50vw;

  background: repeating-linear-gradient(90deg, #1a7044 0 22px, #228b52 22px 44px);

}

.of-strip--nearby .nearby-card {

  border-color: #c5d9cc;

  box-shadow: none;

  border-radius: 0;

}

.of-strip--corrections::before { background: #fff; }

.of-strip--corrections { padding-bottom: 8px; }

.of-strip--corrections .of-strip-inner { padding-top: 28px; padding-bottom: 32px; }

.of-section-head { margin-bottom: 16px; }

.of-section-label {

  display: block; font-size: 11px; font-weight: 700;

  text-transform: uppercase; letter-spacing: 0.14em;

  color: #0a8f5a; margin-bottom: 4px;

}

.of-section-head h2 { margin: 0; }

.of-strip-inner > h2 {

  position: relative; padding-left: 14px; margin: 0 0 16px;

}

.of-strip-inner > h2::before {

  content: ''; position: absolute; left: 0; top: 0.12em; bottom: 0.12em;

  width: 4px; border-radius: 2px;

  background: linear-gradient(180deg, #0a8f5a, #145c38);

}

/* ── Open Fairway hero (summary strip) ── */
.of-hero {

  position: relative;

  overflow: visible;

  color: #f4faf6;

  padding: 0;

}

.of-hero-mow {

  position: absolute;

  z-index: 1;

  top: 0;

  bottom: 0;

  left: 50%;

  transform: translateX(-50%);

  width: 100vw;

  max-width: 100vw;

  pointer-events: none;

  background: repeating-linear-gradient(

    168deg,

    transparent,

    transparent 22px,

    rgba(255, 255, 255, 0.045) 22px,

    rgba(255, 255, 255, 0.045) 44px

  );

}

.of-hero--ready::before {

  background: linear-gradient(165deg, #062a1c 0%, #0a3d28 38%, #145c38 72%, #1a7044 100%);

}

.of-hero--basic::before {

  background: linear-gradient(165deg, #2a3018 0%, #3d4a22 40%, #556832 75%, #6b7c42 100%);

}

.of-hero--listed::before {

  background: linear-gradient(165deg, #1a2228 0%, #2a3540 45%, #3d4a56 100%);

}

.of-hero-inner {

  position: relative; z-index: 2;

  width: min(900px, calc(100% - 48px));

  margin-inline: auto;

  padding: 36px 0 28px;

  box-sizing: border-box;

}

.of-title-row {

  display: flex; flex-wrap: wrap; align-items: flex-start;

  gap: 12px 16px; margin-bottom: 10px;

}

.of-hero h1 {

  margin: 0; flex: 1 1 240px;

  font-size: clamp(1.75rem, 5vw, 2.35rem);

  line-height: 1.12; color: #fff;

  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);

}

.of-tier-badge { flex-shrink: 0; align-self: center; }

.of-location {

  margin: 0 0 14px; font-size: 15px; line-height: 1.5;

  color: rgba(255, 255, 255, 0.82);

}

.of-action-pills {

  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px;

}

.of-pill {

  display: inline-flex; align-items: center; gap: 4px;

  padding: 7px 14px; border-radius: 999px;

  font-size: 13px; font-weight: 600; text-decoration: none;

  background: rgba(255, 255, 255, 0.14);

  border: 1px solid rgba(255, 255, 255, 0.22);

  color: #fff; transition: background 0.15s, border-color 0.15s;

}

.of-pill:hover {

  background: rgba(255, 255, 255, 0.24);

  border-color: rgba(255, 255, 255, 0.38);

  text-decoration: none;

}

.of-pill--muted {

  cursor: default; opacity: 0.92;

}

.of-pill-icon { font-size: 14px; opacity: 0.9; }

.of-stat-strip {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));

  gap: 10px; margin-top: 24px; padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.18);

}

.of-stat {

  text-align: center; padding: 14px 10px;

  border-radius: 10px;

  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.16);

  backdrop-filter: blur(4px);

}

.of-stat-val {

  display: block; font-size: 1.35rem; font-weight: 800;

  line-height: 1.15; color: #fff;

}

.of-stat-lbl {

  display: block; margin-top: 4px;

  font-size: 0.68rem; font-weight: 700;

  text-transform: uppercase; letter-spacing: 0.1em;

  color: rgba(255, 255, 255, 0.72);

}

.of-hero-edge {

  height: 10px; position: relative; z-index: 1;

  background: repeating-linear-gradient(

    90deg,

    #1a7044 0 18px,

    #228b52 18px 36px

  );

}

.of-hero--basic .of-hero-edge {

  background: repeating-linear-gradient(90deg, #556832 0 18px, #6b7c42 18px 36px);

}

.of-hero--listed .of-hero-edge {

  background: repeating-linear-gradient(90deg, #3d4a56 0 18px, #4a5868 18px 36px);

}

/* Coverage tier badges (hero + lists) */
.course-badge {

  display: inline-block; font-size: 11px; font-weight: 700;

  padding: 5px 12px; border-radius: 999px;

  text-transform: uppercase; letter-spacing: 0.08em;

  white-space: nowrap;

}

.course-badge--ready {

  background: rgba(255, 255, 255, 0.95); color: #0a5c38;

  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);

}

.course-badge--basic {

  background: rgba(255, 248, 220, 0.95); color: #5c4a12;

  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);

}

.course-badge--listed {

  background: rgba(255, 255, 255, 0.18); color: #fff;

  border: 1px solid rgba(255, 255, 255, 0.35);

}

.container { max-width: 900px; margin: 0 auto; padding: 30px 20px 60px; }

h1 { font-size: 32px; margin: 0 0 4px; color: #1a1a1a; }

h2 { font-size: 22px; color: #222; margin: 32px 0 12px; }

.of-strip-inner h2 { margin-top: 0; }

.of-strip-inner h2:first-child { margin-top: 0; }

/* Legacy header (unused after Open Fairway hero) */
.course-header {

  margin-bottom: 24px; padding: 20px 24px;

  background: #f8faf9; border-radius: 12px; border: 1px solid #e6ece8;

}

.course-header h1 { margin: 0 0 6px; }

.header-meta { font-size: 15px; color: #555; margin-bottom: 10px; }

.header-links {

  display: flex; flex-wrap: wrap; gap: 4px 16px;

  font-size: 14px; margin-bottom: 10px;

}

.header-links a { color: #0a8f5a; text-decoration: none; }

.header-links a:hover { text-decoration: underline; }

.header-access { color: #555; font-weight: 600; font-size: 13px; }

.header-stats {

  display: flex; flex-wrap: wrap; gap: 4px 6px;

  font-size: 14px; font-weight: 500; color: #333;

}

.header-stats span::after { content: '\·'; margin-left: 6px; color: #bbb; }

.header-stats span:last-child::after { content: none; }

/* Carousel */
.carousel { position: relative; margin: 0; }

.of-strip--preview .carousel-dots span.active { background: #1a7348; }

.carousel-track {

  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;

  -webkit-overflow-scrolling: touch; gap: 12px;

  scrollbar-width: none; border-radius: 12px;

}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-track img {

  flex: 0 0 100%; width: 100%; scroll-snap-align: start;

  border-radius: 12px; display: block;

}

.carousel-btn {

  position: absolute; top: 50%; transform: translateY(-50%);

  background: rgba(0,0,0,0.45); color: #fff; border: none;

  width: 40px; height: 40px; border-radius: 50%; font-size: 20px;

  cursor: pointer; z-index: 2; display: flex; align-items: center;

  justify-content: center; transition: background 0.2s;

}

.carousel-btn:hover { background: rgba(0,0,0,0.7); }

.carousel-btn.prev { left: 10px; }

.carousel-btn.next { right: 10px; }

.carousel-dots {

  display: flex; justify-content: center; gap: 8px; margin-top: 10px;

}

.carousel-dots span {

  width: 10px; height: 10px; border-radius: 50%; background: #ccc;

  cursor: pointer; transition: background 0.2s;

}

.carousel-dots span.active { background: #1a7348; }

/* Unmapped request-mapping hero (static, not a carousel) */
.unmapped-cta-image { margin: 0; }

.unmapped-cta-link {
  display: block;
  text-decoration: none;
}

.unmapped-cta-link:hover img { opacity: 0.92; }

.unmapped-cta-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* About */
.about-section { margin: 0; }

.about-section p { font-size: 16px; line-height: 1.7; color: #444; }

/* Quick Facts cards */
.quick-facts { margin: 24px 0; }

.quick-facts h2 { margin-bottom: 16px; }

.facts-grid {

  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 16px;

}

.fact-card {

  background: #f8f9fa; border-radius: 10px;

  padding: 16px 20px; border: 1px solid #eee;

}

.fact-card h3 {

  font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px;

  color: #0b2a4a; margin: 0 0 12px; padding-bottom: 8px;

  border-bottom: 2px solid #0a8f5a;

}

.fact-card dl {

  display: grid; grid-template-columns: auto 1fr;

  gap: 4px 12px; margin: 0; font-size: 14px; line-height: 1.5;

}

.fact-card dt {

  color: #888; font-weight: 600; white-space: nowrap;

}

.fact-card dd {

  color: #333; margin: 0;

}

@media (max-width: 480px) {

  .facts-grid { grid-template-columns: 1fr; }

  .fact-card dl { font-size: 13px; }

}

/* Green size row in scorecard */
.sc-green-size td {

  font-size: 11px; color: #0a8f5a; font-weight: 500;

  border-top: 2px solid #e0e0e0;

}

/* CTA */
.cta-wrap { text-align: center; margin: 32px 0; }

.cta-sub { font-size: 14px; color: #888; margin-top: 8px; }

.play-store-badge-link {

  display: inline-block; line-height: 0;

  transition: transform 0.15s ease, box-shadow 0.15s ease;

}

.play-store-badge-link:hover {

  transform: translateY(-2px);

  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);

}

.play-store-badge-link:focus-visible {

  outline: 3px solid rgba(10, 143, 90, 0.45);

  outline-offset: 3px;

}

.play-store-badge-img { height: 72px; width: auto; }

@media (max-width: 480px) { .play-store-badge-img { height: 64px; } }

/* Course corrections */
.cc-section { margin: 36px 0 12px; text-align: center; }

.cc-toggle {

  background: none; border: none; color: #0a8f5a; font-size: 13px;

  cursor: pointer; text-decoration: underline; padding: 0;

}

.cc-toggle:hover { color: #076b40; }

#ccForm {

  max-width: 460px; margin: 14px auto 0; text-align: left;

  padding: 18px 20px; background: #f8faf9; border-radius: 10px;

  border: 1px solid #e6ece8;

}

.cc-label { display: block; font-size: 13px; font-weight: 600; color: #333; margin: 12px 0 4px; }

.cc-label:first-of-type { margin-top: 0; }

.cc-textarea {

  width: 100%; padding: 8px 10px; font-size: 14px;

  border: 1px solid #ccc; border-radius: 6px;

  font-family: inherit;

}

.cc-textarea { resize: vertical; }

.cc-submit {

  margin-top: 12px; padding: 8px 24px; font-size: 14px; font-weight: 600;

  background: #0b6; color: #fff; border: none; border-radius: 6px;

  cursor: pointer; transition: background 0.2s;

}

.cc-submit:hover { background: #09a356; }

.cc-submit:disabled { background: #aaa; cursor: default; }

.cc-msg {

  max-width: 460px; margin: 14px auto 0; padding: 12px 16px;

  border-radius: 8px; font-size: 14px; text-align: center;

}

.cc-ok { background: #e8f5e9; color: #2e7d32; }

.cc-err { background: #fce4e4; color: #c62828; }

/* Tables shared */
.table-wrap {

  overflow-x: auto; -webkit-overflow-scrolling: touch;

  margin: 12px 0 32px; border-radius: 10px;

  border: 1px solid #e0e0e0;

}

table { border-collapse: collapse; width: 100%; }

th, td {

  padding: 6px 4px; text-align: center; font-size: 13px;

  border-bottom: 1px solid #e8e8e8;

  border-right: 1px solid #e8e8e8;

}

th:last-child, td:last-child { border-right: none; }

th { background: #f5f5f5; font-weight: 600; color: #333; }

/* Tee chart row colors */
.tee-black { background: #333; color: #fff; }

.tee-blue { background: #4488FF; color: #fff; }

.tee-white { background: #f8f8f8; color: #222; }

.tee-gold { background: #FFD700; color: #222; }

.tee-red { background: #FF4444; color: #fff; }

.tee-green { background: #44BB44; color: #fff; }

.tee-default { background: #f0f0f0; color: #222; }

.tee-stripe-a { background: #f0f0f0; color: #222; }

.tee-stripe-b { background: #e4e4e4; color: #222; }

/* Scorecard */
.scorecard-label { text-align: left !important; font-weight: 600; white-space: nowrap; padding-left: 8px; padding-right: 8px; }

.of-scorecard-table .scorecard-label { background: #f0faf4; font-weight: 800; }

.of-scorecard-table .scorecard-label.tee-black { color: #222; }

.of-scorecard-table .scorecard-label.tee-blue { color: #1565c0; }

.of-scorecard-table .scorecard-label.tee-white { color: #666; }

.of-scorecard-table .scorecard-label.tee-gold { color: #a67c00; }

.of-scorecard-table .scorecard-label.tee-red { color: #c62828; }

.of-scorecard-table .scorecard-label.tee-green { color: #2e7d32; }

.of-scorecard-table .scorecard-label.tee-default { color: #444; }

.sc-par { background: #f0faf5; font-weight: 600; }

.sc-hdcp { background: #fafafa; }

.sc-subtotal { font-weight: 700; background: #f5f5f5; color: #333; border-left: 2px solid #ccc; }

.sc-total { font-weight: 700; background: #eafce5; color: #333; border-left: 2px solid #ccc; }

/* Yardage sparkline */
.yardage-spark {

  display: flex; align-items: flex-end; gap: 3px; margin: 4px 0 36px;

  padding: 0 8px 6px; height: 264px;

}

.ys-bar {

  flex: 1; border-radius: 2px 2px 0 0; min-width: 0;

  position: relative; cursor: default;

}

.ys-bar[data-par='3'] { background: #4caf50; }

.ys-bar[data-par='4'] { background: #ff9800; }

.ys-bar[data-par='5'] { background: #2196f3; }

.ys-val {

  position: absolute; top: 4px; left: 50%; transform: translateX(-50%);

  font-size: 11px; font-weight: 700; color: #fff;

  line-height: 1.1; white-space: nowrap;

}

.ys-lbl {

  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);

  display: flex; align-items: center; justify-content: center;

}

.ys-lbl-num {

  display: flex; align-items: center; justify-content: center;

  width: 22px; height: 22px; border-radius: 50%;

  background: #e8dcc8; color: #0a4028;

  font-size: 11px; font-weight: 700; line-height: 1;

}

.ys-legend {

  display: flex; gap: 12px; justify-content: center; margin: 18px 0 0;

  font-size: 11px; color: #888;

}

.ys-legend span::before {

  content: ''; display: inline-block; width: 10px; height: 10px;

  border-radius: 2px; margin-right: 4px; vertical-align: -1px;

}

.ys-legend .lg3::before { background: #4caf50; }

.ys-legend .lg4::before { background: #ff9800; }

.ys-legend .lg5::before { background: #2196f3; }

/* Hole highlights */
.hole-highlights {

  display: flex; gap: 12px; justify-content: center; margin: 20px 0 28px;

}

.hole-hl {

  display: flex; flex-direction: column; align-items: center;

  padding: 10px 18px; border-radius: 10px; border: 1px solid #e0e0e0;

  background: #fff; min-width: 130px;

}

.hole-hl-title { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }

.hole-hl-val { font-size: 16px; font-weight: 700; color: #1a1a1a; margin-top: 2px; }

.hole-hl-sub { font-size: 12px; color: #666; margin-top: 1px; }

/* Section separator */
.section-sep { border: none; border-top: 1px solid #e8e8e8; margin: 36px 0; }

/* Best tees widget */
.best-tees { margin: 0; }

.bt-input-row {

  display: flex; align-items: center; gap: 12px; justify-content: center;

  flex-wrap: wrap; margin: 12px 0 16px;

}

.bt-toggle {

  display: inline-flex; border: 1px solid #ccc; border-radius: 6px; overflow: hidden;

}

.bt-toggle button {

  padding: 6px 14px; border: none; background: #f5f5f5; font-size: 13px;

  cursor: pointer; color: #555;

}

.bt-toggle button.active { background: #0b6; color: #fff; font-weight: 600; }

.bt-dist-input {

  width: 70px; padding: 6px 10px; border: 1px solid #ccc; border-radius: 6px;

  font-size: 15px; text-align: center;

}

.bt-unit { font-size: 13px; color: #888; }

.bt-results { margin-top: 12px; }

.bt-tee-row {

  display: flex; align-items: center; padding: 8px 14px; border-radius: 8px;

  margin: 4px 0; transition: all 0.2s;

}

.bt-tee-row.recommended { background: #e8f5e9; border: 2px solid #4caf50; }

.bt-tee-row:not(.recommended) { background: #fafafa; border: 1px solid #eee; opacity: 0.7; }

.bt-tee-name { font-weight: 700; font-size: 14px; min-width: 80px; }

.bt-tee-yards { font-size: 13px; color: #666; min-width: 70px; }

.bt-tee-fit { font-size: 13px; color: #555; flex: 1; }

.bt-tee-badge {

  font-size: 11px; font-weight: 700; color: #fff; background: #4caf50;

  padding: 2px 8px; border-radius: 4px; margin-left: 8px;

}

/* Course overview map */
.overview-section { margin: 0; }

.overview-nines-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 16px;
}

.facility-nine-tabs { margin-top: 0; }

.facility-nine-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.facility-nine-tab {
  appearance: none;
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  border-radius: 8px 8px 0 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.facility-nine-tab:hover,
.facility-nine-tab:focus-visible {
  color: #0a8f5a;
  background: #f4faf7;
  outline: none;
}

.facility-nine-tab.active {
  color: #0a8f5a;
  border-bottom-color: #0a8f5a;
  background: #f4faf7;
}

.facility-nine-panel {
  display: none;
  overflow: visible;
}

.facility-nine-panel.active {
  display: block;
}

.facility-nine-block { margin: 0; }

.facility-nine-heading {
  font-size: 1.35rem;
  margin: 0 0 16px;
  color: #1a1a1a;
}

.facility-nine-sep { margin: 32px 0; }

.overview-nine-panel { width: 100%; margin: 0; }

.of-strip--nearby .of-strip-inner { padding-top: 24px; padding-bottom: 40px; }

.of-strip--yardage .of-strip-inner { padding-bottom: 24px; }

.of-play-stack .of-play-block[data-of-block="yardage"] { padding-bottom: 24px; }

.overview-map { position: relative; width: 100%; }

.overview-map .overview-img { width: 100%; border-radius: 12px; display: block; }

.overview-hotspots { position: absolute; inset: 0; pointer-events: none; }

.overview-hotspot {

  position: absolute; transform: translate(-50%, -50%);

  width: 42px; height: 42px; border-radius: 50%;

  border: none; background: transparent; cursor: pointer;

  pointer-events: auto; padding: 0;

}

.overview-hotspot:hover,
.overview-hotspot:focus-visible {

  outline: 2px solid rgba(255, 255, 255, 0.95);

  outline-offset: 2px;

  box-shadow: 0 0 0 3px rgba(10, 143, 90, 0.55);

}

.overview-tip {

  position: absolute; z-index: 5;

  background: rgba(255, 255, 255, 0.98);

  border: 1px solid #ddd; border-radius: 8px;

  padding: 10px 14px; font-size: 13px; line-height: 1.45;

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);

  pointer-events: none; max-width: 220px;

}

.overview-tip strong { display: block; font-size: 15px; color: #c62828; margin-bottom: 2px; }

.overview-tip span { color: #444; }

.overview-img { width: 100%; border-radius: 12px; display: block; }

/* Nearby courses */
.nearby-section { margin: 0; }

.nearby-grid {

  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;

}

@media (max-width: 600px) { .nearby-grid { grid-template-columns: 1fr; gap: 12px; } }

.nearby-card {

  border: 1px solid #e0e0e0; border-radius: 10px; overflow: hidden;

  background: #fff; transition: box-shadow 0.2s;

}

.nearby-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

.nearby-card a { text-decoration: none; color: inherit; display: block; }

.nearby-thumb { width: 100%; height: 140px; object-fit: cover; display: block; }

.nearby-body { padding: 14px 16px; }

.nearby-name { font-size: 16px; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }

.nearby-loc { font-size: 13px; color: #888; margin-bottom: 8px; }

.nearby-detail { font-size: 13px; color: #555; line-height: 1.5; }

.nearby-dist { font-size: 12px; color: #0a8f5a; font-weight: 600; margin-top: 8px; }

/* Responsive */
@media (max-width: 600px) {

  .of-hero-inner { padding: 28px 16px 22px; }

  .of-hero h1 { font-size: 1.65rem; }

  .of-stat-strip { grid-template-columns: repeat(2, 1fr); }

  .of-strip-inner { padding: 28px 14px 36px; }

  .of-play-heading { padding: 0 16px; }

  .of-play-block .table-wrap,
  .of-play-block .best-tees,
  .of-play-block .yardage-spark,
  .of-play-block .hole-highlights { padding-left: 16px; padding-right: 16px; }

  .of-fairway-banner { padding-left: 16px; padding-right: 16px; }

  .of-play-stack .of-play-block {

    padding-left: max(16px, calc((100vw - 900px) / 2));

    padding-right: max(16px, calc((100vw - 900px) / 2));

  }

  h1 { font-size: 26px; }

  .container { padding: 20px 14px 40px; }

  .carousel-btn { width: 34px; height: 34px; font-size: 16px; }

}