/*
Theme Name: KaaiHart
Description: Fris blokthema voor Stichting KaaiHart in Oosterhout: wit, groen en rood. Alle teksten, foto's en kleuren zijn aan te passen in de editor.
Version: 1.0.3
Requires at least: 6.6
Requires PHP: 7.4
Author: Stichting KaaiHart
Text Domain: kaaihart
License: GPLv2 or later
*/

/* Secties sluiten naadloos op elkaar aan */
.kh-volle > .alignfull,
.kh-volle > .alignfull + * { margin-block-start: 0; }

.kh-sectie { padding-block: clamp(56px, 8vw, 88px); }
.kh-mint { background: var(--wp--preset--color--mint); border-block: 1px solid var(--wp--preset--color--rand); }
.kh-groen { background: var(--wp--preset--color--groen); color: var(--wp--preset--color--wit); }
.kh-groen h1, .kh-groen h2, .kh-groen h3 { color: var(--wp--preset--color--wit); }
.kh-groen p { color: #E3F1E8; }
.kh-groen a:not(.wp-element-button) { color: var(--wp--preset--color--wit); }

/* Kleine kopjes boven een titel */
.kh-label {
	font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	color: var(--wp--preset--color--groen);
}
.kh-badge {
	display: inline-block; background: var(--wp--preset--color--wit); color: var(--wp--preset--color--rood) !important;
	font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	padding: 6px 14px; border-radius: 999px;
}
.kh-intro { font-size: 19px; color: var(--wp--preset--color--tekst-zacht); }
.kh-zacht { color: var(--wp--preset--color--tekst-zacht); }
.kh-jaar { color: var(--wp--preset--color--rood); font-size: 14px; font-weight: 600; margin: 0; }

/* Foto's */
.kh-foto img { border-radius: 28px; width: 100% !important; height: 460px !important; object-fit: cover; display: block; }
.kh-foto.kh-foto-klein img { height: 400px !important; }

/* Kleinere tussenkopjes */
h3.wp-block-heading { font-size: 21px; }

/* Kaarten */
.kh-kaart {
	background: var(--wp--preset--color--wit); border: 1px solid var(--wp--preset--color--rand);
	border-radius: 20px; padding: 32px;
}
.kh-actie {
	border: 1px solid var(--wp--preset--color--rand); border-radius: 20px; overflow: hidden;
	background: var(--wp--preset--color--wit);
}
.kh-actie .kh-actie-foto, .kh-actie > .wp-block-image { margin: 0 !important; }
.kh-actie .kh-actie-foto img { width: 100% !important; height: 240px !important; object-fit: cover; display: block; }
.kh-actie-tekst { padding: 24px; }
.kh-actie-tekst h3 { margin: 4px 0 6px; }
.kh-actie-tekst p { margin: 0; }
.kh-doel { background: var(--wp--preset--color--wit); color: var(--wp--preset--color--tekst); border-radius: 20px; padding: 24px; }
.kh-groen .kh-doel p { color: var(--wp--preset--color--tekst-zacht); }
.kh-groen .kh-doel h3 { color: var(--wp--preset--color--tekst); }
.kh-groen .kh-doel a { color: var(--wp--preset--color--groen) !important; font-weight: 600; }
.kh-stap {
	width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
	background: var(--wp--preset--color--groen); color: var(--wp--preset--color--wit); font-weight: 700; margin: 0;
}
.kh-stap-rood { background: var(--wp--preset--color--rood); }

/* Rood blok onderaan */
.kh-cta { background: var(--wp--preset--color--rood); color: var(--wp--preset--color--wit); border-radius: 28px; padding: 56px 48px; }
.kh-cta h2 { color: var(--wp--preset--color--wit); }
.kh-cta p { color: #FBE4E2; }

/* Witte knop op gekleurde achtergrond */
.kh-knop-wit .wp-block-button__link { background: var(--wp--preset--color--wit) !important; color: var(--wp--preset--color--rood) !important; }

/* Downloadlijst jaarverslagen */
.kh-download {
	border: 1px solid var(--wp--preset--color--rand); border-radius: 16px; padding: 18px 24px; margin: 0;
}
.kh-download a { text-decoration: none; font-weight: 600; }

/* Header en footer */
.kh-header { border-bottom: 1px solid var(--wp--preset--color--rand); }
.kh-logo { display: flex; align-items: center; gap: 10px; }
.kh-logo img { width: auto; height: 84px; display: block; }
@media (max-width: 600px) { .kh-logo img { height: 64px; } }
.kh-footer { background: var(--wp--preset--color--mint); border-top: 1px solid var(--wp--preset--color--rand); font-size: 15px; }
.kh-footer p { margin: 0; }

/* Voorwaarden */
.kh-voorwaarden h2 { font-size: 22px; margin-top: 40px; }
.kh-voorwaarden ol, .kh-voorwaarden ul { color: #3E4A44; }
.kh-voorwaarden li + li { margin-top: 6px; }

/* Webshop: productkaart en bestelformulier (Fluent Forms) */
.kh-product { background: var(--wp--preset--color--mint); }
.frm-fluent-form .ff-el-input--label label { font-weight: 600; color: var(--wp--preset--color--tekst); }
.frm-fluent-form .ff-el-form-control {
	border: 1px solid #C9D9CE !important; border-radius: 12px !important; padding: 12px 14px !important;
	font-family: inherit; font-size: 16px;
}
.frm-fluent-form .ff-el-form-control:focus { border-color: var(--wp--preset--color--groen) !important; box-shadow: 0 0 0 3px rgba(46,125,79,.15) !important; }
.frm-fluent-form .ff-btn-submit {
	background: var(--wp--preset--color--rood) !important; color: var(--wp--preset--color--wit) !important;
	border: 0 !important; border-radius: 999px !important; padding: 14px 28px !important; font-weight: 600 !important; font-size: 16px !important;
}
.frm-fluent-form .ff-btn-submit:hover { background: #A92D25 !important; }
