/* Blog: overzicht en artikelen, in de stijl van de rest van de site */
.blog-page { background: linear-gradient(180deg, var(--soft) 0%, #ffffff 100%); padding: 0 0 5rem; }
.hx-hero--blog { padding-bottom: 3rem; }
.hx-hero--blog .hx-hero__title { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); max-width: 22ch; margin-left: auto; margin-right: auto; }
.hx-hero--blog .hx-hero__lead { max-width: 40rem; margin-bottom: 1.4rem; }
.blog-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.1rem; color: var(--muted); font-size: .92rem; }
.blog-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.blog-meta span + span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; margin-right: .7rem; }
.blog-crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.blog-crumbs a { color: var(--green-dark); font-weight: 600; }

/* Overzicht */
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 1080px; margin: 0 auto; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 1.4rem; padding: 1.9rem; box-shadow: var(--shadow-card); color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; min-height: 100%; }
.blog-card:hover { transform: translateY(-3px); border-color: #a7f3d0; box-shadow: 0 18px 40px -18px rgb(15 23 42 / .25); }
.blog-card--featured { grid-column: 1 / -1; background: #ecfdf5; border-color: #a7f3d0; }
.blog-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.blog-chip { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-dark); background: #ecfdf5; border: 1px solid #a7f3d0; padding: .3rem .7rem; border-radius: 999px; }
.blog-card--featured .blog-chip { background: #fff; }
.blog-card__time { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.blog-card h2, .blog-card h3 { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 .7rem; }
.blog-card--featured h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); max-width: 26ch; }
.blog-card p { color: var(--muted); line-height: 1.65; margin: 0 0 1.4rem; }
.blog-card__more { margin-top: auto; font-weight: 600; color: var(--green-dark); }
.blog-card:hover .blog-card__more { text-decoration: underline; text-underline-offset: 3px; }

/* Artikel */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2rem; align-items: start; max-width: 1120px; margin: 0 auto; }
.blog-article { background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; padding: 3rem 3.25rem; box-shadow: var(--shadow-card); min-width: 0; color: var(--ink-2); font-size: 1.06rem; line-height: 1.8; }
.blog-article > p:first-child { font-size: 1.15rem; color: var(--ink); }
.blog-article h2 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); margin: 2.4rem 0 .8rem; scroll-margin-top: calc(var(--header-height) + 1.5rem); }
.blog-article p { margin: 0 0 1.05rem; }
.blog-article a { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.blog-article strong { color: var(--ink); }
.blog-article ul { list-style: none; padding: 0; margin: .3rem 0 1.2rem; display: grid; gap: .55rem; }
.blog-article li { position: relative; padding-left: 1.6rem; }
.blog-article li::before { content: ''; position: absolute; left: .3rem; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary-color); }
.blog-callout { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 1.1rem; padding: 1.4rem 1.6rem; margin: 1.6rem 0; }
.blog-callout p:last-child, .blog-callout ul:last-child { margin-bottom: 0; }
.blog-callout__title { font-family: var(--font-display); font-weight: 700; color: var(--green-dark); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .6rem !important; }
.blog-table-wrap { overflow-x: auto; margin: 1.4rem 0 1.6rem; border: 1px solid var(--line); border-radius: 1rem; }
.blog-table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 480px; }
.blog-table th, .blog-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.blog-table thead th { background: var(--soft); font-family: var(--font-display); color: var(--ink); font-size: .92rem; }
.blog-table tbody tr:last-child td { border-bottom: 0; }
.blog-table td:first-child { font-weight: 600; color: var(--ink); }
.blog-faq { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.blog-faq h2 { margin-top: 0; }
.blog-faq__item { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; margin-bottom: .75rem; }
.blog-faq__item h3 { font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); margin: 0 0 .35rem; line-height: 1.4; }
.blog-faq__item p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }

/* Zijkolom */
.blog-aside { position: sticky; top: calc(var(--header-height) + 1.5rem); display: grid; gap: 1rem; }
.blog-toc, .blog-aside__cta { background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.4rem; box-shadow: var(--shadow-card); }
.blog-toc__title { font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; }
.blog-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.blog-toc a { display: block; padding: .5rem .7rem; border-radius: 10px; color: var(--ink-2); font-size: .93rem; line-height: 1.4; border-left: 3px solid transparent; }
.blog-toc a:hover { background: var(--soft); color: var(--ink); }
.blog-aside__cta { background: #ecfdf5; border-color: #a7f3d0; }
.blog-aside__cta h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); margin: 0 0 .4rem; }
.blog-aside__cta p { font-size: .93rem; color: var(--muted); margin: 0 0 1rem; line-height: 1.55; }
.blog-aside__cta .btn { width: 100%; justify-content: center; }

