/* assets/dp-overzicht.css — categorie-overzichtspagina's (snippets/dp-overzicht.rain, plannen/categorie-overzicht-plan.md)
   Alle regels hangen onder #dpo, zodat niets buiten deze pagina's geraakt wordt. Kleuren en maten uit de huisstijl. */

#dpo {
  --dpo-navy: #29384B;
  --dpo-groen: #70C067;
  --dpo-groen-donker: #3d8a35;
  --dpo-groen-zacht: #F1F8F0;
  --dpo-groen-rand: #d4ebd0;
  --dpo-link: #0077b3;
  --dpo-tekst: #666666;
  --dpo-grijs: #898D93;
  --dpo-lijn: #ECECEC;
  --dpo-licht: #FAFAFA;
  --dpo-knoprand: #8D8D8D;
  --dpo-radius: 14px;
  color: var(--dpo-tekst);
  font-size: 14px;
}
#dpo *, #dpo *::before, #dpo *::after { box-sizing: border-box; }
#dpo a { text-decoration: none; }
#dpo h1, #dpo h2, #dpo h3 { color: var(--dpo-navy); font-weight: 800; margin: 0; }

/* ---------- 1. kop ---------- */
#dpo .dpo-kop { background: var(--dpo-licht); border-bottom: 1px solid var(--dpo-lijn); padding: 0 0 30px; }
#dpo .dpo-kop .breadcrumbs { background: transparent; margin: 0; padding: 18px 0 0; }
#dpo .dpo-h1 { font-size: 32px; line-height: 1.15; margin: 14px 0 10px; }
#dpo .dpo-intro { max-width: 760px; font-size: 15px; line-height: 1.65; color: var(--dpo-tekst); }
#dpo .dpo-intro p { margin: 0 0 8px; font-size: inherit; line-height: inherit; }
#dpo .dpo-intro p:last-child { margin-bottom: 0; }
#dpo .dpo-meerlink { white-space: nowrap; }
#dpo a.dpo-meerlink { color: var(--dpo-link); font-weight: 600; }
#dpo a.dpo-meerlink:hover { color: var(--dpo-navy); text-decoration: underline; }
#dpo .dpo-snel { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
#dpo .dpo-snel__label { font-size: 13px; font-weight: 700; color: var(--dpo-navy); }
#dpo .dpo-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
#dpo .dpo-chips li { margin: 0; padding: 0; }
#dpo .dpo-chips li::before { display: none; }
#dpo .dpo-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid #d5d9de; border-radius: 999px; background: #fff; color: var(--dpo-navy); font-weight: 600; font-size: 13px; white-space: nowrap; transition: border-color .15s; }
#dpo .dpo-chip:hover { border-color: var(--dpo-groen); color: var(--dpo-navy); }
#dpo .dpo-chip__cat { color: var(--dpo-tekst); font-weight: 500; }

/* ---------- secties ---------- */
#dpo .dpo-sec { padding: 36px 0 52px; }
#dpo .dpo-sec--lijn { border-top: 1px solid var(--dpo-lijn); padding-top: 44px; }
#dpo .dpo-h2 { font-size: 28px; line-height: 1.2; margin: 0 0 20px; }
#dpo .dpo-kopregel { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
#dpo .dpo-kopregel .dpo-h2 { margin: 0; }
#dpo .dpo-kopregel__link { color: var(--dpo-link); font-weight: 700; font-size: 14px; white-space: nowrap; }
#dpo .dpo-kopregel__link:hover { color: var(--dpo-navy); text-decoration: underline; }

