/* Unified editorial hierarchy for the three primary home section headings. */
main#main {
  --home-heading-eyebrow: 0.75rem;
  --home-heading-title: clamp(2.15rem, 3vw, 2.65rem);
  --home-heading-copy: 0.94rem;
}

.golf-map__heading,
#package-courses .home-section-heading,
.home-latest-news__heading > div {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.golf-map__heading .eyebrow,
#package-courses .home-section-heading .eyebrow,
.home-latest-news__heading .eyebrow {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #167568;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: var(--home-heading-eyebrow);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.3;
}

.golf-map__heading .eyebrow span,
#package-courses .home-section-heading .eyebrow::before,
#package-courses .home-section-heading .eyebrow::after,
.home-latest-news__heading .eyebrow::before,
.home-latest-news__heading .eyebrow::after {
  width: 30px;
  height: 1px;
  flex: 0 0 30px;
  background: #91aaa5;
}

.golf-map__heading h2,
#package-courses .home-section-heading .section-title,
.home-latest-news__heading h2 {
  margin: 13px 0 0;
  color: #15201e;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: var(--home-heading-title);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.18;
  text-align: center;
}

.golf-map__heading > p:last-child,
#package-courses .home-section-heading .muted,
.home-latest-news__heading div > p:last-child {
  max-width: 680px;
  margin: 13px auto 0;
  color: #687974;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: var(--home-heading-copy);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.65;
  text-align: center;
}

#package-courses .golf-map__package-count {
  display: none;
}

#package-courses .home-section-heading,
.home-latest-news__heading {
  margin-bottom: 48px;
}

.home-latest-news__heading {
  position: relative;
  display: flex;
  width: 100%;
  padding-bottom: 48px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-latest-news__heading > a {
  position: absolute;
  right: 0;
  bottom: 8px;
  margin: 0;
}

@media (max-width: 767px) {
  main#main {
    --home-heading-eyebrow: 0.68rem;
    --home-heading-title: clamp(1.8rem, 9vw, 2.15rem);
    --home-heading-copy: 0.88rem;
  }

  .golf-map__heading,
  #package-courses .home-section-heading,
  .home-latest-news__heading > div {
    max-width: calc(100% - 24px);
  }

  .home-latest-news__heading > a {
    position: static;
    margin-top: 20px;
  }
}

/* Keep all news-card typography consistent across large and compact items. */
.home-latest-news,
.home-latest-news button,
.home-latest-news input,
.home-latest-news select {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
}

.home-latest-news__card-title,
.home-latest-news__card-title a,
.home-latest-news__list-more-title,
.home-latest-news__list-more-title a {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.home-latest-news__list-more-title {
  margin: 0 0 4px;
}

.home-latest-news__meta,
.home-latest-news__list-more-meta {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.home-latest-news__list-more-meta {
  margin-bottom: 8px;
}

.home-latest-news__card-summary,
.home-latest-news__list-more-summary {
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.65;
}

.home-latest-news__card-link,
.home-latest-news__list-more-item .home-editorial-link {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 650;
}

.home-latest-news__card-link {
  margin-top: 12px;
  margin-left: 6px;
}

/* Align the primary article copy with the visible left edge of its image. */
.home-latest-news__card-body {
  padding-right: 0;
  padding-left: 0;
  box-sizing: border-box;
}

/* Final unified section-heading system. */
body main#main .golf-map__heading,
body main#main #package-courses .home-section-heading,
body main#main .home-latest-news__heading > div {
  display: flex;
  width: min(760px, 100%);
  max-width: 760px;
  margin-right: auto !important;
  margin-left: auto !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
}

body main#main .golf-map__heading .eyebrow,
body main#main #package-courses .home-section-heading .eyebrow,
body main#main .home-latest-news__heading .eyebrow {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #167568;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-align: center;
}

body main#main .golf-map__heading .eyebrow span,
body main#main #package-courses .home-section-heading .eyebrow::before,
body main#main #package-courses .home-section-heading .eyebrow::after,
body main#main .home-latest-news__heading .eyebrow::before,
body main#main .home-latest-news__heading .eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  flex: 0 0 30px;
  background: #91aaa5;
}

body main#main .golf-map__heading h2,
body main#main #package-courses .home-section-heading .section-title,
body main#main .home-latest-news__heading h2 {
  margin: 13px 0 0;
  color: #15201e;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  font-size: clamp(2.15rem, 3vw, 2.65rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.18;
  text-align: center;
}

body main#main .golf-map__heading > p:last-child,
body main#main #package-courses .home-section-heading .muted,
body main#main .home-latest-news__heading div > p:last-child {
  width: 100%;
  max-width: 680px;
  margin: 13px auto 0;
  color: #687974;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  font-size: 0.94rem;
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.65;
  text-align: center;
}

body main#main .golf-map__heading,
body main#main #package-courses .home-section-heading {
  margin-bottom: 48px !important;
}

body main#main #package-courses .home-section-heading {
  margin-bottom: 32px !important;
}

body main#main .home-latest-news__heading {
  position: relative;
  display: grid;
  width: 100%;
  padding: 0 0 48px;
  place-items: center;
  border-bottom: 0;
  box-sizing: border-box;
  text-align: center;
}

body main#main .home-latest-news__heading > a {
  position: absolute;
  right: 0;
  bottom: 8px;
  margin: 0;
}

@media (max-width: 767px) {
  body main#main .golf-map__heading h2,
  body main#main #package-courses .home-section-heading .section-title,
  body main#main .home-latest-news__heading h2 {
    font-size: clamp(1.8rem, 9vw, 2.15rem);
  }

  body main#main .home-latest-news__heading > a {
    position: static;
    margin-top: 22px;
  }
}

/* Final heading rhythm override: title group to section content. */
body main#main .golf-map__heading,
body main#main #package-courses .home-section-heading {
  margin-bottom: 32px !important;
}

body main#main .home-latest-news__inner {
  gap: 32px;
}

body main#main .home-latest-news__heading {
  margin: 0 !important;
  padding-bottom: 0;
  border-bottom: 0;
}
