/* Osteopathie Benzenrade: opmaak bovenop theme.json.
   Maten gemeten op de vroegere Colibri-site (zie README van de werkplaats).
   Indeling: basis, kop, menu, mededeling, secties, kopstijlen, onderdelen,
   formulier, footer, archief, mobiel. */

/* ================================================================ basis */

:root { --osteo-container: 1232px; }
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.osteo-main > .entry-content > * + * { margin-block-start: 0; }

/* Het cursieve deel van een kop is Playfair Display. */
:is(h1, h2, h3, h4, h5, h6) em { font-family: var(--wp--preset--font-family--playfair); font-style: italic; }

/* Accentkleur: iets donkerder dan het origineel (#03a9f4), zodat grote tekst
   het contrast van 3:1 haalt. */
.has-accent-color { color: var(--wp--preset--color--accent) !important; }

/* Knoppen: donkerblauwe tekst op geel (8:1); wit op geel haalde 1,7:1. */
.wp-element-button, .wp-block-button__link { color: var(--wp--preset--color--donkerblauw) !important; }

:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
/* Op geel en op knoppen: donkerblauwe focusrand (accentblauw haalt daar geen 3:1). */
.has-geel-background-color :focus-visible, .wp-element-button:focus-visible, .wp-block-button__link:focus-visible { outline-color: var(--wp--preset--color--donkerblauw); }

/* ================================================================ kop */

.osteo-header { position: relative; z-index: 20; }
.osteo-kop { overflow: visible; color: #f6f8fa; }
.osteo-kop .wp-block-cover__background { opacity: .5; }
.osteo-kop::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url(../img/stippen.png) 0 0 / cover;
}
.osteo-kop > .wp-block-cover__inner-container {
  position: relative; z-index: 2; width: 100%; max-width: none; min-height: inherit;
  align-self: stretch; display: flex; flex-direction: column; justify-content: center;
}
:is(.osteo-kop, .osteo-kop-over) :is(.wp-block-html, .wp-block-pattern) { margin: 0; }
.osteo-kop__balk {
  width: 100%; max-width: calc(var(--osteo-container) + 32px); margin: 0 auto; padding: 20px 16px;
  box-sizing: border-box; align-items: center; gap: 24px;
}
:is(.osteo-kop, .osteo-kop-over) .osteo-logo img { display: block; height: auto; }

/* Homepage: de kop met video staat in de pagina zelf (bewerkbaar); de
   topregel en het menu liggen er vanuit de template part overheen. */
