.home-editorial {
  --home-paper: #f3f1e9;
  --home-ink: #17342e;
  --home-muted: #60746b;
  --home-line: #d5ddd5;
  --home-moss: #275749;
  --home-rust: #a95334;
  --home-sun: #e8c873;
  color: var(--home-ink);
  background: var(--home-paper);
  font-family: "DM Sans", sans-serif;
  padding-bottom: 4rem;
}
.home-editorial-hero {
  min-height: 635px;
  display: flex;
  align-items: flex-end;
  padding: clamp(3rem, 6vw, 5rem) 0 6rem;
}
.home-editorial-hero > div:first-child img { object-position: center; }
.home-editorial-hero-scrim {
  background: linear-gradient(90deg, rgba(14,47,39,.92), rgba(14,47,39,.58) 46%, rgba(14,47,39,.05) 85%),
              linear-gradient(0deg, rgba(14,47,39,.76), transparent 65%);
}
.home-editorial-hero > div:last-child { width: 100%; }
.home-editorial-hero h1 {
  max-width: 740px;
  margin: 1.3rem 0 1.5rem;
  font: 500 clamp(3.7rem, 8.5vw, 7.7rem)/.87 Fraunces, Georgia, serif;
  letter-spacing: -.065em;
}
.home-editorial-kicker {
  font: 500 .65rem/1.4 "DM Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--home-rust);
}
.home-editorial-hero .home-editorial-kicker { color: var(--home-sun); }
.home-editorial-subtitle { max-width: 520px; color: #dce4d8; font-size: 1.08rem; line-height: 1.6; }
.home-editorial-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.home-editorial-hero-actions a {
  padding: .95rem 1.2rem;
  background: var(--home-sun);
  color: var(--home-ink);
  font: 700 .7rem "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.home-editorial-hero-actions a + a { color: #fff; border: 1px solid rgba(255,255,255,.7); background: transparent; }
.home-editorial-hero-actions a:hover { filter: brightness(1.08); }
.home-editorial-search-wrap { max-width: 1180px; padding: 0 20px; margin: -2.2rem auto 0; position: relative; z-index: 2; }
.home-editorial-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem;
  background: #faf9f4;
  border: 1px solid var(--home-line);
  box-shadow: 0 18px 34px rgba(23,52,46,.12);
  padding: .6rem;
}
.home-editorial-search input {
  min-width: 0;
  padding: .8rem 1rem;
  border: 0;
  background: transparent;
  color: var(--home-ink);
  outline-offset: -2px;
  font-size: 1rem;
}
.home-editorial-search button {
  padding: .8rem 1.75rem;
  background: var(--home-moss);
  color: white;
  font: 700 .7rem "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.home-editorial a:focus-visible,
.home-editorial button:focus-visible,
.home-editorial input:focus-visible { outline: 3px solid var(--home-rust); outline-offset: 2px; }
.home-editorial-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 20px 0;
}
.home-editorial-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--home-line);
  margin-bottom: 1.4rem;
}
.home-editorial-section-head h2 {
  margin: .65rem 0 0;
  font: 500 clamp(2rem, 4vw, 3.3rem)/1 Fraunces, Georgia, serif;
  letter-spacing: -.045em;
}
.home-editorial-section-head p { max-width: 370px; color: var(--home-muted); font-size: .85rem; line-height: 1.55; }
.home-editorial-section-head > a { color: var(--home-rust); font: 500 .7rem "DM Mono", monospace; text-transform: uppercase; white-space: nowrap; }
.home-editorial-feature-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1.1rem; }
.home-editorial-lead {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 410px;
  overflow: hidden;
  padding: 1.8rem;
  background: var(--home-moss);
  color: #fff;
}
.home-editorial-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-editorial-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,43,36,.91), rgba(13,43,36,.06) 75%); }
.home-editorial-lead > div { position: relative; z-index: 1; }
.home-editorial-lead .home-editorial-kicker { color: var(--home-sun); }
.home-editorial-lead h3 { font: 500 clamp(2rem, 3.6vw, 3rem)/.98 Fraunces, Georgia, serif; letter-spacing: -.045em; margin: .75rem 0; }
.home-editorial-lead p { color: #dce4d8; font-size: .85rem; }
.home-editorial-side-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 1.1rem; }
.home-editorial-text-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #faf9f4;
  border: 1px solid var(--home-line);
  padding: 1.5rem;
}
.home-editorial-text-card h3 { font: 500 1.8rem/1.05 Fraunces, Georgia, serif; letter-spacing: -.03em; margin: .65rem 0; }
.home-editorial-text-card p { color: var(--home-muted); font-size: .83rem; line-height: 1.5; }
.home-editorial-text-card.home-editorial-dark { background: var(--home-ink); color: #f7f4e9; border-color: var(--home-ink); }
.home-editorial-dark .home-editorial-kicker, .home-editorial-dark .home-editorial-arrow { color: var(--home-sun); }
.home-editorial-dark p { color: #c8d3ca; }
.home-editorial-arrow { display: block; color: var(--home-rust); margin-top: 1rem; font: 700 .75rem "DM Mono", monospace; }
.home-editorial-discovery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--home-line); border: 1px solid var(--home-line); }
.home-editorial-discovery a { background: var(--home-paper); padding: 1.5rem; }
.home-editorial-discovery strong { display: block; font: 500 1.9rem Fraunces, Georgia, serif; }
.home-editorial-discovery span { display: block; margin-top: .4rem; color: var(--home-muted); font: 500 .65rem "DM Mono", monospace; text-transform: uppercase; letter-spacing: .09em; }
.home-editorial-discovery p { margin-top: 1.25rem; color: var(--home-muted); font-size: .83rem; line-height: 1.5; }
.home-editorial-journal { display: grid; grid-template-columns: .75fr 1.25fr; gap: 1.1rem; }
.home-editorial-journal-intro { background: var(--home-rust); color: #fff; padding: 1.9rem; }
.home-editorial-journal-intro .home-editorial-kicker { color: #f7ddca; }
.home-editorial-journal-intro h3 { font: 500 2.5rem/.98 Fraunces, Georgia, serif; letter-spacing: -.04em; margin: 1rem 0; }
.home-editorial-journal-intro p { font-size: .85rem; line-height: 1.55; color: #f6dfd1; }
.home-editorial-story { background: #faf9f4; border: 1px solid var(--home-line); padding: 1.9rem; }
.home-editorial-story h3 { font: 500 2.1rem/1.05 Fraunces, Georgia, serif; margin: 1.2rem 0; max-width: 520px; }
.home-editorial-story p { max-width: 510px; font-size: .85rem; line-height: 1.6; color: var(--home-muted); }
.home-editorial #courses { scroll-margin-top: 1rem; }
.home-editorial #courses h2, .home-editorial > section.bg-gray-50 h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em;
}
.home-editorial #gridView .course-card { border: 1px solid var(--home-line); border-radius: 0; box-shadow: none; }
.home-editorial #gridView .course-card h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; }
.home-editorial .home-course-feature {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin: 0 0 1rem;
  padding: 1.5rem 1.8rem;
  color: #faf9f4;
  background: var(--home-rust);
}
.home-editorial .home-course-feature .home-editorial-kicker { color: #f8dfd3; }
.home-editorial .home-course-feature h3 {
  margin: .4rem 0;
  font: 500 clamp(1.7rem, 3vw, 2.25rem)/1 Fraunces, Georgia, serif;
}
.home-editorial .home-course-feature p { font-size: .85rem; color: #f8dfd3; }
.home-editorial .home-course-feature > span {
  flex-shrink: 0;
  font: 500 .7rem "DM Mono", monospace;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .home-editorial-hero { min-height: 610px; padding: 2rem 0 5rem; }
  .home-editorial-hero h1 { font-size: clamp(3.4rem, 15vw, 5rem); }
  .home-editorial-subtitle { font-size: .95rem; }
  .home-editorial-search-wrap { padding: 0 1rem; }
  .home-editorial-search { grid-template-columns: 1fr; }
  .home-editorial-search button { min-height: 48px; }
  .home-editorial-section { padding-top: 3.5rem; }
  .home-editorial-section-head { display: block; }
  .home-editorial-section-head p { margin-top: .75rem; }
  .home-editorial-section-head > a { display: inline-block; margin-top: 1rem; }
  .home-editorial-feature-grid, .home-editorial-journal { grid-template-columns: 1fr; }
  .home-editorial-lead { min-height: 330px; }
  .home-editorial-side-stack { grid-template-rows: auto; }
  .home-editorial-discovery { grid-template-columns: 1fr; }
}

/* Utility sections: carry the field-guide treatment into the live widgets
   without changing the shared site shell or the approved hero. */
.home-editorial .home-widget {
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}
.home-editorial .home-widget > div,
.home-editorial .home-widget-signup > div {
  position: relative;
}
.home-editorial .home-widget h2,
.home-editorial #courses h2 {
  color: var(--home-ink);
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -.045em;
}
.home-editorial .home-widget h3 {
  color: var(--home-ink);
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em;
}
/* These two sections intentionally use dark green surfaces; restore the
   light heading ink after the shared widget hierarchy above. */
.home-editorial .home-widget-tools h1,
.home-editorial .home-widget-tools h2,
.home-editorial .home-widget-tools h3,
.home-editorial .home-widget-tools h4,
.home-editorial .home-widget-tools h5,
.home-editorial .home-widget-tools h6,
.home-editorial .home-widget-signup h1,
.home-editorial .home-widget-signup h2,
.home-editorial .home-widget-signup h3,
.home-editorial .home-widget-signup h4,
.home-editorial .home-widget-signup h5,
.home-editorial .home-widget-signup h6,
.home-editorial .home-widget-tools .home-tool-card h1,
.home-editorial .home-widget-tools .home-tool-card h2,
.home-editorial .home-widget-tools .home-tool-card h3,
.home-editorial .home-widget-signup .home-widget-card h1,
.home-editorial .home-widget-signup .home-widget-card h2,
.home-editorial .home-widget-signup .home-widget-card h3 {
  color: #f7f4e9;
}
.home-editorial .home-widget a,
.home-editorial #courses a {
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home-editorial .home-widget a:focus-visible,
.home-editorial #courses a:focus-visible,
.home-editorial #courses button:focus-visible,
.home-editorial #courses input:focus-visible,
.home-editorial #courses select:focus-visible {
  outline: 3px solid var(--home-rust);
  outline-offset: 3px;
}

/* Course explorer, including the map mode and its filters. */
.home-editorial #courses {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.home-editorial #courses > .flex:first-child {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--home-line);
}
.home-editorial #courses .view-toggle,
.home-editorial #courses #sortFilter {
  border-radius: 0;
  border-color: var(--home-line);
  box-shadow: none;
}
.home-editorial #courses .view-toggle.bg-golf-blue {
  background: var(--home-moss);
}
.home-editorial #courses .view-toggle.bg-white:hover,
.home-editorial #courses #sortFilter:hover {
  background: var(--home-paper);
}
.home-editorial #mapView {
  margin-top: 1.5rem;
}
.home-editorial #mapView > .bg-white,
.home-editorial #mapView .bg-white.rounded-xl,
.home-editorial #mapView .bg-white.rounded-2xl {
  border: 1px solid var(--home-line);
  border-radius: 0;
  box-shadow: 0 10px 22px rgba(23,52,46,.07);
}
.home-editorial #mapView #ai-search-input {
  border: 1px solid var(--home-line);
  border-radius: 0;
  background: transparent;
  color: var(--home-ink);
}
.home-editorial #mapView #ai-search-button {
  border-radius: 0;
  background: var(--home-moss);
  font: 700 .68rem "DM Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.home-editorial #mapView #ai-search-button:hover { background: var(--home-ink); }
