/* vextro.nl/portfolio, ontwerp B: raster met kaarten, klik opent een venster. Bouwt op home.css (.vxh). */
.vxh > .in { min-width: 0; width: 100%; }
.vxh .pf-top { padding: 56px 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 32px; flex-wrap: wrap; }
.vxh .pf-top h1.big { max-width: none; margin-bottom: 12px; }
.vxh .pf-top .lead { margin: 0; max-width: 52ch; }
.vxh .pf-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.vxh .pf-chips[hidden] { display: none; }
.vxh .pf-chip { padding: 7px 13px; border-radius: 9px; border: 1px solid var(--d-line); background: none; color: var(--d-mut); font: 600 13.5px var(--f-body); cursor: pointer; }
.vxh .pf-chip:hover { color: var(--d-ink); border-color: var(--d-strong); }
.vxh .pf-chip.is-on { color: var(--d-ink); border-color: var(--d-blue); background: rgba(89, 168, 255, .08); }

.vxh .pf-stars { color: #4d8dff; letter-spacing: 1px; font-size: 17px; white-space: nowrap; }
.vxh .pf-stars i { font-style: normal; color: var(--d-strong); }

.vxh .pf-grid { list-style: none; margin: 0; padding: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vxh .pf-grid li[hidden] { display: none; }
.vxh .pf-card { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--d-line); border-radius: 10px; background: var(--d-card); overflow: hidden; color: inherit; text-decoration: none; transition: border-color .2s var(--d-ease); }
.vxh .pf-card:hover, .vxh .pf-card:focus-visible { border-color: var(--d-strong); }
.vxh .pf-card:focus-visible { outline: 2px solid var(--d-blue); outline-offset: 2px; }
.vxh .pf-banner { display: block; width: 100%; height: 120px; object-fit: cover; }
.vxh .pf-body { padding: 0 18px 16px; display: flex; flex-direction: column; flex: 1; }
.vxh .pf-logo { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; background: #0b0d12; border: 3px solid var(--d-card); font: 700 23px var(--f-display); color: var(--d-blue); object-fit: cover; }
.vxh .pf-name { margin: 10px 0 2px; font: 700 18px var(--f-display); color: var(--d-ink); letter-spacing: -.01em; overflow-wrap: anywhere; }
.vxh .pf-pk { font-size: 12.5px; font-weight: 600; color: var(--d-blue); }
.vxh .pf-desc { margin: 10px 0 14px; color: var(--d-mut); font-size: 14.5px; line-height: 1.5; flex: 1; overflow-wrap: anywhere; }
.vxh .pf-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--d-faint); }

.vxh .pf-empty { margin-top: 32px; padding: 28px; border: 1px dashed var(--d-strong); border-radius: 10px; }
.vxh .pf-empty h2 { margin: 0 0 6px; font-size: 20px; }
.vxh .pf-empty p { margin: 0 0 16px; color: var(--d-mut); }

.vxh .pf-cta { margin: 56px 0 72px; padding: 28px; border: 1px solid var(--d-line); border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.vxh .pf-cta h2 { margin: 0 0 4px; font-size: 22px; }
.vxh .pf-cta p { margin: 0; color: var(--d-mut); }

/* Venster */
.vxh .pf-dlg { position: fixed; inset: 0; margin: auto; width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; border: 1px solid var(--d-strong); border-radius: 12px; background: var(--d-card); color: var(--d-ink); z-index: 1000; }
.vxh .pf-dlg::backdrop { background: rgba(3, 4, 6, .72); }
.vxh .pf-x-form { position: absolute; right: 12px; top: 12px; margin: 0; z-index: 1; }
.vxh .pf-x { width: 34px; height: 34px; border: 0; border-radius: 9px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 16px; cursor: pointer; }
.vxh .pf-x:focus-visible { outline: 2px solid var(--d-blue); outline-offset: 2px; }
.vxh .pf-dlg-banner { display: block; width: 100%; height: 160px; object-fit: cover; }
.vxh .pf-dlg-in { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 22px; padding: 0 22px 22px; }
.vxh .pf-logo-lg { width: 80px; height: 80px; margin-top: -40px; font-size: 34px; }
.vxh .pf-dlg h2 { margin: 12px 0 4px; font-size: 30px; letter-spacing: -.03em; overflow-wrap: anywhere; }
.vxh .pf-dlg-desc { margin: 14px 0 0; color: var(--d-mut); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.vxh .pf-dlg-side { padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.vxh .pf-dlg-side .btn { justify-content: center; text-align: center; }
.vxh .pf-rev { border: 1px solid var(--d-line); border-radius: 10px; padding: 14px; }
.vxh .pf-rev p { margin: 8px 0 0; color: var(--d-mut); font-size: 14.5px; overflow-wrap: anywhere; }
.vxh .pf-rev small { display: block; margin-top: 8px; color: var(--d-faint); font-size: 12.5px; }

@media (max-width: 980px) { .vxh .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
    .vxh .pf-grid { grid-template-columns: 1fr; }
    .vxh .pf-dlg-in { grid-template-columns: 1fr; gap: 6px; padding: 0 18px 18px; }
    .vxh .pf-dlg-banner { height: 120px; }
    .vxh .pf-dlg h2 { font-size: 26px; }
}
