/* /handig/ (inc/handig.php, template-parts/handig.php), on top of hub.css and front.css. The airport grid is the one
   bold thing, as the board on the flight hubs: each airport's code on the split-flap card (.flap, main.css). The guides stay quiet: photo cards (.kj-card, main.css) and rows like the board's (arrow from .hub-go). */

.handig>section{padding-top:var(--sp)}
.handig>section:first-child{padding-top:36px}
.handig h2{margin:0 0 6px}
.handig-intro{max-width:var(--read);margin:0;color:var(--muted)}

/* the airport grid: one card per airport, its code on the split-flap card above the name, the whole card one link to
   the departures page; two columns on a phone, five from 621px (two rows of five) */
.handig-airports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 0;padding:0;list-style:none}
@media (min-width:621px){.handig-airports{grid-template-columns:repeat(5,minmax(0,1fr))}}
.handig-airport{display:flex;flex-direction:column;align-items:flex-start;gap:10px;height:100%;padding:12px 14px 14px;color:var(--ink);text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:var(--radius);transition:border-color .15s ease,background-color .15s ease}
.handig-airport:hover{border-color:var(--blue);background:#F7FAFF;color:var(--ink)}
.handig-airport .flap{--flap-w:52px;--flap-h:44px;--flap-fs:1rem}
.handig-airport-name{font:800 1.0625rem/1.2 var(--display);color:var(--deep);overflow-wrap:anywhere;text-wrap:balance}
.handig-airport:hover .handig-airport-name{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
/* up to 999px the cards are narrow (two on a phone, five at 800px): a smaller card and name */
@media (max-width:999px){
  .handig-airport{gap:8px;padding:10px 12px 12px}
  .handig-airport .flap{--flap-w:42px;--flap-h:34px;--flap-fs:.8125rem;--flap-r:8px}
  .handig-airport-name{font-size:.9375rem}
}
.handig-hubs{display:flex;flex-wrap:wrap;gap:4px 24px;margin:16px 0 0;padding:0;list-style:none}
.handig-hubs a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}

/* "Voor je vertrekt": the cards as on /vliegreizen/ (their text rules are scoped to .entry-content in main.css) */
.handig-prep .kj-cards{margin:22px 0 0;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
.handig .kj-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.handig .kj-card-title{margin:0 0 6px;font-size:1.1875rem;line-height:1.25}
.handig .kj-card-text{margin:0;color:var(--muted);font-size:.9375rem;line-height:1.5}
/* phone: photo beside the text, as the holiday prompt's cards (main.css .trip-prompt) */
@media (max-width:620px){
  .handig-prep .kj-cards{gap:10px}
  .handig-prep .kj-card{flex-direction:row;align-items:center}
  .handig-prep .kj-card-media{flex:0 0 96px;align-self:stretch;aspect-ratio:auto}
  .handig-prep .kj-card-body{min-width:0;padding:12px 14px}
  .handig .kj-card-title{font-size:1.0625rem}
  .handig .kj-card-text{font-size:.875rem;line-height:1.45}
}

/* rows: a title, a line, the arrow; the whole row one link */
.handig-rights-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;margin-top:22px}
.handig-rights h3{margin:0 0 10px;font-size:1.25rem}
@media (min-width:900px){.handig-rights-cols{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:40px}}
.handig-rows{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.handig-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;align-items:center;min-height:64px;padding:12px 14px 12px 18px;color:var(--ink);text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:var(--radius);transition:border-color .15s ease,background-color .15s ease}
.handig-row:hover{border-color:var(--blue);background:#F7FAFF;color:var(--ink)}
.handig-row-title{font:800 1.0625rem/1.25 var(--display);color:var(--deep)}
.handig-row:hover .handig-row-title{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.handig-row-line{grid-column:1;margin-top:3px;color:var(--muted);font-size:.9375rem;line-height:1.4}
.handig-row .hub-go{grid-column:2;grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;color:var(--blue);border-radius:50%;background:var(--air);transition:transform .15s ease}
.handig-row:hover .hub-go{transform:translateX(3px)}
.handig-all{margin:18px 0 0}
.handig-all a{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-weight:700}
.handig-all .hub-go{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--air)}
.handig-more .handig-rows{margin-top:16px;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}
@media (prefers-reduced-motion:reduce){.handig-row:hover .hub-go{transform:none}.handig .kj-card-media img{transition:none}}
