/* ============================================================
   AP Leden — AP Netwerk (?ap_page=network)
   Exact volgens de maatlijst "MATEN — pagina Leden" (4 aug 2026).
   Alle tekstmaten in px MET !important — het thema forceert anders rem op
   h1/p/span. Pills met .ap-leden-prefix tegen button{...!important}.
   ============================================================ */

/* ---- Pagina ---- */
.ap-content:has(.ap-leden){
	background:#F5F7FB radial-gradient(900px 320px at 18% -8%, rgba(27,77,228,.045), transparent 70%) no-repeat !important;
	max-width:none !important;
}

.ap-leden,
.ap-leden *{ box-sizing:border-box; }
.ap-leden{
	font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
	color:#0C1F3F;
	line-height:1.4;
	width:100%;
	padding:24px 32px 44px;
	display:flex;
	flex-direction:column;
	gap:18px;
}
.ap-leden [hidden]{ display:none !important; }
.ap-leden p,
.ap-leden h1,
.ap-leden input,
.ap-leden select,
.ap-leden button{ margin:0; line-height:1.4; }

/* Focusring */
.ap-leden a:focus-visible,
.ap-leden button:focus-visible,
.ap-leden select:focus-visible{ outline:2px solid #1B4DE4; outline-offset:2px; border-radius:6px; }
.ap-zoek:focus-within{ outline:2px solid #1B4DE4; outline-offset:2px; }

/* ---- Kopsectie (donkere kaart) ---- */
.ap-led-hero{
	position:relative; overflow:hidden;
	border-radius:14px;
	padding:20px 24px;
	background:linear-gradient(115deg,#0B2447 0%,#102F5E 58%,#0D2750 100%);
	color:#fff;
	display:flex; flex-wrap:wrap; align-items:center; gap:18px 24px;
	box-shadow:0 1px 2px rgba(11,36,71,.10), 0 12px 32px -18px rgba(11,36,71,.55), inset 0 1px 0 rgba(255,255,255,.08);
}
.ap-led-hero__gloed{
	position:absolute; inset:0;
	background:radial-gradient(620px 220px at 84% -40%, rgba(76,123,255,.30), transparent 72%);
	pointer-events:none;
}
.ap-led-hero__logo{
	position:absolute; right:-46px; top:50%; transform:translateY(-50%);
	height:190px; width:auto; opacity:.045; pointer-events:none; user-select:none;
	-webkit-mask-image:linear-gradient(90deg, transparent, #000 55%);
	        mask-image:linear-gradient(90deg, transparent, #000 55%);
}
.ap-led-hero__tekst{ position:relative; display:flex; flex-direction:column; gap:5px; flex:1 1 340px; min-width:260px; }
.ap-led-hero__kicker{ align-self:flex-start; font-size:10.5px !important; font-weight:600 !important; letter-spacing:.11em; color:#7FA0DA; }
.ap-led-hero__titel{ font-size:21px !important; font-weight:600 !important; letter-spacing:-.022em; color:#fff; margin:0; }
.ap-led-hero__sub{ font-size:13px !important; font-weight:400 !important; color:#A9BDDD; margin:0; max-width:420px; }

.ap-led-hero__cijfers{ position:relative; margin-left:auto; display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.ap-led-cijfer{ display:flex; flex-direction:column; gap:2px; }
.ap-led-cijfer b{ font-size:19px !important; font-weight:600 !important; letter-spacing:-.02em; color:#fff; line-height:1.1 !important; }
.ap-led-cijfer span{ font-size:11.5px !important; font-weight:400 !important; color:#8FA8D4; }

/* ---- Zoekrij ---- */
.ap-led-zoekrij{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.ap-zoek{
	display:flex; align-items:center; gap:9px;
	flex:1 1 300px; min-width:0; height:38px; padding:0 13px;
	background:#fff; border:1px solid #E2E7F0; border-radius:10px;
	transition:border-color .15s;
}
.ap-zoek:hover{ border-color:#C9D4E6; }
.ap-zoek i{ font-size:15px; color:#93A2B8; flex:0 0 auto; }
.ap-zoek input{
	flex:1 1 auto; min-width:0 !important; width:100% !important; height:100%;
	border:none !important; background:transparent !important;
	font-size:13px !important; font-weight:400 !important; color:#0C1F3F !important; font-family:inherit;
}
.ap-zoek input::placeholder{ color:#93A2B8; }

.ap-sorteer{ display:inline-flex; flex:0 0 auto; align-items:center; gap:8px; font-size:12px !important; font-weight:400 !important; color:#7B8CA6; white-space:nowrap; }
.ap-sorteer select{
	height:38px; width:auto !important; max-width:180px; padding:0 10px; border-radius:10px;
	background:#fff !important; border:1px solid #E2E7F0 !important;
	font-size:12.5px !important; font-weight:400 !important; color:#0C1F3F !important;
	font-family:inherit; cursor:pointer;
}

/* ---- Filterrij ---- */
.ap-led-filterrij{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.ap-led-filterlabel{ font-size:11px !important; font-weight:600 !important; letter-spacing:.07em; color:#8B99AE; margin-right:2px; }
.ap-led-pills{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; flex:1 1 auto; }
/* Extra specificiteit (0,3,0) verslaat de thema-button-regel. */
.ap-leden .ap-led-pills .ap-led-pill{
	display:inline-flex; align-items:center; gap:6px;
	height:28px; padding:0 12px; border-radius:999px;
	background:#fff !important; color:#42536B !important; border:1px solid #E2E7F0 !important;
	font-size:11.5px !important; font-weight:550 !important; font-family:inherit; cursor:pointer;
	transition:background .15s, border-color .15s;
}
.ap-leden .ap-led-pills .ap-led-pill.is-actief{
	background:#EEF3FE !important; color:#1B4DE4 !important; border-color:#1B4DE4 !important;
}
.ap-led-pill--ver i{ font-size:13px; color:#2FA96B; }
.ap-leden .ap-led-pills .ap-led-pill--ver.is-actief i{ color:#1B4DE4; }
.ap-led-telling{ margin-left:auto; font-size:12.5px !important; font-weight:400 !important; color:#6B7A93; white-space:nowrap; }

/* ---- Kaartenraster ---- */
.ap-led-grid{
	display:grid; grid-template-columns:repeat(auto-fill,minmax(330px,1fr)); gap:16px;
}

/* ---- De kaart ---- */
.ap-led-kaart{
	display:flex; flex-direction:column; min-width:0; overflow:hidden;
	border-radius:14px; padding:0; text-decoration:none; color:#0C1F3F;
	background:linear-gradient(180deg,#FFFFFF 0%,#FDFEFF 100%);
	border:1px solid #E7EBF2;
	box-shadow:0 1px 1px rgba(16,35,64,.03), 0 8px 24px -20px rgba(16,35,64,.45);
	transition:border-color .18s, box-shadow .18s, transform .18s;
}
.ap-led-kaart:hover{
	border-color:#C9D9F6;
	box-shadow:0 2px 4px rgba(16,35,64,.05), 0 16px 34px -22px rgba(16,35,64,.65);
	transform:translateY(-2px);
}

/* Kop */
.ap-led-kop{ display:flex; align-items:flex-start; gap:13px; padding:17px 17px 12px; }
.ap-leden .ap-led-logo{
	flex:0 0 50px; width:50px; height:50px; border-radius:11px; overflow:hidden;
	background:#F2F5FA; border:none !important; box-shadow:inset 0 0 0 1px #E7EBF2;
	display:flex; align-items:center; justify-content:center;
	font-size:15px !important; font-weight:700 !important; color:#1B4DE4;
}
.ap-leden .ap-led-logo img{ width:100%; height:100%; object-fit:cover; display:block; border:none !important; }
.ap-led-koptekst{ min-width:0; flex:1; }
.ap-led-naamrij{ display:flex; align-items:center; gap:6px; }
.ap-led-naam{ font-size:14px !important; font-weight:600 !important; letter-spacing:-.016em; color:#0C1F3F; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ap-led-seal{ font-size:13px !important; color:#2FA96B; flex:0 0 auto; }
.ap-led-seal.is-uit{ color:#D0D8E4; }
.ap-led-plaats{ display:block; margin-top:2px; font-size:12px !important; font-weight:400 !important; color:#7A889E; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* Omschrijving — min-height houdt tags op één lijn over alle kaarten. */
.ap-led-omschr{
	padding:0 17px; min-height:38px; margin:0;
	font-size:12.5px !important; font-weight:400 !important; line-height:1.5 !important; color:#6B7A93;
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
	text-wrap:pretty;
}

/* Tags */
.ap-led-tags{ display:flex; flex-wrap:wrap; gap:6px; padding:12px 17px 14px; min-width:0; }
.ap-led-tags span{
	display:inline-flex; align-items:center; height:22px; padding:0 9px; border-radius:6px;
	background:#F2F5FA; color:#42536B; font-size:11px !important; font-weight:500 !important;
	max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}

/* Voetregel */
.ap-led-voet{
	display:flex; align-items:center; gap:10px; margin-top:auto;
	padding:12px 17px; background:#FBFCFE; border-top:1px solid #EEF1F7;
}
.ap-led-aanbod{ display:inline-flex; align-items:center; gap:6px; font-size:11.5px !important; font-weight:400 !important; color:#6B7A93; }
.ap-led-aanbod i{ font-size:14px; color:#93A2B8; }
.ap-led-profiel{ display:inline-flex; align-items:center; gap:6px; margin-left:auto; font-size:12px !important; font-weight:550 !important; color:#1B4DE4; }
.ap-led-profiel i{ font-size:12px; transition:transform .15s; }
.ap-led-kaart:hover .ap-led-profiel i{ transform:translateX(3px); }

/* ---- Lege staat ---- */
.ap-led-leeg{
	display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px;
	padding:44px 20px; border-radius:14px; background:#FAFBFE; border:1px dashed #D7DEEA;
}
.ap-led-leeg i{ font-size:26px; color:#B3BFD1; }
.ap-led-leeg-titel{ font-size:13.5px !important; font-weight:550 !important; color:#0C1F3F; }
.ap-led-leeg-sub{ font-size:12.5px !important; font-weight:400 !important; color:#7A889E; }
.ap-leden .ap-led-wis{
	height:32px; padding:0 14px; border-radius:8px;
	background:transparent !important; border:1px solid #1B4DE4 !important; color:#1B4DE4 !important;
	font-size:12.5px !important; font-weight:550 !important; font-family:inherit; cursor:pointer;
}
.ap-leden .ap-led-wis:hover{ background:rgba(27,77,228,.06) !important; }

/* ---- Paginering (12 per pagina) ---- */
.ap-led-paginatie{ display:flex; justify-content:center; align-items:center; gap:6px; margin-top:8px; flex-wrap:wrap; }
.ap-leden .ap-led-pag{
	display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:34px; padding:0 10px;
	background:#fff !important; color:#42536B !important; border:1px solid #E2E7F0 !important; border-radius:9px;
	font-size:12.5px !important; font-weight:550 !important; font-family:inherit; cursor:pointer;
	transition:background .15s, border-color .15s, color .15s;
}
.ap-leden .ap-led-pag:hover:not(:disabled){ border-color:#C4D0E4 !important; }
.ap-leden .ap-led-pag.is-actief{ background:#1B4DE4 !important; color:#fff !important; border-color:#1B4DE4 !important; }
.ap-leden .ap-led-pag:disabled{ opacity:.45; cursor:default; }
.ap-led-pag--pijl{ padding:0 !important; }
.ap-led-pag--pijl i{ font-size:15px; }

/* ============================================================
   Mobiel
   ============================================================ */
@media (max-width:720px){
	.ap-leden{ padding:18px 16px 36px; gap:14px; }
	.ap-led-hero{ padding:18px 18px; gap:16px; flex-direction:column; align-items:flex-start; }
	.ap-led-hero__titel{ font-size:20px !important; }
	.ap-led-hero__cijfers{ width:100%; margin-left:0; justify-content:space-between; gap:14px; }

	.ap-led-zoekrij{ flex-direction:column; align-items:stretch; }
	.ap-zoek{ flex:1 1 auto; height:42px; }
	.ap-sorteer{ justify-content:space-between; }
	.ap-sorteer select{ flex:1; height:42px; }

	.ap-led-filterrij{ align-items:flex-start; }
	.ap-led-pills{ flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:4px; margin:0 -16px; padding-left:16px; padding-right:16px; }
	.ap-leden .ap-led-pills .ap-led-pill{ flex:0 0 auto; }
	.ap-led-telling{ margin-left:0; }

	.ap-led-grid{ grid-template-columns:1fr; }
}
