/* Golf in Thailand — page-specific styles */

.tl-main.tl-main--golf {
  padding: 0;
  background: #faf9f6;
}

.tl-golf {
  --golf-paper: #faf9f6;
  --golf-paper-soft: #f0eee8;
  --golf-ink: #0d2e4d;
  --golf-muted: #5a6a7a;
  --golf-green: #1a6b3c;
  --golf-green-deep: #145230;
  --golf-sand: #c9b89a;
  --golf-sand-soft: #f3ebe0;
  --golf-note: #3d6b8a;
  --golf-line: rgba(13, 46, 77, 0.1);
  --golf-white: #fff;
  color: var(--golf-ink);
  font-family: "Bricolage Grotesque", sans-serif;
}

.tl-golf__wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.tl-golf-note {
  margin: 0;
  color: var(--golf-note);
  font-family: Caveat, "Segoe Script", cursive;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  transform: rotate(-4deg);
}

.tl-golf-note--right {
  transform: rotate(4deg);
  text-align: right;
}

.tl-golf-note--light {
  color: rgba(255, 255, 255, 0.92);
}

/* —— Hero extras —— */
.tl-hero--golf {
  position: relative;
}

.tl-hero--golf .tl-hero__inner {
  max-width: 40rem;
}

.tl-hero--golf .tl-lead {
  max-width: 36em;
}

.tl-golf-hero__support {
  margin: 14px 0 0;
  max-width: 38em;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-golf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tl-golf-hero__note {
  position: absolute;
  right: max(24px, calc((100% - 1120px) / 2));
  top: 28%;
  z-index: 2;
  max-width: 14ch;
  color: #fff;
  text-shadow: 0 2px 12px rgba(13, 46, 77, 0.45);
  pointer-events: none;
}

/* —— Buttons —— */
.tl-golf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  background: var(--golf-green);
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tl-golf-btn:hover {
  background: var(--golf-green-deep);
}

.tl-golf-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff !important;
  backdrop-filter: blur(4px);
}

.tl-golf-btn--ghost:hover {
  background: #fff;
  color: var(--golf-ink) !important;
}

.tl-golf-btn--outline {
  background: var(--golf-white);
  border-color: var(--golf-ink);
  color: var(--golf-ink) !important;
}

.tl-golf-btn--outline:hover {
  background: var(--golf-ink);
  color: #fff !important;
}

.tl-golf-btn--lg {
  padding: 14px 26px;
  font-size: 15px;
  border-radius: 10px;
}

.tl-golf-link {
  color: var(--golf-green);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.tl-golf-link:hover {
  text-decoration: underline;
}

/* —— Highlights strip —— */
.tl-golf-highlights {
  background: var(--golf-white);
  border-bottom: 1px solid var(--golf-line);
}

.tl-golf-highlights__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 16px;
  padding: 28px 0;
}

.tl-golf-hl {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 4px 8px;
}

.tl-golf-hl__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(26, 107, 60, 0.1);
  color: var(--golf-green);
}

