/* ============================================================
   TeamGeluid — aanvullend stijlblad
   Kleuren, lettertypen en knoppen staan in theme.json.
   Hier alleen wat theme.json niet kan: het "vel", kaarten,
   hero, voet en de mobiele belbalk.
   ============================================================ */

/* ---------- Het vel (boxed layout zoals de huidige site) ---------- */
body { background: #f7f9f9; }
.wp-site-blocks {
	max-width: 1200px;
	margin: 0 auto;
	background: var(--wp--preset--color--wit);
	box-shadow: 0 0 10px rgba(0, 0, 0, .18);
	min-height: 100vh;
}
/* geen witruimte tussen kop, inhoud en voet */
.wp-site-blocks > * { margin-block-start: 0; }

/* ---------- Sectieruimte ---------- */
.tg-sectie { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); }
.tg-sectie--klein { padding-top: 0; }
.tg-hoofd-vol { padding: 0; }
.tg-smal { max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
.tg-smal-links { max-width: 720px; }

/* ---------- Kop ---------- */
.tg-kop { border-bottom: 1px solid var(--wp--preset--color--lijn); }
.tg-kop__balk { min-height: 80px; }
.tg-logo { gap: 12px; }
.tg-logo__picto img { width: 30px; height: 33px; border-radius: 0; }
.tg-logo .wp-block-site-title a { text-decoration: none; color: inherit; }
.tg-menu a { text-decoration: none; }
.tg-menu .wp-block-navigation-item__content:hover,
.tg-menu .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--accent); }

/* ---------- Hero ---------- */
.tg-hero .wp-block-cover__image-background { object-position: center; }
/* tekst in de hero lijnt uit met de inhoud eronder (1080 px) */
.tg-hero .wp-block-cover__inner-container { width: 100% !important; max-width: 1080px; margin: 0 auto !important; }
.tg-hero__kop { color: #fff; font-size: var(--wp--preset--font-size--xxl) !important; margin-bottom: .25em; }
.tg-hero__onder { font-size: var(--wp--preset--font-size--middel); margin-bottom: 28px; }

/* Witte omlijnde knop (op foto's en donkere vlakken) */
.wp-block-button.is-style-outline.tg-knop-wit > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .85); background: transparent; }
.wp-block-button.is-style-outline.tg-knop-wit > .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { border-width: 2px; }

/* ---------- Intro ---------- */
.tg-intro {
	font-family: var(--wp--preset--font-family--kop);
	font-size: 20px; font-weight: 600; line-height: 1.6;
	color: var(--wp--preset--color--accent);
	text-align: left;
}

/* ---------- Werkgebieden (zes kaarten) ---------- */
.tg-werkgebieden { max-width: 840px; margin: 56px auto 0 !important; gap: 28px !important; }
.tg-werkgebied {
	position: relative; min-height: 170px; padding: 28px 16px;
	background: #fff; border-radius: 12px; box-shadow: 0 2px 14px rgba(0, 0, 0, .09);
	gap: 14px; transition: transform .15s, box-shadow .15s;
}
.tg-werkgebied:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.tg-werkgebied__icoon { margin: 0; }
.tg-werkgebied__icoon img { width: 58px !important; height: 58px; border-radius: 0; }
.tg-werkgebied__naam { margin: 0; text-align: center; font-family: var(--wp--preset--font-family--kop); font-weight: 500; }
.tg-werkgebied__naam a { color: var(--wp--preset--color--tekst-donker); text-decoration: none; }
/* hele kaart klikbaar */
.tg-werkgebied__naam a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }

/* ---------- Werkwijze ---------- */
.tg-werkwijze h2, .tg-werkwijze h3 { color: #fff; }
.tg-werkwijze h3 { font-size: 21px; letter-spacing: .02em; margin-bottom: .4em; }
.tg-stappen { gap: 40px; margin-top: 36px; }
.tg-stappen p { font-size: 15px; opacity: .92; margin: 0; }

/* ---------- Klantlogo's ---------- */
.tg-logos { gap: 20px !important; margin-top: 40px !important; align-items: center; }
.tg-logos figure { margin: 0; }
.tg-logos img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 0;
	filter: grayscale(1); opacity: .8; transition: filter .15s, opacity .15s; }