/* ---------- 2. kaarten ---------- */
#dpo .dpo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
#dpo .dpo-kaart { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dpo-lijn); border-radius: var(--dpo-radius); overflow: hidden; transition: border-color .15s; }
#dpo .dpo-kaart:hover { border-color: #cfe8cb; }
#dpo .dpo-kaart__kop { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; grid-template-areas: "b t p" "b s p"; column-gap: 16px; row-gap: 4px; align-items: center; padding: 18px 18px 14px; color: var(--dpo-navy); list-style: none; cursor: default; }
#dpo .dpo-kaart__kop::-webkit-details-marker { display: none; }
#dpo .dpo-kaart__kop::marker { content: ''; }
#dpo .dpo-kaart__beeld { grid-area: b; display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 12px; background: var(--dpo-licht); overflow: hidden; color: var(--dpo-grijs); }
#dpo .dpo-kaart__beeld img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
#dpo .dpo-kaart__beeld--actie { background: var(--dpo-groen); color: #1d2a39; }
#dpo .dpo-kaart__t { grid-area: t; align-self: end; font-size: 20px; line-height: 1.2; }
#dpo .dpo-kaart__t a { color: var(--dpo-navy); }
#dpo .dpo-kaart__t a:hover { text-decoration: underline; }
#dpo .dpo-kaart__sub { grid-area: s; align-self: start; font-size: 13px; color: var(--dpo-grijs); }
#dpo .dpo-kaart__pijl { grid-area: p; display: none; color: var(--dpo-navy); transition: transform .15s; }
#dpo .dpo-go { color: var(--dpo-groen-donker); font-size: 20px; line-height: 1; font-weight: 700; }

#dpo .dpo-lijst { list-style: none; margin: 0; padding: 0 18px; }
#dpo .dpo-lijst li { margin: 0; padding: 0; border-top: 1px solid var(--dpo-lijn); }
#dpo .dpo-lijst li::before { display: none; }
#dpo .dpo-lijst a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; color: var(--dpo-navy); font-weight: 600; font-size: 14px; line-height: 1.3; }
#dpo .dpo-lijst a:hover { text-decoration: underline; }

/* "Nog x tonen": verborgen vinkje + label onder de lijst (werkt zonder JS) */
#dpo .dpo-nog-cb { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; }
#dpo .dpo-lijst .dpo-extra { display: none; }
#dpo .dpo-nog-cb:checked + .dpo-lijst .dpo-extra { display: block; }
#dpo .dpo-nog { display: flex; align-items: center; gap: 6px; min-height: 44px; margin: 0 18px; border-top: 1px solid var(--dpo-lijn); color: var(--dpo-link); font-weight: 700; font-size: 14px; cursor: pointer; user-select: none; }
#dpo .dpo-nog:hover { color: var(--dpo-navy); }
#dpo .dpo-nog-cb:focus-visible ~ .dpo-nog { outline: 2px solid var(--dpo-link); outline-offset: 2px; }
#dpo .dpo-nog-cb:checked ~ .dpo-nog svg { transform: rotate(180deg); }
#dpo .dpo-nog__open, #dpo .dpo-nog-cb:checked ~ .dpo-nog .dpo-nog__dicht { display: none; }
#dpo .dpo-nog-cb:checked ~ .dpo-nog .dpo-nog__open { display: inline; }

#dpo .dpo-kaart__voet { margin: 0 18px; padding: 14px 0 18px; border-top: 1px solid var(--dpo-lijn); }
#dpo .dpo-knop { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--dpo-knoprand); border-radius: 999px; background: #fff; color: var(--dpo-navy); font-weight: 700; font-size: 14px; transition: background .15s, color .15s, border-color .15s; }
#dpo .dpo-knop:hover { background: var(--dpo-navy); border-color: var(--dpo-navy); color: #fff; }

/* actiekaart */
#dpo .dpo-kaart--actie { background: var(--dpo-groen-zacht); border-color: var(--dpo-groen-rand); }
#dpo .dpo-kaart--actie .dpo-kaart__kop { cursor: pointer; }
#dpo .dpo-kaart--actie .dpo-kaart__kop:hover .dpo-kaart__t { text-decoration: underline; }
#dpo .dpo-kaart--actie .dpo-kaart__sub { color: #4a6b45; }
#dpo .dpo-kaart--actie .dpo-kaart__voet { border-top-color: var(--dpo-groen-rand); }
#dpo .dpo-actie__lijst { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0 18px 18px; }
#dpo .dpo-actie__lijst li { margin: 0; padding: 0; }
#dpo .dpo-actie__lijst li::before { display: none; }
#dpo .dpo-actie__lijst a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; border-radius: 10px; background: #fff; color: var(--dpo-navy); font-weight: 800; font-size: 15px; }
#dpo .dpo-actie__lijst a:hover { text-decoration: underline; }

