/* erkendeopleidingen.nl: page layout on top of the zonderslop kit (kit.css + themes/ + signature/erkendeopleidingen.css). */

.zs-logo { display: inline-flex; align-items: center; gap: .55rem; }
.zs-logo .eo-picto svg { width: 76%; height: 76%; }
@media (max-width: 30rem) { .zs-logo { font-size: 1.15rem; } .zs-nav { gap: .1rem .9rem; font-size: .95rem; } }

/* Page head for list and detail pages: same photo treatment as .eo-hero, compact */
.eo-hero--page .eo-hero__grid { padding-block: clamp(2rem, 4vw, 3.25rem); }
.eo-hero--page h1 { font-size: clamp(1.8rem, 2.2vw + 1.1rem, 2.8rem); overflow-wrap: break-word; }
.eo-hero--page .eo-hero__lead { margin-bottom: 0; }
.eo-crumbs { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .92rem; color: #e4e9f5; }
.eo-crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.eo-crumbs a { color: #fff; }

/* Filters + results */
.eo-layout { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .eo-layout { grid-template-columns: 17rem minmax(0, 1fr); align-items: start; } }
.eo-filters { display: grid; gap: .9rem; background: var(--zs-surface); border: 1px solid var(--zs-line); border-radius: var(--zs-radius); padding: 1.1rem; }
.eo-filters label, .eo-filters legend { display: grid; gap: .25rem; font-size: .9rem; font-weight: 600; color: var(--zs-muted); }
.eo-filters input, .eo-filters select { font: inherit; font-size: 1rem; color: var(--zs-ink); background: var(--zs-surface); border: 1px solid var(--zs-line); border-radius: var(--zs-radius-sm); padding: .55rem .6rem; min-height: 2.8rem; width: 100%; }
.eo-filters fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .35rem; }
.eo-filters fieldset label { display: flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--zs-ink); font-size: 1rem; }
.eo-filters fieldset input { width: 1.15rem; height: 1.15rem; min-height: 0; accent-color: var(--zs-brand); }
.eo-filters__reset { font-size: .92rem; }
.eo-count { margin: 0 0 1rem; color: var(--zs-muted); }
.eo-result > div, .eo-result h3 { min-width: 0; overflow-wrap: anywhere; }
.eo-result__meta li { min-width: 0; overflow-wrap: anywhere; }
.eo-empty { display: grid; gap: .8rem; justify-items: start; background: var(--zs-surface); border: 1px dashed var(--zs-line); border-radius: var(--zs-radius); padding: 1.5rem; }
.eo-empty p { margin: 0; }
.eo-empty .eo-stamp { margin: .3rem 0 .3rem .3rem; --eo-stamp-paper: var(--zs-surface); }
.eo-pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.eo-pager .eo-count { margin: 0; }

/* Detail pages */
.eo-detail { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .eo-detail { grid-template-columns: minmax(0, 1fr) 21rem; align-items: start; } }
.eo-detail > * { min-width: 0; }
.eo-subhead { margin: 2.5rem 0 1rem; }
.eo-subhead--first { margin-top: 0; }
.eo-aside { display: grid; gap: 1rem; background: var(--zs-surface); border: 1px solid var(--zs-line); border-radius: var(--zs-radius); padding: 1.25rem; }
.eo-aside h2 { font-size: 1.2rem; }
.eo-aside p { margin: 0; }
.eo-list { display: grid; gap: .7rem; margin: 0; }
.eo-list > div { display: flex; gap: .6rem; align-items: flex-start; }
.eo-list .eo-icon { margin-top: .15rem; }
.eo-list dt { font-size: .85rem; color: var(--zs-muted); }
.eo-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.eo-extract--page { max-width: 44rem; }
.eo-extract--page .eo-facts > div > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 30rem) { .eo-extract .eo-facts { grid-template-columns: 1fr; } }
.eo-explain { max-width: 44rem; margin-top: 1.25rem; }
.eo-search--inline { margin: 0 0 1rem; max-width: 30rem; }
.eo-search--inline .eo-search__row { box-shadow: none; border: 1px solid var(--zs-line); }