.home-editorial #mapView #search-results-info {
  border-radius: 0;
  border-left-color: var(--home-rust);
  background: #eeeade;
}
.home-editorial #mapView .sticky {
  border: 1px solid var(--home-line);
  border-radius: 0;
  box-shadow: 0 10px 22px rgba(23,52,46,.07);
}
.home-editorial #mapView label:hover { background: #eeeee5; }
.home-editorial #mapView select {
  border-color: var(--home-line);
  border-radius: 0;
  background: var(--home-widget-surface, #faf9f4);
}
.home-editorial #coursesMap {
  border: 0;
}
.home-editorial #gridView .course-card {
  background: var(--home-widget-surface, #faf9f4);
  border-color: var(--home-line);
  border-radius: 0;
  box-shadow: none;
}
.home-editorial #gridView .course-card:hover {
  box-shadow: 0 14px 28px rgba(23,52,46,.11);
  transform: translateY(-3px);
}
.home-editorial #gridView .course-card .border-gray-200 {
  border-color: var(--home-line);
}
.home-editorial #gridView .course-card .text-gray-600,
.home-editorial #gridView .course-card .text-gray-500 {
  color: var(--home-muted);
}
.home-editorial #gridView .course-card .text-golf-blue {
  color: var(--home-moss);
}