.osteo-header--over { position: absolute; top: 0; left: 0; right: 0; }
.admin-bar .osteo-header--over { top: 32px; }
.osteo-kop-over { color: #f6f8fa; }
.osteo-kop--home > .wp-block-cover__inner-container { padding-top: 150px; padding-bottom: 80px; }
.osteo-kop__ondertitel { color: #f6f8fa; font-size: clamp(17px, 1.6vw, 22px); margin: 18px auto 28px !important; max-width: 40ch; }
.osteo-kop__knoppen { gap: 14px; }
.osteo-kop .is-style-outline .wp-block-button__link { color: #fff !important; border-color: #fff; background: transparent; }
.osteo-kop .is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.12); }
.osteo-kop__knoppen .wp-block-button__link { font-size: 14px; padding: 14px 26px; }

/* Belregel boven het menu (desktop). */
.osteo-topregel { margin: 0 auto !important; max-width: calc(var(--osteo-container) + 32px); padding: 10px 16px 0; box-sizing: border-box; text-align: right; font-size: 14px; font-weight: 600; display: flex; justify-content: flex-end; gap: 22px; }
.osteo-topregel a { color: #f6f8fa; text-decoration: none; }
.osteo-topregel a:hover { color: var(--wp--preset--color--geel); text-decoration: underline; }
.osteo-kop--klein .osteo-topregel { position: absolute; top: 0; left: 0; right: 0; }

.osteo-kop__titel { margin: 0 16px; color: #f6f8fa; font-family: var(--wp--preset--font-family--playfair); line-height: 1.26; text-align: center; }
.osteo-kop__boven {
  display: block; font-weight: 400; text-transform: uppercase;
  font-size: clamp(30px, 5.27vw, 72px); letter-spacing: .38em; padding-left: .38em;
}
.osteo-kop__onder {
  display: block; font-weight: 700; letter-spacing: 1px; margin-top: 26px;
  font-size: clamp(22px, 6.2vw, 84.64px); line-height: 1.6;
}
/* Het streepje via CSS: WordPress maakt van " - " anders een lang streepje,
   en zo leest de h1 voor zoekmachines gewoon "Osteopathie Praktijk Benzenrade". */
.osteo-streep::before { content: "-"; }
.osteo-kop__pijl {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3;
  color: #fff; display: block; line-height: 0; padding: 6px;
}
.osteo-kop__pijl:hover { color: var(--wp--preset--color--geel); }

/* Video: alleen vanaf 768 px (zie thema.js); daaronder het stilstaande beeld. */
.osteo-kop--video { background: #071d7a center / cover no-repeat; }
.osteo-kop--home { background-image: url(/wp-content/uploads/osteo-media/kop-handen-breed.webp); }

/* Pauzeknop voor de kopvideo (WCAG 2.2.2), door thema.js toegevoegd. */
.osteo-videoknop {
  position: absolute; right: 18px; bottom: 18px; z-index: 4; width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(7,29,122,.45);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.osteo-videoknop:hover { background: rgba(7,29,122,.8); }
.osteo-videoknop svg { width: 16px; height: 16px; fill: currentColor; }

/* Smalle kop: logo boven het menu, alles gecentreerd. */
.osteo-kop--klein .osteo-kop__balk { flex-direction: column; justify-content: center; gap: 4px; padding-top: 14px; padding-bottom: 46px; }
.osteo-kop--klein .osteo-kop__pijl { bottom: 8px; }

/* ================================================================ menu */

.osteo-nav { font-family: var(--wp--preset--font-family--open-sans); font-weight: 600; font-size: 20px; text-transform: uppercase; }
.osteo-kop--klein .osteo-nav { font-size: 18px; }
.osteo-nav .wp-block-navigation__container { gap: 40px; }
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .wp-block-navigation-item__content,
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .wp-block-navigation-submenu__toggle,
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .wp-block-navigation__submenu-icon { color: var(--wp--preset--color--geel) !important; text-decoration: none; padding: 0; }
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .wp-block-navigation-item__content:hover,
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .wp-block-navigation-submenu__toggle:hover { color: #fff !important; }
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .current-menu-item > .wp-block-navigation-item__content,
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .wp-block-navigation-item__content[aria-current="page"] {
  color: #f6f8fa !important; box-shadow: inset 0 -2px 0 #f6f8fa; padding-bottom: 2px;
}
.osteo-nav .wp-block-navigation__submenu-icon { width: 10px; height: 10px; margin-left: 4px; }
.osteo-nav .wp-block-navigation__submenu-container {
  background: #fff !important; box-shadow: 0 0 5px 2px rgba(0,0,0,.04); border: 0 !important;
  min-width: 230px !important; padding: 8px 0; text-transform: none; font-family: var(--wp--preset--font-family--muli);
}
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  color: var(--wp--preset--color--blauw) !important; font-size: 14px; font-weight: 400; padding: 8px 18px; box-shadow: none;
}
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--donkerblauw) !important; background: var(--wp--preset--color--lichtgrijs); }

/* Hamburger: blauw vlak met gele streepjes; Colibri klapte onder 1024 px in. */
.osteo-nav .wp-block-navigation__responsive-container-open {
  background: var(--wp--preset--color--blauw); color: var(--wp--preset--color--geel); padding: 6px 10px; border-radius: 2px;
}
.osteo-nav .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
/* Het volledige menu past pas vanaf ongeveer 1180 px op één regel. */
@media (max-width: 1179px) {
  .osteo-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .osteo-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .osteo-kop--klein .osteo-kop__balk { flex-direction: row; justify-content: space-between; padding-bottom: 20px; }
}
.osteo-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--wp--preset--color--donkerblauw) !important; color: var(--wp--preset--color--geel) !important; padding: 24px;
}
.osteo-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.osteo-nav .is-menu-open .wp-block-navigation__container,
.osteo-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; }
.osteo-nav .is-menu-open .wp-block-navigation__container { gap: 18px; }
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .is-menu-open .wp-block-navigation-item__content { font-size: 20px; }
.osteo-nav .is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; box-shadow: none; padding: 6px 0 0 14px; }
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: #f6f8fa !important; font-size: 17px; padding: 4px 0; background: none; }
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content,
:is(.osteo-kop, .osteo-kop-over) .osteo-nav .is-menu-open [aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; box-shadow: none; }
.osteo-nav .wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--geel); }