/* tegels (pagina zonder dieper niveau) */
#dpo .dpo-grid--tegels { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
#dpo .dpo-tegel { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "b t p" "b s p"; column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--dpo-lijn); border-radius: var(--dpo-radius); color: var(--dpo-navy); transition: border-color .15s; }
#dpo .dpo-tegel:hover { border-color: var(--dpo-groen); }
#dpo .dpo-tegel:hover .dpo-kaart__t { text-decoration: underline; }
#dpo .dpo-tegel .dpo-kaart__beeld { width: 72px; height: 72px; border-radius: 10px; }
#dpo .dpo-tegel .dpo-kaart__t { font-size: 16px; }
#dpo .dpo-tegel .dpo-go { grid-area: p; }

/* ---------- 3. populair ---------- */
#dpo .dpo-pop[hidden] { display: none; }
#dpo .dpo-lb { margin: 0; }

/* ---------- 4. hulp bij kiezen ---------- */
#dpo .dpo-hulp { background: var(--dpo-licht); border-top: 1px solid var(--dpo-lijn); border-bottom: 1px solid var(--dpo-lijn); padding: 40px 0; }
#dpo .dpo-hulp .dpo-h2 { margin-bottom: 18px; }
#dpo .dpo-hulp__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#dpo .dpo-hulpkaart { display: flex; align-items: flex-start; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--dpo-lijn); border-radius: var(--dpo-radius); color: var(--dpo-navy); transition: border-color .15s; }
#dpo .dpo-hulpkaart:hover { border-color: var(--dpo-groen); }
#dpo .dpo-hulpkaart:hover .dpo-hulpkaart__t { text-decoration: underline; }
#dpo .dpo-hulpkaart__ico { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #eef1f4; color: var(--dpo-navy); }
#dpo .dpo-hulpkaart__ico--groen { background: var(--dpo-groen-zacht); color: var(--dpo-groen-donker); }
#dpo .dpo-hulpkaart__ico--blauw { background: #e6f5fc; color: #00679a; }
#dpo .dpo-hulpkaart__t { display: block; font-weight: 800; font-size: 16px; line-height: 1.3; }
#dpo .dpo-hulpkaart__txt { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--dpo-tekst); }

/* ---------- 5. tekst + FAQ ---------- */
#dpo .dpo-meer { display: block; }
#dpo .dpo-meer--twee { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
#dpo .dpo-tekst { max-width: 820px; }
#dpo .dpo-tekst__inhoud { font-size: 14px; line-height: 1.75; color: var(--dpo-tekst); }
#dpo .dpo-tekst__inhoud h2 { font-size: 20px; line-height: 1.3; margin: 26px 0 8px; }
#dpo .dpo-tekst__inhoud h3 { font-size: 16px; line-height: 1.3; margin: 20px 0 6px; }
#dpo .dpo-tekst__inhoud > :first-child { margin-top: 0; }
#dpo .dpo-tekst__inhoud p { margin: 0 0 12px; font-size: inherit; line-height: inherit; }
#dpo .dpo-tekst__inhoud a, #dpo .dpo-faq__antw a { color: var(--dpo-link); text-decoration: underline; }
#dpo .dpo-tekst__inhoud a:hover, #dpo .dpo-faq__antw a:hover { color: var(--dpo-navy); }
#dpo .dpo-tekst__inhoud img { max-width: 100%; height: auto; }
#dpo .dpo-tekst__inhoud table { width: 100%; border-collapse: collapse; margin: 12px 0; }
#dpo .dpo-tekst__inhoud td, #dpo .dpo-tekst__inhoud th { border: 1px solid var(--dpo-lijn); padding: 8px 10px; text-align: left; }
#dpo .dpo-faq__lijst { border-top: 1px solid var(--dpo-lijn); }
#dpo .dpo-faq__item { border-bottom: 1px solid var(--dpo-lijn); }
#dpo .dpo-faq__item > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 10px 0; color: var(--dpo-navy); font-weight: 700; font-size: 15px; line-height: 1.35; cursor: pointer; list-style: none; }
#dpo .dpo-faq__item > summary::-webkit-details-marker { display: none; }
#dpo .dpo-faq__item > summary::marker { content: ''; }
#dpo .dpo-faq__plus { flex: none; color: var(--dpo-groen-donker); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .15s; }
#dpo .dpo-faq__item[open] .dpo-faq__plus { transform: rotate(45deg); }
#dpo .dpo-faq__antw { padding: 0 0 16px; font-size: 14px; line-height: 1.7; }
#dpo .dpo-faq__antw p { margin: 0 0 10px; font-size: inherit; line-height: inherit; }