/* Graduated from the approved editorial homepage map and card preview. */
.home-editorial .home-editorial-section { max-width: 1180px; }
.home-editorial .home-editorial-section-head { padding-bottom: 1.35rem; margin-bottom: 1.5rem; }
.home-editorial .home-editorial-section-head h2,
.home-editorial #viewTitle { font-size: clamp(2rem, 3.4vw, 3.35rem); font-weight: 500; letter-spacing: -.055em; }
.home-editorial .home-editorial-feature-grid { gap: 1rem; }
.home-editorial .home-editorial-lead,
.home-editorial .home-editorial-text-card {
  border: 1px solid var(--home-line);
  box-shadow: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.home-editorial .home-editorial-lead { min-height: 28rem; }
.home-editorial .home-editorial-text-card { min-height: 13.5rem; padding: clamp(1.35rem, 3vw, 2rem); }
.home-editorial .home-editorial-lead img { filter: saturate(.78) contrast(1.04); transition: transform .5s ease; }
.home-editorial .home-editorial-text-card h3,
.home-editorial .home-editorial-lead h3 { letter-spacing: -.045em; }
.home-editorial #courses > .grid { gap: 1rem; align-items: start; }
.home-editorial #coursesMap { min-height: 35rem; background: #dfe9e0; }
.home-editorial #coursesMap:empty {
  background: linear-gradient(135deg, rgba(46,91,78,.08), rgba(210,166,74,.08)),
    repeating-linear-gradient(30deg, transparent 0 32px, rgba(46,91,78,.08) 33px 34px);
}
.home-editorial #courses .view-toggle { min-height: 2.7rem; }
.home-editorial #gridView .course-card { min-height: 16rem; display: flex; flex-direction: column; }
.home-editorial #gridView .course-card > a { display: flex; flex: 1; flex-direction: column; }
.home-editorial #gridView .course-card > a > div:last-child { flex: 1; }
.home-editorial #gridView .course-card h3 { font-size: 1.45rem; font-weight: 500; line-height: 1.05; }
.home-editorial #gridView .course-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem 0;
  color: var(--home-rust);
  font: 500 .62rem/1.3 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-editorial .map-popup-card { width: 240px; overflow: hidden; color: var(--home-ink); }
