/* jaap-blog.css – blogoverzicht en artikelen in de nieuwe stijl (donkere kop, lichte leeskolom) */
.bl-head { position: relative; isolation: isolate; overflow: hidden; padding: 140px 0 70px; background: radial-gradient(120% 90% at 80% -10%, #143a63 0%, #0b2440 42%, #061424 100%); }
.bl-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(143,192,240,.16) 1.2px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(55% 70% at 80% 30%, #000, transparent 75%); mask-image: radial-gradient(55% 70% at 80% 30%, #000, transparent 75%); }
.bl-head h1 { margin: 0 0 14px; color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; max-width: 900px; }
.bl-head h1 .serif { color: #ffd6ad; }
.bl-head p { margin: 0; color: rgba(238,244,251,.9); font-size: 1.08rem; max-width: 640px; }
.bl-search { margin-top: 26px; max-width: 460px; position: relative; }
.bl-search input { width: 100%; height: 50px; border-radius: 999px; border: 1px solid rgba(143,192,240,.25); background: rgba(4,14,26,.5); color: #fff; font: 600 1rem "Manrope", sans-serif; padding: 0 20px 0 46px; outline: none; }
.bl-search input::placeholder { color: rgba(238,244,251,.6); }
.bl-search input:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(143,192,240,.16); }
.bl-search span { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--d-muted); }
.bl-list { background: var(--paper-2); color: var(--text); padding: 56px 0 110px; }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; text-decoration: none; color: inherit; box-shadow: var(--shadow-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.bl-card:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(11,29,46,.06), 0 24px 60px rgba(11,29,46,.12); }
.bl-card .date { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.bl-card h2 { margin: 10px 0 10px; color: var(--ink); font-size: 1.22rem; line-height: 1.25; letter-spacing: -.01em; }
.bl-card p { margin: 0 0 18px; color: var(--muted); font-size: 1rem; line-height: 1.55; font-weight: 500; flex: 1; }
.bl-card .more { font-weight: 700; font-size: .9rem; color: var(--ink); }
.bl-card .more::after { content: " →"; }
.bl-card.feat { grid-column: span 2; background: var(--ink); border-color: var(--ink); }
.bl-card.feat .date { color: var(--warm); }
.bl-card.feat h2 { color: #fff; font-size: 1.6rem; }
.bl-card.feat p { color: rgba(255,255,255,.86); }
.bl-card.feat .more { color: #fff; }
.bl-card[hidden] { display: none; }
.bl-empty { padding: 30px 0; color: var(--muted); }
.bl-empty[hidden] { display: none; }
@media (max-width: 1000px) { .bl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bl-grid { grid-template-columns: 1fr; } .bl-card.feat { grid-column: auto; } }

/* Artikel */
.art-head { padding: 136px 0 56px; background: radial-gradient(120% 90% at 80% -10%, #143a63 0%, #0b2440 42%, #061424 100%); }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.art-head .back { display: inline-block; margin-bottom: 22px; color: rgba(238,244,251,.85); text-decoration: none; font-weight: 600; font-size: .92rem; }
.art-head .back:hover { color: #fff; }
.art-head h1 { margin: 0 0 20px; color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.art-head .meta { display: flex; align-items: center; gap: 12px; color: rgba(238,244,251,.88); font-size: .92rem; font-weight: 500; }
.art-head .meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.2); }
.art { background: var(--paper); color: var(--text); padding: 56px 0 40px; }
.art-grid { width: min(1160px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; justify-content: center; }
.toc { position: sticky; top: 100px; align-self: start; font-size: .88rem; }
.toc b { display: block; margin-bottom: 10px; color: var(--ink); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); color: var(--muted); font-weight: 500; text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--blue); }
.toc:empty { display: none; }
@media (max-width: 1000px) { .art-grid { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

.post-body { font-size: 1.06rem; line-height: 1.75; min-width: 0; }
.post-body > :first-child { margin-top: 0; }
.post-body h2 { color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; margin: 2.2em 0 .6em; scroll-margin-top: 100px; }
.post-body h3 { color: var(--ink); font-size: 1.25rem; line-height: 1.3; margin: 1.8em 0 .5em; scroll-margin-top: 100px; }
.post-body h4, .post-body h5 { color: var(--ink); margin: 1.4em 0 .4em; }
.post-body p { margin: 0 0 1.1em; }
.post-body a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body strong { color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.post-body li { margin: .35em 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-1); display: block; overflow-x: auto; }
.post-body th, .post-body td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-body th { background: var(--paper-2); color: var(--ink); }
.post-body pre { margin: 1.4em 0; padding: 18px 20px; border-radius: 14px; background: var(--ink); color: #e6eef7; font: 500 .92rem/1.7 ui-monospace, Consolas, monospace; white-space: pre-wrap; overflow-x: auto; }
.post-body code { font-family: ui-monospace, Consolas, monospace; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.post-body figure { margin: 1.4em 0; }
.post-body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.post-body .wp-block-button__link { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-body .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,29,46,.2); }
.post-body .wp-block-button + .wp-block-button .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid #cfd7e1; }
/* Veelgestelde vragen (Rank Math FAQ) */
.post-body .rank-math-block { margin: 1.4em 0; }
.post-body .rank-math-list-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 0 0 12px; box-shadow: var(--shadow-1); }
.post-body .rank-math-question { margin: 0 0 6px; font-size: 1.08rem; }
.post-body .rank-math-answer p:last-child { margin-bottom: 0; }

/* Afsluiting artikel */
.art-cta { background: var(--paper); padding: 10px 0 70px; }
.art-cta .box { border-radius: 28px; padding: clamp(28px, 4vw, 48px); background: var(--ink); color: #fff; display: grid; grid-template-columns: 1.3fr auto; gap: 24px; align-items: center; }
.art-cta h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; line-height: 1.15; }
.art-cta h2 .serif { color: #ffd6ad; }
.art-cta p { margin: 0; color: rgba(255,255,255,.88); }
.art-cta .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.art-more { background: var(--paper-2); padding: 64px 0 100px; }
.art-more h2 { margin: 0 0 24px; color: var(--ink); font-size: 1.6rem; letter-spacing: -.02em; }
@media (max-width: 800px) { .art-cta .box { grid-template-columns: 1fr; } }

/* Rendementscalculator (overgenomen uit de oude site, rekenregels ongewijzigd) */
.rc { margin: 1.8em 0; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: linear-gradient(180deg, #102a47, #0b1d2e); color: #eef4fb; box-shadow: 0 30px 70px rgba(11,29,46,.25); }
.post-body .rc strong, .post-body .rc h3 { color: #fff; }
.rc__invoer { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 16px; }
.rc__veld { display: grid; gap: 6px; align-content: start; }
.rc__veld label { font-size: .88rem; font-weight: 700; color: #fff; }
.rc__eenheid { color: #8fc0f0; font-weight: 600; }
.rc__veld input { height: 46px; border-radius: 12px; border: 1px solid rgba(143,192,240,.25); background: rgba(4,14,26,.5); color: #fff; font: 600 1rem "Manrope", sans-serif; padding: 0 12px; outline: none; }
.rc__veld input:focus { border-color: #8fc0f0; box-shadow: 0 0 0 4px rgba(143,192,240,.16); }
.rc__uitleg { font-size: .78rem; line-height: 1.45; font-weight: 500; color: #b6c7d8; }
.rc__resultaat { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rc__uitkomst { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(143,192,240,.15); }
.rc__uitkomst-label { font-size: .82rem; font-weight: 700; color: #b6c7d8; }
.rc__uitkomst-waarde { font-size: 1.8rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.rc__uitkomst-uitleg { font-size: .76rem; line-height: 1.4; font-weight: 500; color: #b6c7d8; }
.rc__detail { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rc__detail div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); }
.rc__detail span { font-size: .78rem; font-weight: 500; color: #b6c7d8; }
.rc__detail strong { color: #fff; font-size: 1.05rem; }
.rc__melding { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(240,178,122,.1); border: 1px solid rgba(240,178,122,.3); color: #ffd6ad; font-size: .88rem; }
.rc__melding[hidden] { display: none; }
.rc__cta { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border-radius: 999px; background: #fff; color: #0b1d2e !important; font-weight: 800; text-decoration: none !important; }
.rc__cta::after { content: " →"; margin-left: 6px; }
.rc__voet { margin: 16px 0 0 !important; font-size: .8rem; font-weight: 500; color: #b6c7d8; }
.rc__lead { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.rc__lead[hidden] { display: none; }
.rc__lead-kop { margin: 0 0 6px !important; color: #fff !important; font-size: 1.2rem !important; }
.rc__lead-tekst { color: #d3deea; font-size: .95rem; }
.rc__form .rc__velden { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rc__form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; color: #fff; }
.rc__form input[type=email], .rc__form input[type=tel] { height: 46px; border-radius: 12px; border: 1px solid rgba(143,192,240,.25); background: rgba(4,14,26,.5); color: #fff; font: 600 1rem "Manrope", sans-serif; padding: 0 12px; outline: none; }
.rc__form .rc__akkoord { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-weight: 600; color: #d3deea; }
.rc__form .rc__akkoord input { margin-top: 4px; accent-color: #8fc0f0; }
.rc__form button { height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: #8fc0f0; color: #0b1d2e; font: 800 .98rem "Manrope", sans-serif; cursor: pointer; }
.rc__form-melding { margin: 10px 0 0 !important; font-size: .9rem; color: #ffd6ad; }
.rc__form-melding:empty { display: none; }
.rc .hp { position: absolute; left: -9999px; }
@media (max-width: 760px) { .rc__resultaat { grid-template-columns: 1fr; } .rc__detail { grid-template-columns: 1fr 1fr; } .rc__form .rc__velden { grid-template-columns: 1fr; } }

/* Telefoon: tabellen passen binnen het scherm in plaats van een afgekapte derde kolom (15-11). */
@media (max-width: 560px) {
  .post-body table { font-size: .8rem; }
  .post-body th, .post-body td { padding: 9px 8px; hyphens: auto; overflow-wrap: anywhere; }
}
