/* repas-divi.css – laat de Divi 5-wrappers "verdwijnen" (display:contents), zodat de originele
   markup in de Code-modules zich exact gedraagt zoals op repascatering.be.
   Elke Divi-sectie die originele markup bevat krijgt de class .repas-raw. */
#et-boc, #et-main-area,
.et-l, .et-l--header, .et-l--body, .et-l--post, .et-l--footer,
.et_builder_inner_content,
.repas-raw, .repas-raw > .et_pb_row, .repas-raw .et_pb_column,
.repas-raw .et_pb_code, .repas-raw .et_pb_code_inner,
#main-content > .container, #content-area, #left-area,
#main-content article.page, #main-content article.vacature, #main-content .entry-content,
.repas-raw .et_pb_post_content, .et_pb_post_content .et-l--post {
	display: contents;
}
#main-content { display: block; background: transparent; }
/* #page-container speelt de rol van <div id="page"> van het origineel (min-height: 100vh) */
#page-container { display: block; min-height: 100vh; padding-top: 0 !important; margin-top: 0 !important; }
/* Divi voegt soms een lege <p> rond shortcodes toe */
.repas-raw .et_pb_code_inner > p:empty { display: none; }
/* Divi's "back to top" en andere extra's */
.et_pb_scroll_top { display: none !important; }

/* Divi Customizer-CSS zet "body{font-size:14px}" inline in de head; terugzetten naar het origineel. */
body.repas { font-size: 24px; line-height: 1.15; }
:root { --et_global_body_font_size: 24px; --et_global_body_font_height: 1.15; }
@media screen and (max-width: 767px) { body.repas { font-size: 16px; } }

/* ---- Aanvullingen die niet op de oude site stonden ---- */
/* Privacyverklaring: tabel met bedrijfsgegevens */
.repas-table { width: 100%; max-width: 760px; border-collapse: collapse; margin: 0 0 30px; font-size: .75em; }
.repas-table td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.repas-table td:first-child { font-weight: bold; width: 40%; }

/* Exclusive mobiel: de foto in #exclusiefbabbel loopt 15px voorbij de schermrand (margin-right:-30px),
   waardoor de pagina 405px breed werd op een 390px-scherm. De .inner wordt 15px breder met evenveel
   padding (inhoud blijft 360px) en knipt horizontaal af precies op de schermrand: zelfde beeld, geen scroll. */
@media screen and (max-width: 767px) {
	#exclusiefbabbel .inner { margin-right: -15px; padding-right: 15px; overflow-x: clip; }
}

/* Cookieverklaring (Complianz-document): zelfde typografie als de privacyverklaring
   (alinea's als article p, h2 als .title-3, h3 als .title-4, bolletjes van de site). */
.repas-cmplz #cmplz-document { max-width: none; font-size: inherit; line-height: inherit; }
.repas-cmplz #cmplz-document p, .repas-cmplz #cmplz-document li, .repas-cmplz #cmplz-document summary,
.repas-cmplz #cmplz-document .cookies-per-purpose, .repas-cmplz #cmplz-document details { font-size: inherit; line-height: inherit; }
.repas-cmplz #cmplz-document p { margin: 0 0 35px; }
.repas-cmplz #cmplz-document > h2 { font-size: 42px; line-height: 1.1; margin: 30px 0 25px; }
.repas-cmplz #cmplz-document > h3 { font-size: 27px; line-height: 1.45; margin: 0 0 20px; }
.repas-cmplz #cmplz-document ul { list-style: none none; padding: 0; margin: 0 0 35px; }
.repas-cmplz #cmplz-document ul li { list-style: none; }
.repas-cmplz #cmplz-document .cmplz-service-header h3 { font-size: inherit; line-height: inherit; margin: 0; }
.repas-cmplz #cmplz-document .cmplz-service-desc p, .repas-cmplz #cmplz-document .cookies-per-purpose p { margin: 0 0 10px; }
@media screen and (max-width: 767px) {
	.repas-cmplz #cmplz-document p { margin-bottom: 20px; }
	.repas-cmplz #cmplz-document > h2 { font-size: 20px; margin: 20px 0 15px; }
	.repas-cmplz #cmplz-document > h3 { font-size: 16px; line-height: 1.25; margin-bottom: 15px; }
}
