/* Oddesigns-patronen en blokstijlen: geladen op de site én in de editor */

/* ---------- Volle breedte-secties ---------- */
.od-sectie {
	padding-top: clamp(3.5rem, 9vw, 7rem) !important;
	padding-bottom: clamp(3.5rem, 9vw, 7rem) !important;
	padding-left: var(--gutter, 1.5rem) !important;
	padding-right: var(--gutter, 1.5rem) !important;
}
.od-sectie.od-krap { padding-top: clamp(1.5rem, 4vw, 3rem) !important; padding-bottom: clamp(1.5rem, 4vw, 3rem) !important; }
.od-sectie.is-style-vlak-licht,
.is-style-vlak-licht { background: #eef5fb; }
.is-style-vlak-donker { background: #0f1720; color: #c4ccd5; }
.is-style-vlak-donker :where(h1, h2, h3, h4, strong) { color: #fff; }
.is-style-vlak-donker p, .is-style-vlak-donker li { color: #c4ccd5; }
.is-style-vlak-donker a:not(.wp-block-button__link) { color: #fff; }
.is-style-vlak-licht:not(.alignfull),
.is-style-vlak-donker:not(.alignfull) { border-radius: 18px; padding: clamp(1.5rem, 4vw, 3rem); }

/* ---------- Label boven een kop ---------- */
p.is-style-label {
	margin-bottom: .75rem !important;
	font-size: .85rem !important;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #2f74b5 !important;
}
.is-style-vlak-donker p.is-style-label { color: #7fb2e0 !important; }
p.is-style-label + :where(h1, h2, h3) { margin-top: 0 !important; }

/* ---------- Knoppen ---------- */
.wp-block-button.is-style-lijn .wp-block-button__link {
	background: transparent !important;
	color: #0f1720 !important;
	box-shadow: inset 0 0 0 2px #0f1720;
}
.wp-block-button.is-style-lijn .wp-block-button__link:hover { background: #0f1720 !important; color: #fff !important; }
.wp-block-button.is-style-wit .wp-block-button__link { background: #fff !important; color: #0f1720 !important; }
.wp-block-button.is-style-wit .wp-block-button__link:hover { background: #2f74b5 !important; color: #fff !important; }
.is-style-vlak-donker .wp-block-button.is-style-lijn .wp-block-button__link { color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.is-style-vlak-donker .wp-block-button.is-style-lijn .wp-block-button__link:hover { background: #fff !important; color: #0f1720 !important; }

/* ---------- Kaart ---------- */
.wp-block-group.is-style-kaart {
	background: #fff;
	border: 1px solid #e3e8ee;
	border-radius: 18px;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	box-shadow: 0 1px 2px rgba(15,23,32,.04);
	transition: box-shadow .25s, transform .25s, border-color .25s;
}
.wp-block-group.is-style-kaart > :first-child { margin-top: 0; }
.wp-block-group.is-style-kaart > :last-child { margin-bottom: 0; }
.wp-block-group.is-style-kaart:hover { box-shadow: 0 1px 2px rgba(15,23,32,.06), 0 18px 40px -18px rgba(15,23,32,.25); transform: translateY(-2px); border-color: #d3dbe4; }
.wp-block-group.is-style-kaart h3 { margin: .25rem 0 .6rem; }
.wp-block-group.is-style-kaart p { color: #5b6674; }
.is-style-vlak-donker .wp-block-group.is-style-kaart { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.is-style-vlak-donker .wp-block-group.is-style-kaart p { color: #aab4bf; }

/* ---------- Raster van kaarten ---------- */
.od-raster {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.75rem) !important;
}
.od-raster-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.od-raster-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.od-raster > * { margin: 0 !important; }
@media (max-width: 960px) { .od-raster, .od-raster-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .od-raster, .od-raster-2, .od-raster-4 { grid-template-columns: 1fr; } }

/* Nummer bovenin een kaart */
.od-nummer {
	font-size: .85rem !important;
	font-weight: 700;
	color: #2f74b5 !important;
	letter-spacing: .04em;
	margin: 0 0 .75rem !important;
}
.od-kaart-link { margin-top: 1.25rem !important; font-weight: 600; }
.od-kaart-link a { text-decoration: none; color: #0f1720; }
.od-kaart-link a::after { content: " →"; transition: margin .2s; }
.od-kaart-link a:hover { color: #2f74b5; }
.is-style-vlak-donker .od-kaart-link a { color: #fff; }

/* ---------- Hero ---------- */
.od-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(55rem 32rem at 90% -20%, rgba(77,145,206,.20), transparent 60%),
		radial-gradient(40rem 26rem at -10% 110%, rgba(77,145,206,.10), transparent 60%),
		#fff;
}
.od-hero h1 {
	font-size: clamp(2.6rem, 6.4vw, 5.25rem) !important;
	letter-spacing: -.045em !important;
	line-height: 1 !important;
	margin: 0 0 1.5rem !important;
}
.od-hero h1 em, .od-accent { font-style: normal; color: #4d91ce; }
.od-hero .od-intro { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: #5b6674; max-width: 36rem; line-height: 1.55; }
.od-hero .wp-block-buttons { margin-top: 2rem; }
.od-hero-beeld { margin: 0 !important; }
.od-illustratie img { display: block; width: 100%; height: auto; }
@media (min-width: 782px) { .od-illustratie { margin-right: -2rem !important; } }

/* ---------- Afbeelding als browservenster ---------- */
.wp-block-image.is-style-scherm img,
.wp-block-image.is-style-scherm .components-resizable-box__container {
	border-radius: 0 0 12px 12px;
	display: block;
	width: 100%;
}
.wp-block-image.is-style-scherm {
	position: relative;
	padding-top: 30px;
	background: #fff;
	border: 1px solid #e3e8ee;
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(15,23,32,.06), 0 30px 60px -30px rgba(15,23,32,.35);
	overflow: hidden;
}
.wp-block-image.is-style-scherm::before {
	content: "";
	position: absolute;
	top: 11px; left: 12px;
	width: 9px; height: 9px;
	border-radius: 50%;
	background: #dfe4ea;
	box-shadow: 15px 0 0 #dfe4ea, 30px 0 0 #dfe4ea;
}
.wp-block-image.is-style-scherm::after {
	content: "";
	position: absolute;
	top: 29px; left: 0; right: 0;
	border-top: 1px solid #e3e8ee;
}

/* ---------- Cijfers ---------- */
.od-cijfers .od-cijfer { font-size: clamp(1.6rem, 2.6vw, 2.4rem) !important; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: 0 0 .4rem !important; color: #0f1720; }
.od-cijfers .od-cijfer-tekst { margin: 0 !important; color: #5b6674; font-size: .98rem; }
.od-cijfers > .wp-block-group { border-left: 2px solid #4d91ce; padding-left: 1.25rem; }

/* ---------- Werkwijze (stappen) ---------- */
.od-stappen { counter-reset: stap; }
.od-stappen > .wp-block-group { position: relative; padding-top: 3.25rem !important; }
.od-stappen > .wp-block-group::before {
	counter-increment: stap;
	content: counter(stap, decimal-leading-zero);
	position: absolute;
	top: 0; left: 0;
	font-weight: 700;
	font-size: .9rem;
	color: #2f74b5;
	padding: .35rem .7rem;
	border-radius: 999px;
	background: #eef5fb;
}
.od-stappen h3 { margin: 0 0 .5rem !important; }
.od-stappen p { margin: 0; color: #5b6674; }
.is-style-vlak-donker .od-stappen > .wp-block-group::before { background: rgba(77,145,206,.18); color: #9cc4ea; }
.is-style-vlak-donker .od-stappen p { color: #aab4bf; }

/* ---------- Lijst met vinkjes ---------- */
ul.is-style-vinkjes { list-style: none; padding-left: 0; }
ul.is-style-vinkjes li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
ul.is-style-vinkjes li::before {
	content: "";
	position: absolute;
	left: 0; top: .3em;
	width: 1.2rem; height: 1.2rem;
	border-radius: 50%;
	background: #eef5fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232f74b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.is-style-vlak-donker ul.is-style-vinkjes li::before { background-color: rgba(77,145,206,.2); }

/* ---------- Veelgestelde vragen ---------- */
.wp-block-details {
	border-bottom: 1px solid #e3e8ee;
	padding: 1.1rem 0;
	margin: 0 !important;
}
.wp-block-details summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 1.1rem;
	list-style: none;
	position: relative;
	padding-right: 2.5rem;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 0; top: 50%;
	transform: translateY(-50%);
	width: 1.9rem; height: 1.9rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #eef5fb;
	color: #2f74b5;
	font-weight: 500;
	transition: transform .2s;
}
.wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wp-block-details > :not(summary) { color: #5b6674; margin-top: .75rem; }

/* ---------- Kop + knop naast elkaar ---------- */
.od-kop-rij { align-items: flex-end !important; gap: 1.5rem !important; margin-bottom: 2.5rem !important; }
.od-kop-rij h2 { margin: 0 !important; }

/* ---------- Oproep-balk ---------- */
.od-oproep {
	background: #2f74b5 radial-gradient(40rem 20rem at 100% 0, rgba(255,255,255,.18), transparent 60%);
	color: #fff;
	border-radius: 22px;
	padding: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem) !important;
	text-align: center;
	margin-top: clamp(3rem, 8vw, 5rem) !important;
	margin-bottom: clamp(3rem, 8vw, 5rem) !important;
}
.od-oproep h2 { font-size: clamp(1.9rem, 4vw, 3rem) !important; margin-top: 0 !important; color: #fff !important; }
.od-oproep p { color: rgba(255,255,255,.88) !important; font-size: 1.1rem; }
.od-oproep .wp-block-buttons { justify-content: center; margin-top: 1.75rem; }

/* ---------- Badge ---------- */
.od-badge {
	display: inline-block;
	padding: .3rem .8rem !important;
	border-radius: 999px;
	background: rgba(77,145,206,.18);
	color: #9cc4ea !important;
	font-size: .82rem !important;
	font-weight: 600;
	letter-spacing: .04em;
	margin-bottom: 1rem !important;
}

/* ---------- Tabellen ---------- */
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table th, .wp-block-table td { border: 0; border-bottom: 1px solid #e3e8ee; padding: .8rem .5rem; text-align: left; }
.wp-block-table th { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: #5b6674; }
