/* assets/dp-home-banners.css — bannerblok homepage, voorstel C (snippets/dp-home-banners.rain, plannen/homepage-banners-plan.md).
   Alle regels onder #dpbn. Huisstijl: Asap, #29384B, #70C067, lichte tinten #EEF6EC / #F1F3F6 / #EAF4FA / #FAFAFA. */

#dpbn { padding: 24px 0 32px; color: #29384B; }
#dpbn[hidden] { display: none; }
#dpbn *, #dpbn *::before, #dpbn *::after { box-sizing: border-box; }
#dpbn a { text-decoration: none; color: inherit; }
#dpbn .container { display: flex; flex-direction: column; gap: 28px; }

/* plekhouders tot de gegevens er zijn (geen verspringen) */
#dpbn .dpbn-plek { border-radius: 16px; background: #F3F5F7; }
#dpbn .dpbn-plek--hoofd { height: 320px; }
#dpbn .dpbn-plek--rij { height: 196px; background: none; border: 1px solid #ECECEC; }
#dpbn.is-laden .dpbn-plek { animation: dpbn-puls 1.4s ease-in-out infinite; }
@keyframes dpbn-puls { 50% { opacity: .6; } }
@media (prefers-reduced-motion: reduce) { #dpbn.is-laden .dpbn-plek { animation: none; } }

/* hoofdbanner */
#dpbn .dpbn-hero { position: relative; display: flex; min-height: 320px; border-radius: 16px; overflow: hidden; }
#dpbn .dpbn-hero__tekst { position: relative; z-index: 1; flex: 1 1 56%; min-width: 0; padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
#dpbn .dpbn-hero__beeld { position: relative; flex: 0 1 40%; display: flex; align-items: center; justify-content: center; padding: 24px 32px; }
#dpbn .dpbn-hero__beeld picture, #dpbn .dpbn-hero__beeld img { display: block; max-width: 100%; max-height: 280px; object-fit: contain; }
#dpbn .dpbn-hero--campagne .dpbn-hero__foto { position: absolute; left: 0; top: 0; bottom: 0; width: var(--dpbn-breedte, 100%); }
#dpbn .dpbn-hero--campagne .dpbn-hero__foto picture, #dpbn .dpbn-hero--campagne .dpbn-hero__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
#dpbn .dpbn-hero--campagne .dpbn-hero__tekst { flex: 0 1 60%; }
/* campagnebeeld niet over de volle breedte: zachte overgang naar de tint; productfoto rechts erbij */
#dpbn .dpbn-hero--deels .dpbn-hero__foto { -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); }
#dpbn .dpbn-hero--met-product .dpbn-hero__tekst { flex: 1 1 56%; }
#dpbn .dpbn-hero__beeld--camp { position: relative; z-index: 1; }
#dpbn .dpbn-ovl { position: absolute; inset: 0; }
#dpbn .dpbn-ovl--licht { background: linear-gradient(90deg, rgba(250,250,250,.78) 0%, rgba(250,250,250,.55) 45%, rgba(250,250,250,.15) 100%); }
#dpbn .dpbn-ovl--midden { background: linear-gradient(90deg, rgba(250,250,250,.88) 0%, rgba(250,250,250,.68) 45%, rgba(250,250,250,.3) 100%); }
#dpbn .dpbn-ovl--sterk { background: linear-gradient(90deg, rgba(250,250,250,.94) 0%, rgba(250,250,250,.82) 45%, rgba(250,250,250,.5) 100%); }

#dpbn .dpbn-label { align-self: flex-start; display: inline-block; background: #FFFFFF; color: #29384B; font-size: 13px; font-weight: 700; line-height: 1.3; padding: 6px 12px; border-radius: 999px; }
#dpbn .dpbn-label--tegel { background: #29384B; color: #FFFFFF; font-size: 12px; padding: 4px 10px; }
#dpbn .dpbn-kop { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 800; color: #29384B; max-width: 560px; }
#dpbn .dpbn-kop a:hover { color: #29384B; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
#dpbn .dpbn-zin { margin: 0; font-size: 16px; line-height: 1.5; color: #3E4A5A; max-width: 520px; }
#dpbn .dpbn-acties { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
#dpbn a.dpbn-knop { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: #70C067; border: 2px solid #70C067;
  color: #29384B; font-size: 16px; font-weight: 800; transition: background-color .15s; }
#dpbn a.dpbn-knop:hover { background: #FFFFFF; }
#dpbn .dpbn-tags { display: flex; flex-wrap: wrap; gap: 8px; }
#dpbn a.dpbn-tag { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px 0 14px; border-radius: 999px; background: #FFFFFF;
  border: 1px solid #DDE2E9; font-size: 13px; font-weight: 600; color: #29384B; transition: border-color .15s; }
#dpbn a.dpbn-tag:hover { border-color: #29384B; }
#dpbn a.dpbn-tag[hidden] { display: none; }
#dpbn .dpbn-tags--klein a.dpbn-tag { min-height: 30px; font-size: 12px; padding: 0 10px 0 12px; }
#dpbn .dpbn-vw { margin: 0; font-size: 12px; color: #4F5B6B; }

/* kortingscode */
#dpbn .dpbn-code { display: inline-flex; align-items: stretch; border: 1.5px dashed #29384B; border-radius: 8px; background: #FFFFFF; overflow: hidden; align-self: flex-start; }
#dpbn .dpbn-code__l { padding: 0 4px 0 12px; font-size: 13px; color: #4F5B6B; display: flex; align-items: center; }
#dpbn .dpbn-code b { padding: 8px 10px 8px 4px; font-size: 16px; font-weight: 800; letter-spacing: 1px; color: #29384B; display: flex; align-items: center; }
#dpbn button.dpbn-code__k { border: 0; border-left: 1.5px dashed #29384B; background: #FFFFFF; padding: 0 14px; min-height: 40px; font: inherit; font-size: 13px; font-weight: 700; color: #29384B; cursor: pointer; }
#dpbn button.dpbn-code__k:hover { background: #F3F5F7; }
#dpbn button.dpbn-code__k.is-ok { background: #EEF6EC; color: #2F6F29; }

/* meer acties */
#dpbn .dpbn-meer { display: flex; flex-direction: column; gap: 14px; }
#dpbn .dpbn-meer__kop { display: flex; align-items: center; gap: 12px; }
#dpbn .dpbn-h2 { margin: 0; font-size: 20px; font-weight: 800; color: #29384B; }
#dpbn .dpbn-pijlen { margin-left: auto; display: flex; gap: 8px; }
#dpbn button.dpbn-pijl { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #8D8D8D; background: #FFFFFF; color: #29384B; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
#dpbn button.dpbn-pijl:hover { background: #29384B; border-color: #29384B; color: #FFFFFF; }
#dpbn .dpbn-rij { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 2px; }
#dpbn .dpbn-rij::-webkit-scrollbar { display: none; }
#dpbn .dpbn-tegel { position: relative; scroll-snap-align: start; display: flex; gap: 16px; padding: 16px; border: 1px solid transparent; border-radius: 16px; background: #EEF6EC; min-width: 0; overflow: hidden; }
#dpbn .dpbn-tegel--licht { border-color: #ECECEC; }
#dpbn .dpbn-tegel--zonder { padding: 20px 22px; }
#dpbn .dpbn-tegel__beeld { flex: none; width: 120px; min-height: 150px; border-radius: 12px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; padding: 10px; }
#dpbn .dpbn-tegel__beeld img { display: block; max-width: 100%; max-height: 140px; object-fit: contain; }
/* sfeerfoto vult de linkerkant van de tegel */
#dpbn .dpbn-tegel--sfeer { padding: 0; gap: 0; min-height: 196px; }
#dpbn .dpbn-tegel--sfeer .dpbn-tegel__beeld { width: 38%; min-height: 0; padding: 0; border-radius: 0; background: #E9E6E1; align-self: stretch; position: relative; }
#dpbn .dpbn-tegel--sfeer .dpbn-tegel__beeld img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
#dpbn .dpbn-tegel--sfeer .dpbn-tegel__tekst { padding: 16px 18px; }
#dpbn .dpbn-tegel__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
#dpbn .dpbn-tkop { margin: 0; font-size: 17px; line-height: 1.25; font-weight: 800; color: #29384B; }
#dpbn .dpbn-tkop a:hover { text-decoration: underline; }
#dpbn .dpbn-tzin { margin: 0; font-size: 13px; line-height: 1.45; color: #4F5B6B; }
#dpbn .dpbn-tegel .dpbn-code b { font-size: 14px; padding: 5px 8px 5px 4px; }
#dpbn .dpbn-tegel button.dpbn-code__k { min-height: 32px; padding: 0 10px; font-size: 12px; }
#dpbn .dpbn-tegel .dpbn-code { max-width: 100%; }
#dpbn .dpbn-tegel .dpbn-code b { white-space: nowrap; letter-spacing: .5px; }
/* smalle tekstkolom (bv. naast een sfeerfoto): het woord "Code" vervalt, de code zelf blijft heel */
#dpbn .dpbn-tegel__tekst { container-type: inline-size; }
@container (max-width: 240px) { #dpbn .dpbn-tegel .dpbn-code__l { display: none; } #dpbn .dpbn-tegel .dpbn-code b { padding-left: 10px; } }
#dpbn a.dpbn-link { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: #29384B; }
#dpbn a.dpbn-link svg { color: #3E8E36; }
#dpbn a.dpbn-link:hover { text-decoration: underline; }

/* bolletjes op de foto (producttags met x/y) */
#dpbn .dpbn-dots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
#dpbn .dpbn-hero__dots { right: auto; width: var(--dpbn-breedte, 100%); z-index: 3; }
#dpbn button.dpbn-dot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; border: 0; border-radius: 50%; background: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer; pointer-events: auto; }
#dpbn button.dpbn-dot[hidden] { display: none; }
#dpbn .dpbn-dot::before { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .7); animation: dpbn-dotpuls 2.4s ease-out infinite; }
#dpbn .dpbn-dot i { position: relative; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 3px rgba(255, 255, 255, .45), 0 2px 8px rgba(41, 56, 75, .35); transition: transform .15s, background-color .15s; }
#dpbn .dpbn-dot:hover i, #dpbn .dpbn-dot.is-open i { transform: scale(1.2); background: #70C067; }
#dpbn .dpbn-dot:focus-visible { outline: 2px solid #29384B; outline-offset: 2px; }
@keyframes dpbn-dotpuls { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #dpbn .dpbn-dot::before { animation: none; opacity: 0; } }
#dpbn .dpbn-pop { position: absolute; z-index: 5; width: 220px; max-width: calc(100% - 16px); padding: 12px 14px; border-radius: 12px; background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(41, 56, 75, .2); display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.35; color: #29384B; }
#dpbn .dpbn-pop b { font-size: 14px; font-weight: 800; }
#dpbn .dpbn-pop span { color: #4F5B6B; }
#dpbn .dpbn-pop a { margin-top: 5px; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #29384B; }
#dpbn .dpbn-pop a svg { color: #3E8E36; }
#dpbn .dpbn-pop a:hover { text-decoration: underline; }

/* tablet */
@media (max-width: 991.98px) {
  #dpbn .dpbn-hero__tekst { padding: 32px; }
  #dpbn .dpbn-kop { font-size: 26px; }
  #dpbn .dpbn-rij { grid-auto-columns: calc((100% - 20px) / 2); }
}
/* mobiel */
@media (max-width: 767.98px) {
  #dpbn { padding: 16px 0 24px; }
  #dpbn .container { gap: 22px; }
  #dpbn .dpbn-plek--hoofd { height: 420px; }
  #dpbn .dpbn-plek--rij { height: 230px; }
  #dpbn .dpbn-hero { flex-direction: column; min-height: 0; }
  #dpbn .dpbn-hero--product .dpbn-hero__beeld { order: -1; height: 190px; padding: 16px; flex: none; }
  #dpbn .dpbn-hero--product .dpbn-hero__beeld img { max-height: 158px; }
  #dpbn .dpbn-hero--campagne .dpbn-hero__foto { position: relative; width: 100%; height: 210px; -webkit-mask-image: none; mask-image: none; }
  #dpbn .dpbn-hero__dots { width: 100%; bottom: auto; height: 210px; }
  /* campagnefoto onder de tekst (instelling mobiel_foto) */
  #dpbn .dpbn-hero--foto-onder .dpbn-hero__foto { order: 2; }
  #dpbn .dpbn-hero--campagne.dpbn-hero--foto-onder .dpbn-ovl { background: linear-gradient(0deg, rgba(250,250,250,.1) 0%, rgba(250,250,250,.3) 55%, var(--dpbn-tint, #EEF6EC) 100%); }
  #dpbn .dpbn-hero--foto-onder .dpbn-hero__dots { top: auto; bottom: 0; }
  #dpbn .dpbn-hero--foto-onder .dpbn-hero__beeld--camp { top: auto; bottom: 12px; }
  #dpbn .dpbn-hero__beeld--camp { position: absolute; top: 78px; right: 12px; width: 42%; height: 122px; padding: 0; z-index: 2; justify-content: flex-end; }
  #dpbn .dpbn-hero__beeld--camp img { max-height: 122px; }
  #dpbn .dpbn-hero--campagne .dpbn-ovl { background: linear-gradient(180deg, rgba(250,250,250,.1) 0%, rgba(250,250,250,.3) 55%, var(--dpbn-tint, #EEF6EC) 100%); }
  #dpbn .dpbn-hero__tekst { padding: 18px 18px 20px; gap: 10px; flex: none; }
  #dpbn .dpbn-hero--product .dpbn-hero__tekst { padding-top: 4px; }
  #dpbn .dpbn-kop { font-size: 22px; }
  #dpbn .dpbn-zin { font-size: 14px; }
  #dpbn .dpbn-acties { flex-direction: column; align-items: stretch; }
  #dpbn a.dpbn-knop { justify-content: center; }
  #dpbn .dpbn-tags { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px; }
  #dpbn .dpbn-tags::-webkit-scrollbar { display: none; }
  #dpbn a.dpbn-tag { flex: none; min-height: 40px; }
  #dpbn .dpbn-h2 { font-size: 18px; }
  #dpbn .dpbn-pijlen { display: none; }
  #dpbn .dpbn-rij { grid-auto-columns: 82%; gap: 12px; margin: 0 -15px; padding: 0 15px; scroll-padding: 0 15px; }
  #dpbn .dpbn-tegel { flex-direction: column; padding: 12px; }
  #dpbn .dpbn-tegel__beeld { width: 100%; min-height: 0; height: 124px; }
  #dpbn .dpbn-tegel__beeld img { max-height: 104px; }
  #dpbn .dpbn-tegel--sfeer { padding: 0; }
  #dpbn .dpbn-tegel--sfeer .dpbn-tegel__beeld { width: 100%; height: 150px; flex: none; }
  #dpbn .dpbn-tegel--sfeer .dpbn-tegel__tekst { padding: 12px 14px 14px; }
}

/* merklogo (ronde C): los op de foto of kleur; hoofdbanner in een hoek naar keuze, tegel rechtsboven */
#dpbn .dpbn-logo { position: absolute; z-index: 4; display: block; line-height: 0; }
#dpbn .dpbn-logo img { display: block; width: auto; height: auto; max-width: 150px; max-height: 48px; object-fit: contain; }
#dpbn .dpbn-logo--rechtsonder { right: 24px; bottom: 20px; }
#dpbn .dpbn-logo--rechtsboven { right: 24px; top: 20px; }
#dpbn .dpbn-logo--linksonder { left: 48px; bottom: 20px; }   /* links: gelijk met de tekst */
#dpbn .dpbn-logo--linksboven { left: 48px; top: 20px; }
@media (max-width: 991.98px) { #dpbn .dpbn-logo--linksonder, #dpbn .dpbn-logo--linksboven { left: 32px; } }
#dpbn a.dpbn-logo:focus-visible, #dpbn a.dpbn-tegel__logo:focus-visible { outline: 2px solid #29384B; outline-offset: 3px; border-radius: 4px; }
/* links staat de tekst: ruimte vrijhouden zodat het logo niet over de tekst valt */
#dpbn .dpbn-hero--logo-linksboven .dpbn-hero__tekst { padding-top: 88px; }
#dpbn .dpbn-hero--logo-linksonder .dpbn-hero__tekst { padding-bottom: 88px; }
/* rechts staat de productfoto: die wordt iets kleiner zodat het logo ernaast past */
#dpbn .dpbn-hero--logo-rechtsonder .dpbn-hero__beeld { padding-bottom: 76px; }
#dpbn .dpbn-hero--logo-rechtsboven .dpbn-hero__beeld { padding-top: 76px; }
#dpbn .dpbn-hero--logo-rechtsonder .dpbn-hero__beeld img, #dpbn .dpbn-hero--logo-rechtsboven .dpbn-hero__beeld img { max-height: 220px; }
#dpbn .dpbn-tegel__logo { position: absolute; z-index: 3; top: 12px; right: 12px; display: block; line-height: 0; }
#dpbn .dpbn-tegel__logo img { display: block; width: auto; height: auto; max-width: 84px; max-height: 28px; object-fit: contain; }
#dpbn .dpbn-tegel--logo .dpbn-tegel__tekst { padding-top: 30px; }
#dpbn .dpbn-tegel--sfeer.dpbn-tegel--logo .dpbn-tegel__tekst { padding-top: 46px; }
@media (max-width: 767.98px) {
  #dpbn .dpbn-logo img { max-width: 104px; max-height: 32px; }
  #dpbn .dpbn-logo--rechtsonder { right: 14px; bottom: 14px; }
  #dpbn .dpbn-logo--rechtsboven { right: 14px; top: 14px; }
  #dpbn .dpbn-logo--linksonder { left: 18px; bottom: 14px; }
  #dpbn .dpbn-logo--linksboven { left: 18px; top: 14px; }
  /* mobiel: foto boven, tekst onder (behalve bij "foto onder" of zonder foto) */
  #dpbn .dpbn-hero--logo-linksboven .dpbn-hero__tekst { padding-top: 18px; }
  #dpbn .dpbn-hero--product.dpbn-hero--logo-linksboven .dpbn-hero__tekst { padding-top: 4px; }
  #dpbn .dpbn-hero--logo-linksonder .dpbn-hero__tekst, #dpbn .dpbn-hero--logo-rechtsonder .dpbn-hero__tekst { padding-bottom: 60px; }
  #dpbn .dpbn-hero--foto-onder.dpbn-hero--logo-linksonder .dpbn-hero__tekst, #dpbn .dpbn-hero--foto-onder.dpbn-hero--logo-rechtsonder .dpbn-hero__tekst { padding-bottom: 20px; }
  #dpbn .dpbn-hero--foto-onder.dpbn-hero--logo-linksboven .dpbn-hero__tekst, #dpbn .dpbn-hero--foto-onder.dpbn-hero--logo-rechtsboven .dpbn-hero__tekst,
  #dpbn .dpbn-hero--zonder-foto.dpbn-hero--logo-linksboven .dpbn-hero__tekst, #dpbn .dpbn-hero--zonder-foto.dpbn-hero--logo-rechtsboven .dpbn-hero__tekst { padding-top: 60px; }
  /* mobiel: productfoto weer op de gewone maat; kleine productfoto op de campagnefoto opzij voor het logo */
  #dpbn .dpbn-hero--logo-rechtsonder .dpbn-hero__beeld, #dpbn .dpbn-hero--logo-rechtsboven .dpbn-hero__beeld { padding-top: 16px; padding-bottom: 16px; }
  #dpbn .dpbn-hero--logo-rechtsonder .dpbn-hero__beeld img, #dpbn .dpbn-hero--logo-rechtsboven .dpbn-hero__beeld img { max-height: 158px; }
  #dpbn .dpbn-hero--logo-rechtsonder .dpbn-hero__beeld--camp, #dpbn .dpbn-hero--logo-rechtsboven .dpbn-hero__beeld--camp { padding: 0; }
  #dpbn .dpbn-hero--logo-rechtsonder .dpbn-hero__beeld--camp img, #dpbn .dpbn-hero--logo-rechtsboven .dpbn-hero__beeld--camp img { max-height: 122px; }
  #dpbn .dpbn-hero--foto-onder.dpbn-hero--logo-rechtsonder .dpbn-hero__beeld--camp { bottom: 56px; }
  /* productbanner: foto bovenaan; bij een logo bovenin schuift de productfoto iets omlaag */
  #dpbn .dpbn-hero--product.dpbn-hero--logo-rechtsboven .dpbn-hero__beeld, #dpbn .dpbn-hero--product.dpbn-hero--logo-linksboven .dpbn-hero__beeld { padding-top: 50px; }
  #dpbn .dpbn-hero--product.dpbn-hero--logo-rechtsboven .dpbn-hero__beeld img, #dpbn .dpbn-hero--product.dpbn-hero--logo-linksboven .dpbn-hero__beeld img { max-height: 124px; }
  #dpbn .dpbn-tegel__logo img { max-width: 76px; max-height: 26px; }
  /* tegel op mobiel: foto bovenaan, het logo staat daarop; zonder foto blijft de ruimte boven de tekst */
  #dpbn .dpbn-tegel--logo .dpbn-tegel__tekst { padding-top: 0; }
  #dpbn .dpbn-tegel--sfeer.dpbn-tegel--logo .dpbn-tegel__tekst { padding-top: 12px; }
  #dpbn .dpbn-tegel--zonder.dpbn-tegel--logo .dpbn-tegel__tekst { padding-top: 28px; }
}

/* merklogo in een wit kader met afgeronde hoeken (27 okt 2026, wens Mark).
   Tegel: logo rechtsboven op dezelfde hoogte en even hoog als het label; het duwt de tekst niet meer omlaag. */
#dpbn .dpbn-logo, #dpbn .dpbn-tegel__logo { background: #FFFFFF; border-radius: 8px; box-shadow: 0 1px 3px rgba(41, 56, 75, .12); }
#dpbn .dpbn-logo { padding: 8px 12px; }
#dpbn .dpbn-logo img { max-height: 40px; }
#dpbn .dpbn-tegel__logo { top: 16px; right: 16px; height: 24px; padding: 3px 8px; box-sizing: border-box; display: flex; align-items: center; border-radius: 6px; }
#dpbn .dpbn-tegel__logo img { max-width: 90px; max-height: 18px; }
#dpbn .dpbn-tegel--logo .dpbn-tegel__tekst, #dpbn .dpbn-tegel--sfeer.dpbn-tegel--logo .dpbn-tegel__tekst { padding-top: 0; }
#dpbn .dpbn-tegel--sfeer.dpbn-tegel--logo .dpbn-tegel__tekst { padding-top: 16px; }
#dpbn .dpbn-tegel--logo .dpbn-label--tegel { max-width: calc(100% - 116px); }
#dpbn .dpbn-tegel--zonder .dpbn-tegel__logo { top: 20px; right: 22px; }
/* tegel zonder label: dan wél ruimte boven de tekst, anders valt de kop onder het logo */
#dpbn .dpbn-tegel--logo .dpbn-tegel__tekst:not(:has(.dpbn-label)) { padding-top: 32px; }
@media (max-width: 767.98px) {
  #dpbn .dpbn-logo { padding: 6px 8px; }
  #dpbn .dpbn-logo img { max-height: 26px; }
  #dpbn .dpbn-tegel__logo { top: 12px; right: 12px; }
  #dpbn .dpbn-tegel__logo img { max-width: 80px; max-height: 18px; }
  #dpbn .dpbn-tegel--logo .dpbn-label--tegel { max-width: none; }
  #dpbn .dpbn-tegel--logo .dpbn-tegel__tekst, #dpbn .dpbn-tegel--logo .dpbn-tegel__tekst:not(:has(.dpbn-label)) { padding-top: 0; }
  #dpbn .dpbn-tegel--sfeer.dpbn-tegel--logo .dpbn-tegel__tekst { padding-top: 12px; }
  #dpbn .dpbn-tegel--zonder.dpbn-tegel--logo .dpbn-tegel__tekst { padding-top: 28px; }
}
@media (max-width: 767.98px) {
  #dpbn .dpbn-hero--product.dpbn-hero--logo-rechtsboven .dpbn-hero__beeld, #dpbn .dpbn-hero--product.dpbn-hero--logo-linksboven .dpbn-hero__beeld { padding-top: 58px; }
}

/* Campagnebanner op mobiel (27 okt 2026, wens Mark): de productfoto staat in het kleurvlak naast label/kop/regel, de voorwaarden
   altijd onderaan de banner en het merklogo op de campagnefoto. Raster: foto (boven of onder) / kop + productfoto / knop / tags / voorwaarden.
   .dpbn-hero__kb (label, kop, regel) en .dpbn-hero__tekst doen op desktop niet mee (display: contents). */
#dpbn .dpbn-hero__kb { display: contents; }
@media (max-width: 767.98px) {
  #dpbn .dpbn-hero--campagne { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto 18px; align-items: start;
    grid-template-areas: "foto foto foto foto" ". kb prod ." ". acties acties ." ". tags tags ." ". vw vw ."; padding-bottom: 18px; }
  #dpbn .dpbn-hero--campagne.dpbn-hero--foto-onder { grid-template-areas: ". kb prod ." ". acties acties ." ". tags tags ." "foto foto foto foto" ". vw vw ."; padding-top: 18px; padding-bottom: 14px; }
  #dpbn .dpbn-hero--campagne .dpbn-hero__tekst { display: contents; }
  #dpbn .dpbn-hero--campagne .dpbn-hero__kb { grid-area: kb; display: flex; flex-direction: column; gap: 10px; min-width: 0; align-self: center; }
  #dpbn .dpbn-hero--campagne .dpbn-hero__foto { grid-area: foto; margin-bottom: 16px; }
  #dpbn .dpbn-hero--campagne.dpbn-hero--foto-onder .dpbn-hero__foto { margin: 18px 0 0; }
  #dpbn .dpbn-hero--campagne .dpbn-acties { grid-area: acties; margin-top: 14px; }
  #dpbn .dpbn-hero--campagne .dpbn-tags { grid-area: tags; margin-top: 10px; }
  #dpbn .dpbn-hero--campagne .dpbn-vw { grid-area: vw; margin-top: 12px; }
  #dpbn .dpbn-hero--campagne.dpbn-hero--foto-onder .dpbn-vw { margin-top: 10px; }
  /* productfoto: in het kleurvlak, rechts naast de kop */
  #dpbn .dpbn-hero--campagne .dpbn-hero__beeld--camp, #dpbn .dpbn-hero--campagne.dpbn-hero--foto-onder .dpbn-hero__beeld--camp,
  #dpbn .dpbn-hero--campagne[class*="dpbn-hero--logo-"] .dpbn-hero__beeld--camp { grid-area: prod; position: relative; top: auto; right: auto; bottom: auto;
    width: 36vw; max-width: 160px; height: auto; margin-left: 12px; padding: 0; align-self: center; display: flex; justify-content: center; }
  #dpbn .dpbn-hero--campagne .dpbn-hero__beeld--camp img, #dpbn .dpbn-hero--campagne[class*="dpbn-hero--logo-"] .dpbn-hero__beeld--camp img { max-height: 150px; max-width: 100%; }
  /* bolletjes en merklogo op de campagnefoto (rastervak 'foto') */
  #dpbn .dpbn-hero--campagne .dpbn-hero__dots { grid-area: foto; position: absolute; inset: 0; width: auto; height: auto; }
  #dpbn .dpbn-hero--campagne .dpbn-logo { grid-area: foto; }
}

/* eigen titel/regel op mobiel (27 okt 2026): .dpbn-d = desktoptekst, .dpbn-m = mobiele tekst (alleen als die is ingevuld) */
#dpbn .dpbn-m { display: none; }
@media (max-width: 767.98px) {
  #dpbn .dpbn-d { display: none; }
  #dpbn span.dpbn-m { display: inline; }
  #dpbn p.dpbn-m { display: block; }
}

/* Actiepagina /acties/ (28 okt 2026): zelfde hoofdbanner en tegels als de homepage, de tegels in een raster met minimum en
   einddatum (.dpbn-meta). Alleen met #dpbn.dpbn--pagina (snippets/dp-actiepagina.rain, data-bron="actiepagina"). */
#dpbn.dpbn--pagina { padding: 0; display: flex; flex-direction: column; gap: 40px; }
#dpbn.dpbn--pagina .dpbn-meer { gap: 16px; }
#dpbn .dpbn-h2--pagina { font-size: 24px; }
#dpbn .dpbn-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#dpbn .dpbn-meta { margin: 0; font-size: 13px; line-height: 1.45; color: #4F5B6B; }
#dpbn .dpbn-meta b { color: #29384B; font-weight: 700; }
#dpbn .dpbn-melding { margin: 0; padding: 24px; border-radius: 12px; background: #FAFAFA; font-size: 15px; color: #4F5B6B; }
/* smalle tekstkolom: de code wordt zo nodig afgekapt, de knop Kopieer blijft altijd zichtbaar */
#dpbn .dpbn-raster .dpbn-code b { min-width: 0; overflow: hidden; text-overflow: ellipsis; letter-spacing: .3px; }
#dpbn .dpbn-raster button.dpbn-code__k { flex: none; }
@media (max-width: 991.98px) { #dpbn .dpbn-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  #dpbn.dpbn--pagina { gap: 28px; }
  #dpbn .dpbn-h2--pagina { font-size: 20px; }
  #dpbn .dpbn-raster { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #dpbn .dpbn-acties .dpbn-meta { text-align: center; }
  /* in het raster blijft de foto links staan (compacter dan in de schuifrij van de homepage) */
  #dpbn .dpbn-raster .dpbn-tegel { flex-direction: row; gap: 12px; }
  #dpbn .dpbn-raster .dpbn-tegel__beeld { width: 96px; height: auto; min-height: 112px; align-self: stretch; }
  #dpbn .dpbn-raster .dpbn-tegel__beeld img { max-height: 96px; }
  #dpbn .dpbn-raster .dpbn-tegel--sfeer .dpbn-tegel__beeld { width: 34%; height: auto; flex: none; }
  #dpbn .dpbn-raster .dpbn-tegel--sfeer .dpbn-tegel__beeld img { max-height: none; }
  #dpbn .dpbn-raster .dpbn-tegel--sfeer { min-height: 0; }
}