/*
 Theme Name:   Human Impact
 Theme URI:    https://humanimpact.nu
 Description:  Child theme voor Stichting Human Impact, gebouwd op Bricks.
 Author:       The Boost Company
 Author URI:   https://theboostcompany.eu
 Template:     bricks
 Version:      1.0.0
 Text Domain:  human-impact
*/

/* ---------- Human Impact basis ---------- */
@import url("fonts.css");

:root {
	--hi-yellow: #FAC921;
	--hi-yellow-soft: #FEF3C7;
	--hi-ink: #2B2B2D;
	--hi-grey: #4A4A4C;
	--hi-muted: #6B6B6E;
	--hi-cream: #FBF8F1;
	--hi-line: #EAE4D6;
	--hi-white: #FFFFFF;
	--hi-serif: "Bitter", Georgia, serif;
	--hi-sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
	--hi-radius: 20px;
	--hi-shadow: 0 18px 40px -18px rgba(43, 43, 45, .28);
}

body {
	font-family: var(--hi-sans);
	font-size: 18px;
	line-height: 1.65;
	color: var(--hi-ink);
	background: var(--hi-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--hi-serif);
	color: var(--hi-ink);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

a { color: inherit; }
::selection { background: var(--hi-yellow); color: var(--hi-ink); }
:focus-visible { outline: 3px solid var(--hi-yellow); outline-offset: 3px; }

/* Jaarverslagen list */
.hi-reports { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hi-reports a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 16px; background: var(--hi-cream); border: 1px solid var(--hi-line); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.hi-reports a:hover { border-color: var(--hi-yellow); transform: translateX(4px); }
.hi-reports-year { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--hi-yellow); font-family: var(--hi-serif); font-weight: 700; font-size: 17px; color: var(--hi-ink); }
.hi-reports-label { font-family: var(--hi-serif); font-weight: 600; font-size: 20px; color: var(--hi-ink); }
.hi-reports-meta { font-size: 14px; color: var(--hi-muted); }


/* Timeline dots */
#ons-verhaal .hi-tl-item::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--hi-yellow); box-shadow: 0 0 0 5px var(--hi-cream); }

/* Separate the closing CTA from the footer */
#ft { border-top: 1px solid #3A3A3D; }
#verhaal-tl .hi-tl-item::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--hi-yellow); box-shadow: 0 0 0 5px #fff; }

/* Cards on white sections: cream fill + soft border so they stand out */
#principes .hi-card,
#hoe .hi-card,
#orgs .hi-card { background-color: var(--hi-cream); border-left: 1px solid var(--hi-line); border-right: 1px solid var(--hi-line); border-bottom: 1px solid var(--hi-line); }

/* ---------- Hulpvraag: voortgang, media, verhaal ---------- */
.hi-progress { width: 100%; }
.hi-progress-top { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px 0; }
.hi-progress-raised { font-family: var(--hi-serif); font-size: 34px; font-weight: 700; line-height: 1; color: var(--hi-ink); }
.hi-progress-goal { font-size: 17px; color: var(--hi-muted); }
.hi-progress-bar { height: 12px; border-radius: 999px; background: var(--hi-line); overflow: hidden; }
.hi-progress-bar span { display: block; height: 100%; min-width: 12px; border-radius: 999px; background: var(--hi-yellow); }
.hi-progress-pct { margin: 8px 0 0 0; font-size: 15px; color: var(--hi-muted); }
#hv-card .hi-progress-raised { color: var(--hi-yellow); }
#hv-card .hi-progress-goal, #hv-card .hi-progress-pct { color: #C9C9CD; }
#hv-card .hi-progress-bar { background: #4A4A4C; }
.hi-project-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; display: block; }
.hi-project-ripple { width: 100%; aspect-ratio: 1 / 1; max-width: 520px; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: url("assets/ripple-yellow.svg") center / contain no-repeat; }
.hi-project-ripple span { display: inline-flex; align-items: center; justify-content: center; width: 42%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--hi-white); box-shadow: var(--hi-shadow); font-family: var(--hi-serif); font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--hi-ink); }
#hv-story p { margin: 0 0 20px 0; }
#hv-story h2, #hv-story h3 { margin: 36px 0 14px 0; font-size: 28px; }
#hv-story img { border-radius: 18px; }

