/* Zoekpagina's (gidsen) van Beeylo. Bouwt voort op style.css: zelfde letters, kleuren, kop en voet.
   Alleen het blad van de gids staat hier; kop en voet komen uit style.css. */

/* het blad */
.gids-blad { max-width: 800px; margin: 0 auto; padding: 72px max(20px, env(safe-area-inset-right, 0px)) 104px max(20px, env(safe-area-inset-left, 0px)); }
.gids-blad p, .gids-blad li { font-size: 18px; }
.gids-blad p + p { margin-top: 14px; }
.gids-blad a:not(.knop) { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gids-blad a:not(.knop):hover { text-decoration-thickness: 2px; }

/* bovenstuk */
.g-rij { list-style: none; margin: 0 0 28px; padding: 0; display: flex; }
.g-rij li { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--bg); }
.g-rij li + li { margin-left: -8px; }
.g-rij img { width: 40px; height: 40px; }
.g-label { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.g-label::before { content: ""; width: 11px; height: 12px; background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.gids-blad h1 { font-size: clamp(40px, 6.4vw, 68px); font-weight: var(--held-w); letter-spacing: var(--held-ls); line-height: 1.02; }
.g-intro { margin-top: 26px; font-size: clamp(19px, 1.6vw, 22px) !important; line-height: 1.5; color: var(--ink); max-width: 38ch; }
.g-actie { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.g-actie .knop, .g-slot .knop { white-space: normal; text-align: center; line-height: 1.2; padding-top: 12px; padding-bottom: 12px; }
.g-noot { font-size: 15px !important; color: var(--muted); margin: 0; }

/* inhoud */
.gids-blad h2 { font-size: clamp(28px, 3.2vw, 36px); letter-spacing: -0.025em; line-height: 1.1; margin-top: 72px; }
.gids-blad h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.gids-blad h2 + p { margin-top: 16px; }
.gids-blad ul.g-punten { padding-left: 22px; margin: 14px 0 0; }
.gids-blad ul.g-punten li { margin-top: 8px; }

/* genummerde stappen met de zeshoek */
.g-stappen { list-style: none; counter-reset: stap; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.g-stappen li { counter-increment: stap; position: relative; padding: 18px 20px 18px 72px; background: #FFFFFF; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.g-stappen li::before { content: counter(stap); position: absolute; left: 20px; top: 16px; width: 34px; height: 38px; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 16px/1 var(--f-kop); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.g-stappen b { color: var(--ink); }
.g-stappen + p, .g-tips + p, .g-punten + p { margin-top: 20px !important; }

/* tips als pastel kaarten */
.g-tips { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.g-tips li { border-radius: 24px; padding: 24px; background: var(--k, var(--zwaai)); }
.g-tips h3 { margin-bottom: 10px; }
.g-tips p { font-size: 17px !important; margin: 0; }

/* vergelijking */
.g-tabel { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 24px; font-size: 16px; background: #FFFFFF; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.g-tabel th, .g-tabel td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); line-height: 1.45; }
.g-tabel tr:last-child th, .g-tabel tr:last-child td { border-bottom: 0; }
.g-tabel thead th { font: 700 17px/1.2 var(--f-kop); color: var(--ink); background: var(--surface); }
.g-tabel thead th.wij { background: #FFE2B0; }
.g-tabel tbody th { font: 600 16px/1.35 var(--f-kop); color: var(--ink); width: 22%; }
.g-tabel td.wij { background: #FFF8EA; }
.g-bron { font-size: 14px !important; color: var(--muted); margin-top: 12px !important; }

/* keuzeblokken */
.g-keus { margin-top: 20px; padding: 24px; border-radius: 24px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); }
.g-keus.wij { background: #FFF1D6; box-shadow: none; }
.g-keus h3 { margin-bottom: 8px; }
.g-keus p { font-size: 17px !important; }

/* vragen */
.g-faq { margin-top: 20px; }
.g-faq details { border-bottom: 1px solid var(--line); }
.g-faq details:first-child { border-top: 1px solid var(--line); }
.g-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; font: 600 18px/1.35 var(--f-kop); color: var(--ink); }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: "+"; font: 400 26px/1 var(--f); color: var(--muted); transition: transform .2s ease; }
.g-faq details[open] summary::after { transform: rotate(45deg); color: var(--amber); }
.g-faq details p { margin: -4px 0 0; padding-bottom: 18px; font-size: 17px; }

/* lees ook */
.g-verder { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.g-verder a { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 18px 12px 12px; border-radius: 20px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none !important; font: 600 17px/1.3 var(--f-kop); color: var(--ink); transition: box-shadow .15s ease; }
.g-verder a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.g-verder span { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--k, var(--zwaai)); }
.g-verder img { width: 34px; height: 34px; }

/* afsluiter */
.g-slot { margin-top: 80px; padding: 48px 28px; border-radius: 32px; text-align: center; background: radial-gradient(80% 100% at 50% 100%, #FFF1CC, #FFFFFF 75%); box-shadow: inset 0 0 0 1px var(--line); }
.gids-blad .g-slot h2 { margin-top: 0; font-size: clamp(32px, 4.4vw, 48px); max-width: 16ch; margin-left: auto; margin-right: auto; }
.g-slot p { margin: 16px auto 0; color: var(--muted); max-width: 40ch; }
.g-slot .knop { margin-top: 28px; }
.g-slot .g-noot { margin-top: 14px; }

@media (max-width: 640px) {
  .gids-blad { padding-top: 48px; padding-bottom: 80px; }
  .gids-blad h2 { margin-top: 56px; }
  .g-actie .knop, .g-slot .knop { width: 100%; }
  .g-tips, .g-verder { grid-template-columns: 1fr; }
  .g-tips li, .g-keus { padding: 20px; }
  .g-stappen li { padding: 16px 16px 16px 64px; }
  .g-stappen li::before { left: 16px; }
  /* tabel als kaartjes per regel */
  .g-tabel, .g-tabel tbody, .g-tabel tr, .g-tabel th, .g-tabel td { display: block; width: auto; }
  .g-tabel thead { display: none; }
  .g-tabel { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .g-tabel tr { background: #FFFFFF; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); margin-top: 12px; overflow: hidden; }
  .g-tabel tbody th { width: auto; padding: 14px 16px 6px; border-bottom: 0; font-size: 17px; }
  .g-tabel td { padding: 8px 16px; border-bottom: 0; }
  .g-tabel td:last-child { padding-bottom: 14px; }
  .g-tabel td::before { content: attr(data-kop); display: block; font: 600 13px/1.3 var(--f); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .g-tabel td.wij { background: #FFF8EA; }
  .g-slot { padding: 40px 20px; border-radius: 26px; }
}

/* alleen voor schermlezers */
.gids-blad .sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
