/*
Theme Name: Disclaimer Website Voorbeeld
Theme URI: https://github.com/onlino/legal-base-kit
Template: legal-base
Author: Onlino
Description: Child-theme voor disclaimerwebsitevoorbeeld.nl (disclaimer voorbeeld + generator, Nederlands). Levert teal-palet + unieke content aan de Legal Base parent-engine.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: dwv
*/

/* ── Palet (teal / cyaan) ─ overschrijft de parent-tokens uit :root ──────── */
:root {
  --primary:       #0F172A;
  --primary-h:     #1E293B;
  --accent:        #0D9488;
  --accent-rgb:    13,148,136;
  --accent-2:      #14B8A6;
  --accent-2-rgb:  20,184,166;
  --accent-3:      #0F766E;
  --accent-3-rgb:  15,118,110;
  --accent-light:  #5EEAD4;
  --accent-bg:     #F0FDFA;
  --accent-bg-2:   #CCFBF1;
  --accent-bg-3:   #99F6E4;
  --accent-bg-soft:#F0FDFA;
  --accent-bg-alt: #ECFEFF;
}

/* ────────────────────────────────────────────────────────────────────────
   BLOG-CONTENT: tabellen, callouts en visuele blokken (Disclaimer voorbeeld)
   Token-gebaseerd: neemt automatisch het teal-palet over.
   ──────────────────────────────────────────────────────────────────────── */

/* Tabellen: nette header, zebra-rijen, afgeronde hoeken, mobiel scrollbaar */
:is(.post-content,.prose,.term-body) .table-wrap {
  overflow: hidden;
  margin: 36px 0;
  border: 1px solid var(--accent-bg-3);
  border-radius: 16px;
  box-shadow: 0 6px 24px -12px rgba(15,23,42,0.18), 0 1px 2px rgba(15,23,42,0.04);
}
:is(.post-content,.prose,.term-body) .table-wrap > table { margin: 0; }
@media (max-width: 560px) {
  :is(.post-content,.prose,.term-body) .table-wrap { overflow-x: auto; }
}
:is(.post-content,.prose,.term-body) table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15.5px;
  line-height: 1.55;
  min-width: 460px;
}
:is(.post-content,.prose,.term-body) thead th {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 15px 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
:is(.post-content,.prose,.term-body) thead th:first-child { border-top-left-radius: 16px; }
:is(.post-content,.prose,.term-body) thead th:last-child  { border-top-right-radius: 16px; }
:is(.post-content,.prose,.term-body) tbody td,
:is(.post-content,.prose,.term-body) tbody th {
  padding: 14px 20px;
  border-top: 1px solid var(--accent-bg-3);
  vertical-align: top;
}
:is(.post-content,.prose,.term-body) tbody th {
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  background: var(--accent-bg-2);
  white-space: nowrap;
  border-left: 3px solid var(--accent);
}
:is(.post-content,.prose,.term-body) tbody tr:nth-child(even) td { background: var(--accent-bg); }
:is(.post-content,.prose,.term-body) tbody tr:last-child td:first-child { border-bottom-left-radius: 16px; }
:is(.post-content,.prose,.term-body) tbody tr:last-child td:last-child  { border-bottom-right-radius: 16px; }
:is(.post-content,.prose,.term-body) tbody tr:hover td { background: var(--accent-bg-2); }
:is(.post-content,.prose,.term-body) tbody tr { transition: background .15s ease; }

/* Callout-blokken */
:is(.post-content,.prose,.term-body) .callout {
  display: flex;
  gap: 14px;
  margin: 30px 0;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--accent-bg-3);
  background: var(--accent-bg);
}
:is(.post-content,.prose,.term-body) .callout__icon { flex: none; font-size: 24px; line-height: 1.3; }
:is(.post-content,.prose,.term-body) .callout__body { flex: 1; }
:is(.post-content,.prose,.term-body) .callout__body > :first-child { margin-top: 0; }
:is(.post-content,.prose,.term-body) .callout__body > :last-child { margin-bottom: 0; }
:is(.post-content,.prose,.term-body) .callout strong { color: var(--primary); }
:is(.post-content,.prose,.term-body) .callout--tip      { background: #ECFDF5; border-color: #A7F3D0; }
:is(.post-content,.prose,.term-body) .callout--warning  { background: #FFF7ED; border-color: #FED7AA; }
:is(.post-content,.prose,.term-body) .callout--info     { background: var(--accent-bg-2); border-color: var(--accent-light); }

/* Homepage statblok (in feat-section, buiten .post-content) */
.feat-section .stat-row { display: flex; flex-wrap: wrap; gap: 18px; margin: 44px 0 0; }
.feat-section .stat-card {
  flex: 1 1 200px;
  padding: 26px 24px;
  border-radius: 16px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-bg-3);
  text-align: center;
}
.feat-section .stat-card__num {
  display: block; font-size: 40px; font-weight: 800;
  color: var(--accent-3); letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 8px;
}
.feat-section .stat-card__label { display: block; font-size: 15px; line-height: 1.45; color: #475569; }

/* Slot-CTA callout op homepage */
.section > .container > .callout {
  display: flex; gap: 16px; align-items: flex-start; margin: 0;
  padding: 24px 28px; border-radius: 16px;
  border: 1px solid var(--accent-light); background: var(--accent-bg-2);
}
.section > .container > .callout .callout__icon { font-size: 28px; line-height: 1.2; flex: none; }
.section > .container > .callout .callout__body > :first-child { margin-top: 0; }
.section > .container > .callout .callout__body > :last-child { margin-bottom: 0; }
.section > .container > .callout strong { color: var(--primary); }
.section > .container > .callout a { color: var(--accent-3); font-weight: 600; }
