/* ============================================================
   Tankpas-cluster design · tankoverdegrens.nl
   Plak dit één keer in Divi > Theme Options > Custom CSS
   (of in je child-theme style.css). Alles is gescoped onder
   .tod zodat het je overige site-stijlen niet raakt.
   ============================================================ */

.tod {
  --tod-navy: #16265c;
  --tod-navy-2: #0f1f49;
  --tod-blue: #1d4ed8;
  --tod-blue-hover: #1e40af;
  --tod-bg: #f3f6fc;
  --tod-ink: #14213d;
  --tod-muted: #5b6b8c;
  --tod-line: #e2e8f0;
  --tod-green: #15803d;
  --tod-green-bg: #ecfdf5;
  --tod-green-bd: #bfe6cc;
  --tod-red: #b4472f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tod-ink);
}

/* --- Hero --- */
.tod-hero {
  background: var(--tod-navy);
  padding: 40px 40px 44px;
  border-radius: 14px 14px 0 0;
}
.tod-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.tod-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.13);
  color: #e5edff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 12px;
}
.tod-hero__title {
  color: #fff;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 10px;
  max-width: 17ch;
}
.tod-hero__sub {
  color: #c3cfeb;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 46ch;
}
.tod-hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.tod-hero__note {
  color: #93a3cc;
  font-size: 12px;
  margin-top: 12px;
}

/* --- Buttons / CTA --- */
.tod-cta {
  display: inline-block;
  background: var(--tod-blue);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(29, 78, 216, 0.4);
  transition: background 0.15s ease, transform 0.1s ease;
}
.tod-cta:hover { background: var(--tod-blue-hover); color: #fff !important; }
.tod-cta:active { transform: translateY(1px); }
.tod-cta--ghost {
  color: #e5edff !important;
  font-weight: 500;
  text-decoration: none;
  padding: 13px 6px;
}

/* --- Live-prijs kaart (hero) --- */
.tod-pricecard {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(8, 15, 40, 0.3);
}
.tod-pricecard__title {
  font-size: 12px;
  color: var(--tod-muted);
  font-weight: 500;
  margin-bottom: 10px;
}
.tod-pricecard__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eef1f7;
  font-size: 14px;
}
.tod-pricecard__row:last-of-type { border-bottom: 0; }
.tod-pricecard__row b { font-weight: 600; }
.tod-pricecard__row .down { color: var(--tod-green); }
.tod-pricecard__src {
  margin-top: 10px;
  background: var(--tod-bg);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--tod-muted);
}

/* --- Trust-balk --- */
.tod-trust {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  background: var(--tod-navy-2);
  padding: 12px 16px;
  color: #aebbdb;
  font-size: 12.5px;
}

/* --- Vergelijkkaarten --- */
.tod-section { padding: 28px; background: var(--tod-bg); }
.tod-section__title { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.tod-section__sub { font-size: 14px; color: var(--tod-muted); margin: 0 0 20px; }
.tod-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tod-card {
  background: #fff;
  border: 1px solid var(--tod-line);
  border-radius: 14px;
  padding: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(20, 33, 61, 0.05);
}
.tod-card--featured { border: 2px solid var(--tod-blue); box-shadow: 0 6px 20px rgba(29, 78, 216, 0.12); }
.tod-card__points { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--tod-line); }
.tod-card__badge {
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--tod-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 11px;
}
.tod-card__icon { font-size: 22px; color: var(--tod-blue); }
.tod-card__title { font-weight: 600; font-size: 15px; margin: 8px 0 4px; }
.tod-card__desc { font-size: 13px; color: var(--tod-muted); line-height: 1.5; margin-bottom: 14px; }
.tod-pro, .tod-con, .tod-neutral { font-size: 13px; font-weight: 500; margin-top: 4px; }
.tod-pro { color: var(--tod-green); }
.tod-con { color: var(--tod-red); }
.tod-neutral { color: var(--tod-muted); }

/* --- Eerlijke rekensom --- */
.tod-calc {
  margin: 24px 0 4px;
  background: #fff;
  border: 1px solid var(--tod-line);
  border-left: 4px solid var(--tod-blue);
  border-radius: 0 14px 14px 0;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(20, 33, 61, 0.05);
}
.tod-calc__title { font-size: 14px; font-weight: 600; color: var(--tod-blue); margin-bottom: 12px; }
.tod-calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tod-stat { background: var(--tod-bg); border-radius: 10px; padding: 14px; }
.tod-stat__label { font-size: 12px; color: var(--tod-muted); }
.tod-stat__value { font-size: 22px; font-weight: 600; margin: 2px 0; }
.tod-stat__value--green { color: var(--tod-green); }
.tod-stat__hint { font-size: 12px; color: var(--tod-muted); }
.tod-calc__note { font-size: 13px; color: var(--tod-muted); line-height: 1.55; margin-top: 12px; }

/* --- Afsluit-CTA-band --- */
.tod-ctaband {
  background: var(--tod-navy);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-radius: 0 0 14px 14px;
}
.tod-ctaband__title { color: #fff; font-weight: 600; font-size: 16px; margin: 0; }
.tod-ctaband__sub { color: #aebbdb; font-size: 13px; margin: 2px 0 0; }

/* --- Disclosure --- */
.tod-disclosure { font-size: 12px; color: var(--tod-muted); margin-top: 10px; }

/* --- Body-content (uit de markdown geconverteerd) --- */
.tod h1 { font-size: 26px; font-weight: 600; line-height: 1.25; margin: 0 0 .5em; color: var(--tod-ink); }
.tod h2 { font-size: 20px; font-weight: 600; margin: 1.6em 0 .5em; color: var(--tod-ink); }
.tod h3 { font-size: 16px; font-weight: 600; margin: 1.3em 0 .35em; color: var(--tod-ink); }
.tod p { line-height: 1.7; margin: 0 0 1em; }
.tod p a, .tod li a, .tod td a, .tod blockquote a { color: var(--tod-blue); text-decoration: underline; }
.tod ul { margin: 0 0 1em 1.2em; line-height: 1.7; }
.tod li { margin: .2em 0; }
.tod code { background: var(--tod-bg); border-radius: 4px; padding: 1px 5px; font-size: .9em; }
.tod hr { border: 0; border-top: 1px solid var(--tod-line); margin: 1.8em 0; }
.tod blockquote { font-size: 12.5px; color: var(--tod-muted); border-left: 3px solid var(--tod-line); margin: 1.4em 0; padding: .4em 0 .4em 12px; }
.tod-tablewrap { overflow-x: auto; margin: 1.2em 0; }
.tod table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tod th { text-align: left; background: var(--tod-bg); border: 1px solid var(--tod-line); padding: 9px 12px; font-weight: 600; }
.tod td { border: 1px solid var(--tod-line); padding: 9px 12px; vertical-align: top; }

/* --- Mobiel (Divi-tablet-breakpoint) --- */
@media (max-width: 782px) {
  .tod-hero__inner { grid-template-columns: 1fr; }
  .tod-compare { grid-template-columns: 1fr; }
  .tod-calc__grid { grid-template-columns: 1fr; }
  .tod-cta { display: block; text-align: center; }
}