/* ================================================================ mededeling */

.osteo-mededeling { background: var(--wp--preset--color--geel); color: var(--wp--preset--color--donkerblauw); text-align: center; font-weight: 600; padding: 10px 16px; position: relative; z-index: 30; }
.osteo-mededeling p { margin: 0; }
.osteo-mededeling a { color: inherit; }

/* ================================================================ secties */

.osteo-sectie { box-sizing: border-box; }
.osteo-sectie .wp-block-columns { gap: 0 30px; margin-bottom: 0; }
.osteo-sectie > .wp-block-columns + .wp-block-columns { margin-top: 0; }
.osteo-sectie :is(h1, h2, h3, h4, h5) { margin-top: 0; margin-bottom: 16px; }
.osteo-sectie p { margin-top: 0; margin-bottom: 16px; }
.osteo-sectie .wp-block-column > *:last-child { margin-bottom: 0; }
.osteo-sectie.wp-block-cover .wp-block-cover__inner-container { width: 100%; max-width: var(--osteo-container); }
/* Licht omslagblok: gewone tekstkleur, niet het zwart van WordPress. */
.osteo-sectie.wp-block-cover.is-light .wp-block-cover__inner-container,
.osteo-sectie .wp-block-cover.is-light .wp-block-cover__inner-container { color: var(--wp--preset--color--blauw); }
.has-blauw-background-color a, .has-kaartblauw-background-color a { color: var(--wp--preset--color--geel); }

/* ================================================================ kopstijlen
   Blokstijlen van het kopblok; ze houden de oorspronkelijke opmaak vast, ook
   waar het kopniveau voor zoekmachines is aangepast. */

.is-style-paginatitel { font-family: var(--wp--preset--font-family--playfair) !important; font-weight: 400 !important; text-transform: uppercase; font-size: clamp(30px, 3.95vw, 54px) !important; line-height: 1.26 !important; }
.is-style-sectiekop { font-size: clamp(28px, 3.1vw, 42px) !important; font-weight: 600; line-height: 1.14; }
.is-style-sectiekop-licht { font-size: clamp(28px, 3.1vw, 42px) !important; font-weight: 300 !important; line-height: 1.14; }
.is-style-kop-dun { font-family: var(--wp--preset--font-family--open-sans) !important; font-weight: 300 !important; font-size: clamp(26px, 2.6vw, 36px) !important; line-height: 1.25; }
.is-style-tussenkop { font-size: clamp(24px, 2.6vw, 36px) !important; font-weight: 600; line-height: 1.25; }
.is-style-kaartkop { font-size: 20px !important; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; line-height: 1.6 !important; }
.is-style-kleine-kop { font-size: 18px !important; font-weight: 600; text-transform: uppercase; line-height: 1.5 !important; }
:is(.is-style-paginatitel, .is-style-sectiekop, .is-style-kop-dun) em { font-weight: 700; }

/* Leadtekst. */
.is-style-lead { font-size: 19.2px !important; font-weight: 300; color: var(--wp--preset--color--lead); line-height: 1.5; }

/* ================================================================ onderdelen */

