.theme-index-hero { padding-bottom: 38px; }
.theme-index-heading { max-width: 920px; }
.theme-index-heading h1,
.theme-detail-hero h1 { margin: 8px 0 18px; font-size: clamp(2.65rem, 6vw, 5.7rem); line-height: .96; letter-spacing: -.055em; }
.theme-index-heading > p:last-child,
.theme-detail-hero__content > p:last-of-type { max-width: 820px; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.theme-index-section { padding-top: 18px; padding-bottom: 76px; }
.theme-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.theme-index-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 14px 40px rgb(var(--ink-rgb) / .045); }
.theme-index-card__media { display: block; aspect-ratio: 16 / 8.4; overflow: hidden; background: var(--forest); }
.theme-index-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.theme-index-card:hover .theme-index-card__media img { transform: scale(1.02); }
.theme-index-card__body { padding: 26px 28px 29px; }
.theme-index-card__meta { color: var(--green); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.theme-index-card h2 { margin: 8px 0 12px; font-size: clamp(1.9rem, 3vw, 2.65rem); line-height: 1.02; letter-spacing: -.035em; }
.theme-index-card h2 a { text-decoration: none; }
.theme-index-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.theme-index-card__featured,
.theme-best-for,
.theme-score-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.theme-index-card__featured span,
.theme-best-for span,
.theme-score-chips span { padding: 7px 10px; border: 1px solid rgb(var(--forest-rgb) / .12); border-radius: 999px; background: rgb(var(--brand-green-rgb) / .07); color: var(--forest); font-size: .73rem; font-weight: 800; }
.theme-index-card__cta,
.theme-destination-card__cta { display: inline-flex; margin-top: 21px; color: var(--forest); font-size: .78rem; font-weight: 900; letter-spacing: .045em; text-decoration: none; text-transform: uppercase; }
.theme-index-actions,
.theme-navigation-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.theme-detail-hero { position: relative; overflow: hidden; min-height: 590px; display: flex; align-items: flex-end; background: var(--forest); color: white; }
.theme-detail-hero__media,
.theme-detail-hero__shade { position: absolute; inset: 0; }
.theme-detail-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.theme-detail-hero__shade { background: linear-gradient(90deg, rgb(7 39 28 / .89) 0%, rgb(7 39 28 / .68) 48%, rgb(7 39 28 / .25) 100%); }
.theme-detail-hero__content { position: relative; z-index: 1; padding-top: 92px; padding-bottom: 62px; }
.theme-detail-hero__content > p:last-of-type { color: rgb(255 255 255 / .88); }
.theme-detail-hero .breadcrumbs a,
.theme-detail-hero .breadcrumbs span,
.theme-detail-hero .eyebrow { color: white; }
.theme-detail-hero__stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.theme-detail-hero__stats span { padding: 10px 13px; border: 1px solid rgb(255 255 255 / .24); border-radius: 12px; background: rgb(0 0 0 / .17); font-size: .78rem; }
.theme-detail-hero__stats strong { font-size: .95rem; }

.theme-overview-section { padding-top: 72px; padding-bottom: 72px; }
.theme-overview-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr); gap: 34px; align-items: start; }
.theme-overview-copy h2 { margin: 6px 0 16px; font-size: clamp(2.15rem, 4vw, 3.35rem); line-height: 1.02; letter-spacing: -.04em; }
.theme-overview-copy > p:last-of-type { max-width: 760px; color: var(--muted); line-height: 1.68; }
.theme-selection-panel { padding: 25px 27px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgb(var(--brand-green-rgb) / .055); }
.theme-selection-panel > p:nth-child(2) { color: var(--muted); line-height: 1.58; }
.theme-rule-list { display: grid; gap: 8px; margin-top: 18px; }
.theme-rule-list > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 13px; border-radius: 12px; background: rgb(var(--white-rgb) / .72); }
.theme-rule-list span { color: var(--muted); font-size: .8rem; }
.theme-rule-list strong { color: var(--forest); }

.theme-destinations-section { padding-bottom: 82px; }
.theme-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr); gap: 40px; align-items: end; margin-bottom: 29px; }
.theme-section-heading h2 { margin: 5px 0 0; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -.04em; }
.theme-section-heading > p { margin: 0; color: var(--muted); line-height: 1.6; }
.theme-destination-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.theme-destination-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.theme-destination-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--forest); }
.theme-destination-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease; }
.theme-destination-card:hover .theme-destination-card__media img { transform: scale(1.025); }
.theme-destination-card__body { padding: 20px 21px 23px; }
.theme-destination-card__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .7rem; }
.theme-destination-card__meta span { color: var(--green); font-weight: 850; }
.theme-destination-card h3 { margin: 10px 0 9px; font-size: 1.6rem; line-height: 1.08; }
.theme-destination-card h3 a { text-decoration: none; }
.theme-destination-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.52; }
.theme-score-chips { margin-top: 14px; }
.theme-score-chips span { font-size: .67rem; }

@media (max-width: 950px) {
    .theme-index-grid,
    .theme-overview-grid,
    .theme-section-heading { grid-template-columns: 1fr; }
    .theme-destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .theme-index-grid,
    .theme-destination-grid { grid-template-columns: 1fr; }
    .theme-index-card__body { padding: 22px; }
    .theme-detail-hero { min-height: 520px; }
    .theme-detail-hero__content { padding-top: 72px; padding-bottom: 46px; }
    .theme-overview-section { padding-top: 50px; padding-bottom: 52px; }
    .theme-destinations-section { padding-bottom: 58px; }
    .theme-destination-card__meta { align-items: flex-start; flex-direction: column; gap: 5px; }
}
