/* Regulator theme: only what theme.json cannot express. Colours/fonts: Weergave › Editor › Stijlen. */
:root { --rg-radius: var(--wp--custom--radius, 14px); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(img) { height: auto; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--wp--preset--color--primary) 50%, transparent); outline-offset: 2px; }

/* header */
.rg-header { z-index: 50; border-bottom: 1px solid var(--wp--preset--color--line); backdrop-filter: saturate(1.4) blur(8px); background: color-mix(in srgb, var(--wp--preset--color--base) 92%, transparent) !important; }
.rg-header .wp-block-site-logo img { border-radius: 50%; }
.rg-header .wp-block-navigation a { text-decoration: none; }
.rg-header .wp-block-navigation a:hover { color: var(--wp--preset--color--accent); }
.rg-header .wp-block-navigation .current-menu-item > a { box-shadow: inset 0 -3px 0 var(--wp--preset--color--accent); }
@media (max-width: 600px) { .rg-header .wp-block-site-title { display: none; } }

/* language switch */
.rg-lang ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.rg-lang a { display: inline-block; padding: .2rem .45rem; border-radius: 6px; font: 700 .78rem/1.2 var(--wp--preset--font-family--heading); color: var(--wp--preset--color--muted); text-decoration: none; }
.rg-lang a[aria-current] { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }

/* hero */
.rg-kicker { text-transform: uppercase; letter-spacing: .1em; font: 800 .82rem/1.3 var(--wp--preset--font-family--heading); color: var(--wp--preset--color--accent); margin-bottom: .2rem; }
.rg-hero h1 { max-width: 14ch; }
.rg-hero__art img { width: 100%; max-width: 520px; margin-inline: auto; display: block; animation: rg-spin-in 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rg-spin-in { from { opacity: 0; transform: rotate(-25deg) scale(.9); } to { opacity: 1; transform: none; } }
.rg-campaign-hero, .rg-outcome-hero { margin-bottom: var(--wp--preset--spacing--40); }
.rg-outcome-hero .wp-block-post-featured-image { margin: 0 0 1rem; }

/* block styles */
.is-style-card { background: var(--wp--preset--color--base); border-radius: calc(var(--rg-radius) * 1.3); padding: var(--wp--preset--spacing--40); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 30px rgba(20, 30, 30, .07); }
.wp-block-image.is-style-wheel img, .wp-block-post-featured-image.is-style-wheel img { border-radius: 50%; padding: 6px; background: var(--wp--preset--gradient--wheel); }
.wp-block-button.is-style-big .wp-block-button__link { font-size: 1.15rem; padding: 1.05rem 2.1rem; box-shadow: 0 8px 22px color-mix(in srgb, var(--wp--preset--color--accent) 35%, transparent); }
.wp-block-button.is-style-outline .wp-block-button__link { border: 2px solid currentColor; background: transparent; color: var(--wp--preset--color--primary); }
.wp-block-button__link { transition: transform .12s, background-color .15s, box-shadow .15s; }
.wp-block-button__link:hover { transform: translateY(-1px); }

/* footer */
.rg-footer a { color: var(--wp--preset--color--base); }
.rg-footer a:hover { color: var(--wp--preset--color--wheel-mint); }
.rg-wheel-line { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #f0436e, #7bdfc7, #f0e55a, #ea7ac4, #6fa8d6, #e08e5c, #55b57a, #9a85d9); margin-bottom: var(--wp--preset--spacing--40); }

/* legacy content imported as HTML */
.wp-block-html img { max-width: 100%; height: auto; border-radius: 10px; }
.wp-block-html iframe { max-width: 100%; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