/* ---------- Doneerfunnel ---------- */
.hi-funnel-eyebrow { margin: 0 0 12px 0; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #8A6A00; }
.hi-funnel-title { margin: 0 0 18px 0; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; font-weight: 700; }
.hi-funnel-lead { margin: 0 0 24px 0; font-size: 19px; line-height: 1.65; color: var(--hi-grey); }
.hi-funnel-back { margin: 18px 0 0 0; font-size: 15px; }
.hi-funnel-back a { color: var(--hi-muted); }

/* GiveWP (klassiek formulier) in huisstijl */
#fn-form .give-form-wrap { margin: 0; }
#fn-form form.give-form { margin: 0; }
#fn-form .give-donation-amount { margin: 0 0 18px 0; }
#fn-form .give-donation-amount .give-currency-symbol { border-radius: 14px 0 0 14px; background: var(--hi-cream); border-color: var(--hi-line); color: var(--hi-ink); font-weight: 700; }
#fn-form .give-donation-amount input.give-amount-top { border-radius: 0 14px 14px 0; border-color: var(--hi-line); font-family: var(--hi-serif); font-size: 26px; font-weight: 700; color: var(--hi-ink); height: 56px; }
#fn-form #give-donation-level-button-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 22px 0; }
#fn-form #give-donation-level-button-wrap li { margin: 0; width: auto; }
#fn-form #give-donation-level-button-wrap li:last-child:nth-child(odd) { grid-column: 1 / -1; }
#fn-form .give-donation-level-btn { width: 100%; padding: 14px 10px; border-radius: 14px; border: 2px solid var(--hi-line); background: var(--hi-white); font-family: var(--hi-sans); font-size: 17px; font-weight: 700; color: var(--hi-ink); transition: border-color .15s ease, background .15s ease; }
#fn-form .give-donation-level-btn:hover { border-color: var(--hi-yellow); }
#fn-form .give-donation-level-btn.give-default-level { border-color: var(--hi-yellow); background: var(--hi-yellow-soft); }
#fn-form .give-recurring-donors-choice { margin: 0 0 18px 0; padding: 14px 16px; border-radius: 14px; background: var(--hi-cream); border: 1px solid var(--hi-line); font-size: 16px; }
#fn-form fieldset { margin: 0 0 14px 0; padding: 0; border: 0; }
#fn-form legend { margin: 8px 0 12px 0; font-family: var(--hi-serif); font-size: 20px; font-weight: 700; color: var(--hi-ink); }
#fn-form input[type="text"], #fn-form input[type="email"], #fn-form input[type="tel"], #fn-form select, #fn-form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid #D9D2C2; background: var(--hi-white); font-size: 16px; color: var(--hi-ink); }
#fn-form input:focus, #fn-form select:focus { border-color: var(--hi-yellow); outline: 3px solid var(--hi-yellow-soft); }
#fn-form #give-payment-mode-select, #fn-form #give_purchase_form_wrap .give-donation-submit { margin: 0; }
#fn-form .give-final-total-wrap { border-radius: 12px; overflow: hidden; }
#fn-form input.give-submit, #fn-form .give-btn-reveal, #fn-form .give-btn-modal { width: 100%; padding: 18px 24px; border: 0; border-radius: 999px; background: var(--hi-yellow); color: var(--hi-ink); font-family: var(--hi-sans); font-size: 18px; font-weight: 700; cursor: pointer; transition: background .2s ease; }
#fn-form input.give-submit:hover { background: #F2B705; }
#fn-form .give-form-title, #fn-form .give-goal-progress { display: none; }
#fn-form .give_error, #fn-form .give_notice { border-radius: 12px; }

/* Funnel: rustige rimpeling, alleen linksonder */
#fn { background-image: url("assets/ripple-soft.svg") !important; background-size: 900px !important; background-position: -460px calc(100% + 380px) !important; }
#fn-form #give-donation-level-button-wrap::before, #fn-form #give-donation-level-button-wrap::after { display: none; content: none; }
#fn-form .give-donation-amount { display: flex; align-items: stretch; }
#fn-form .give-donation-amount .give-currency-symbol { float: none; display: flex; align-items: center; height: auto; padding: 0 16px; font-size: 20px; }
#fn-form .give-donation-amount input.give-amount-top { float: none; flex: 1; width: auto; min-width: 0; }
#fn-form #give-donation-level-button-wrap .give-btn-level-custom { border-style: dashed; }

/* Hulpvragen-overzicht */
.hi-hv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.hi-hv-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border-radius: 20px; background: var(--hi-white); border: 1px solid var(--hi-line); border-top: 5px solid var(--hi-yellow); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.hi-hv-card:hover { transform: translateY(-3px); box-shadow: var(--hi-shadow); }
.hi-hv-card-tag { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8A6A00; }
.hi-hv-card-title { font-family: var(--hi-serif); font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--hi-ink); }
.hi-hv-card-text { font-size: 16px; line-height: 1.6; color: var(--hi-grey); margin-bottom: 8px; }
.hi-hv-card .hi-progress-raised { font-size: 24px; }
.hi-hv-card-link { margin-top: 6px; font-weight: 700; color: var(--hi-ink); text-decoration: underline; text-decoration-color: var(--hi-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
@media (max-width: 767px) {
  #fn .hi-funnel-lead, #fn .hi-funnel-back, #fn .hi-progress-pct { display: none; }
  #fn .hi-funnel-title { margin-bottom: 14px; font-size: 32px; }
  #fn .hi-progress-raised { font-size: 26px; }
  #fn-grid { gap: 20px !important; }
}

/* Mollie: geen groot logo in het formulier, klein logo in de funnelkop */
#fn-form #give_purchase_form_wrap img[src*="mollieLogo"] { display: none; }
#fn-secure { display: flex; align-items: center; gap: 8px; }
#fn-secure .hi-mollie { height: 40px; width: auto; display: inline-block; margin: -11px -6px -11px -4px; }
.hi-hv-card--general { background: var(--hi-ink); border-color: var(--hi-ink); border-top-color: var(--hi-yellow); background-image: url("assets/ripple-dark.svg"); background-size: 520px; background-position: 120% 130%; background-repeat: no-repeat; }
.hi-hv-card--general .hi-hv-card-tag { color: var(--hi-yellow); }
.hi-hv-card--general .hi-hv-card-title { color: var(--hi-white); }
.hi-hv-card--general .hi-hv-card-text { color: #D6D6D9; flex: 1; }
.hi-hv-card--general .hi-hv-card-link { color: var(--hi-white); }
.hi-hv-card-link { font-size: 16px; }

/* Menu: "Hulpaanvragen" krijgt een rimpelende stip (er loopt iets) */
#hd-nav a[href="/hulpaanvragen/"] { position: relative; padding-right: 16px; }
#hd-nav a[href="/hulpaanvragen/"]::after,
#hd-nav a[href="/hulpaanvragen/"]::before { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--hi-yellow); }
#hd-nav a[href="/hulpaanvragen/"]::before { background: transparent; box-shadow: 0 0 0 0 rgba(250, 201, 33, .7); animation: hi-ripple 2.4s ease-out infinite; }
#hd-nav a[href="/hulpaanvragen/"]:hover::before { animation-duration: 1.2s; }
@keyframes hi-ripple {
	0%   { box-shadow: 0 0 0 0 rgba(250, 201, 33, .7); }
	70%  { box-shadow: 0 0 0 10px rgba(250, 201, 33, 0); }
	100% { box-shadow: 0 0 0 10px rgba(250, 201, 33, 0); }
}
@media (prefers-reduced-motion: reduce) {
	#hd-nav a[href="/hulpaanvragen/"]::before { animation: none; }
}

/* Foutmeldingen in het formulier nooit breder dan het scherm */
.give_error, .give_notice, .give_errors { overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }

/* IBAN kopiëren */
.hi-copy { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 2px solid var(--hi-yellow); border-radius: 999px; background: transparent; color: var(--hi-yellow); font-family: var(--hi-sans); font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease; }
.hi-copy:hover, .hi-copy.is-done { background: var(--hi-yellow); color: var(--hi-ink); }

/* Funnel: vinkjes in plaats van bolletjes */
#fn-trust { list-style: none; padding-left: 0 !important; }
#fn-trust li { position: relative; padding-left: 36px; margin: 0 0 6px 0; }
#fn-trust li::before { content: ""; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: var(--hi-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B2B2D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Menu: nooit afbreken; op smallere schermen iets compacter */
#hd-nav a { white-space: nowrap; }
@media (max-width: 1199px) {
  #hd-nav { gap: 20px !important; }
  #hd-nav a { font-size: 16px; }
  #hd-inner { gap: 20px !important; }
}
@media (max-width: 767px) { #ct-iban { font-size: 22px !important; letter-spacing: 0 !important; white-space: nowrap; } }

/* ---------- Beweging ---------- */
#brx-header { position: sticky; top: 0; z-index: 100; background: var(--hi-white); transition: box-shadow .3s ease; }
#brx-header.hi-scrolled { box-shadow: 0 8px 30px -18px rgba(43, 43, 45, .35); }

.hi-motion .hi-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); transition-delay: var(--hi-delay, 0ms); }
.hi-motion .hi-reveal.is-in { opacity: 1; transform: none; }
.hi-motion img.hi-reveal { transform: translateY(18px) scale(.985); }
.hi-motion img.hi-reveal.is-in { transform: none; }

/* Rimpelstappen: kringen groeien uit */
.hi-motion .hi-step.hi-reveal .hi-ring { transform: scale(.2); transition: transform 1.1s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--hi-delay, 0ms) + 150ms); }
.hi-motion .hi-step.is-in .hi-ring { transform: scale(1); }

