/* ============================================================
   gratis-auto-theorie.nl — redesign layer (additive, loaded last)
   Safe to remove: just delete the <link> in views/baseview.php.
   ============================================================ */

:root {
  --gat-blue: #0588f0;
  --gat-blue-dark: #0466c4;
  --gat-ink: #1c2733;
  --gat-muted: #5a6b7b;
  --gat-line: #e6ecf2;
  --gat-soft: #f4f8fc;
}

html { scroll-behavior: smooth; }

/* ---- Question / answer blocks (oefenvragen + onderwerp pages) ---- */
.oefenvraag {
  background: #fff;
  border: 1px solid var(--gat-line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(20, 40, 60, .06);
}
.oefenvraag h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gat-muted);
  margin: 0 0 14px;
}
.oefenvraag .question_image { border-radius: 10px; display: block; margin: 0 auto; }
.oefenvraag .questiontext {
  font-size: 19px;
  line-height: 1.5;
  color: var(--gat-ink);
  margin: 18px 0 14px;
  font-weight: 500;
}
.oefenvraag ul { list-style: none; padding: 0; margin: 0 0 6px; }
.oefenvraag ul li {
  padding: 12px 16px;
  border: 1px solid var(--gat-line);
  border-radius: 10px;
  margin-bottom: 8px;
  background: var(--gat-soft);
}

/* ---- Answer reveal (was an unstyled <details>) ---- */
.oefenvraag details { margin-top: 4px; }
.oefenvraag summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gat-blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: background .15s ease;
}
.oefenvraag summary::-webkit-details-marker { display: none; }
.oefenvraag summary::before { content: "\f06e"; font-family: "Font Awesome 5 Free", "FontAwesome"; font-weight: 900; }
.oefenvraag summary:hover,
.oefenvraag details[open] summary { background: var(--gat-blue-dark); }
.oefenvraag details > p {
  background: var(--gat-soft);
  border-left: 4px solid var(--gat-blue);
  padding: 12px 16px;
  margin: 12px 0 0;
  line-height: 1.6;
  border-radius: 0 8px 8px 0;
}

/* ---- Hub cards (topics / categories / articles) ---- */
.gat-card {
  background: #fff;
  border: 1px solid var(--gat-line);
  border-radius: 14px;
  padding: 22px 24px;
  height: 100%;
  box-shadow: 0 1px 3px rgba(20, 40, 60, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.gat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(20, 40, 60, .10); }
.gat-card h2, .gat-card h3 { margin-top: 0; }
.gat-card h2 a, .gat-card h3 a { color: var(--gat-ink); text-decoration: none; }
.gat-card h2 a:hover, .gat-card h3 a:hover { color: var(--gat-blue); }
.gat-card .btn { margin-top: 10px; }
/* equal-height cards within a Bootstrap row */
.gat-card-row { display: flex; flex-wrap: wrap; }
.gat-card-row > [class*="col-"] { display: flex; margin-bottom: 24px; }

/* ---- Buttons ---- */
.btn.get-quote { border-radius: 999px; }

/* ---- Hero ---- */
.banner, .bg-color { min-height: 440px; }
.text-border { border: none; margin-top: 60px; }
.text-dec { text-transform: none; font-weight: 700; letter-spacing: -.01em; padding: 0; font-size: 46px; }
.intro-para .big-text { font-size: 30px; }
.resume-form input[name="slug"] { width: 180px; height: 42px; }
.resume-form .btn { height: 42px; margin-left: 6px; }

/* ---- Content typography ---- */
.section-padding p { line-height: 1.7; }
.section-padding h1 { line-height: 1.25; }

/* ---- Resume-exam input on the landing page ---- */
input[name="slug"]:focus {
  outline: none;
  border-color: var(--gat-blue) !important;
  box-shadow: 0 0 0 3px rgba(5, 136, 240, .18);
}

/* ---- Richer footer links ---- */
.footer ul { list-style: none; padding: 0; }
.footer ul li a { color: #cfd8e3; transition: color .15s ease; }
.footer ul li a:hover { color: #fff; text-decoration: underline; }
.footer h4 { letter-spacing: .02em; }

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .banner h1.text-dec { font-size: 30px; }
  .blocks .btn { font-size: 16px; padding: 14px 12px; }   /* bigger tap targets for exam answers */
  .oefenvraag { padding: 16px; }
  .oefenvraag .questiontext { font-size: 17px; }
  .section-padding { padding: 40px 0; }
  .footer { padding: 40px 0 20px; }
}
