/*
Theme Name:   FAB Mediation
Theme URI:    https://www.fabmediation.nl
Author:       BM Consultancy
Author URI:   https://www.bm-consultancy.nl
Description:  Blokthema voor FAB Mediation — arbeidsmediation en Prediation in Haarlem. Kleuren uit het logo, volledig te bewerken via Weergave → Editor. Bij activatie zet het thema de pagina's, het menu en de afbeeldingen zelf klaar.
Version:      1.0.2
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License:      GPL-2.0-or-later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  fab-mediation
Tags:         block-theme, full-site-editing, business, one-column, two-columns
*/

/* Het meeste wordt geregeld in theme.json. Hieronder alleen wat daar
   niet in kan: kleine details en een paar eigen bloksoorten. */

body { -webkit-font-smoothing: antialiased; }

/* Koppen mogen niet lelijk afbreken */
h1, h2, h3, .wp-block-heading { text-wrap: balance; }

/* --- Kop van de site --------------------------------------------------- */

.fab-utilbar a { text-decoration: none; }
.fab-utilbar a:hover { color: #ffffff; }

.wp-block-navigation .wp-block-navigation-item__content {
	border-bottom: 2px solid transparent;
	padding-bottom: 3px;
	transition: color .18s, border-color .18s;
}
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item .wp-block-navigation-item__content {
	border-bottom-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--ink);
}

.fab-sticky-header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: saturate(140%) blur(10px);
}

/* --- Knoppen ----------------------------------------------------------- */

.wp-block-button__link { transition: transform .16s ease, background .18s, border-color .18s; }
.wp-block-button__link:hover { transform: translateY(-2px); }

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--teal-deep);
}

/* --- Eigen blokstijlen ------------------------------------------------- */

/* Bovenschrift: het kleine hoofdletterlabel boven een kop */
.is-style-fab-eyebrow {
	font-family: var(--wp--preset--font-family--display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal-deep);
	margin-bottom: 14px;
}

/* Citaat met accentstreep */
.is-style-fab-quote {
	font-size: clamp(21px, 2.6vw, 27px);
	line-height: 1.38;
	font-style: italic;
	border-left: 3px solid var(--wp--preset--color--accent);
	padding-left: 22px;
}

/* Groot bedrag, cijfers netjes onder elkaar */
.is-style-fab-amount {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 44px;
	letter-spacing: -.04em;
	line-height: 1;
	color: var(--wp--preset--color--teal-deep);
	font-variant-numeric: tabular-nums;
}

/* Genummerde stap */
.is-style-fab-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: var(--wp--preset--color--teal);
	color: #ffffff;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 17px;
	margin-bottom: 14px;
}

/* Kaart met lichte schaduw bij aanwijzen */
.is-style-fab-card { transition: transform .2s ease, box-shadow .2s ease; }
.is-style-fab-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 1px 2px rgba(15,39,44,.05), 0 10px 30px -18px rgba(15,39,44,.35);
}

/* Lijst met vinkjes in plaats van bolletjes */
.is-style-fab-checks { list-style: none; padding-left: 0; }
.is-style-fab-checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.is-style-fab-checks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .62em;
	width: 13px;
	height: 7px;
	border-left: 2.6px solid var(--wp--preset--color--accent);
	border-bottom: 2.6px solid var(--wp--preset--color--accent);
	transform: rotate(-45deg);
}

/* --- Afbeeldingen ------------------------------------------------------ */

.wp-block-image img { border-radius: 14px; }

/* --- Toegankelijkheid -------------------------------------------------- */

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}

/* --- Mobiel ------------------------------------------------------------ */

@media (max-width: 781px) {
	.is-style-fab-amount { font-size: 38px; }
	.fab-utilbar { font-size: 12.5px; }
}