/* Introkader over een foto (homepage). */
.is-style-introkader {
  border: 1px solid var(--wp--preset--color--donkerblauw); background: rgba(255,255,255,.7);
  padding: clamp(30px, 6vw, 80px); max-width: 862px; box-sizing: border-box;
  margin-left: 0 !important; margin-right: auto !important;
}
.is-style-introkader p { color: #1b1b1b; font-size: 15.5px; margin: 0; }

/* Fotostapel: drie foto's als kaarten op elkaar. Plek 1 ligt voorop, 2 en 3
   schuin erachter. Zonder script volgen de plekken de volgorde in de editor;
   met script (thema.js) wisselen ze bij een klik: zie data-plek. */
.is-style-fotostapel { position: relative; display: grid; place-items: center; min-height: 430px; }
.is-style-fotostapel > .wp-block-image { grid-area: 1 / 1; margin: 0; background: #fff; padding: 6px; box-shadow: var(--wp--custom--schaduw--foto); aspect-ratio: 1; transition: transform .55s cubic-bezier(.2, .8, .2, 1), width .55s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.is-style-fotostapel > .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.is-style-fotostapel:not(.osteo-kaarten) > .wp-block-image:nth-child(1), .is-style-fotostapel.osteo-kaarten > [data-plek="1"] { z-index: 3; width: 48%; transform: none; }
.is-style-fotostapel:not(.osteo-kaarten) > .wp-block-image:nth-child(2), .is-style-fotostapel.osteo-kaarten > [data-plek="2"] { z-index: 1; width: 50%; transform: translate(-40%, 16%) rotate(-8deg); }
.is-style-fotostapel:not(.osteo-kaarten) > .wp-block-image:nth-child(3), .is-style-fotostapel.osteo-kaarten > [data-plek="3"] { z-index: 2; width: 44%; transform: translate(44%, -18%) rotate(7deg); }
.is-style-fotostapel.osteo-kaarten > .wp-block-image { cursor: pointer; }
.is-style-fotostapel.osteo-kaarten { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.is-style-fotostapel.osteo-kaarten > [data-plek="1"] { cursor: grab; }
.is-style-fotostapel.osteo-kaarten > .osteo-sleept { cursor: grabbing; transition: none; z-index: 4; }
.is-style-fotostapel.osteo-kaarten > .wp-block-image:hover:not([data-plek="1"]) { box-shadow: 0 10px 28px rgba(32, 42, 84, .35); }
.is-style-fotostapel.osteo-kaarten > .wp-block-image:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .is-style-fotostapel > .wp-block-image { transition: none; } }
.is-style-fotostapel > .wp-block-image:only-child { width: 60%; }

/* Kaart: foto naast tekst, met schaduw om het geheel. */
.is-style-kaart { box-shadow: var(--wp--custom--schaduw--kaart); gap: 0 !important; background: var(--wp--preset--color--lichtgrijs); }
.is-style-kaart + .is-style-kaart { margin-top: 0 !important; }
.is-style-kaart > .wp-block-column { margin: 0 !important; box-sizing: border-box; flex-grow: 0; }
.is-style-kaart > .wp-block-column:not([style*="flex-basis"]) { flex-basis: 50% !important; }
.is-style-kaart .wp-block-buttons { margin-top: 56px; }
.osteo-kaart__tekst { padding: clamp(30px, 5vw, 64px) !important; }
.is-style-kaart :is(h2, h3, h4) { font-size: 20px !important; text-transform: uppercase; letter-spacing: 1px; line-height: 1.6; font-weight: 600; }
.is-style-kaart > .wp-block-column > .wp-block-cover,
.osteo-kaartrij > .wp-block-column > .wp-block-cover { height: 100%; margin: 0; }
.is-style-kaart > .wp-block-column > .wp-block-cover { min-height: 360px; }
.osteo-kaartrij { gap: 0 !important; }
.osteo-kaartrij > .wp-block-column { box-sizing: border-box; }
.osteo-kaartrij > .wp-block-column > .wp-block-cover { min-height: 420px; }
.osteo-kolombeeld { height: 100%; }
.osteo-schaduw { box-shadow: var(--wp--custom--schaduw--kaart); }

/* Pictogramkaarten (onderaan de homepage). */
.is-style-pictogramkaarten { gap: 0 !important; box-shadow: var(--wp--custom--schaduw--kaart); }
.is-style-pictogramkaarten > .wp-block-column { background: var(--wp--preset--color--kaartblauw); color: #f6f8fa; padding: 14px 10px; margin: 0 !important; }
.osteo-pictogram { display: flex; gap: 16px; align-items: flex-start; }
.osteo-pictogram > .wp-block-group { flex: 1; }
.osteo-pictogram__icoon { flex: 0 0 87px; width: 87px; height: 87px; margin: 0 !important; border: 2px solid #f6f8fa; border-radius: 50%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.osteo-pictogram__icoon img { width: 54px !important; height: 54px !important; object-fit: contain; }
.osteo-pictogram__titel { color: #f6f8fa !important; font-size: 20px !important; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 6px !important; line-height: 1.6; }
.osteo-pictogram__titel a, .osteo-pictogram__titel a:visited { color: #f6f8fa !important; text-decoration: none; }
.osteo-pictogram__titel a:hover { color: var(--wp--preset--color--geel) !important; text-decoration: underline; }
.is-style-pictogramkaarten p { margin: 0; font-style: italic; }

/* Raster met pictogrammen (indicaties, specialisaties, ouderen). */
.osteo-raster { gap: 0 !important; }
.osteo-cel { padding: 30px !important; text-align: center; }
.osteo-vlak .osteo-raster .osteo-cel + .osteo-cel { box-shadow: -1px 0 0 #e3e6ec; }
.is-style-pictogram { display: flex; justify-content: center; margin: 0 0 16px !important; }
.is-style-pictogram img { height: 50px !important; width: auto !important; max-width: 64px; }

/* Kaart op de contactpagina, met de verplichte bronvermelding eronder. */
.osteo-kaartbeeld { display: block; height: 790px; }
.osteo-kaartbeeld img { display: block; width: 100%; height: 100%; object-fit: cover; }
.osteo-kaartbron { font-size: 12px; margin: 6px 0 0; opacity: .85; }
.osteo-contactrij { gap: 0 !important; background: var(--wp--preset--color--lichtgrijs); }

/* Lijsten in gecentreerde tekst: bolletje bij de tekst. */
.wp-block-list.has-text-align-center { list-style-position: inside; padding-left: 0; text-align: center; }

/* Fotobijschrift. */
.wp-element-caption { font-size: 14px; text-align: center; margin-top: 8px; }

/* Tekstpagina (privacyverklaring). */
.osteo-tekstpagina h1 { margin-bottom: 32px; }
.osteo-tekstpagina :is(p, li) { line-height: 1.65; }

/* ================================================================ formulier */

.osteo-vraag { margin: 8px 0 40px; }
.osteo-vraag .wpcf7 label { display: block; margin-bottom: 14px; font-weight: 600; text-align: center; }
.osteo-vraag input[type=text], .osteo-vraag input[type=email], .osteo-vraag input[type=tel], .osteo-vraag textarea {
  display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 10px 12px;
  border: 1px solid #b9bfd6; border-radius: 4px; font: inherit; font-weight: 400; background: #fff; text-align: left;
}
.osteo-vraag textarea { min-height: 140px; }
.osteo-vraag input:focus, .osteo-vraag textarea:focus { outline: 2px solid var(--wp--preset--color--blauw); outline-offset: 1px; }
.osteo-vraag .osteo-hint { font-size: .9em; opacity: .8; margin: -4px 0 14px; text-align: center; }
.osteo-vraag .wpcf7-acceptance label { font-weight: 400; }
.osteo-vraag input[type=submit] { display: block; margin: 0 auto; background: var(--wp--preset--color--blauw); color: #fff; border: 0; border-radius: 4px; padding: 12px 26px; font: inherit; font-weight: 600; cursor: pointer; }
.osteo-vraag input[type=submit]:hover { background: #222c58; }
.osteo-vraag .osteo-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ================================================================ footer */

.osteo-voet { font-size: 16px; }
.osteo-voet p { margin: 0; }
.osteo-voet a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.osteo-voet a:hover { text-decoration-thickness: 2px; }

/* ================================================================ archief en zoeken */

.osteo-archief { padding: clamp(40px, 6vw, 90px) 16px; }
.osteo-archief .wp-block-post-title { font-size: 24px; margin: 0 0 6px; }
.osteo-archief .wp-block-post-title a { text-decoration: none; }
.osteo-archief .wp-block-post-template > li { margin-bottom: 32px; }

/* ================================================================ mobiel */

@media (max-width: 781px) {
  .osteo-kop--video .wp-block-cover__video-background { display: none; }
  .osteo-kop--home { background-image: url(/wp-content/uploads/osteo-media/kop-handen-vierkant.webp); }
  .osteo-kop--video { min-height: 504px !important; }
  .osteo-kop--klein { min-height: 130px !important; }
  .osteo-kop--klein .osteo-kop__pijl { display: none; }
  :is(.osteo-kop, .osteo-kop-over) .osteo-logo img { width: 64px !important; }
  .osteo-kop--home > .wp-block-cover__inner-container { padding-top: 110px; padding-bottom: 60px; }
  .osteo-videoknop { display: none; }

  .osteo-main .osteo-sectie .wp-block-buttons { justify-content: center; }
  .osteo-tekstpagina :is(p, li, h2, h3) { text-align: left; }

  .is-style-kaart > .wp-block-column { flex-basis: 100% !important; }
  .is-style-kaart > .wp-block-column > .wp-block-cover { min-height: 250px; }
  .is-style-kaart.osteo-kaart--beeld-rechts { flex-direction: column-reverse; }
  .osteo-kaartrij > .wp-block-column:empty { display: none; }
  .osteo-kaartrij > .wp-block-column > .wp-block-cover { min-height: 260px; }
  .is-style-pictogramkaarten > .wp-block-column { padding: 18px 16px; }
  .is-style-fotostapel { min-height: 320px; margin-top: 30px; }
  .is-style-fotostapel:not(.osteo-kaarten) > .wp-block-image:nth-child(1), .is-style-fotostapel.osteo-kaarten > [data-plek="1"] { width: 58%; }
  .osteo-raster { grid-template-columns: 1fr !important; }
  .osteo-vlak .osteo-raster .osteo-cel + .osteo-cel { box-shadow: 0 -1px 0 #e3e6ec; }
  .osteo-kaartbeeld { height: 420px; }
}


/* ================================================================ ronde 3 */

/* Foto die een kolom vult: gewoon afbeeldingsblok, CSS laat hem vullen. */
.wp-block-column:has(> .osteo-kolomfoto) { padding: 0 !important; display: flex; }
.osteo-kolomfoto { margin: 0 !important; width: 100%; min-height: 360px; flex: 1; }
.osteo-kolomfoto img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; }

/* Vertrouwensregel boven de footer. */
.osteo-vertrouwen__rij { gap: 14px 36px; align-items: center; }
.osteo-vertrouwen__rij p { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.osteo-vertrouwen__rij p::before { content: ""; width: 18px; height: 18px; flex: 0 0 18px; background: var(--wp--preset--color--geel); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-4.2-4.2-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-4.2-4.2-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.osteo-vertrouwen .wp-block-buttons { margin: 0; }

/* Mobiele actiebalk: bellen en route, altijd onderin beeld. */
.osteo-actiebalk { display: none; }
@media (max-width: 781px) {
  .osteo-actiebalk { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--wp--preset--color--donkerblauw); box-shadow: 0 -2px 8px rgba(0,0,0,.2); }
  .osteo-actiebalk a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; color: #fff; font-weight: 600; text-decoration: none; font-size: 16px; }
  .osteo-actiebalk a + a { border-left: 1px solid rgba(255,255,255,.2); }
  .osteo-actiebalk svg { width: 20px; height: 20px; fill: var(--wp--preset--color--geel); }
  body { padding-bottom: 54px; }
  .osteo-topregel { display: none !important; }
}

/* Nieuws. */
.osteo-nieuws__kaart { background: #fff; padding: 24px; box-shadow: var(--wp--custom--schaduw--kaart); height: 100%; box-sizing: border-box; }
.osteo-nieuws__datum { font-size: 14px; opacity: .8; margin-bottom: 6px; }
.osteo-nieuws__titel { font-size: 20px !important; margin: 0 0 10px !important; }
.osteo-nieuws__titel a { text-decoration: none; color: var(--wp--preset--color--donkerblauw); }
.osteo-nieuws__titel a:hover { text-decoration: underline; }
.osteo-nieuws__alles { margin-top: 24px !important; font-weight: 600; }
.osteo-tekstpagina .osteo-nieuws__kaart { margin-bottom: 24px; }
.osteo-bericht__datum { font-size: 14px; opacity: .8; }
.osteo-bericht__terug { margin-top: 40px; font-weight: 600; }
@media (max-width: 781px) { .osteo-nieuws__lijst .wp-block-post-template { grid-template-columns: 1fr !important; } }

/* Submenu-pijltje duidelijk zichtbaar. */
.osteo-nav .wp-block-navigation__submenu-icon { display: inline-flex !important; }
.osteo-nav .wp-block-navigation__submenu-icon svg { stroke: currentColor; stroke-width: 1.5; }

/* Lopende tekst direct in een brede sectie: leesbare regellengte (~75 tekens). */
.osteo-sectie > :is(p, .wp-block-list, h2, h3):not(.has-text-align-center) { max-width: 760px !important; margin-left: auto !important; margin-right: auto !important; }

/* Ronde 4. */
@media (max-width: 781px) {
  html { scroll-padding-bottom: 70px; }   /* focus niet achter de actiebalk */
  .osteo-vertrouwen__rij { flex-direction: column; align-items: flex-start !important; gap: 10px; }
  .osteo-vertrouwen__rij p { align-items: flex-start; }
  .osteo-vertrouwen__rij p::before { margin-top: 4px; }
}

/* Cursief in een kop = lichtblauw accent, op elke pagina, ook in nieuwe koppen
   (Hanco zet een woord cursief en het wordt vanzelf blauw). Grote koppen in
   #0288d1 (3,6:1, genoeg voor grote tekst); kleine kaartkoppen in #0277bd
   (4,5:1). Op donkere vlakken blijft cursief de tekstkleur. */
:is(h1, h2, h3, h4, h5, h6) em { color: var(--wp--preset--color--accent); }
:is(.is-style-kaartkop, .is-style-kleine-kop, .is-style-kaart h2, .is-style-kaart h3, .is-style-kaart h4) em { color: var(--wp--preset--color--accent-diep); }
:is(.has-blauw-background-color, .has-kaartblauw-background-color, .has-donkerblauw-background-color, .osteo-kop) :is(h1, h2, h3, h4, h5, h6) em { color: inherit; }

/* ================================================================ contactpagina */

.osteo-contactkaarten { gap: 24px !important; }
.osteo-contactkaart { background: #fff; padding: 32px 28px; box-shadow: var(--wp--custom--schaduw--kaart); height: 100%; box-sizing: border-box; border-top: 4px solid var(--wp--preset--color--geel); }
.osteo-contactkaart__icoon { margin: 0 0 14px !important; }
.osteo-contactkaart__icoon img { width: 40px !important; height: 40px !important; }
.osteo-contactkaart h2 { margin-bottom: 8px !important; }
.osteo-contactkaart__groot { font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; color: var(--wp--preset--color--donkerblauw); line-height: 1.35; margin-bottom: 12px !important; overflow-wrap: anywhere; }
.osteo-contactkaart__groot a { color: inherit; text-decoration: none; }
.osteo-contactkaart__groot a:hover { text-decoration: underline; }
.osteo-contactkaart p:not(.osteo-contactkaart__groot) { font-size: 15px; }

.osteo-contactrij2 { gap: 48px !important; align-items: flex-start; }
.osteo-contactformulier .osteo-vraag { background: #fff; padding: clamp(24px, 4vw, 44px); box-shadow: var(--wp--custom--schaduw--kaart); margin: 0; }
.osteo-contactformulier .osteo-vraag .wpcf7 label,
.osteo-contactformulier .osteo-vraag .osteo-hint { text-align: left; }
.osteo-contactformulier .osteo-vraag input[type=submit] { margin: 8px 0 0; }
.osteo-contactkaartkolom .osteo-kaartbeeld { height: 420px; box-shadow: var(--wp--custom--schaduw--kaart); }
.osteo-contactkaartkolom h2 { margin-top: 28px !important; }

.osteo-meer-knoppen { gap: 12px; }
.osteo-meer-knoppen .is-style-outline .wp-block-button__link { background: transparent; border-color: var(--wp--preset--color--blauw); color: var(--wp--preset--color--blauw) !important; text-transform: none; letter-spacing: 0; font-size: 15px; }
.osteo-meer-knoppen .is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--blauw); color: #fff !important; }

@media (max-width: 781px) {
  .osteo-contactkaart { padding: 24px 20px; }
  .osteo-contactkaartkolom .osteo-kaartbeeld { height: 300px; }
}

/* Belregel opvallender: nummer in geel met icoon, afspraak als gele knop. */
.osteo-topregel { font-size: 15px; font-weight: 700; align-items: center; gap: 20px; padding-top: 12px; }
.osteo-topregel a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.osteo-topregel a:first-child { color: var(--wp--preset--color--geel); }
.osteo-topregel a:first-child::before {
  content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.25 11.4 11.4 0 003.6.57 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11.4 11.4 0 00.57 3.6 1 1 0 01-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.25 11.4 11.4 0 003.6.57 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11.4 11.4 0 00.57 3.6 1 1 0 01-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.osteo-topregel a:first-child:hover { color: #fff; text-decoration: none; }
.osteo-topregel a:last-child {
  background: var(--wp--preset--color--geel); color: var(--wp--preset--color--donkerblauw);
  padding: 7px 16px; border-radius: 5px; font-family: var(--wp--preset--font-family--open-sans);
  text-transform: uppercase; letter-spacing: 1px; font-size: 13px;
}
.osteo-topregel a:last-child:hover { background: #fff; color: var(--wp--preset--color--donkerblauw); text-decoration: none; }
.osteo-topregel a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
