/*
Theme Name: De Krachtvrouw
Theme URI: https://dekrachtvrouw.nl
Author: De Krachtvrouw
Description: Blokthema (full site editing) in de huisstijl van De Krachtvrouw: warm, krachtig, persoonlijk en bemoedigend. Aardse bruintint met uitgesproken magenta.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dekrachtvrouw
*/

/* Dunne merkbalk bovenaan (magenta met gouden lijn, zoals in de huisstijl). */
.kv-topbar {
	height: 8px;
	background: linear-gradient(180deg, var(--wp--preset--color--primary) 0 70%, var(--wp--preset--color--accent-2) 70% 85%, var(--wp--preset--color--accent) 85% 100%);
}

/* Toetsenbordfocus altijd goed zichtbaar. */
:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection { background: var(--wp--preset--color--primary-soft); color: var(--wp--preset--color--contrast); }

/* Header */
.kv-header .wp-block-site-logo img { height: auto; }
.kv-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--base); }
.kv-header .wp-block-navigation-item.current-menu-item > a,
.kv-header .wp-block-navigation-item a[aria-current="page"] { color: var(--wp--preset--color--primary); }
@media (max-width: 599px) {
	.kv-header .wp-block-site-logo { max-width: 190px; }
	.kv-header .kv-account-knop .wp-block-button__link { padding: 0.7em 1.1em; font-size: 0.9375rem; }
}

/* Bovenkop / "eyebrow" boven titels */
.is-style-bovenkop {
	font-size: 0.8125rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
}

/* Kaart-stijl voor groepen */
.wp-block-group.is-style-kaart {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
	padding: var(--wp--preset--spacing--40);
	box-shadow: var(--wp--preset--shadow--zacht);
}

/* Omlijnde knop */
.wp-block-button.is-style-omlijnd .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--primary);
	box-shadow: inset 0 0 0 2px currentColor;
}
.wp-block-button.is-style-omlijnd .wp-block-button__link:hover {
	background: var(--wp--preset--color--primary-soft);
	color: var(--wp--preset--color--primary-dark);
}

/* Lijst met gouden bolletjes */
.wp-block-list.is-style-vinkjes { list-style: none; padding-left: 0; }
.wp-block-list.is-style-vinkjes li { position: relative; padding-left: 2rem; margin-bottom: 0.6rem; }
.wp-block-list.is-style-vinkjes li::before {
	content: "";
	position: absolute; left: 0; top: 0.35em;
	width: 1.1rem; height: 1.1rem; border-radius: 50%;
	background: var(--wp--preset--color--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' 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 / 70% no-repeat;
}

/* Embleem met gouden ring als decoratie */
.kv-embleem-groot img { filter: drop-shadow(0 30px 40px rgba(194, 24, 122, 0.25)); }

/* E-learning-kaarten in het overzicht */
.kv-kaarten .wp-block-post { display: flex; }
.kv-kaarten .wp-block-post > .wp-block-group { flex: 1; display: flex; flex-direction: column; }
.kv-kaarten .wp-block-post > .wp-block-group > :last-child { margin-top: auto; }
.kv-kaarten .wp-block-post-featured-image { margin: 0; }
.kv-kaarten .wp-block-post-featured-image img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }

/* Lege afbeeldingsplek in een kaart: merkkleur */
.kv-kaart-beeld:empty { display: none; }

/* Footer */
.kv-footer a { color: inherit; text-decoration: none; }
.kv-footer a:hover { color: var(--wp--preset--color--accent); text-decoration: underline; }

/* Minder beweging als de bezoeker dat wil */
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.kv-footer ul { list-style: none; }