.tg-logos img:hover { filter: none; opacity: 1; }

/* ---------- Contactband ---------- */
.tg-contactband h2 { color: #fff; font-size: var(--wp--preset--font-size--xl); margin-bottom: .3em; }
.tg-contactband p { font-size: 18px; }
.tg-contactband__tel { font-size: 15px !important; margin-top: 18px; }
.tg-contactband__tel a { color: #fff; }

/* ---------- Projecten ---------- */
.tg-terug { font-family: var(--wp--preset--font-family--kop); font-size: 14px; margin-bottom: 18px; }
.tg-terug a { text-decoration: none; color: var(--wp--preset--color--tekst); }
.tg-label { font-family: var(--wp--preset--font-family--kop); font-size: 13px; font-weight: 500; }
.tg-label a { display: inline-block; text-decoration: none; color: var(--wp--preset--color--accent);
	background: var(--wp--preset--color--vlak); border-radius: 20px; padding: 3px 12px; }
.tg-project-intro { gap: 36px; }
.tg-project-fotos { gap: 32px; margin-top: 32px; }
.tg-project-intro img, .tg-project-fotos img { width: 100%; }

/* Kaart in overzicht en "Meer projecten" */
.tg-kaart { height: 100%; background: #fff; border-radius: 12px; overflow: hidden;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .08); transition: transform .15s, box-shadow .15s; }
.tg-kaart:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.tg-kaart .wp-block-post-featured-image { margin: 0; }
.tg-kaart .wp-block-post-featured-image img { width: 100%; aspect-ratio: 400 / 284; object-fit: cover; border-radius: 0; }
.tg-kaart__tekst { padding: 14px 18px 18px; }
.tg-kaart .wp-block-post-title { font-size: 17px; margin: 0 0 2px; }
.tg-kaart .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--tekst-donker); }
.tg-kaart__vakgebied, .tg-kaart__vakgebied a { font-size: 14px; color: var(--wp--preset--color--accent); text-decoration: none; }

/* Filter op vakgebied (links naar de vakgebied-pagina's) */
.tg-filters { gap: 10px !important; margin: 8px 0 36px !important; }
.tg-filters .wp-block-categories { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tg-filters p { margin: 0; }
.tg-filters a { display: inline-block; font-family: var(--wp--preset--font-family--kop); font-size: 14px; font-weight: 500;
	color: var(--wp--preset--color--tekst-donker); text-decoration: none;
	border: 1px solid var(--wp--preset--color--lijn); border-radius: 20px; padding: 7px 16px; }
.tg-filters a:hover { border-color: var(--wp--preset--color--accent); }
.tg-filters .current-cat a,
.post-type-archive-project .tg-filter-alle a {
	background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #fff; }

/* Artikellijst */
.tg-artikellijst > li { padding: 20px 0; border-bottom: 1px solid var(--wp--preset--color--lijn); }

/* ---------- Voet ---------- */
.tg-voet { background: var(--wp--preset--color--donker); color: #e6eeee; font-size: 14px; padding-top: 60px; padding-bottom: 28px; }
.tg-voet h4 { color: var(--wp--preset--color--accent); margin-bottom: 14px; }
.tg-voet a { color: #e6eeee; text-decoration: none; }
.tg-voet a:hover { color: #fff; text-decoration: underline; }
.tg-voet p { margin: 0 0 12px; }
.tg-voet .wp-block-button__link { color: #fff; white-space: nowrap; padding: 11px 18px; }
.tg-voet .wp-block-button__link:hover { text-decoration: none; }
.tg-voet__kolommen { gap: 40px; }
.tg-lijst-kaal { list-style: none; padding: 0; margin: 0; }
.tg-lijst-kaal li { margin-bottom: 5px; }
.tg-voet__onder { margin-top: 44px !important; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13px; color: #b9cbcc; }
.tg-voet__onder p { margin: 0; }
.tg-voet__onder a { color: #b9cbcc; }

/* ---------- Mobiele belbalk (alleen op telefoon) ---------- */
.tg-belbalk { display: none !important; }

/* ---------- Tablet en telefoon ---------- */
@media (max-width: 1000px) {
	.tg-logos { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 781px) {
	body { padding-bottom: 58px; }
	.tg-logo .wp-block-site-title { font-size: 30px !important; }
	.tg-logo__picto img { width: 24px; height: 27px; }
	.tg-hero { min-height: 380px !important; }
	.tg-intro { font-size: 18px; text-align: left; }
	.tg-werkgebieden { grid-template-columns: 1fr 1fr !important; gap: 16px !important; margin-top: 40px !important; }
	.tg-werkgebied { min-height: 140px; }
	.tg-werkgebied__icoon img { width: 46px !important; height: 46px; }
	.wp-block-post-template.is-layout-grid { grid-template-columns: 1fr !important; }
	.tg-belbalk { display: flex !important; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 0 !important; margin: 0 !important; }
	.tg-belbalk p { flex: 1; margin: 0; }
	.tg-belbalk a { display: block; text-align: center; padding: 16px 10px; font-family: var(--wp--preset--font-family--kop);
		font-weight: 500; text-decoration: none; color: #fff; background: var(--wp--preset--color--donker); }
	.tg-belbalk p + p a { background: var(--wp--preset--color--actie); }
}

/* ============================================================
   0.2.0 — werkgebiedpagina's en koppelingen
   ============================================================ */
/* Menu: uitklapmenu en offerteknop */
.tg-menu .wp-block-navigation__submenu-container { border: 1px solid var(--wp--preset--color--lijn); border-radius: 8px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .08); padding: 6px 0; min-width: 240px !important; }
.tg-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 18px; }
.tg-menu .tg-menu-knop > .wp-block-navigation-item__content { background: var(--wp--preset--color--actie); color: #fff !important;
	border-radius: 6px; padding: 9px 16px; }
.tg-menu .tg-menu-knop > .wp-block-navigation-item__content:hover { background: #a8184c; }

/* Werkgebiedpagina */
.tg-werkgebied-pagina .wp-block-post-title { margin-bottom: 20px; }
.tg-lead { font-size: var(--wp--preset--font-size--middel); line-height: 1.6; color: var(--wp--preset--color--tekst-donker); }
.tg-wg-intro { gap: 36px; align-items: flex-start; }
.tg-wg-intro img { width: 100%; }
.tg-vinklijst { list-style: none; padding-left: 0; }
.tg-vinklijst li { position: relative; padding-left: 22px; margin-bottom: 3px; }
.tg-vinklijst li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--wp--preset--color--accent); }
.tg-genummerd li { margin-bottom: 3px; }
.tg-werkgebied-pagina h2 { margin-top: 40px; }

/* Ons gereedschap */
.tg-gereedschap { background: var(--wp--preset--color--vlak); border-radius: 12px; padding: 24px 28px !important; margin-top: 32px !important; }
.tg-gereedschap h3 { margin-top: 0; }
.tg-gereedschap h4 { font-size: 15px; font-weight: 600; color: var(--wp--preset--color--donker); margin-bottom: 8px; }
.tg-gereedschap .tg-lijst-kaal li { font-size: 15px; padding: 4px 0; border-bottom: 1px solid var(--wp--preset--color--lijn); }
.tg-gereedschap__kolommen { gap: 32px; }

/* Uw specialist */
.tg-specialist { align-items: center; gap: 32px; background: #fff; border-radius: 12px; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); padding: 22px; }
.tg-specialist__foto { margin: 0; }
.tg-specialist__foto img { width: 160px; height: 160px; object-fit: cover; border-radius: 50% !important; }
.tg-specialist__naam { margin: 0 0 2px; }
.tg-specialist__rol { color: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--kop); font-weight: 500; margin-top: 0; }

/* Veelgestelde vragen */
.wp-block-details { border-bottom: 1px solid var(--wp--preset--color--lijn); padding: 10px 0; }
.wp-block-details summary { cursor: pointer; font-family: var(--wp--preset--font-family--kop); font-weight: 500; color: var(--wp--preset--color--tekst-donker); }
.wp-block-details p { margin: 6px 0 0; }

/* Koppelingen */
.tg-meer-link { margin-top: 24px; font-family: var(--wp--preset--font-family--kop); font-weight: 500; }
.tg-meer-link a { color: var(--wp--preset--color--actie); text-decoration: none; }
.tg-werkgebied-verwijzing { margin-top: 32px !important; background: var(--wp--preset--color--vlak); border-radius: 12px; padding: 24px 28px !important; }
.tg-werkgebied-verwijzing .wp-block-query:not(:has(.wp-block-post)) { display: none; }
.tg-werkgebied-verwijzing:not(:has(.wp-block-post)) { display: none; }
.tg-werkgebied-verwijzing h3 { margin-top: 0; font-size: 17px; }
.tg-werkgebied-verwijzing ul { margin: 0; padding: 0; }
.tg-pijl-link { font-size: 16px; margin: 6px 0; }
.tg-pijl-link a { color: var(--wp--preset--color--actie); text-decoration: none; }
.tg-pijl-link a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 781px) {
	.tg-wg-intro, .tg-specialist { gap: 20px; }
	.tg-specialist { text-align: center; }
	.tg-specialist__foto img { margin: 0 auto; }
	.tg-gereedschap { padding: 24px 20px !important; }
}

/* 0.2.1 — bellen alleen op de telefoon: belknoppen en "of bel direct" verbergen op tablet/desktop.
   Het telefoonnummer in de voet blijft zichtbaar als contactgegeven. */
@media (min-width: 782px) {
	.wp-block-button:has(> a[href^="tel:"]),
	.tg-contactband__tel,
	.tg-alleen-mobiel { display: none !important; }
}

/* ============================================================
   0.2.5 — compacter (krantachtig), eigen opsommingstekens, formulier
   ============================================================ */
/* Opsommingen in teksten: ronde stip in TeamGeluid-kleur (geen ✓ of andere tekens) */
:where(.wp-block-post-content, .entry-content) ul:not(.tg-lijst-kaal):not(.tg-vinklijst):not(.wp-block-post-template):not(.wp-block-categories) {
	list-style: none; padding-left: 0; }
:where(.wp-block-post-content, .entry-content) ul:not(.tg-lijst-kaal):not(.tg-vinklijst):not(.wp-block-post-template):not(.wp-block-categories) > li {
	position: relative; padding-left: 22px; margin-bottom: 3px; }
:where(.wp-block-post-content, .entry-content) ul:not(.tg-lijst-kaal):not(.tg-vinklijst):not(.wp-block-post-template):not(.wp-block-categories) > li::before {
	content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--wp--preset--color--accent); }
:where(.wp-block-post-content, .entry-content) ol { padding-left: 1.4em; }
:where(.wp-block-post-content, .entry-content) ol > li { margin-bottom: 3px; padding-left: 4px; }
:where(.wp-block-post-content, .entry-content) ol > li::marker { color: var(--wp--preset--color--accent); font-weight: 600; }

/* Compacter: minder lucht rond alinea's, koppen en lijsten */
:where(.wp-block-post-content) p { margin-top: 0; margin-bottom: .7em; }
:where(.wp-block-post-content) ul, :where(.wp-block-post-content) ol { margin-top: .2em; margin-bottom: .9em; }
:where(.wp-block-post-content) h2 { margin-top: 1.6em; margin-bottom: .45em; }
:where(.wp-block-post-content) h3 { margin-top: 1.3em; margin-bottom: .35em; }
:where(.wp-block-post-content) h4 { margin-top: 1.1em; margin-bottom: .3em; }
:where(.wp-block-post-content) > :first-child { margin-top: 0; }
.wp-block-quote { margin: 1em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--wp--preset--color--accent); }
.wp-block-quote p { margin-bottom: .4em; }

/* Contactformulier (Contact Form 7) */
.wpcf7 form > p, .wpcf7 form p { margin: 0 0 12px; }
.wpcf7 h3, .wpcf7 h4 { margin: 18px 0 8px; font-size: 18px; }
.wpcf7 label { display: block; font-family: var(--wp--preset--font-family--kop); font-weight: 500; font-size: 14px;
	color: var(--wp--preset--color--tekst-donker); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 textarea {
	display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 11px 13px;
	font: inherit; font-size: 16px; line-height: 1.4; color: var(--wp--preset--color--tekst-donker);
	background: #fff; border: 1px solid #c9d3d4; border-radius: 6px; }
.wpcf7 textarea { min-height: 140px; height: 140px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px rgba(97, 179, 188, .25); }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-acceptance label { display: flex; gap: 8px; align-items: flex-start; font-family: inherit; font-weight: 400; font-size: 14px; }
.wpcf7 input[type="submit"] { margin-top: 6px; background: var(--wp--preset--color--actie); color: #fff; border: 0; border-radius: 6px;
	padding: 13px 24px; font-family: var(--wp--preset--font-family--kop); font-weight: 500; font-size: 15px; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: #a8184c; }
.wpcf7 .wpcf7-not-valid-tip { font-size: 13px; }
.wpcf7 .wpcf7-response-output { margin: 12px 0 0 !important; font-size: 14px; }

/* ============================================================
   0.2.6 — werkgebiedpagina als krant: rustige koppen, één kolomlijn
   ============================================================ */
/* Koppen: donker petrol, geen accentkleur */
h1, h2, h3, h4 { color: var(--wp--preset--color--donker); }
.tg-specialist__rol { color: var(--wp--preset--color--tekst) !important; font-weight: 500; }
.tg-kaart__vakgebied, .tg-kaart__vakgebied a { color: var(--wp--preset--color--tekst) !important; }

/* Werkgebied: secties met dunne lijn erboven, alles op één linkerlijn */
.tg-werkgebied-pagina .wp-block-post-content > h2 {
	font-size: 21px; margin-top: 34px; margin-bottom: 10px; padding-top: 14px;
	border-top: 1px solid var(--wp--preset--color--lijn); }
.tg-werkgebied-pagina .wp-block-post-content h3 { font-size: 17px; margin-top: 18px; margin-bottom: 6px; }
.tg-wg-intro { gap: 32px; margin-bottom: 4px; }
.tg-wg-intro .tg-lead { margin-bottom: 0; }

/* Ons gereedschap en werkwijze: geen vlak, niet inspringen */
.tg-werkgebied-pagina .tg-gereedschap { background: none; border-radius: 0; padding: 0 !important; margin-top: 0 !important; }
.tg-wg-hoe { gap: 32px; }
.tg-wg-hoe h3:first-child { margin-top: 0; }
.tg-werkwijze-kort { padding-left: 1.3em; }
.tg-werkwijze-kort li { margin-bottom: 4px; color: var(--wp--preset--color--donker); }

/* Projecten: één smalle rij */
.tg-wg-projecten { margin-top: 0; }
.tg-wg-projecten .wp-block-post-template { gap: 16px !important; margin: 0; }
.tg-wg-projecten .wp-block-post-featured-image { margin: 0 0 6px; }
.tg-wg-projecten .wp-block-post-featured-image img { border-radius: 6px; }
.tg-wg-projecten .tg-wg-projecten__titel { font-size: 14px; font-weight: 500; line-height: 1.3; margin: 0; }
.tg-wg-projecten .tg-wg-projecten__titel a { color: var(--wp--preset--color--donker); text-decoration: none; }
.tg-wg-projecten .tg-wg-projecten__titel a:hover { text-decoration: underline; }
.tg-wg-projecten .tg-meer-link { margin-top: 10px; font-size: 15px; }
@media (max-width: 781px) { .tg-wg-projecten .wp-block-post-template { grid-template-columns: repeat(2, 1fr) !important; } }

/* Specialist: plat, zonder kaart */
.tg-werkgebied-pagina .tg-specialist { box-shadow: none; padding: 0; border-radius: 0; gap: 20px; margin-bottom: 14px; }
.tg-werkgebied-pagina .tg-specialist__foto img { width: 110px; height: 110px; }
.tg-werkgebied-pagina .tg-specialist .wp-block-column:first-child:not(:only-child) { flex-basis: 110px !important; flex-grow: 0; }
.tg-werkgebied-pagina .tg-specialist__naam { font-size: 17px; }
.tg-werkgebied-pagina .tg-specialist p { margin-bottom: 4px; }

/* Veelgestelde vragen: compact */
.tg-werkgebied-pagina .wp-block-details { padding: 7px 0; }
.tg-werkgebied-pagina .wp-block-details summary { font-size: 15.5px; }
.tg-werkgebied-pagina .wp-block-details p { font-size: 15px; margin: 4px 0 2px; }

/* Logo's producttesten: kleiner, één rij */
.tg-werkgebied-pagina .tg-logos { margin-top: 10px !important; gap: 16px !important; }

/* 0.2.7 — FAQ nog compacter, gewone letter (geen vet) */
.tg-werkgebied-pagina .wp-block-details { padding: 2px 0; }
.tg-werkgebied-pagina .wp-block-details summary { font-family: var(--wp--preset--font-family--tekst); font-weight: 400; font-size: 15.5px; line-height: 1.5; color: var(--wp--preset--color--tekst-donker); }
.tg-werkgebied-pagina .wp-block-details[open] summary { color: var(--wp--preset--color--donker); }
.tg-werkgebied-pagina .wp-block-details p { margin: 2px 0 4px; }

/* ============================================================
   0.2.8 — werkgebied: gelijke witruimte, rustige kopgroottes,
   specialist op licht vlak, projectfoto's met witrand
   ============================================================ */
/* Eén ritme: elke sectie 32px boven, koppen even groot */
.tg-werkgebied-pagina .wp-block-post-content > * + * { margin-top: 0; }
.tg-werkgebied-pagina .wp-block-post-content p,
.tg-werkgebied-pagina .wp-block-post-content ul,
.tg-werkgebied-pagina .wp-block-post-content ol { margin-top: 0; margin-bottom: 12px; }
.tg-werkgebied-pagina h2,
.tg-werkgebied-pagina .wp-block-post-content > h2,
.tg-werkgebied-pagina .tg-wg-projecten h2 {
	font-size: 21px; line-height: 1.3; margin: 32px 0 12px; padding-top: 14px;
	border-top: 1px solid var(--wp--preset--color--lijn); }
.tg-werkgebied-pagina h3,
.tg-werkgebied-pagina .wp-block-post-content h3 { font-size: 17px; line-height: 1.35; margin: 20px 0 8px; }
.tg-werkgebied-pagina .wp-block-columns { margin-top: 0; margin-bottom: 0; }
.tg-wg-intro { margin-bottom: 0 !important; }

/* Wanneer heeft u dit nodig + Onze werkwijze naast elkaar */
.tg-wg-duo { gap: 32px; margin-top: 32px !important; padding-top: 14px;
	border-top: 1px solid var(--wp--preset--color--lijn); }
.tg-wg-duo h3 { font-size: 21px !important; margin-top: 0 !important; }

/* Uw specialist: licht vlak voor wat diepte */
.tg-werkgebied-pagina .tg-specialist { background: var(--wp--preset--color--vlak); border-radius: 10px;
	padding: 20px 24px !important; margin-bottom: 12px !important; align-items: center; }

/* Projectfoto's: witrand van ~10% zodat logo's en foto's rustig naast elkaar staan */
.tg-wg-projecten .wp-block-post-featured-image { background: #fff; border: 1px solid var(--wp--preset--color--lijn);
	border-radius: 6px; padding: 10%; box-sizing: border-box; aspect-ratio: 4 / 3; }
.tg-wg-projecten .wp-block-post-featured-image a { display: block; height: 100%; }
.tg-wg-projecten .wp-block-post-featured-image img { width: 100%; height: 100% !important; object-fit: contain !important;
	aspect-ratio: auto !important; border-radius: 0; }

/* ============================================================
   0.2.8 — werkgebied: gelijke witruimte, rustige kopmaten,
   specialist in licht vlak, projecten onderaan, logo's met marge
   ============================================================ */
/* Eén ritme: elke alinea/lijst/blok volgt op 0.9rem (blockGap), geen extra marges */
.tg-werkgebied-pagina .wp-block-post-content p,
.tg-werkgebied-pagina .wp-block-post-content ul,
.tg-werkgebied-pagina .wp-block-post-content ol { margin-bottom: 0; }
.tg-werkgebied-pagina .wp-block-post-content > * { margin-block-end: 0; }
.tg-werkgebied-pagina .wp-block-post-content li { margin-bottom: 2px; }

/* Kopmaten: één maat per niveau */
.tg-werkgebied-pagina .wp-block-post-content h2 { font-size: 20px; line-height: 1.3; margin-bottom: 0; }
.tg-werkgebied-pagina .wp-block-post-content h3 { font-size: 17px; line-height: 1.3; margin-bottom: 0; }

/* Secties: zelfde afstand en dunne lijn erboven */
.tg-werkgebied-pagina .wp-block-post-content > h2,
.tg-werkgebied-pagina .wp-block-post-content > .tg-wg-blok,
.tg-werkgebied-pagina .wp-block-post-content > .tg-wg-projecten {
	margin-top: 32px !important; padding-top: 14px; border-top: 1px solid var(--wp--preset--color--lijn); }
.tg-werkgebied-pagina .wp-block-post-content > h3 { margin-top: 1.4rem; }
.tg-wg-blok { gap: 32px; }
.tg-wg-blok h3:first-child { margin-top: 0; }
.tg-wg-blok .wp-block-column > * + * { margin-top: .9rem; }

/* Specialist in licht vlak */
.tg-werkgebied-pagina .wp-block-post-content > .tg-wg-specialist {
	margin-top: 32px !important; background: var(--wp--preset--color--vlak); border-radius: 12px; padding: 20px 24px !important; }
.tg-wg-specialist > h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.tg-wg-specialist .tg-specialist { background: none; margin: .9rem 0 0 !important; }
.tg-wg-specialist .tg-specialist + .tg-specialist { margin-top: 1.2rem !important; }

/* FAQ: geen tussenruimte tussen vragen, 5px tussen vraag en antwoord */
.tg-werkgebied-pagina .wp-block-post-content > .wp-block-details + .wp-block-details { margin-top: 0 !important; }
.tg-werkgebied-pagina .wp-block-details[open] > summary + * { margin-top: 5px !important; }
.tg-werkgebied-pagina .wp-block-details p { margin: 0 0 4px !important; }

/* Projecten: kopmaat gelijk, foto's/logo's met 10% marge in een kader */
.tg-wg-projecten > h2 { font-size: 20px !important; margin: 0; }
.tg-wg-projecten .wp-block-post-template { margin-top: .9rem !important; }
.tg-wg-projecten .wp-block-post-featured-image { background: #fff; border: 1px solid var(--wp--preset--color--lijn); border-radius: 6px; overflow: hidden; }
.tg-wg-projecten .wp-block-post-featured-image img { padding: 10%; box-sizing: border-box; object-fit: contain !important; border-radius: 0 !important; background: #fff; }
.tg-wg-projecten .tg-meer-link { margin-top: .9rem !important; }

/* ============================================================
   0.2.8 — werkgebied: gelijke witruimte, vaste kopgroottes,
   specialist op licht vlak, projecten onderaan met kader
   ============================================================ */
/* Eén ritme: elk blok 14px onder het vorige, secties 36px */
.tg-werkgebied-pagina .wp-block-post-content > *,
.tg-werkgebied-pagina .wp-block-post-content .wp-block-column > *,
.tg-werkgebied-pagina .wp-block-post-content .wp-block-group > * { margin-top: 14px; margin-bottom: 0; }
.tg-werkgebied-pagina .wp-block-post-content > :first-child,
.tg-werkgebied-pagina .wp-block-post-content .wp-block-column > :first-child,
.tg-werkgebied-pagina .wp-block-post-content .wp-block-group > :first-child { margin-top: 0; }
.tg-werkgebied-pagina .wp-block-post-content li { margin-bottom: 3px; }

/* Kopgroottes: h2 = 20px overal (ook in blokken), h3 = 17px */
.tg-werkgebied-pagina .wp-block-post-content h2 { font-size: 20px !important; line-height: 1.3; }
.tg-werkgebied-pagina .wp-block-post-content h3 { font-size: 17px !important; line-height: 1.3; }
.tg-werkgebied-pagina .wp-block-post-content > h2,
.tg-wg-duo, .tg-wg-specialist, .tg-wg-projecten { margin-top: 36px !important; }
.tg-werkgebied-pagina .wp-block-post-content > h2,
.tg-wg-duo, .tg-wg-projecten { padding-top: 14px; border-top: 1px solid var(--wp--preset--color--lijn); }
.tg-wg-duo h2, .tg-wg-specialist h2, .tg-wg-projecten h2 { border-top: 0 !important; padding-top: 0 !important; }
.tg-werkgebied-pagina .wp-block-post-content > h3 { margin-top: 22px; }

/* Wanneer + werkwijze naast elkaar */
.tg-wg-duo { gap: 40px; }

/* Uw specialist op licht vlak */
.tg-wg-specialist { background: var(--wp--preset--color--vlak); border-radius: 12px; padding: 22px 26px !important; }
.tg-wg-specialist .tg-specialist { background: none; margin-bottom: 0; }
.tg-wg-specialist .tg-specialist + .tg-specialist { margin-top: 18px !important; padding-top: 18px; border-top: 1px solid var(--wp--preset--color--lijn); }

/* Veelgestelde vragen: 10px tussen vraag en antwoord als hij open is */
.tg-werkgebied-pagina .wp-block-details { margin-top: 0 !important; }
.tg-werkgebied-pagina .wp-block-details[open] > summary + * { margin-top: 10px !important; }

/* Projecten onderaan: foto/logo met 10% ruimte in een kader */
.tg-wg-projecten__foto { background: #fff; border: 1px solid var(--wp--preset--color--lijn); border-radius: 6px; padding: 10%; box-sizing: border-box; }
.tg-wg-projecten .tg-wg-projecten__foto img { object-fit: contain !important; border-radius: 0 !important; }

/* ============================================================
   0.2.9 — telefoon: rustig menu, geen dubbele knoppen
   ============================================================ */
@media (max-width: 781px) {
	/* Menu: verder van de rand, zonder submenu en zonder offerteknop */
	.tg-menu .wp-block-navigation__responsive-container.is-menu-open { padding: 84px 36px 40px !important; }
	.tg-menu .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 0 !important; }
	.tg-menu .is-menu-open .wp-block-navigation__container { gap: 6px !important; }
	.tg-menu .is-menu-open .wp-block-navigation-item__content { font-size: 21px; padding: 8px 0 !important; }
	.tg-menu .is-menu-open .wp-block-navigation__submenu-container,
	.tg-menu .is-menu-open .wp-block-navigation__submenu-icon,
	.tg-menu .is-menu-open .tg-menu-offerte { display: none !important; }
	/* Sluitkruisje: verder naar binnen en groter klikvlak */
	.tg-menu .wp-block-navigation__responsive-container-close { top: 26px !important; right: 26px !important; padding: 10px !important; }
	.tg-menu .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
	.tg-menu .wp-block-navigation__responsive-container-open { padding: 8px; margin-right: -8px; }

	/* Knoppen in hero, contactband en voet weg: de vaste balk onderaan doet dat al */
	.tg-hero .wp-block-buttons,
	.tg-contactband .wp-block-buttons,
	.tg-contactband__tel,
	.tg-voet .wp-block-buttons { display: none !important; }
}

/* ============================================================
   0.3.1 — kopgroottes en kop-tekstafstand gelijk (instellingen Mark)
   ============================================================ */
.tg-werkgebied-pagina .wp-block-post-content h3 { font-size: 13px !important; }
.tg-werkgebied-pagina .wp-block-post-content h3.tg-specialist__naam { font-size: 17px !important; }
.tg-werkgebied-pagina .wp-block-post-content > h2,
.tg-wg-duo, .tg-wg-projecten { padding-top: 14px; border-top: 1px solid var(--wp--preset--color--lijn); padding-bottom: 14px; }
/* Zelfde afstand kop-tekst ook voor koppen binnen blokken */
.tg-wg-duo h2, .tg-wg-specialist h2, .tg-wg-projecten h2 { padding-bottom: 14px !important; }
/* Projectbeelden: geen binnenruimte, kader 5px kleiner */
.tg-wg-projecten__foto { padding: 0 !important; width: calc(100% - 5px) !important; overflow: hidden; }

/* 0.3.2 — geen lijnen tussen de veelgestelde vragen */
.wp-block-details { border-bottom: 0 !important; }

/* 0.3.3 — veelgestelde vragen: vraag en antwoord 14px */
.wp-block-details summary,
.tg-werkgebied-pagina .wp-block-details summary,
.wp-block-details p,
.tg-werkgebied-pagina .wp-block-details p { font-size: 14px !important; }