.home-editorial .map-popup-card img { width: 100%; height: 130px; object-fit: cover; }
.home-editorial .map-popup-card > div { padding: .8rem; }
.home-editorial .map-popup-card span { color: var(--home-rust); text-transform: uppercase; font-size: .65rem; }
.home-editorial .map-popup-card h3 { margin: .25rem 0; font: 500 1.2rem Fraunces, Georgia, serif; }
.home-editorial .map-popup-card p { color: var(--home-muted); font-size: .78rem; }
.home-editorial .map-popup-card a { color: var(--home-moss); text-decoration: underline; font-size: .78rem; }
@media (hover: hover) {
  .home-editorial .home-editorial-lead:hover,
  .home-editorial .home-editorial-text-card:hover {
    border-color: var(--home-moss);
    box-shadow: 0 14px 30px rgba(32,52,47,.12);
    transform: translateY(-4px);
  }
  .home-editorial .home-editorial-lead:hover img { transform: scale(1.035); }
}

/* Stays, feature/value cards, tools, news, and blog. */
.home-editorial .home-widget-stays,
.home-editorial .home-widget-news,
.home-editorial .home-widget-blog { background: var(--home-paper); }
.home-editorial .home-widget-story { background: #eeece3; }
.home-editorial .home-widget-card {
  border: 1px solid var(--home-line);
  border-radius: 0;
  box-shadow: none;
  background: var(--home-widget-surface, #faf9f4);
}
.home-editorial .home-widget-card:hover {
  box-shadow: 0 14px 28px rgba(23,52,46,.11);
  transform: translateY(-3px);
}
.home-editorial .home-widget-card img {
  filter: saturate(.86);
}
.home-editorial .home-widget-card .text-gray-600,
.home-editorial .home-widget-card .text-gray-500 {
  color: var(--home-muted);
}
.home-editorial .home-widget-card .text-golf-blue {
  color: var(--home-moss);
}
.home-editorial .home-widget-tools {
  background: var(--home-ink);
}
.home-editorial .home-tool-card {
  border: 1px solid rgba(232,200,115,.35);
  border-radius: 0;
  background: rgba(250,249,244,.08);
  box-shadow: none;
}
.home-editorial .home-tool-card:hover {
  background: rgba(250,249,244,.14);
  transform: translateY(-3px);
}
.home-editorial .home-widget-signup {
  border: 1px solid var(--home-moss);
  border-radius: 0;
  background: var(--home-moss);
}
.home-editorial .home-widget-signup a.bg-white,
.home-editorial .home-tool-card a.bg-white {
  border-radius: 0;
  background: #faf9f4 !important;
  color: var(--home-ink) !important;
}
.home-editorial .home-widget-signup a.bg-white:hover,
.home-editorial .home-tool-card a.bg-white:hover {
  background: var(--home-moss) !important;
  color: #fff !important;
}
.home-editorial .home-widget-news .home-widget-card h3,
.home-editorial .home-widget-blog .home-widget-card h3 {
  line-height: 1.05;
}

@media (max-width: 760px) {
  .home-editorial .home-course-feature { display: block; }
  .home-editorial .home-course-feature > span { display: inline-block; margin-top: 1rem; }
  .home-editorial #courses { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .home-editorial #courses > .flex:first-child { padding-bottom: 1rem; }
  .home-editorial #mapView #ai-search-button { position: static; width: 100%; margin-top: .6rem; min-height: 46px; }
  .home-editorial #mapView #ai-search-input { padding-right: 1rem; }
  .home-editorial #gridView .course-card:hover,
  .home-editorial .home-widget-card:hover,
  .home-editorial .home-tool-card:hover { transform: none; }
  .home-editorial .home-blog-card { display: block; }
  .home-editorial .home-blog-card > div:first-child { width: 100%; height: 12rem; margin-bottom: 1rem; }
  .home-editorial .home-editorial-lead { min-height: 22rem; }
  .home-editorial #coursesMap { min-height: 25rem; }
}