/* EPA filter: case-study cards (feed / home / related), chip filter bar and the resources list.
   Values: design/source/home.css 21-27, 43-45, 69-70, 87-88, 155-160, 214-219, 236 (cards; product-scope light tokens
   768-777 and #proof/#feed/#related white cards 821-823), cases.css (bar, chips, featured), case-study.css 52-64
   (related grid), resources.css. Computed on the dark site; no design tokens required. */

.epa-filter{position:relative;width:100%}
.epa-filter [hidden]{display:none!important}
.epa-filter .epa-ico{display:inline-flex;align-items:center;justify-content:center;width:1.15em;height:1em;line-height:1;flex:none;font-style:normal}
.epa-filter .epa-ico svg{display:block;width:auto!important;height:1em!important;max-width:none;fill:currentColor}

/* ── Filter bar and chips (cases.css 10-18) ── */
.epa-filter .cs-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;margin:0 0 32px}
.epa-filter .cs-chips{display:flex;flex-wrap:wrap;gap:10px}
/* every Hello button rule pinned: display, colours, border, radius, padding, width, line-height, :hover/:focus */
.epa-filter .cs-chips .cs-chip,.epa-filter .cs-chips .cs-chip:focus{display:block;width:auto;height:40px;margin:0;padding:0 16px;border:0;border-radius:999px;cursor:pointer;font:500 14px Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;line-height:normal;letter-spacing:normal;text-transform:none;text-align:center;white-space:normal;text-decoration:none;color:#E1E5EC;background:#161D36;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);transition:background 200ms,color 200ms;-webkit-user-select:none;user-select:none}
.epa-filter .cs-chips .cs-chip:hover{background:#1E2747;color:#fff}
.epa-filter .cs-chips .cs-chip.on,.epa-filter .cs-chips .cs-chip.on:hover,.epa-filter .cs-chips .cs-chip.on:focus{background:#7FBEC5;color:#0E1325;box-shadow:none}
.epa-filter .cs-chips .cs-chip:focus:not(:focus-visible){outline:none}
.epa-filter .cs-chips .cs-chip:focus-visible{outline:2px solid #7FBEC5;outline-offset:3px}
.epa-filter .cs-count{margin:0;padding:0;font:400 14px Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;color:#8E97AD;text-wrap:pretty}
@media (max-width:640px){.epa-filter .cs-bar{flex-direction:column;align-items:flex-start}}

/* ── Grids (home.css 21, 69; cases.css 24, 39-42; case-study.css 64) ── */
.epa-filter .cs-feed{display:grid;gap:24px}
.epa-filter .grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:920px){
  .epa-filter .grid-3{grid-template-columns:minmax(0,1fr);gap:40px}
  .epa-filter .grid-3.cs-grid{gap:24px}
}
@media (min-width:641px) and (max-width:920px){
  .epa-filter .grid-3.cs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .epa-filter.epa-cases--related .cs-grid>:nth-child(3){display:none}
}

/* ── Case card: white on the dark page (home.css 24-27, 155-160, 214-219, 236; 768-777, 821-823) ── */
.epa-filter .card.post{box-sizing:border-box;position:relative;display:flex;flex-direction:column;height:520px;margin:0;padding:0;overflow:hidden;background:#fff;border-radius:12px;box-shadow:0 1px 3px rgba(15,23,42,.06),0 1px 2px rgba(15,23,42,.04);color:#334155;font:400 16px/1.5 Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;text-align:start}
@media (min-width:921px) and (max-width:1100px){.epa-filter .card.post{height:610px}}
/* .reveal comes after .lift in home.css (26-27, 91-92): the card keeps the reveal transition, and .reveal.in{transform:none}
   outranks .lift:hover, so on the design a revealed card does not rise on hover; only its shadow deepens (instantly) */
.epa-filter .card.lift.reveal{transition:opacity 700ms cubic-bezier(.16,1,.3,1),transform 700ms cubic-bezier(.16,1,.3,1)}
.epa-filter .card.lift:hover{box-shadow:0 8px 24px rgba(15,23,42,.08)}
.epa-filter .post .post-cover{display:block;flex:none;height:236px;overflow:hidden;background:#F1F5F9;color:#167480}
.epa-filter .post .post-cover img{display:block;width:100%!important;height:100%!important;max-width:none;object-fit:cover;border-radius:0;transition:transform 600ms cubic-bezier(.16,1,.3,1)}
.epa-filter .card.lift:hover .zoom{transform:scale(1.03)}
.epa-filter .post .post-body{display:flex;flex-direction:column;gap:14px;flex:1;min-height:0;padding:24px 28px 28px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#CBD5E1 transparent}
.epa-filter .post .post-body::-webkit-scrollbar{width:6px}
.epa-filter .post .post-body::-webkit-scrollbar-thumb{background:#CBD5E1;border-radius:6px}
.epa-filter .post .post-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font:400 13px Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;color:#5E6E84}
.epa-filter .post .cs-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font:500 12px/1 Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;white-space:nowrap;text-transform:none}
.epa-filter .post .cs-badge.is-available{background:#DCFCE7;color:#166534}
.epa-filter .post .cs-badge.is-info{background:#E0E7FF;color:#3730A3}
.epa-filter .post .cs-flag{display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:999px;font:600 12px Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;color:#fff;background:#1A203E}
.epa-filter .post .cs-meta-run{display:inline-flex;gap:8px;white-space:nowrap}
.epa-filter .post .h3{margin:0;padding:0;font:600 20px/1.3 Montserrat,system-ui,sans-serif;letter-spacing:-.01em;color:#1A203E;text-wrap:pretty}
.epa-filter .post .post-title,.epa-filter .post .post-title:hover,.epa-filter .post .post-title:focus{color:#1A203E;text-decoration:none;font:inherit;letter-spacing:inherit}
.epa-filter .post .body{margin:0;padding:0;font:400 16px/1.5 Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;color:#475569;text-wrap:pretty}
.epa-filter .post .cs-excerpt{font-size:15px}
.epa-filter .post .tlink,.epa-filter .post .tlink:hover,.epa-filter .post .tlink:focus{display:inline-flex;gap:8px;align-items:center;margin-top:auto;font:500 15px Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;color:#167480;text-decoration:none;transition:gap 200ms cubic-bezier(.2,0,0,1)}
.epa-filter .post .tlink:hover{gap:11px}
.epa-filter .post .tlink .epa-ico{font-size:12px}

/* ── Featured: cover beside the text, full width (cases.css 28-40) ── */
.epa-filter .card.post.cs-feat{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);height:auto}
.epa-filter .cs-feat .post-cover{height:auto;min-height:380px}
.epa-filter .cs-feat .post-body{padding:40px;justify-content:center;overflow:visible}
.epa-filter .cs-feat .cs-title{font-size:26px;line-height:1.25}
.epa-filter .cs-feat .cs-excerpt{font-size:16px}
@media (max-width:920px){
  .epa-filter .card.post.cs-feat{grid-template-columns:minmax(0,1fr)}
  .epa-filter .cs-feat .post-cover{min-height:0;height:260px}
  .epa-filter .cs-feat .post-body{padding:24px 28px 28px}
  .epa-filter .cs-feat .cs-title{font-size:22px}
}

/* ── Resources (resources.css) ── */
.epa-filter .res-group{margin:0}
.epa-filter .res-group:not([hidden])~.res-group:not([hidden]){margin-top:48px} /* resources.css 4, counting only shown groups */
.epa-filter .res-group .res-group-h{margin:0 0 16px;padding:0;font:600 18px/1.3 Montserrat,system-ui,sans-serif;letter-spacing:-.01em;color:#7FBEC5;text-wrap:pretty}
.epa-filter .res-list{list-style:none;margin:0;padding:0;border-radius:12px;background:#161D36;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);overflow:hidden}
.epa-filter .res-row{display:flex;align-items:center;gap:20px;margin:0;padding:22px 24px;transition:background 200ms}
.epa-filter .res-row+.res-row{border-top:1px solid rgba(255,255,255,.07)}
.epa-filter .res-row:hover{background:#1A2242}
.epa-filter .res-ico{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:rgba(127,190,197,.12);color:#7FBEC5}
.epa-filter .res-ico .epa-ico{font-size:20px}
.epa-filter .res-main{flex:1 1 auto;min-width:0;display:grid;gap:6px}
.epa-filter .res-main .res-title{margin:0;padding:0;font:600 17px/1.35 Montserrat,system-ui,sans-serif;letter-spacing:-.01em;color:#F2F4F8;text-wrap:balance}
.epa-filter .res-main .res-desc{margin:0;font:400 14px/1.55 Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;color:#C6CCD8;text-wrap:pretty}
.epa-filter .res-main .res-meta{margin:2px 0 0;display:flex;align-items:center;gap:10px;font:400 13px Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;color:#8E97AD}
.epa-filter .res-type{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:6px;font:600 11px Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:.04em;color:#F2F4F8;background:rgba(255,255,255,.08)}
.epa-filter .res-dl,.epa-filter .res-dl:focus{flex:none;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 18px;border-radius:999px;font:500 14px Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;color:#0E1325;background:#7FBEC5;text-decoration:none;transition:background 200ms}
.epa-filter .res-dl:hover{background:#A6D6DB;color:#0E1325;text-decoration:none}
.epa-filter .res-dl .epa-ico{font-size:14px;color:#0E1325}
.epa-filter .res-dl:focus-visible{outline:2px solid #7FBEC5;outline-offset:3px}
.epa-filter .res-cta{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;margin-top:48px;font:400 15px Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;color:#C6CCD8}
.epa-filter .res-cta p{margin:0;text-align:center;text-wrap:pretty}
.epa-filter .res-cta .tlink,.epa-filter .res-cta .tlink:hover,.epa-filter .res-cta .tlink:focus{display:inline-flex;gap:8px;align-items:center;font:500 15px Roboto,system-ui,-apple-system,'Segoe UI',sans-serif;color:#7FBEC5;text-decoration:none;transition:gap 200ms cubic-bezier(.2,0,0,1)}
.epa-filter .res-cta .tlink:hover{gap:11px}
.epa-filter .res-cta .tlink .epa-ico{font-size:12px}
@media (max-width:640px){
  .epa-filter .res-row{flex-wrap:wrap;align-items:flex-start;gap:14px 16px;padding:20px}
  .epa-filter .res-ico{width:40px;height:40px}
  .epa-filter .res-main{flex:1 1 calc(100% - 56px)}
  .epa-filter .res-dl{flex:1 1 100%;justify-content:center}
}