/* Lees ook */
.blog-more { padding: 4.5rem 0 1rem; }
.blog-more .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-more .blog-card { padding: 1.5rem; }
.blog-more .blog-card h3 { font-size: 1.12rem; }

@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-aside { position: static; }
  .blog-toc { display: none; }
  .blog-more .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-article { padding: 1.6rem 1.25rem; border-radius: 1.25rem; font-size: 1.02rem; }
  .blog-article h2 { font-size: 1.3rem; margin-top: 2rem; }
  .blog-card { padding: 1.4rem; }
  .blog-page { padding-bottom: 3.5rem; }
}
.blog-page > .container, .blog-more > .container { padding-left: 1rem; padding-right: 1rem; }
.blog-grid--overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .blog-grid--overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .blog-grid--overview { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .blog-meta { font-size: .82rem; gap: .3rem .9rem; }
  .blog-meta span + span::before { margin-right: .55rem; }
  .blog-article > p:first-child { font-size: 1.06rem; }
  .hx-hero--blog .hx-hero__lead { font-size: 1rem; }
}
.blog-more .hx-head, .blog-more .blog-grid { max-width: 1080px; margin-left: auto; margin-right: auto; }
.blog-more .hx-head { margin-bottom: 2rem; }

/* ===== Blog v2: echte blog layout ===== */
.blog-page--index { padding-top: 0; }
.blog-head { padding: calc(var(--header-height) + 3.5rem) 0 2.5rem; background: radial-gradient(800px 400px at 15% 0%, #ecfdf5, transparent 70%), radial-gradient(700px 400px at 100% 0%, #eff6ff, transparent 70%); }
.blog-head__in { max-width: 1120px; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.blog-head__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); margin: .9rem 0 .8rem; max-width: 18ch; }
.blog-head__lead { color: var(--muted); font-size: 1.12rem; line-height: 1.6; max-width: 36rem; margin: 0; }
.pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink-2); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; cursor: pointer; transition: all .2s ease; }
.pill:hover { border-color: #a7f3d0; color: var(--green-dark); }
.pill.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; max-width: 1120px; margin: 1rem auto 0; }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 1.4rem; overflow: hidden; color: inherit; box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease; }
.post[hidden] { display: none; }
.post:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgb(15 23 42 / .3); }
.post__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.post__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.post:hover .post__img img { transform: scale(1.04); }
.post__body { padding: 1.4rem 1.5rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.post__meta { display: flex; align-items: center; gap: .8rem; font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.post__title { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 .6rem; }
.post:hover .post__title { color: var(--green-dark); }
.post__lead { color: var(--muted); font-size: .97rem; line-height: 1.6; margin: 0 0 1.2rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .87rem; color: var(--muted); }
.post__author { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); }
.post__author img { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); padding: 2px; }

.post--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.post--featured .post__img { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
.post--featured .post__body { padding: 2.4rem 2.6rem; justify-content: center; }
.post--featured .post__title { font-size: clamp(1.6rem, 1.1rem + 1.3vw, 2.2rem); line-height: 1.15; margin-bottom: .9rem; }
.post--featured .post__lead { font-size: 1.05rem; -webkit-line-clamp: 4; }
.post--featured .post__meta::before { content: 'Uitgelicht'; font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--ink); border-radius: 999px; padding: .3rem .7rem; }
.posts__empty { text-align: center; color: var(--muted); margin: 2rem 0; }

.follow { max-width: 1120px; margin: 3.5rem auto 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 1.5rem; padding: 2rem 2.4rem; }
.follow h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin: 0 0 .3rem; }
.follow p { color: var(--muted); margin: 0; }
.follow__btns { display: flex; gap: .7rem; flex-wrap: wrap; }

/* artikel cover */
.blog-cover { max-width: 860px; margin: 0 auto 2rem; border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.blog-cover img { width: 100%; height: auto; display: block; }
.blog-meta .post__author img { width: 26px; height: 26px; }
.posts--3 { margin-top: 0; }
.posts--3 .post__lead { -webkit-line-clamp: 2; }

@media (max-width: 960px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post--featured { grid-template-columns: 1fr; }
  .post--featured .post__img { aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
  .post--featured .post__body { padding: 1.6rem; }
  .posts--3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .posts { grid-template-columns: 1fr; gap: 1.25rem; }
  .blog-head { padding-top: calc(var(--header-height) + 2rem); }
  .follow { padding: 1.5rem; }
  .blog-cover { border-radius: 1rem; margin-bottom: 1.25rem; }
}
.blog-page--index > .container { padding-left: 1rem; padding-right: 1rem; }
.follow__dark { background: var(--ink); color: #fff; border: 0; } .follow__dark:hover { background: #1e293b; color: #fff; }
.post__meta { flex-wrap: wrap; } .post__meta span { white-space: nowrap; }
