/* ep-roles.css | versie 2026-11-09b | broodkruimel-chips, zijbalk "In deze sectie", sectieknoppen onderaan, lichte supportkaart, mobiele layout-fix (article h-full), zachte randen, merkkleuren */
/* ===== EPASSI HELP CENTER: ROLKEUZE START (vervang alles tussen START en END bij een volgende versie) ===== */
/* Homepage (rolkeuze met portals) en categoriepagina (portal-pagina). Stijl afgeleid van epassi.nl.
   Upload dit bestand als asset (ep-roles.css) en laad het met een link-regel in document_head.hbs. Plak het NIET in style.css.
   Kleuren zijn geschat vanaf een screenshot: vervang de variabelen hieronder zodra je de exacte merkwaarden hebt. */

:root {
  /* Epassi merkkleuren (brand colours) */
  --ep-cream: #FEF5E6;         /* Warm white */
  --ep-ring: #FBE8CF;          /* iets donkerdere tint van warm white: rand rond kaarten, lege afbeeldingsvlakken */
  --ep-surface: #FFFFFF;       /* kaarten blijven wit, anders vallen ze weg tegen de warm-white pagina */
  --ep-brown: #611F00;         /* Brown */
  --ep-text: #611F00;
  --ep-muted: #7A4A33;         /* bruin, lichter voor ondertitels */
  --ep-orange: #F95F18;        /* Orange: vlakken, iconen, grote cijfers */
  --ep-orange-text: #B8420A;   /* donkerdere variant voor kleine oranje tekst (genoeg contrast); zet op #F95F18 voor de pure merkkleur */
  --ep-yellow: #FFB600;        /* Yellow */
  --ep-purple: #7600C0;        /* Purple */
  --ep-step: #F95F18;
  --ep-edge: rgba(97, 31, 0, 0.07);         /* dunne rand rond kaarten (was een 8px dikke crème rand) */
  --ep-line: rgba(97, 31, 0, 0.32);        /* rand van de portal-knoppen */
  --ep-line-strong: rgba(97, 31, 0, 0.55); /* rand van de outline-knoppen; zet beide op var(--ep-brown) voor de oude, stevige look */
}

.ep-home,
.ep-portal {
  background: transparent;   /* volgt de achtergrondkleur van het thema (Background colour) */
  color: var(--ep-text);
  font-family: inherit;
}

.ep-home-inner { padding-top: 64px; padding-bottom: 80px; box-sizing: border-box; }
.ep-portal-inner { padding-top: 8px; padding-bottom: 80px; box-sizing: border-box; }

/* Koppen */
.ep-sec {
  margin: 0;
  text-align: center;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ep-brown);
}
.ep-sec-sm { font-size: clamp(24px, 3vw, 30px); }
.ep-sub {
  margin: 16px auto 48px;
  max-width: 640px;
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ep-text);
}

/* Kaarten: witte kaart met zachte crèmerand, zoals op epassi.nl */
.ep-card,
.ep-role {
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background: var(--ep-surface);
  border-radius: 14px;
  box-shadow: 0 0 0 4px var(--ep-edge);
  color: var(--ep-text);
}
.ep-card-title { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 700; color: var(--ep-text); }
.ep-card-title a { color: inherit; text-decoration: none; }
.ep-card-title a:hover { color: var(--ep-orange-text); text-decoration: none; }
.ep-card-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ep-text); }

/* Rolkaarten: drie naast elkaar, rijen lopen gelijk (label en eerste knop starten op dezelfde hoogte) */
.ep-roles { display: flex; flex-direction: column; gap: 32px; padding: 8px; margin-bottom: 48px; }
.ep-role { gap: 16px; }
.ep-role .ep-opts { width: 100%; }
@media (min-width: 1080px) {
  @supports (grid-template-rows: subgrid) {
    .ep-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; row-gap: 0; }
    .ep-role { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 16px; align-items: start; }
    .ep-role > .ep-pill { justify-self: start; }
    .ep-role > .ep-lbl { align-self: end; }
  }
}

