/*
Theme Name: Her Turn Now
Theme URI: https://herturnnow.nl
Author: Her Turn Now
Description: Eigen blokthema voor Her Turn Now (HTN) – Build, Support & Repeat. Bordeaux en fuchsia huisstijl, pagina's Home, Over HTN, Community en Events.
Version: 1.0.3
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: her-turn-now
*/

/* ---------- basis ---------- */
:root {
	--htn-bordeaux: #4A0D20;
	--htn-diep: #2E0814;
	--htn-fuchsia: #F25CAE;
	--htn-fuchsia-tekst: #B0246F;
	--htn-blush: #F8E1EC;
	--htn-creme: #FBF6F2;
	--htn-inkt: #2B1319;
	--htn-inkt-zacht: #755A61;
	--htn-lijn: #E6D3D9;
	--htn-serif: 'Bodoni Moda', Georgia, serif;
	--htn-pad: clamp(64px, 10vw, 120px);
	--htn-side: clamp(20px, 4vw, 40px);
}
body { margin: 0; background: var(--htn-creme); color: var(--htn-inkt); -webkit-font-smoothing: antialiased; }
.htn-main { margin: 0 !important; }
.htn-main > * { margin-block-start: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
h1.wp-block-heading { font-size: clamp(40px, 6vw, 76px); line-height: 1.05; }
h2.wp-block-heading { font-size: clamp(32px, 4vw, 44px); line-height: 1.18; }
h3.wp-block-heading { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.3; }
/* vaste ruimte tussen kop en tekst, ongeacht WordPress-standaarden */
.htn-main :is(h1, h2, h3) + p, .htn-main :is(h1, h2, h3) + .wp-block-buttons, .htn-main p + p, .htn-main p + .wp-block-buttons { margin-top: 1.25rem; }
.htn-main h1 + p.htn-lead { margin-top: 1.75rem; }
.htn-main .htn-eyebrow + :is(h1, h2, h3) { margin-top: 0.9rem; }

/* ---------- opbouw ---------- */
.htn-section { padding: var(--htn-pad) var(--htn-side); }
.htn-section-flush { padding-top: 0; }
.htn-wrap { max-width: 1100px; margin-left: auto !important; margin-right: auto !important; }
.htn-wide { max-width: 1200px; }
.htn-narrow { max-width: 820px; }
.htn-center { text-align: center; }
.htn-center .wp-block-buttons, .htn-center-buttons { justify-content: center; }
.htn-small { font-size: 14px; color: var(--htn-inkt-zacht); margin-top: 40px !important; }

/* rijen en rasters: geen flow-marges tussen de kinderen */
.htn-split, .htn-cards, .htn-testimonials, .htn-steps, .htn-values, .htn-numsteps,
.htn-feature, .htn-facts, .htn-tickets, .htn-upcomings, .htn-header-inner, .htn-footer-cols, .htn-footer-bottom {
	display: flex; flex-wrap: wrap;
}
.htn-split > *, .htn-cards > *, .htn-testimonials > *, .htn-steps > *, .htn-values > *, .htn-numsteps > *,
.htn-feature > *, .htn-facts > *, .htn-tickets > *, .htn-upcomings > *, .htn-header-inner > *,
.htn-footer-cols > *, .htn-footer-bottom > * { margin: 0 !important; }

.htn-split { gap: 64px; align-items: center; }
.htn-split > * { flex: 1 1 420px; min-width: 0; }
.htn-cards { gap: 24px; margin-top: 56px !important; }
.htn-cards > * { flex: 1 1 280px; }
.htn-cards-4 > * { flex-basis: 240px; }
.htn-card { border-top: 1px solid var(--htn-fuchsia); padding-top: 28px; }
.htn-card p:not(.htn-eyebrow) { font-size: 15px; line-height: 1.6; }

/* ---------- tekststijlen ---------- */
.htn-eyebrow { font-size: 11px !important; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--htn-fuchsia-tekst); margin-bottom: 0; }
.htn-lead { font-size: 18px; line-height: 1.7; }
.htn-bigquote { font-family: var(--htn-serif); font-style: italic; font-size: clamp(30px, 4vw, 44px); line-height: 1.25; color: var(--htn-bordeaux); }
.htn-midquote { font-family: var(--htn-serif); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--htn-bordeaux); }
.htn-textlink a { font-weight: 600; letter-spacing: 0.06em; }
.htn-pill { display: inline-block; background: var(--htn-blush); color: var(--htn-bordeaux); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.htn-heart { display: block; margin: 0 auto; }

/* ---------- knoppen ---------- */
.wp-block-button__link { transition: background .2s, color .2s; }
.wp-block-button__link:hover { background: var(--htn-blush); color: var(--htn-bordeaux); }
.htn-btn-outline .wp-block-button__link { background: transparent; color: var(--htn-blush); border: 1px solid var(--htn-blush); padding: 17px 31px; }
.htn-btn-outline .wp-block-button__link:hover { background: var(--htn-blush); color: var(--htn-bordeaux); }
.htn-newsletter-form button, .htn-light-btn .wp-block-button__link { background: var(--htn-bordeaux); color: var(--htn-creme); }

/* ---------- donkere vlakken ---------- */
.htn-dark { background: var(--htn-bordeaux); color: var(--htn-blush); }
.htn-dark h1, .htn-dark h2 { color: var(--htn-fuchsia); }
.htn-dark h3 { color: var(--htn-creme); }
.htn-dark .htn-eyebrow { color: var(--htn-fuchsia); }
.htn-dark a:not(.wp-block-button__link) { color: var(--htn-blush); }
.htn-blush { background: var(--htn-blush); }

/* ---------- foto-plekken (vervang door een afbeeldingsblok) ---------- */
.htn-photo { background: var(--htn-diep); min-height: 420px; display: flex; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; overflow: hidden; position: relative; }
.htn-photo-label, .htn-media-note { font-size: 12px !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--htn-blush); text-align: center; margin: 0; }
.htn-photo-light { background: var(--htn-blush); }
.htn-photo-light .htn-photo-label { color: var(--htn-bordeaux); }
.htn-photo-portrait { aspect-ratio: 4 / 5; min-height: 0; }
.htn-photo-wide { aspect-ratio: 4 / 3; min-height: 0; }
.htn-photo-small { aspect-ratio: 1; min-height: 0; background: var(--htn-blush); }
.htn-photo-small .htn-photo-label { color: var(--htn-bordeaux); }
.htn-photo figure, .htn-photo .wp-block-image { position: absolute; inset: 0; margin: 0 !important; }
.htn-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- header ---------- */
.htn-header { background: var(--htn-bordeaux); padding: 18px var(--htn-side); position: sticky; top: 0; z-index: 50; }
.admin-bar .htn-header { top: 32px; }
.htn-header-inner { max-width: 1200px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 16px 28px; }
.htn-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.htn-logo span { font-family: var(--htn-serif); font-size: 22px; color: var(--htn-creme); letter-spacing: 0.04em; }
.htn-nav { margin-left: auto !important; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; gap: 28px; }
.htn-nav a, .htn-nav .wp-block-navigation__responsive-container-open, .htn-nav .wp-block-navigation__responsive-container-close { color: var(--htn-creme) !important; text-decoration: none; }
.htn-nav a:hover { color: var(--htn-fuchsia) !important; }
.htn-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--htn-bordeaux) !important; padding: 32px; }
.htn-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 20px; }
.htn-header-cta .wp-block-button__link { padding: 12px 22px; font-size: 13px; }
@media (max-width: 600px) {
	.htn-header-cta { display: none; }
	.htn-logo span { font-size: 18px; }
	.htn-logo svg { width: 50px; height: 50px; }
	.admin-bar .htn-header { top: 0; }
}