/* Hero: rimpeling ademt */
@keyframes hi-breathe { 0%, 100% { background-size: 100%; } 50% { background-size: 106%; } }
#hero-visual { animation: hi-breathe 9s ease-in-out infinite; }
@keyframes hi-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
#hero-badge { animation: hi-float 6s ease-in-out infinite; }

/* Klik-rimpeling */
.hi-btn, .hi-btn-ghost, .hi-copy, .brxe-button { position: relative; overflow: hidden; }
.hi-ripple-dot { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .25); transform: scale(0); animation: hi-ripple-click .7s ease-out forwards; pointer-events: none; }
@keyframes hi-ripple-click { to { transform: scale(1); opacity: 0; } }

/* Kaarten: zachte lift bij hover */
.hi-card, .hi-ct-card, .hi-person-photo { transition: transform .3s ease, box-shadow .3s ease; }
.hi-card:hover, .hi-ct-card:hover { transform: translateY(-4px); box-shadow: var(--hi-shadow); }
.hi-person:hover .hi-person-photo { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
	#hero-visual, #hero-badge { animation: none; }
	.hi-card:hover, .hi-ct-card:hover, .hi-person:hover .hi-person-photo { transform: none; }
}

/* Leesbaarheid: geen rimpeling achter bankgegevens, zachtere rimpeling op donkere vlakken */
#ct-bank { background-image: none !important; }
#cijfers, #cta, #levi-panel, .hi-hv-card--general { background-image: url("assets/ripple-dark-soft.svg") !important; }