/* ---------- tablet ---------- */
@media (max-width: 1199px) {
  #dpo .dpo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #dpo .dpo-grid--tegels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  #dpo .dpo-h1 { font-size: 32px; }
  #dpo .dpo-h2 { font-size: 24px; }
  #dpo .dpo-hulp__grid { grid-template-columns: 1fr; gap: 12px; }
  #dpo .dpo-meer--twee { grid-template-columns: 1fr; gap: 32px; }
  #dpo .dpo-grid--tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- mobiel: kaarten als uitklapblokken ---------- */
@media (max-width: 767px) {
  #dpo .dpo-kop { padding-bottom: 20px; }
  #dpo .dpo-kop .breadcrumbs { padding-top: 12px; }
  #dpo .dpo-h1 { font-size: 28px; margin-top: 10px; }
  #dpo .dpo-intro { font-size: 14px; line-height: 1.6; }
  #dpo .dpo-snel { flex-wrap: nowrap; margin: 16px -15px 0; padding: 0 15px 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  #dpo .dpo-snel::-webkit-scrollbar { display: none; }
  #dpo .dpo-snel__label { display: none; }
  #dpo .dpo-chips { flex-wrap: nowrap; gap: 8px; }
  #dpo .dpo-sec { padding: 22px 0 30px; }
  #dpo .dpo-sec--lijn { border-top: 8px solid #f4f5f6; padding-top: 24px; }
  #dpo .dpo-h2 { font-size: 20px; margin-bottom: 14px; }
  #dpo .dpo-kopregel { margin-bottom: 14px; align-items: baseline; }
  #dpo .dpo-kopregel__link { font-size: 13px; }

  #dpo .dpo-grid { grid-template-columns: 1fr; gap: 12px; }
  #dpo .dpo-kaart__kop { grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 2px; padding: 12px 14px; min-height: 56px; cursor: pointer; }
  #dpo .dpo-kaart__beeld { width: 52px; height: 52px; border-radius: 10px; }
  #dpo .dpo-kaart__beeld svg { width: 26px; height: 26px; }
  #dpo .dpo-kaart__t { font-size: 17px; }
  #dpo .dpo-kaart__pijl { display: block; }
  #dpo details.dpo-kaart[open] > .dpo-kaart__kop .dpo-kaart__pijl { transform: rotate(180deg); }
  #dpo .dpo-lijst { padding: 0 14px; }
  #dpo .dpo-lijst a { min-height: 46px; font-size: 15px; }
  #dpo .dpo-nog { margin: 0 14px; }
  #dpo .dpo-kaart__voet { margin: 0 14px; padding: 12px 0 14px; }
  #dpo .dpo-knop { display: flex; justify-content: center; width: 100%; min-height: 46px; }

  #dpo .dpo-kaart--actie .dpo-kaart__kop { cursor: pointer; }
  #dpo .dpo-actie__lijst { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 14px 14px; }
  #dpo .dpo-actie__lijst a { min-height: 48px; padding: 12px; font-size: 14px; }

  #dpo .dpo-grid--tegels { grid-template-columns: 1fr; gap: 10px; }
  #dpo .dpo-tegel { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 10px 14px; }
  #dpo .dpo-tegel .dpo-kaart__beeld { width: 56px; height: 56px; }
  #dpo .dpo-tegel .dpo-kaart__t { font-size: 16px; }

  #dpo .dpo-hulp { padding: 24px 0; }
  #dpo .dpo-hulpkaart { padding: 16px; }
}