/* Offerings table: real table on wide screens, stacked rows on phones */
.eo-table { width: 100%; border-collapse: collapse; background: var(--zs-surface); border: 1px solid var(--zs-line); border-radius: var(--zs-radius); font-size: .98rem; }
.eo-table th, .eo-table td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--zs-line); vertical-align: top; overflow-wrap: anywhere; }
.eo-table th { background: var(--zs-surface-alt); font-size: .88rem; color: var(--zs-muted); font-weight: 600; }
.eo-table tr:last-child td { border-bottom: 0; }
.eo-table small { color: var(--zs-muted); font-size: .88rem; }
@media (max-width: 44rem) {
  .eo-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .eo-table, .eo-table tbody, .eo-table tr, .eo-table td { display: block; width: 100%; }
  .eo-table tr { border-bottom: 1px solid var(--zs-line); padding: .6rem 0; }
  .eo-table tr:last-child { border-bottom: 0; }
  .eo-table td { border: 0; padding: .2rem 1rem; }
  .eo-table td[data-label]::before { content: attr(data-label) ": "; color: var(--zs-muted); font-size: .88rem; }
}

/* Recogniser cards as links */
.eo-recog a { color: inherit; text-decoration: none; }
.eo-recog a:hover h3 { text-decoration: underline; }
.eo-recog strong { font-family: var(--zs-font-display); color: var(--zs-brand-text); }
.eo-stamps { display: flex; flex-wrap: wrap; gap: 1.25rem 1.5rem; align-items: center; padding: .5rem .3rem; }
.eo-stamps .eo-stamp { --eo-stamp-paper: var(--zs-bg); }
.eo-aside .eo-stamp { --eo-stamp-paper: var(--zs-surface); justify-self: start; margin: .3rem; }

/* Prose pages */
.eo-prose { max-width: 46rem; }
.eo-prose h2 { margin: 2rem 0 .75rem; font-size: 1.5rem; }
.eo-prose ul { padding-left: 1.2rem; }
.eo-credits { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.eo-credits img { border-radius: var(--zs-radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.eo-credits p { margin: .4rem 0 0; font-size: .9rem; color: var(--zs-muted); overflow-wrap: anywhere; }
.eo-tiles-credit { margin-top: .8rem; }
@media (min-width: 60rem) { .eo-recog--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.eo-table__city { overflow-wrap: normal !important; word-break: normal; min-width: 7rem; }
@media (max-width: 44rem) { .eo-table__city { min-width: 0; } }

/* Long Dutch compound words (middenspanningsdistributie) must break on phones */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.eo-hero__grid > *, .eo-extract, .eo-extract__head > div, .eo-crumbs li { min-width: 0; }
.eo-crumbs li { overflow-wrap: anywhere; }
.eo-hero p, .eo-extract p { overflow-wrap: break-word; hyphens: auto; }
.eo-extract > * { min-width: 0; }
.eo-extract__head h2 { margin: 0; font-size: clamp(1.2rem, 1vw + .9rem, 1.5rem); line-height: 1.2; color: var(--eo-stamp-paper-ink); overflow-wrap: anywhere; }
.eo-extract__head h2 a { color: inherit; }
.eo-extract__head p, .eo-extract__head h3 { overflow-wrap: anywhere; }
h1 { overflow-wrap: anywhere; }
@media (min-width: 30rem) { h1 { overflow-wrap: break-word; } }
.eo-nowrap { white-space: nowrap; }

/* Filters: always open on wide screens, collapsible "Filters" button on phones (review #2393) */
.eo-filterbox > summary { display: none; }
@media (max-width: 40rem) {
  .eo-filterbox > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; padding: .8rem 1rem; border: 1px solid var(--zs-line); border-radius: var(--zs-radius); background: var(--zs-surface); font-weight: 700; color: var(--zs-brand-text); }
  .eo-filterbox > summary::-webkit-details-marker { display: none; }
  .eo-filterbox > summary::after { content: "+"; font-size: 1.3rem; line-height: 1; }
  .eo-filterbox[open] > summary::after { content: "\2212"; }
  .eo-filterbox[open] > summary { border-radius: var(--zs-radius) var(--zs-radius) 0 0; border-bottom: 0; }
  .eo-filterbox[open] > .eo-filters { border-radius: 0 0 var(--zs-radius) var(--zs-radius); }
}
.eo-layout { margin-top: .25rem; }