/* ---------- home: hero ---------- */
.htn-hero { position: relative; background: var(--htn-diep); min-height: 720px; display: flex; align-items: center; justify-content: center; padding: 80px var(--htn-side); box-sizing: border-box; overflow: hidden; }
.htn-hero > * { margin: 0 !important; }
.htn-hero .htn-media-note { position: absolute; inset: 24px; border: 1px dashed var(--htn-inkt-zacht); display: flex; align-items: flex-end; justify-content: flex-end; padding: 16px; }
.htn-hero video, .htn-hero .wp-block-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; opacity: .45; }
.htn-hero-inner { position: relative; max-width: 860px; }
.htn-hero-inner > * + * { margin-top: 28px !important; }
.htn-hero h1 { color: var(--htn-fuchsia); }
.htn-hero .htn-eyebrow { color: var(--htn-fuchsia); font-size: 12px !important; }
.htn-hero .htn-lead { color: var(--htn-blush); max-width: 620px; margin-left: auto; margin-right: auto; }
.htn-hero .wp-block-buttons { justify-content: center; }

/* ---------- home: event-blok ---------- */
.htn-feature { background: var(--htn-bordeaux); }
.htn-feature > * { flex: 1 1 480px; }
.htn-feature .htn-photo { min-height: 460px; }
.htn-feature-text { padding: 64px 56px; box-sizing: border-box; color: var(--htn-blush); display: flex; flex-direction: column; justify-content: center; }
.htn-feature-text h2 { color: var(--htn-fuchsia); }
.htn-feature-text .htn-eyebrow { color: var(--htn-fuchsia); }
.htn-feature-text .htn-pill { align-self: flex-start; }
@media (max-width: 600px) { .htn-feature-text { padding: 40px 24px; } }

