/* Uses the existing Appearance palette. No navigation changes. */
.thp-home-section{padding:clamp(2.5rem,5vw,5rem) 0;scroll-margin-top:8rem}
.thp-home-section .container{width:min(1200px,calc(100% - 2.5rem));margin-inline:auto}
.thp-home-section-heading{max-width:760px;margin-bottom:2rem}
.thp-home-section-heading h1,.thp-home-section-heading h2{font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.2;margin:0 0 1rem}
.thp-home-section-heading p,.thp-home-intro{font-size:1.08rem;line-height:1.75}
.thp-home-hero{background:linear-gradient(120deg,#eef4e8,#fff)}
.thp-home-hero-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(2rem,5vw,5rem);align-items:center}
.thp-home-hero-copy h1{font-size:clamp(2rem,4vw,3.6rem);line-height:1.12;letter-spacing:-.035em;margin:1rem 0 1.5rem;overflow-wrap:anywhere}
.thp-home-hero-grid[data-alignment=center] .thp-home-hero-copy{text-align:center}
.thp-home-hero-grid[data-alignment=right] .thp-home-hero-copy{text-align:right}
.thp-home-hero-media img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:2rem .5rem 2rem .5rem}
.thp-home-hero-copy .text-link{display:inline-block;margin-top:1.3rem;font-weight:600}
.thp-home-grid{display:grid;gap:1.5rem}
.thp-home-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.thp-home-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.thp-home-card,.thp-home-record{min-width:0;overflow:hidden;border:1px solid #dce6d5;border-radius:1rem;background:var(--content-bg,#fff);color:var(--text,#33412c);display:flex;flex-direction:column}
.thp-home-card>div,.thp-home-record-body{padding:1.4rem;display:flex;flex-direction:column;flex:1;gap:.8rem}
.thp-home-card h3,.thp-home-record h3{font-size:1.25rem;line-height:1.35;margin:0;overflow-wrap:anywhere}
.thp-home-card p,.thp-home-record p{margin:0;line-height:1.65}
.thp-home-card .button,.thp-home-record .button{margin-top:auto;align-self:flex-start;white-space:normal}
.thp-home-card img,.thp-home-record img{width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;display:block}
.thp-home-record h3 a{color:inherit;text-decoration:none}
.thp-home-record h3 a:hover{text-decoration:underline}
.thp-home-record time{font-size:.85rem;color:var(--text,#33412c)}
.thp-home-price{font-size:1.15rem;font-weight:700}.thp-home-price del{font-size:.9rem;font-weight:400;margin-right:.4rem}
.thp-home-section-actions{margin-top:1.5rem}.thp-home-section-actions:empty{display:none}
.thp-home-core_actions,.thp-home-rem,.thp-home-species{background:#f3f6ef}
.thp-home-core_actions .thp-home-card{border-top:4px solid var(--accent,var(--ds-accent-hover))}
.thp-home-service{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.thp-home-service img,.thp-home-section-media img,.thp-home-newsletter img{width:100%;height:auto;max-height:380px;object-fit:cover;border-radius:1rem}
.thp-home-section-media{max-width:600px;margin-bottom:2rem}
.thp-home-service-list{padding-left:1.3rem;line-height:2}
.thp-home-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem;margin:2rem 0}
.thp-home-stats>div{display:flex;flex-direction:column-reverse;border-top:2px solid var(--accent,var(--ds-accent-hover));padding-top:1rem}
.thp-home-stats dd{font-size:2.6rem;font-weight:700;margin:0;color:var(--heading,var(--ds-brand))}
.thp-home-stats dt{line-height:1.5}.thp-home-stats small{display:block}
.thp-home-project{max-width:800px;margin-bottom:1.5rem}
.thp-home-participate .thp-home-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
.thp-home-newsletter{display:flex;gap:2rem;align-items:center}.thp-home-newsletter img{max-width:300px}
.thp-home-announcement{background:var(--announcement-bg,var(--ds-brand));color:var(--announcement-text,#fff);padding:.65rem 0;font-size:.95rem}
.thp-home-announcement .container{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem 1rem;align-items:center}
.thp-home-announcement a{color:inherit;text-decoration:underline;font-weight:700;min-height:44px;display:inline-flex;align-items:center}
.thp-home-section a:focus-visible{outline:2px solid var(--focus,var(--ds-brand));outline-offset:4px}.thp-home-announcement a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
html.thp-high-contrast .thp-home-section,html.thp-high-contrast .thp-home-card,html.thp-high-contrast .thp-home-record,html.thp-high-contrast .thp-home-announcement{background:#fff!important;color:#000!important;border-color:#000}
@media(max-width:1000px){.thp-home-grid-four,.thp-home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.thp-home-hero-grid{gap:2rem}.thp-home-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.thp-home-hero-grid,.thp-home-service,.thp-home-grid-four,.thp-home-grid-three{grid-template-columns:1fr}.thp-home-hero-copy{text-align:left!important}.thp-home-section{padding:2.5rem 0}.thp-home-hero-media{order:2}.thp-home-stats{gap:1rem}.thp-home-newsletter{flex-direction:column;align-items:flex-start}.thp-home-section .hero-actions{display:flex;flex-wrap:wrap;gap:.7rem}.thp-home-section .button{max-width:100%}}
.homepage-editor .homepage-field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.homepage-module-editor,.homepage-card-editor{margin:1rem 0;border:1px solid #d6dfd0;border-radius:.7rem;padding:1rem}
.homepage-module-editor>summary,.homepage-card-editor>summary{cursor:pointer;font-weight:700;min-height:44px;display:list-item}
.homepage-module-editor>summary span{font-weight:400;font-size:.85rem;margin-left:1rem}
.homepage-module-editor>label,.homepage-field-pair,.homepage-record-selector,.homepage-module-editor>.media-path-picker{margin:1rem 0}
.homepage-editor label{display:block}.homepage-editor input:not([type=checkbox]):not([type=color]),.homepage-editor select,.homepage-editor textarea{width:100%;min-width:0;box-sizing:border-box}
.homepage-repeater{min-width:0;margin:1.5rem 0}.homepage-editor-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin:1.5rem 0}.homepage-warnings{padding:1rem;background:#fff4db}
@media(max-width:700px){.homepage-editor .homepage-field-pair{grid-template-columns:1fr}}

:is(html[data-theme="dark"],html.dark,.theme-dark) .thp-home-section{background:var(--content-bg,#101b13);color:var(--text,#fff)}
html.thp-high-contrast .thp-home-section h1,html.thp-high-contrast .thp-home-section h2,html.thp-high-contrast .thp-home-section h3,html.thp-high-contrast .thp-home-stats dd{color:#000!important}

.thp-home-signup-form{flex:1;min-width:0}
.thp-home-hero-copy .hero-actions{justify-content:flex-start}
.thp-home-hero-grid[data-alignment=center] .hero-actions{justify-content:center}
.thp-home-hero-grid[data-alignment=right] .hero-actions{justify-content:flex-end}
@media(max-width:620px){.thp-home-hero-grid .hero-actions{justify-content:flex-start!important}}
.thp-home-card h3 a{color:inherit;text-decoration:none}.thp-home-card h3 a:hover{text-decoration:underline}