/* Beweging: subtieler */
.hi-motion .hi-reveal { transform: translateY(12px); transition-duration: .6s; }
.hi-motion img.hi-reveal { transform: translateY(8px); }
.hi-motion .hi-step.hi-reveal .hi-ring { transform: scale(.6); transition: transform .8s cubic-bezier(.22,1,.36,1); }
@keyframes hi-breathe { 0%, 100% { background-size: 100%; } 50% { background-size: 103%; } }
#hero-visual { animation-duration: 12s; }
@keyframes hi-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
#hero-badge { animation-duration: 8s; }
.hi-card:hover, .hi-ct-card:hover { transform: translateY(-2px); }
.hi-person:hover .hi-person-photo { transform: scale(1.02); }

/* Hulpaanvragen: projecten primair, algemene gift secundair */
.hi-hv-card:not(.hi-hv-card--general) .hi-hv-card-link { align-self: flex-start; margin-top: 14px; padding: 12px 22px; border-radius: 999px; background: var(--hi-yellow); color: var(--hi-ink); text-decoration: none; transition: background .2s ease; }
.hi-hv-card:not(.hi-hv-card--general):hover .hi-hv-card-link { background: #F2B705; }
.hi-hv-card--general { background: var(--hi-cream) !important; background-image: none !important; border: 2px dashed var(--hi-line) !important; box-shadow: none; }
.hi-hv-card--general .hi-hv-card-tag { color: var(--hi-muted); }
.hi-hv-card--general .hi-hv-card-title { color: var(--hi-ink); }
.hi-hv-card--general .hi-hv-card-text { color: var(--hi-grey); }
.hi-hv-card--general .hi-hv-card-link { color: var(--hi-ink); margin-top: auto; }
.hi-hv-card--general:hover { border-color: var(--hi-yellow) !important; }

/* Juridische pagina's: rustige leesopmaak */
#legal-body { font-size: 18px; line-height: 1.75; color: #3A3A3C; }
#legal-body h2 { margin: 44px 0 12px 0; font-size: 26px; line-height: 1.25; }
#legal-body p { margin: 0 0 16px 0; }
#legal-body ul { margin: 0 0 18px 0; padding-left: 22px; }
#legal-body li { margin: 0 0 8px 0; }
#legal-body a { color: var(--hi-ink); text-decoration: underline; text-decoration-color: var(--hi-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
#legal-body em { color: var(--hi-muted); }
#ft-copy a, #fn-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
#ft-copy a:hover { color: var(--hi-yellow); }

/* Toestemming statistieken */
.hi-consent { position: fixed; left: 20px; bottom: 20px; z-index: 9999; max-width: 380px; padding: 22px 22px 20px; border-radius: 18px; background: var(--hi-white); border: 1px solid var(--hi-line); box-shadow: 0 24px 60px -20px rgba(43,43,45,.35); opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.hi-consent.is-open { opacity: 1; transform: none; }
.hi-consent-title { margin: 0 0 6px 0; font-family: var(--hi-serif); font-size: 18px; font-weight: 700; color: var(--hi-ink); }
.hi-consent-text { margin: 0 0 16px 0; font-size: 15px; line-height: 1.55; color: var(--hi-grey); }
.hi-consent-text a { color: var(--hi-ink); text-decoration: underline; text-decoration-color: var(--hi-yellow); text-decoration-thickness: 2px; }
.hi-consent-actions { display: flex; gap: 10px; }
.hi-consent-actions button { flex: 1; padding: 12px 14px; border-radius: 999px; font-family: var(--hi-sans); font-size: 15px; font-weight: 700; cursor: pointer; }
.hi-consent-yes { border: 0; background: var(--hi-yellow); color: var(--hi-ink); }
.hi-consent-no { border: 2px solid var(--hi-line); background: transparent; color: var(--hi-ink); }
@media (max-width: 480px) { .hi-consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ANBI-logo */
.hi-anbi { display: block; width: 88px; height: auto; border-radius: 6px; }
.hi-anbi-link { display: inline-block; transition: transform .2s ease; }
.hi-anbi-link:hover { transform: translateY(-2px); }
#brx-footer .hi-anbi { width: 76px; margin-top: 22px; }
#legal-body .hi-anbi, #ver-left .hi-anbi { width: 110px; margin-top: 8px; }
.hi-ct-card .hi-anbi-link { margin-top: 16px; }

/* Toestemmingsmelding: rustige knoppen */
.hi-consent-actions { align-items: center; gap: 18px; }
.hi-consent-actions button { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1; margin: 0; }
.hi-consent-yes { min-width: 140px; padding: 14px 28px !important; }
.hi-consent-yes:hover { background: #F2B705; }
.hi-consent-no { padding: 8px 4px !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--hi-muted) !important; font-weight: 600 !important; text-decoration: underline; text-underline-offset: 3px; }
.hi-consent-no:hover { color: var(--hi-ink) !important; }
#ver-left .hi-anbi { width: 160px; margin-top: 16px; }
#best-note { margin: 14px 0 0 0; max-width: 720px; font-size: 18px; line-height: 1.65; color: var(--hi-grey); }
@media (min-width: 992px) {
  #best-grid .hi-person:nth-child(3) { position: relative; }
  #best-grid .hi-person:nth-child(3)::before { content: ""; position: absolute; left: -15px; top: 4%; bottom: 4%; border-left: 2px dashed var(--hi-line); }
}

/* Homepage: ANBI en jaarverslagen als één kaart */
#verantwoording #ver-inner { align-items: center; }
#verantwoording #ver-reports { padding: 32px; border-radius: 24px; background: var(--hi-cream); border: 1px solid var(--hi-line); }
.hi-anbi-badge { display: flex; align-items: center; gap: 20px; padding: 0 0 24px 0; margin: 0 0 22px 0; border-bottom: 1px solid var(--hi-line); text-decoration: none; color: var(--hi-ink); }
.hi-anbi-badge img { width: 96px; height: auto; border-radius: 8px; flex-shrink: 0; }
.hi-anbi-badge-text { display: flex; flex-direction: column; gap: 4px; }
.hi-anbi-badge-text strong { font-family: var(--hi-serif); font-size: 22px; line-height: 1.2; }
.hi-anbi-badge-text span { font-size: 16px; line-height: 1.5; color: var(--hi-grey); }
.hi-anbi-badge:hover .hi-anbi-badge-text span { color: var(--hi-ink); }
#ver-latest { margin: 0 0 12px 0; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8A6A00; }
#verantwoording #ver-reports .hi-reports a { background: var(--hi-white); }
@media (max-width: 767px) {
  #verantwoording #ver-reports { padding: 22px; }
  .hi-anbi-badge { gap: 14px; }
  .hi-anbi-badge img { width: 76px; }
  .hi-anbi-badge-text strong { font-size: 19px; }
}

/* Bedankpagina: kop volgt status, ontvangstbewijs in huisstijl */
#ty-main #ty-title { margin: 0 0 18px 0; font-size: clamp(34px, 5vw, 50px); line-height: 1.1; }
#ty-main #ty-lead { margin: 0 0 32px 0; font-size: 20px; line-height: 1.65; color: var(--hi-grey); }
.hi-ty-eyebrow { text-align: center; }
.hi-ty-eyebrow.is-failed { color: #A33A2A; }
.hi-ty-retry { margin: 0 0 28px 0; text-align: center; }
.hi-ty-retry .hi-btn { display: inline-flex; padding: 16px 30px; border-radius: 999px; background: var(--hi-yellow); color: var(--hi-ink); font-weight: 700; text-decoration: none; }
#ty-slot table#give_donation_receipt, #ty-slot .give-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--hi-line); border-radius: 18px; overflow: hidden; background: var(--hi-white); box-shadow: var(--hi-shadow); }
#ty-slot table th, #ty-slot table td { padding: 14px 20px !important; border: 0 !important; border-bottom: 1px solid var(--hi-line) !important; background: var(--hi-white) !important; font-size: 16px; text-align: left; color: var(--hi-ink); }
#ty-slot table thead th { background: var(--hi-cream) !important; font-family: var(--hi-serif); font-size: 20px; text-align: center; }
#ty-slot table tr:last-child td { border-bottom: 0 !important; }
#ty-slot table td:first-child { width: 40%; font-weight: 700; color: var(--hi-grey); }
#ty-slot .give_notice, #ty-slot .give_error { display: none; }
.hi-ty-eyebrow { margin: 0 0 14px 0; font-family: var(--hi-sans); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #8A6A00; }
.hi-ty-eyebrow.is-failed { color: #A33A2A; }
.hi-ty-retry { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hi-ty-btn { display: inline-flex; align-items: center; padding: 16px 30px; border-radius: 999px; background: var(--hi-yellow); color: var(--hi-ink); font-family: var(--hi-sans); font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none; border: 2px solid var(--hi-yellow); transition: background .2s ease; }
.hi-ty-btn:hover { background: #F2B705; border-color: #F2B705; }
.hi-ty-btn.is-ghost { background: transparent; border-color: var(--hi-ink); }
.hi-ty-btn.is-ghost:hover { background: var(--hi-ink); color: var(--hi-white); }

/* Donateursdashboard: iframe nooit breder dan het scherm */
#dash-card { overflow: hidden; min-width: 0; }
#dash-card iframe, #dash-card .give-donor-dashboard, #dash-card .wp-block-give-donor-dashboard, #dash-card .give-embed-donor-dashboard { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
/* Lange woorden in koppen afbreken op kleine schermen */
@media (max-width: 767px) { h1, h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }

/* Hulpaanvragen: automatische tegels + Bricks-tegel in één raster */
#hv-list-inner { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; align-items: stretch; }
#hv-list-inner .hi-hv-auto, #hv-list-inner .hi-hv-auto .hi-hv-grid { display: contents; }
#hv-general p, #hv-general h3 { margin: 0; }
#hv-general .hi-hv-card-title { font-family: var(--hi-serif); font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--hi-ink); }
#hv-general .hi-hv-card-text { flex: 1; }
@media (max-width: 400px) { #hv-list-inner { grid-template-columns: 1fr; } }