/* ---------- testimonials ---------- */
.htn-testimonials { gap: 24px; margin-top: 48px !important; }
.htn-testimonials > * { flex: 1 1 300px; }
.htn-testimonial { background: var(--htn-creme); padding: 36px; }
.htn-blush .htn-testimonial { background: var(--htn-creme); }
.htn-section:not(.htn-blush) .htn-testimonial { background: var(--htn-blush); }
.htn-testimonial-quote { font-family: var(--htn-serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--htn-bordeaux); }
.htn-testimonials .htn-photo { min-height: 300px; }

/* ---------- nieuwsbrief ---------- */
.htn-newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.htn-newsletter-form input { flex: 1 1 280px; max-width: 440px; padding: 16px 18px; border: 1px solid var(--htn-bordeaux); background: var(--htn-creme); font: inherit; font-size: 15px; color: var(--htn-inkt); border-radius: 0; }
.htn-newsletter-form input::placeholder { color: var(--htn-inkt-zacht); }
.htn-newsletter-form button { border: 0; padding: 16px 28px; font: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; cursor: pointer; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ---------- over HTN ---------- */
.htn-pagehero { padding-top: clamp(80px, 12vw, 140px); padding-bottom: clamp(80px, 12vw, 140px); }
.htn-pagehero .htn-lead { color: var(--htn-blush); }
.htn-steps { gap: 32px; margin-top: 56px !important; }
.htn-steps > * { flex: 1 1 230px; }
.htn-step > * + * { margin-top: 12px !important; }
.htn-step .htn-photo { margin-bottom: 20px !important; }
.htn-video { max-width: 960px; margin: 24px auto 0 !important; aspect-ratio: 16 / 9; background: var(--htn-bordeaux); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; position: relative; overflow: hidden; }
.htn-video > * { margin: 0 !important; }
.htn-video .wp-block-embed, .htn-video .wp-block-video { position: absolute; inset: 0; }
.htn-play { width: 72px; height: 72px; border-radius: 50%; background: var(--htn-fuchsia); color: var(--htn-bordeaux); display: flex; align-items: center; justify-content: center; font-size: 24px; padding-left: 4px; box-sizing: border-box; }
.htn-values { gap: 24px; margin-top: 48px !important; }
.htn-values > * { flex: 1 1 220px; }
.htn-value { border: 1px solid var(--htn-fuchsia); padding: 32px 28px; }
.htn-value-name { font-family: var(--htn-serif); font-size: 26px; color: var(--htn-fuchsia); margin-bottom: 8px; }

/* ---------- community ---------- */
.htn-numsteps { gap: 24px; margin-top: 48px !important; }
.htn-numsteps > * { flex: 1 1 260px; background: var(--htn-creme); padding: 32px; }
.htn-num { width: 44px; height: 44px; border-radius: 50%; background: var(--htn-bordeaux); color: var(--htn-fuchsia); display: flex; align-items: center; justify-content: center; font-family: var(--htn-serif); font-size: 20px; }
.htn-intake iframe { display: block; width: 100%; border: 0; margin-top: 32px; }

/* ---------- events ---------- */
.htn-eventhero { position: relative; display: flex; flex-wrap: wrap; background: var(--htn-diep); }
.htn-eventhero > * { margin: 0 !important; flex: 1 1 480px; }
.htn-photo-hero { min-height: 560px; }
.htn-eventhero-text { padding: var(--htn-pad) var(--htn-side); color: var(--htn-blush); display: flex; flex-direction: column; justify-content: center; }
.htn-eventhero-text h1 { color: var(--htn-fuchsia); font-size: clamp(40px, 5vw, 64px); }
.htn-eventhero-text .htn-eyebrow { color: var(--htn-fuchsia); }
.htn-facts-bar { background: var(--htn-blush); padding: 40px var(--htn-side); }
.htn-facts { gap: 24px 48px; }
.htn-facts > * { flex: 1 1 200px; }
.htn-fact-value { font-family: var(--htn-serif); font-size: 20px; color: var(--htn-bordeaux); line-height: 1.4; margin-top: 6px !important; }
.htn-program > * { margin: 0 !important; }
.htn-prog { display: flex; gap: 24px; border-top: 1px solid var(--htn-lijn); padding: 20px 0; }
.htn-prog > * { margin: 0 !important; }
.htn-prog-time { font-weight: 600; color: var(--htn-fuchsia-tekst); min-width: 80px; }
.htn-tickets { gap: 24px; margin-top: 48px !important; justify-content: center; }
.htn-tickets > * { flex: 1 1 320px; max-width: 480px; }
.htn-ticket { border: 1px solid var(--htn-fuchsia); padding: 40px; }
.htn-ticket-featured { background: var(--htn-diep); }
.htn-price { font-family: var(--htn-serif); font-size: 44px; color: var(--htn-fuchsia); line-height: 1.1; }
.htn-dark .htn-small { color: var(--htn-blush); }
.htn-upcomings { gap: 24px; margin-top: 48px !important; }
.htn-upcomings > * { flex: 1 1 280px; }
.htn-upcoming { border-top: 1px solid var(--htn-fuchsia); padding-top: 24px; }
.htn-upcoming > * + * { margin-top: 10px !important; }
.htn-upcoming-name { font-family: var(--htn-serif); font-size: 24px; color: var(--htn-bordeaux); }

/* ---------- algemene pagina's ---------- */
.htn-prose h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 32px; }

/* ---------- footer ---------- */
.htn-footer { background: var(--htn-diep); color: var(--htn-blush); padding: 72px var(--htn-side) 40px; font-size: 14px; }
.htn-footer a { color: var(--htn-blush); text-decoration: none; }
.htn-footer a:hover { color: var(--htn-fuchsia); }
.htn-footer .htn-eyebrow { color: var(--htn-fuchsia); margin-bottom: 6px !important; }
.htn-footer-cols { gap: 48px; justify-content: space-between; max-width: 1200px; }
.htn-footer-cols > * { flex: 1 1 200px; }
.htn-footer-brand { flex-basis: 280px !important; }
.htn-footer-col > *, .htn-footer-brand > * { margin: 0 0 8px !important; }
.htn-footer-name { font-family: var(--htn-serif); font-size: 28px; color: var(--htn-fuchsia); }
.htn-footer-bottom { max-width: 1200px; border-top: 1px solid var(--htn-inkt-zacht); padding-top: 20px; margin-top: 48px !important; gap: 16px; justify-content: space-between; font-size: 12px; color: var(--htn-lijn); }