.tl-golf-hl__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tl-golf-hl h3 {
  margin: 0;
  color: var(--golf-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

.tl-golf-hl p {
  margin: 0;
  color: var(--golf-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
}

/* —— Sections —— */
.tl-golf-section {
  position: relative;
  padding: 64px 0;
  border-top: 1px solid var(--golf-line);
}

.tl-golf-section--soft {
  background: linear-gradient(180deg, var(--golf-paper-soft) 0%, var(--golf-paper) 70%);
}

.tl-golf-section--white {
  background: var(--golf-white);
}

.tl-golf-head {
  position: relative;
  max-width: 42rem;
  margin: 0 0 36px;
}

.tl-golf-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 32px;
  max-width: none;
}

.tl-golf-eyebrow {
  margin: 0 0 10px;
  color: var(--golf-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tl-golf-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 10px 0 0;
  border-radius: 50%;
  background: var(--golf-green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  vertical-align: middle;
}

.tl-golf-head h2,
.tl-golf-intro h2 {
  margin: 0;
  color: var(--golf-ink);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tl-golf-head h2 {
  display: inline;
}

.tl-golf-head__sub {
  margin: 14px 0 0;
  color: var(--golf-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-golf-head__note {
  flex: 0 1 220px;
  margin-top: 8px;
}

/* —— Intro —— */
.tl-golf-intro {
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 45% at 95% 5%, rgba(26, 107, 60, 0.07), transparent 55%),
    radial-gradient(ellipse 40% 40% at 0% 90%, rgba(201, 184, 154, 0.16), transparent 50%),
    var(--golf-paper);
}

.tl-golf-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.tl-golf-intro__lead {
  max-width: 40em;
  margin: 16px 0 0;
  color: var(--golf-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

.tl-golf-intro__lead + .tl-golf-intro__lead {
  margin-top: 14px;
}

.tl-golf-intro__actions {
  margin-top: 28px;
}

.tl-golf-intro__visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--golf-paper-soft);
}

.tl-golf-intro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tl-golf-intro__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--golf-ink);
  font-size: 12px;
  font-weight: 500;
}

.tl-golf-intro__visual-note {
  position: absolute;
  right: 12px;
  top: 16px;
  max-width: 12ch;
  color: #fff;
  text-shadow: 0 2px 10px rgba(13, 46, 77, 0.5);
}

/* —— Destination / course / experience cards —— */
.tl-golf-grid {
  display: grid;
  gap: 22px;
}

.tl-golf-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tl-golf-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tl-golf-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tl-golf-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--golf-white);
  border: 1px solid var(--golf-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(13, 46, 77, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  scroll-margin-top: 88px;
}

.tl-golf-card:hover {
  box-shadow: 0 16px 36px rgba(13, 46, 77, 0.1);
  transform: translateY(-3px);
}

.tl-golf-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--golf-paper-soft);
}

.tl-golf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.tl-golf-card:hover .tl-golf-card__media img {
  transform: scale(1.04);
}

.tl-golf-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--golf-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tl-golf-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 18px 16px 20px;
}

.tl-golf-card__body h3 {
  margin: 0;
  color: var(--golf-ink);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.tl-golf-card__meta {
  margin: 0;
  color: var(--golf-muted);
  font-size: 13px;
  font-weight: 500;
}

.tl-golf-card__body p {
  margin: 0;
  flex: 1;
  color: var(--golf-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

.tl-golf-card__highlight {
  margin: 0;
  color: var(--golf-green);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.tl-golf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.tl-golf-tags li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--golf-paper-soft);
  color: var(--golf-muted);
  font-size: 11px;
  font-weight: 500;
}

.tl-golf-card a.tl-golf-card__cta {
  align-self: flex-start;
  margin-top: 8px;
  color: var(--golf-green);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.tl-golf-card a.tl-golf-card__cta:hover {
  text-decoration: underline;
}

a.tl-golf-card--link {
  text-decoration: none !important;
  color: inherit;
}

/* —— Ways / numbered —— */
.tl-golf-ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tl-golf-way {
  padding: 24px 22px;
  border-radius: 14px;
  background: var(--golf-white);
  border: 1px solid var(--golf-line);
}

.tl-golf-way__num {
  display: block;
  margin: 0 0 12px;
  color: var(--golf-green);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.tl-golf-way h3 {
  margin: 0 0 10px;
  color: var(--golf-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tl-golf-way p {
  margin: 0;
  color: var(--golf-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

/* —— Caddy split —— */
.tl-golf-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.tl-golf-split__media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--golf-paper-soft);
}

.tl-golf-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tl-golf-split__copy .tl-golf-head {
  margin-bottom: 18px;
}

.tl-golf-split__copy p {
  margin: 0 0 14px;
  color: var(--golf-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-golf-bullets {
  margin: 18px 0 0;
  padding: 0 0 0 1.1em;
  color: var(--golf-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-golf-bullets li + li {
  margin-top: 6px;
}

/* —— Seasons —— */
.tl-golf-seasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tl-golf-season {
  padding: 28px 24px;
  border-radius: 14px;
  background: var(--golf-white);
  border: 1px solid var(--golf-line);
}

.tl-golf-season__when {
  margin: 0 0 8px;
  color: var(--golf-green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tl-golf-season h3 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 26px;
  font-weight: 600;
}

.tl-golf-season p {
  margin: 0;
  color: var(--golf-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

.tl-golf-season-note {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--golf-sand-soft);
  color: var(--golf-ink);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

/* —— Plan blocks —— */
.tl-golf-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tl-golf-plan {
  padding: 22px 20px;
  border-radius: 12px;
  background: var(--golf-white);
  border: 1px solid var(--golf-line);
}

.tl-golf-plan h3 {
  margin: 0 0 10px;
  color: var(--golf-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tl-golf-plan p {
  margin: 0;
  color: var(--golf-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

/* —— Finder —— */
.tl-golf-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.tl-golf-filter label {
  display: block;
  margin: 0 0 8px;
  color: var(--golf-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tl-golf-filter select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--golf-line);
  border-radius: 10px;
  background: var(--golf-white);
  color: var(--golf-ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.tl-golf-filter select:focus {
  outline: 2px solid rgba(26, 107, 60, 0.35);
  outline-offset: 1px;
}

.tl-golf-chips {
  display: none;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.tl-golf-chip {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border: 1.5px solid var(--golf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--golf-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.tl-golf-chip.is-active {
  background: var(--golf-ink);
  border-color: var(--golf-ink);
  color: #fff;
}

.tl-golf-finder-status {
  margin: 0 0 18px;
  color: var(--golf-muted);
  font-size: 14px;
  font-weight: 300;
}

.tl-golf-finder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tl-golf-finder-empty {
  display: none;
  padding: 40px 20px;
  text-align: center;
  color: var(--golf-muted);
  font-size: 15px;
  font-weight: 300;
}

.tl-golf-finder-empty.is-visible {
  display: block;
}

.tl-golf-finder-card.is-hidden {
  display: none;
}

.tl-golf-finder-card details {
  margin-top: 8px;
}

.tl-golf-finder-card summary {
  cursor: pointer;
  color: var(--golf-green);
  font-size: 14px;
  font-weight: 500;
  list-style: none;
}

.tl-golf-finder-card summary::-webkit-details-marker {
  display: none;
}

.tl-golf-finder-card details[open] summary {
  margin-bottom: 8px;
}

.tl-golf-finder-extra {
  color: var(--golf-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
}

.tl-golf-finder-extra a {
  color: var(--golf-green);
}

/* —— Tips —— */
.tl-golf-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tl-golf-tip {
  padding: 20px 18px;
  border-radius: 12px;
  background: var(--golf-white);
  border: 1px solid var(--golf-line);
}

.tl-golf-tip h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.tl-golf-tip p {
  margin: 0;
  color: var(--golf-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

/* —— Beyond —— */
.tl-golf-beyond {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tl-golf-beyond a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  text-decoration: none !important;
  color: #fff;
}

.tl-golf-beyond a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tl-golf-beyond a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 46, 77, 0.82) 0%, rgba(13, 46, 77, 0.15) 55%, transparent 100%);
}

.tl-golf-beyond a:hover img {
  transform: scale(1.05);
}

.tl-golf-beyond__label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 1;
}

.tl-golf-beyond__label strong {
  display: block;
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
}

.tl-golf-beyond__label span {
  font-size: 13px;
  font-weight: 300;
  opacity: 0.92;
  line-height: 1.4;
}

.tl-golf-beyond-lead {
  max-width: 40em;
  margin: 0 0 28px;
  color: var(--golf-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

/* —— Final CTA —— */
.tl-golf-cta {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(13, 46, 77, 0.86), rgba(13, 46, 77, 0.55)),
    var(--golf-cta-image, none) center / cover no-repeat;
  color: #fff;
}

.tl-golf-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.tl-golf-cta h2 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
}

.tl-golf-cta p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-golf-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tl-golf-cta .tl-golf-btn {
  background: var(--golf-green);
}

.tl-golf-cta .tl-golf-btn:hover {
  background: #fff;
  color: var(--golf-ink) !important;
}

.tl-golf-cta .tl-golf-btn--ghost:hover {
  background: #fff;
  color: var(--golf-ink) !important;
}

.tl-golf-cta__note {
  position: absolute;
  right: max(24px, calc((100% - 1120px) / 2));
  bottom: 40px;
  z-index: 1;
}

/* —— Related —— */
.tl-golf-related {
  padding: 56px 0 72px;
}

.tl-golf-related h2 {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 500;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .tl-golf-highlights__inner {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 22px 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .tl-golf-hl {
    flex: 0 0 200px;
  }

  .tl-golf-grid--4,
  .tl-golf-beyond,
  .tl-golf-ways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tl-golf-finder-grid,
  .tl-golf-grid--3,
  .tl-golf-seasons,
  .tl-golf-plan-grid,
  .tl-golf-tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tl-golf-filters {
    grid-template-columns: 1fr;
  }

  .tl-golf-chips {
    display: flex;
  }
}

@media (max-width: 720px) {
  .tl-golf__wrap {
    width: min(100% - 32px, 1120px);
  }

  .tl-golf-intro,
  .tl-golf-section {
    padding: 44px 0;
  }

  .tl-golf-intro__grid,
  .tl-golf-split {
    grid-template-columns: 1fr;
  }

  .tl-golf-grid--4,
  .tl-golf-grid--3,
  .tl-golf-grid--2,
  .tl-golf-beyond,
  .tl-golf-ways,
  .tl-golf-seasons,
  .tl-golf-plan-grid,
  .tl-golf-tips,
  .tl-golf-finder-grid {
    grid-template-columns: 1fr;
  }

  .tl-golf-hero__note {
    position: static;
    margin: 20px 0 0;
    max-width: none;
    text-shadow: none;
  }

  .tl-hero--golf .tl-hero__inner {
    padding-bottom: 8px;
  }

  .tl-golf-cta {
    padding: 56px 0;
  }

  .tl-golf-cta__note {
    position: static;
    margin-top: 28px;
    transform: rotate(-3deg);
  }

  .tl-golf-beyond a {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tl-golf-card,
  .tl-golf-card__media img,
  .tl-golf-beyond a img {
    transition: none;
  }
}