/* Labels */
.ep-pill { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 13px; line-height: 18px; font-weight: 700; }
.ep-pill-brown  { background: var(--ep-brown);  color: #FFFFFF; }
.ep-pill-yellow { background: var(--ep-yellow); color: var(--ep-brown); }
.ep-pill-purple { background: var(--ep-purple); color: #FFFFFF; }
/* Rolkaart-kop: het gekleurde label is zelf de titel van de kaart */
.ep-pill-lg { margin: 0; padding: 8px 16px; border-radius: 8px; font-size: 18px; line-height: 24px; font-weight: 800; letter-spacing: -0.01em; }
.ep-lbl { margin: 0; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--ep-orange-text); }

/* Keuzeknoppen (portals) */
.ep-opts { display: flex; flex-direction: column; gap: 8px; }
.ep-opt {
  display: flex; align-items: center; gap: 12px;
  width: 100%; box-sizing: border-box; min-height: 56px; padding: 8px 16px 8px 8px;
  background: var(--ep-surface); color: var(--ep-brown);
  border: 1.5px solid var(--ep-line); border-radius: 8px; text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ep-opt:hover, .ep-opt:focus { background: var(--ep-brown); border-color: var(--ep-brown); color: #FFFFFF; text-decoration: none; }
.ep-opt:active { background: var(--ep-brown); border-color: var(--ep-brown); color: #FFFFFF; text-decoration: none; }
.ep-optx { display: flex; flex-direction: column; flex: 1; min-width: 0; text-align: left; }
.ep-name { font-size: 15px; font-weight: 700; line-height: 20px; }
.ep-subline { font-size: 13px; line-height: 16px; color: var(--ep-muted); }
.ep-opt:hover .ep-subline, .ep-opt:focus .ep-subline { color: #EBD9CC; }
.ep-arrow { display: flex; color: inherit; }
.ep-chip {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 9999px; background: var(--ep-ring); overflow: hidden;
}
.ep-chip img { display: block; max-width: 22px; max-height: 22px; }
.ep-chip-lg { width: 48px; height: 48px; }
.ep-chip-lg img { max-width: 26px; max-height: 26px; }

/* Knoppen */
.ep-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 22px;
  background: var(--ep-surface); color: var(--ep-brown);
  border: 1.5px solid var(--ep-line-strong); border-radius: 8px;
  font-size: 15px; font-weight: 700; text-align: center; text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ep-btn:hover, .ep-btn:focus, .ep-btn:active { background: var(--ep-brown); border-color: var(--ep-brown); color: #FFFFFF; text-decoration: none; }
.ep-btn-fill, .ep-btn-fill:active { background: var(--ep-brown); border-color: var(--ep-brown); color: #FFFFFF; }
.ep-btn-fill:hover, .ep-btn-fill:focus { filter: brightness(1.2); }
.ep-btn-auto { width: auto; flex: none; }
.ep-opt:focus-visible, .ep-btn:focus-visible { outline: 3px solid var(--ep-brown); outline-offset: 3px; }

/* Infoblokken (homepage) */
.ep-info { display: flex; flex-wrap: wrap; gap: 32px; padding: 8px; }
.ep-info > .ep-card { flex: 1 1 400px; }
.ep-info .ep-btn { margin-top: auto; }

/* Categoriepagina: kop */
.ep-crumbs { padding: 24px 8px 0; }
.ep-crumbs a { color: var(--ep-orange-text); }
.ep-head { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding: 32px 8px 56px; }
.ep-head-icon {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 112px; height: 112px; margin: 8px; box-sizing: border-box;
  background: var(--ep-surface); border-radius: 14px; box-shadow: 0 0 0 4px var(--ep-edge);
}
.ep-head-icon img { display: block; max-width: 56px; max-height: 56px; }
.ep-head-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ep-title { margin: 0; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--ep-brown); }
.ep-former { display: inline-block; padding: 4px 10px; border-radius: 9999px; background: var(--ep-ring); font-size: 13px; font-weight: 600; color: var(--ep-brown); }
.ep-desc { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.6; }

/* Categoriepagina: blokken */
.ep-block { padding-bottom: 64px; }
/* Het aantal kolommen volgt de theme-setting "Promoted articles list columns" (class ep-pop-cols-N); op smalle schermen 1 of 2 kolommen. Onvolledige rijen worden gecentreerd. */
.ep-pop {
  --ep-pop-cols: 1;
  list-style: none; margin: 40px 0 0; padding: 8px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 32px;
}
.ep-pop-item {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  flex: 0 0 calc((100% - (var(--ep-pop-cols) - 1) * 32px) / var(--ep-pop-cols)); min-width: 0;
}
@media (min-width: 600px) { .ep-pop { --ep-pop-cols: 2; } }
@media (min-width: 900px) {
  .ep-pop { --ep-pop-cols: 3; }
  .ep-pop-cols-1 { --ep-pop-cols: 1; }
  .ep-pop-cols-2 { --ep-pop-cols: 2; }
  .ep-pop-cols-3 { --ep-pop-cols: 3; }
  .ep-pop-cols-4 { --ep-pop-cols: 4; }
}
.ep-pop-noexcerpt .ep-pop-text { display: none; }
.ep-pop-label { margin: 0; font-size: 13px; line-height: 16px; color: var(--ep-orange-text); }
.ep-pop-title { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 700; color: var(--ep-brown); }
.ep-pop-title a { color: inherit; text-decoration: none; }
.ep-pop-title a:hover { text-decoration: underline; }
.ep-pop-text { margin: 0; max-width: 300px; font-size: 14px; line-height: 1.5; color: var(--ep-muted); }
.ep-stretch::after { content: ""; position: absolute; inset: 0; }

.ep-topics {
  list-style: none; margin: 48px 0 0; padding: 8px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px;
}
.ep-topic { width: auto; }
.ep-topic .ep-card-title { font-size: 20px; }
.ep-topic .ep-card-text { font-size: 15px; }
.ep-topic .ep-btn { margin-top: auto; }
.ep-sublinks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.ep-sublinks a { font-size: 14px; color: var(--ep-orange-text); text-decoration: none; }
.ep-sublinks a:hover { text-decoration: underline; }
.ep-empty { margin: 32px 0 0; text-align: center; }

.ep-others { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 24px auto 0; max-width: 1060px; padding: 8px; }
.ep-others > .ep-opt { flex: 0 1 320px; width: auto; }

.ep-contact { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ep-contact-text { display: flex; flex-direction: column; gap: 8px; flex: 1 1 320px; }
/* ---- Grotere kaarten, banners en zoeken (v3) ---- */
.ep-home .ep-home-inner,
.ep-portal .ep-portal-inner { max-width: 1280px; }

.ep-card, .ep-role { padding: 32px; }
.ep-roles { gap: 40px; margin-bottom: 64px; }
.ep-role { gap: 20px; }
@media (min-width: 1080px) {
  @supports (grid-template-rows: subgrid) {
    .ep-roles { column-gap: 40px; }
    .ep-role { row-gap: 20px; }
  }
}
.ep-pill-lg { padding: 10px 20px; border-radius: 10px; font-size: 20px; line-height: 28px; }
.ep-role .ep-card-text { font-size: 18px; line-height: 1.6; }
.ep-lbl { font-size: 15px; line-height: 20px; }
.ep-opt { min-height: 72px; gap: 16px; padding: 10px 20px 10px 10px; }
.ep-name { font-size: 17px; line-height: 22px; }
.ep-subline { font-size: 14px; line-height: 18px; }
.ep-chip { width: 48px; height: 48px; }
.ep-chip img { max-width: 28px; max-height: 28px; }
.ep-chip-lg { width: 56px; height: 56px; }
.ep-chip-lg img { max-width: 30px; max-height: 30px; }
.ep-sub { font-size: 18px; }

/* Hero (homepage): grote foto met witte, dikgedrukte tekst, links uitgelijnd zoals op epassi.nl (Finse site: kop ca. 56 px op 1900 px breed).
   De foto en de donkere laag komen uit je bestaande hero-instellingen. De gebogen onderkant is hieronder ingebouwd. */
.ep-hero { min-height: clamp(440px, 33vw, 640px); }
.ep-hero .ep-hero-inner { max-width: 1280px; }
.ep-hero .ep-hero-text { max-width: 600px; margin: 0; padding-left: 8px; text-align: left; }
.ep-hero .ep-hero-title {
  margin: 0 0 20px; color: #FFFFFF; font-size: clamp(36px, 3.5vw, 64px); line-height: 1.08;
  font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.ep-hero .ep-hero-sub {
  margin: 0; max-width: 520px; color: #FFFFFF; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.5;
  font-weight: 600; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.ep-hero-curve { position: absolute; left: 0; bottom: -1px; z-index: 25; display: block; width: 100%; height: clamp(60px, 8vw, 130px); fill: var(--ep-cream); }
.ep-home .ep-home-inner { padding-top: 48px; }

/* Banners in website-stijl: geen witte kaart, tekst op de crèmeachtergrond naast een grote afgeronde afbeelding.
   Afbeeldingen komen uit assets: epassi-banner-image.jpg en contact-banner-image.jpg (ook .jpeg, .png of .webp).
   Zonder bestand blijft er een lege crèmekleurig vlak staan zodat je de plek ziet. */
.ep-banners { display: flex; flex-direction: column; gap: 104px; padding: 8px 0; }
.ep-banner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.ep-banner-img { width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; background-color: var(--ep-ring); background-size: cover; background-position: center; }
.ep-banner-img-empty { background-color: var(--ep-ring); }
.ep-banner-body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.ep-banner-title { margin: 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--ep-brown); }
.ep-banner-text { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ep-text); }
.ep-banner-text.ep-muted { font-size: 16px; color: var(--ep-muted); }
@media (min-width: 900px) {
  .ep-banner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
}
.ep-twocol { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; width: 100%; }
@media (min-width: 1100px) {
  .ep-twocol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
.ep-mini { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ep-mini-label { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ep-text); }
.ep-mini-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ep-text); }
.ep-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ep-brown); text-decoration: none; }
.ep-link::after { content: "\203A"; font-size: 1.25em; line-height: 1; }
.ep-link:hover, .ep-link:focus { color: var(--ep-brown); text-decoration: underline; }
.ep-hours { margin: 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ep-ring); border-radius: 8px; font-size: 15px; line-height: 20px; }
.ep-hours svg { flex: none; }
.ep-ways { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ep-ways li { display: flex; flex-direction: column; gap: 2px; }
.ep-ways strong { font-size: 16px; line-height: 22px; color: var(--ep-brown); }
.ep-ways span { font-size: 15px; line-height: 1.5; }
.ep-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Zoeken: alleen op de categoriepagina (gescoped op de categorie). De zoekbalk in de header verdwijnt daar. */
.ep-search-wrap { max-width: 680px; margin: 0 auto 56px; padding: 0 8px; }
.category-page .header .search,
.category-page .header .search-toggle { display: none !important; }
/* Stappen in de contactbanner (homepage): tijdlijn met oranje lijn, ringen en grote cijfers, zoals "Zo gebruik je Epassi om te sporten" op epassi.nl */
.ep-steps { list-style: none; margin: 8px 0; padding: 0 0 0 44px; position: relative; display: flex; flex-direction: column; gap: 22px; }
.ep-steps::before { content: ""; position: absolute; left: 11px; top: 16px; bottom: 16px; width: 4px; border-radius: 2px; background: var(--ep-step); }
.ep-steps li { position: relative; display: flex; align-items: center; gap: 16px; min-height: 32px; }
.ep-steps li::before {
  content: ""; position: absolute; left: -44px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; box-sizing: border-box;
  border-radius: 9999px; background: #FFFFFF; border: 5px solid var(--ep-step);
}
.ep-step-num { flex: none; min-width: 22px; font-size: 32px; line-height: 1; font-weight: 800; color: var(--ep-step); }
.ep-step-text { font-size: 17px; line-height: 1.45; color: var(--ep-text); }

/* Korte contactbanner met chat-knop (categoriepagina en artikelpagina), zonder afbeelding */
.ep-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding: 28px 32px; background: var(--ep-brown); color: #FFFFFF; border-radius: 16px;
}
.ep-cta-text { flex: 1 1 320px; min-width: 0; }
.ep-cta-title { margin: 0 0 4px; font-size: 22px; line-height: 1.25; font-weight: 800; color: #FFFFFF; }
.ep-cta-sub { margin: 0; font-size: 16px; line-height: 1.5; color: #F3E4D8; }
.ep-btn-light, .ep-btn-light:active { background: #FFFFFF; color: var(--ep-brown); border-color: #FFFFFF; }
.ep-btn-light:hover, .ep-btn-light:focus { background: var(--ep-ring); color: var(--ep-brown); border-color: var(--ep-ring); }
.ep-cta .ep-btn:focus-visible { outline-color: #FFFFFF; }
/* Over Epassi-banner: compacter, label in de afbeelding */
.ep-banners { gap: 72px; }
.ep-banner-img { position: relative; }
.ep-banner-badge {
  position: absolute; left: 20px; top: 20px; padding: 6px 14px; border-radius: 9999px;
  background: #FFFFFF; color: var(--ep-orange-text); font-size: 13px; line-height: 18px; font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
@media (min-width: 900px) {
  .ep-banner-epassi { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
}
.ep-banner-epassi .ep-banner-img { aspect-ratio: 5 / 4; }
.ep-banner-epassi .ep-banner-body { gap: 16px; }
.ep-banner-epassi .ep-banner-title { font-size: clamp(24px, 2.4vw, 32px); }
.ep-banner-epassi .ep-banner-text { font-size: 16px; }
.ep-banner-epassi .ep-mini-label { font-size: 13px; }
.ep-banner-epassi .ep-mini-text { font-size: 15px; line-height: 1.55; }
/* Zoeksuggesties (categoriepagina): lijst onder de zoekbalk, alleen artikelen uit de categorie */
.ep-search { position: relative; }
.ep-suggest {
  list-style: none; margin: 6px 0 0; padding: 4px; position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
  background: var(--ep-surface); border: 2px solid var(--ep-brown); border-radius: 10px; box-shadow: 0 12px 28px rgba(66, 25, 15, 0.18);
}
.ep-suggest[hidden] { display: none; }
.ep-suggest li { margin: 0; }
.ep-suggest a {
  display: block; padding: 11px 14px; border-radius: 6px; color: var(--ep-brown);
  font-size: 15px; line-height: 1.35; font-weight: 600; text-decoration: none;
}
.ep-suggest a:hover, .ep-suggest a:focus { background: var(--ep-ring); color: var(--ep-brown); text-decoration: none; outline: none; }

/* Knoppen die een <button> zijn (chat openen) zien er hetzelfde uit als de link-knoppen */
button.ep-btn { font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; -webkit-appearance: none; appearance: none; }
/* Melding naast de chat-knop als de chatwidget niet op de pagina geladen is */
.ep-chat-note { align-self: center; font-size: 14px; line-height: 1.4; color: var(--ep-muted); }
.ep-cta .ep-chat-note { color: #F3E4D8; }
/* Community-knop uit de header (en footer) halen */
.header a[href*="/community/"],
.header a[href$="/community"],
.footer a[href*="/community/"],
.footer a[href$="/community"] { display: none !important; }
/* Sectie- en artikelpagina: geen zoekbalk in de header, en wat meer ruimte onder de terugknoppen (de broodkruimels zijn verborgen) */
.section-page .header .search,
.section-page .header .search-toggle,
.article-page .header .search,
.article-page .header .search-toggle { display: none !important; }
/* Portal-kop op sectie- en artikelpagina (compacte versie van de kop op de categoriepagina) */
.ep-head-slot[hidden] { display: none; }
.ep-head-compact { padding: 4px 0 28px; gap: 24px; }
.ep-head-compact .ep-head-icon { width: 88px; height: 88px; }
.ep-head-compact .ep-head-icon img { max-width: 44px; max-height: 44px; }
.ep-head-compact .ep-head-text { flex: 1 1 280px; gap: 10px; }
.ep-head-compact .ep-title { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--ep-brown); }
/* Artikellijst op de sectiepagina: kaartrijen in plaats van losse oranje links.
   Aantal kolommen volgt "Article list columns", tekst onder de titel volgt "Article list excerpts" (0 = geen tekst). */
.ep-section-desc { margin: 4px 0 0; font-size: 18px; line-height: 1.55; color: var(--ep-muted); }
.ep-art-list { list-style: none; margin: 24px 0 8px; padding: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) {
  .ep-art-cols-2, .ep-art-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .ep-art-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ep-art { margin: 0; padding: 0; }
.ep-art-link {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; box-sizing: border-box;
  padding: 18px 22px; background: var(--ep-surface); border-radius: 12px; box-shadow: 0 0 0 1px rgba(97, 31, 0, 0.10);
  color: var(--ep-brown); text-decoration: none; transition: box-shadow 0.15s ease;
}
.ep-art-link:hover, .ep-art-link:focus { color: var(--ep-brown); text-decoration: none; box-shadow: 0 0 0 1.5px rgba(97, 31, 0, 0.45), 0 10px 24px rgba(97, 31, 0, 0.08); }
.ep-art-link:focus-visible { outline: 3px solid var(--ep-brown); outline-offset: 3px; }
.ep-art-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ep-art-title { font-size: 17px; line-height: 1.4; font-weight: 700; color: var(--ep-brown); }
.ep-art-tag { display: inline-block; margin-left: 10px; padding: 1px 8px; border-radius: 9999px; background: var(--ep-ring); color: var(--ep-orange-text); font-size: 12px; line-height: 18px; font-weight: 700; vertical-align: 2px; }
.ep-art-excerpt {
  font-size: 15px; line-height: 1.5; color: var(--ep-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ep-art-arrow { flex: none; width: 20px; height: 20px; color: var(--ep-orange); transition: transform 0.15s ease; }
.ep-art-link:hover .ep-art-arrow, .ep-art-link:focus .ep-art-arrow { transform: translateX(4px); }
.ep-art-list-sub .ep-art-title { font-size: 18px; }
/* 4e blok op de homepage: "Epassi Nederland Algemeen", even breed als de drie rolkaarten samen. Onder de breakpoint valt het als vierde blok onder de rest. */
.ep-pill-orange { background: var(--ep-orange); color: #FFFFFF; }
@media (min-width: 1080px) {
  @supports (grid-template-rows: subgrid) {
    .ep-roles > .ep-role-wide { grid-column: 1 / -1; grid-row: auto; grid-template-rows: none; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
    .ep-role-wide .ep-opts { width: calc((100% - 16px) / 3 - 64px); }  /* even breed als een knop in de kaarten erboven */
  }
}
/* Artikel- en sectiepagina: de contactbanner onderaan mag de zijbalk niet overlappen (het thema trekt #page-container 1.5rem omhoog) */
.article-page #page-container, .section-page #page-container { margin-bottom: 0 !important; padding-bottom: 8px; }
.article-page .ep-sidecol { padding-bottom: 24px; }
/* Broodkruimels als rustige chips (de helper {{breadcrumbs}} van Zendesk, opgemaakt). De pagina waar je op staat is gewone tekst. */
.ep-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; margin: 24px 0 20px; padding: 0 8px; font-size: 13px; line-height: 1.2; }
.ep-crumbs .breadcrumbs { display: contents; list-style: none; margin: 0; padding: 0; }
.ep-crumbs .breadcrumbs li { display: inline-flex; align-items: center; margin: 0; padding: 0; color: var(--ep-brown); }
.ep-crumbs .breadcrumbs li + li::before, .ep-crumbs .ep-crumb-current::before { content: "/"; display: inline-block; margin: 0 6px 0 2px; padding: 0; color: var(--ep-muted); opacity: 0.6; }
.ep-crumbs .breadcrumbs a {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border: 1px solid rgba(97, 31, 0, 0.16); border-radius: 9999px;
  color: var(--ep-brown); font-size: 13px; font-weight: 500; text-decoration: none; transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ep-crumbs .breadcrumbs a:hover, .ep-crumbs .breadcrumbs a:focus { background: var(--ep-surface); border-color: rgba(97, 31, 0, 0.4); color: var(--ep-brown); text-decoration: none; }
.ep-crumbs .ep-crumb-current { display: inline-flex; align-items: center; min-width: 0; max-width: min(360px, 100%); font-weight: 700; color: var(--ep-brown); }
.ep-crumbs .ep-crumb-current span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.section-page .ep-crumbs .breadcrumbs li:last-child, .category-page .ep-crumbs .breadcrumbs li:last-child { font-weight: 700; }
.section-page .ep-crumbs .breadcrumbs li:last-child a, .category-page .ep-crumbs .breadcrumbs li:last-child a { min-height: 0; padding: 0; border-color: transparent; font-weight: 700; pointer-events: none; }
.article-page .ep-crumbs, .section-page .ep-crumbs { padding: 0; }

/* Artikelpagina, zijbalk rechts: alleen de artikelen van deze sectie (max. 10), rustig en zonder titel */
.ep-secnav { display: flex; flex-direction: column; border-left: 1px solid rgba(97, 31, 0, 0.14); padding-left: 22px; }
.ep-secnav-kicker { margin-bottom: 10px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ep-orange-text); }
.ep-secnav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ep-secnav-link { position: relative; display: block; padding: 7px 8px 7px 0; color: var(--ep-muted); font-size: 14.5px; line-height: 1.4; text-decoration: none; }
.ep-secnav-link:hover, .ep-secnav-link:focus { color: var(--ep-brown); text-decoration: none; }
.ep-secnav-link.is-current { color: var(--ep-brown); font-weight: 700; }
.ep-secnav-link.is-current::before { content: ""; position: absolute; left: -23px; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: var(--ep-orange); }
.ep-secnav-more { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--ep-brown); text-decoration: none; }
.ep-secnav-more::after { content: " \203A"; }
.ep-secnav-more:hover { text-decoration: underline; color: var(--ep-brown); }
@media (min-width: 768px) { .article-page .ep-secnav { position: sticky; top: 24px; } }
@media (max-width: 767px) {
  .ep-secnav { border-left: 0; padding-left: 0; border-top: 1px solid rgba(97, 31, 0, 0.14); padding-top: 20px; margin-top: 24px; }
  .ep-secnav-list { padding-left: 12px; }
  .ep-secnav-link.is-current::before { left: -12px; }
}

/* Onder het artikel: de secties van de categorie als gecentreerde knoppen */
.ep-more { margin: 56px 0 0; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.ep-more[hidden] { display: none; }
.ep-more-kicker { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ep-orange-text); }
.ep-more-title { margin: -8px 0 0; font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--ep-brown); }
.ep-more-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ep-more-pill {
  display: inline-flex; align-items: center; padding: 8px 14px; border: 1.5px solid var(--ep-line); border-radius: 9999px; background: var(--ep-surface);
  color: var(--ep-brown); font-size: 14px; font-weight: 700; line-height: 1.25; text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ep-more-pill:hover, .ep-more-pill:focus { border-color: var(--ep-brown); color: var(--ep-brown); text-decoration: none; }
.ep-more-pill.is-on { background: var(--ep-brown); border-color: var(--ep-brown); color: #FFFFFF; }

/* Supportkaart (categorie-, sectie- en artikelpagina): lichte kaart met chat-icoon, zodat hij niet met de bruine footer concurreert */
.ep-support { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 22px 28px; background: var(--ep-surface); border-radius: 14px; box-shadow: 0 0 0 4px var(--ep-edge); }
.ep-support-chip { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 9999px; background: var(--ep-ring); }
.ep-support-text { flex: 1 1 280px; min-width: 0; }
.ep-support-title { margin: 0 0 2px; font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--ep-brown); }
.ep-support-sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ep-text); }
.article-page .ep-support, .section-page .ep-support { margin-top: 40px; }
/* Smalle schermen: kolommen onder elkaar in gewone blokvolgorde. Op artikel- en sectiepagina krijgt de paginacontainer altijd minstens de hoogte van zijn inhoud;
   zonder dit kon de zijbalk op smalle schermen over de blokken eronder (sectieknoppen, supportkaart) lopen. */
.article-page #page-container, .section-page #page-container { height: auto !important; min-height: 0; flex: 1 0 auto !important; }
.article-page #page-container > .row, .section-page #page-container > .row { height: auto !important; }
@media (max-width: 767px) {
  .article-page #page-container > .row, .section-page #page-container > .row { display: block !important; margin-left: 0; margin-right: 0; }
  .article-page #page-container > .row > *:not(.hidden), .section-page #page-container > .row > *:not(.hidden) { width: 100% !important; max-width: 100% !important; height: auto !important; flex: none !important; padding-left: 0; padding-right: 0; }
}
/* ===== EPASSI HELP CENTER: ROLKEUZE END ===== */
