/*
Theme Name: CasGebbink
Theme URI: https://casgebbink.nl
Author: Trolly Town Studio
Author URI: https://trollytown.nl
Description: Child-thema van Twenty Twenty-Five voor casgebbink.nl. Bevat de vormgeving die eerder in het Ona-thema en Kadence Blocks zat. Ona CSS en templates (c) DeoThemes, GPL.
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: casgebbink
*/

/* ---------- Golfrand onder (vervangt Kadence "waves" scheiding) ---------- */
.is-style-cg-golf-onder { position: relative; }
.is-style-cg-golf-onder::after {
	content: ""; position: absolute; left: 0; right: 0; top: auto !important; bottom: -1px !important; height: 100px;
	background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201000%20100%27%20preserveAspectRatio%3D%27none%27%20fill%3D%27white%27%3E%3Cpath%20d%3D%27M1000%2C40c0%2C0%20-120.077%2C-38.076%20-250%2C-38c-129.923%2C0.076%20-345.105%2C78%20-500%2C78c-154.895%2C0%20-250%2C-30%20-250%2C-30l0%2C50l1000%2C0l0%2C-60Z%27%2F%3E%3Cpath%20d%3D%27M1000%2C40c0%2C0%20-120.077%2C-38.076%20-250%2C-38c-129.923%2C0.076%20-345.105%2C73%20-500%2C73c-154.895%2C0%20-250%2C-45%20-250%2C-45l0%2C70l1000%2C0l0%2C-60Z%27%20opacity%3D%270.4%27%2F%3E%3Cpath%20d%3D%27M1000%2C40c0%2C0%20-120.077%2C-38.076%20-250%2C-38c-129.923%2C0.076%20-345.105%2C68%20-500%2C68c-154.895%2C0%20-250%2C-65%20-250%2C-65l0%2C95l1000%2C0l0%2C-60Z%27%20opacity%3D%270.4%27%2F%3E%3C%2Fsvg%3E") no-repeat center bottom / 100% 100%;
	pointer-events: none; z-index: 2;
}

/* ---------- Schuine rand boven (vervangt Kadence "threelevels" scheiding) ---------- */
.is-style-cg-schuin-boven { position: relative; }
.is-style-cg-schuin-boven::before {
	content: ""; position: absolute; left: 0; right: 0; top: -1px !important; bottom: auto !important; height: 300px;
	background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201000%20100%27%20preserveAspectRatio%3D%27none%27%20fill%3D%27white%27%3E%3Cpath%20opacity%3D%270.33%27%20d%3D%27M0%2095L1000%200v100H0v-5z%27%2F%3E%3Cpath%20opacity%3D%270.66%27%20d%3D%27M0%2095l1000-67.944V100H0v-5z%27%2F%3E%3Cpath%20d%3D%27M0%2095l1000-40.887V100H0v-5z%27%2F%3E%3C%2Fsvg%3E") no-repeat center / 100% 100%;
	transform: rotate(180deg); pointer-events: none; z-index: 0;
}
.is-style-cg-schuin-boven > * { position: relative; z-index: 1; }

/* ---------- Lichte lijn (vervangt Kadence spacer met scheidingslijn) ---------- */
.wp-block-separator.is-style-cg-lijn {
	/* Zelfde maat als de Kadence-spacer: 60px hoog met de lijn in het midden. */
	border: 0; height: 1px; padding: 30px 0 29px; box-sizing: content-box; opacity: 1;
	background: linear-gradient(var(--wp--preset--color--lijn-grijs, #eee), var(--wp--preset--color--lijn-grijs, #eee)) content-box no-repeat;
	width: 80%; max-width: 80%;
	margin-top: var(--wp--style--block-gap, 1.5rem) !important; margin-bottom: 0 !important;
	margin-left: auto !important; margin-right: auto !important;
}

/* ---------- Knoppen (vervangen Kadence knoppen) ---------- */
.wp-block-button.is-style-cg-omlijnd .wp-block-button__link,
.wp-block-button.is-style-cg-pil .wp-block-button__link {
	background: transparent; border: 2px solid var(--wp--preset--color--custom-gebbink-blauw);
	padding: 5.2px 16px; font-size: 18px; font-weight: 400; line-height: 1.5; text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.wp-block-button.is-style-cg-omlijnd .wp-block-button__link {
	color: var(--wp--preset--color--link-paars); border-radius: 3px; font-family: var(--wp--preset--font-family--base);
}
.wp-block-button.is-style-cg-pil .wp-block-button__link {
	color: var(--wp--preset--color--custom-gebbink-blauw); border-radius: 50px; font-family: var(--wp--preset--font-family--questrial);
	display: inline-flex; align-items: center; gap: 9px;
}
.wp-block-button.is-style-cg-pil .wp-block-button__link::after {
	content: ""; width: 18px; height: 18px; flex: 0 0 18px; background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20448%20512%27%3E%3Cpath%20d%3D%27M438.6%20278.6c12.5-12.5%2012.5-32.8%200-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3%200s-12.5%2032.8%200%2045.3L338.8%20224%2032%20224c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032l306.7%200L233.4%20393.4c-12.5%2012.5-12.5%2032.8%200%2045.3s32.8%2012.5%2045.3%200l160-160z%27%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20448%20512%27%3E%3Cpath%20d%3D%27M438.6%20278.6c12.5-12.5%2012.5-32.8%200-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3%200s-12.5%2032.8%200%2045.3L338.8%20224%2032%20224c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032l306.7%200L233.4%20393.4c-12.5%2012.5-12.5%2032.8%200%2045.3s32.8%2012.5%2045.3%200l160-160z%27%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}
.wp-block-button.is-style-cg-omlijnd .wp-block-button__link:hover,
.wp-block-button.is-style-cg-omlijnd .wp-block-button__link:focus,
.wp-block-button.is-style-cg-pil .wp-block-button__link:hover,
.wp-block-button.is-style-cg-pil .wp-block-button__link:focus {
	background: var(--wp--preset--color--custom-gebbink-blauw); color: #fff;
}

/* ---------- Hero-kop: zelfde groottes als Kadence (desktop 5.5rem, tablet 4.5rem, mobiel 2.5rem) ---------- */
@media (max-width: 1024px) { .has-cg-hero-font-size { font-size: 4.5rem !important; } }
@media (max-width: 767px) { .has-cg-hero-font-size { font-size: 2.5rem !important; } }

/* ---------- Tekstafbreking zoals de live site (TT5 zet hier text-wrap: pretty) ---------- */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: wrap;
}
