/**
 * Nieuws en blog: overzicht en losse berichten (ontwerp C-Nieuws.dc.html).
 * Gebruikt alleen variabelen uit assets/css/tokens.css.
 */

/* ---------- Kop ---------- */

.bh-news-head { padding: 32px 0 48px; }
.bh-news-head__title { font-size: clamp(30px, 8vw, 48px); letter-spacing: -0.035em; }
.bh-news-head .bh-page-head__intro { margin-bottom: 28px; }

.bh-news-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.bh-news-tabs__tab {
	display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
	border-radius: var(--bh-radius-badge); background: var(--bh-white); font-size: 14px; font-weight: 700;
}
.bh-news-tabs__tab:hover { box-shadow: inset 0 0 0 2px var(--bh-accent); }
.bh-news-tabs__tab.is-active { background: var(--bh-accent); }

/* ---------- Indeling: inhoud + zijkolom ---------- */

.bh-news { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 48px; }
.bh-news__main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.bh-news__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.bh-news__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.bh-news__count { margin: 0; font-size: 15px; color: var(--bh-muted); }
.bh-news__count a { text-decoration: underline; }
.bh-news .nav-links { margin-top: 0; }

/* ---------- Berichtkaart ---------- */

.bh-post-card {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--bh-white); border-radius: var(--bh-radius-card); box-shadow: var(--bh-shadow-card);
}
.bh-post-card:hover { box-shadow: var(--bh-shadow-float); }
.bh-post-card:hover .bh-post-card__title { text-decoration: underline; text-decoration-color: var(--bh-accent); text-decoration-thickness: 3px; }
.bh-post-card__media {
	position: relative; display: block; height: 170px; margin: 8px; overflow: hidden; border-radius: var(--bh-radius-img);
}
.bh-post-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bh-post-card__media .bh-badge { position: absolute; left: 14px; top: 14px; font-size: 12px; }
.bh-post-card__credit {
	position: absolute; left: 14px; bottom: 12px; padding: 4px 8px; border-radius: var(--bh-r-small);
	background: var(--bh-white); font-size: 12px; font-weight: 600; opacity: .9;
}
.bh-post-card__credit a { color: inherit; }
.bh-post-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 10px 20px 20px; }
.bh-post-card__cat { margin: 0; font-size: 13px; font-weight: 700; color: var(--bh-green); }
.bh-post-card__title { font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; }
.bh-post-card__text { font-size: 15px; line-height: 1.6; color: var(--bh-muted); }
.bh-post-card__date { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--bh-muted); }
.bh-post-card__meta { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 14px; color: var(--bh-muted); }
.bh-post-card__avatar { width: 32px; height: 32px; flex: 0 0 auto; overflow: hidden; border-radius: 50%; background: var(--bh-sky); }
.bh-post-card__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Groot (uitgelicht) */
.bh-post-card--big { flex-direction: row; flex-wrap: wrap; }
.bh-post-card--big .bh-post-card__media { flex: 1 1 340px; height: auto; min-height: 340px; }
.bh-post-card--big .bh-post-card__body { flex: 1 1 300px; justify-content: center; gap: 14px; padding: 28px 32px; }
.bh-post-card--big .bh-post-card__title { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: var(--bh-tracking-tight); line-height: 1.2; }
.bh-post-card--big .bh-post-card__text { font-size: 16px; line-height: 1.65; }
@media (max-width: 640px) {
	.bh-post-card--big .bh-post-card__media { min-height: 220px; }
	.bh-post-card--big .bh-post-card__body { padding: 12px 20px 24px; }
}

/* ---------- Zijkolom ---------- */

.bh-news-box { background: var(--bh-white); border-radius: var(--bh-radius-card); box-shadow: var(--bh-shadow-card); padding: 24px; }
.bh-news-box__title { display: block; margin: 0 0 14px; font-size: 18px; font-weight: 800; }
label.bh-news-box__title { font-size: 16px; margin-bottom: 12px; }

.bh-news-search {
	display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px;
	border-radius: var(--bh-radius-btn); background: var(--bh-bg); color: var(--bh-muted);
}
.bh-news-search:focus-within { box-shadow: inset 0 0 0 2px var(--bh-ink); }
.bh-news-search input { width: 100%; border: 0; outline: none; background: transparent; font: inherit; font-size: 15px; color: var(--bh-ink); }

.bh-news-list { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.bh-news-list li { display: flex; align-items: flex-start; gap: 14px; }
.bh-news-list a { font-size: 15px; font-weight: 600; line-height: 1.45; }
.bh-news-list a:hover { text-decoration: underline; }
.bh-news-list__n {
	width: 30px; height: 30px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
	border-radius: 10px var(--bh-r-small) 10px var(--bh-r-small); font-size: 14px; font-weight: 800;
}

.bh-news-agenda { padding: 28px 24px 24px; border-radius: var(--bh-radius-block-alt); background: var(--bh-ink); color: var(--bh-white); }
.bh-news-agenda__item { display: flex; align-items: center; gap: 12px; color: var(--bh-white); font-size: 15px; font-weight: 600; }
.bh-news-agenda__item + .bh-news-agenda__item { margin-top: 14px; }
.bh-news-agenda__item:hover { color: var(--bh-white); text-decoration: underline; }
.bh-news-agenda__date {
	width: 48px; height: 48px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
	border-radius: var(--bh-radius-date); background: var(--bh-accent); color: var(--bh-ink); font-weight: 800; line-height: 1;
}
.bh-news-agenda__date span { margin-top: 2px; font-size: 10px; text-transform: uppercase; }

.bh-news-tip { padding: 24px; border-radius: var(--bh-radius-block); background: var(--bh-accent); }
.bh-news-tip .bh-news-box__title { margin-bottom: 8px; }
.bh-news-tip p { margin: 0 0 16px; font-size: 15px; }

/* ---------- Los bericht ---------- */

.bh-article__cat { margin-top: 18px; }
.bh-article__title { max-width: 900px; }
.bh-article { background: var(--bh-white); border-radius: var(--bh-radius-card); box-shadow: var(--bh-shadow-card); overflow: hidden; }
.bh-article__media { position: relative; margin: 8px; overflow: hidden; border-radius: var(--bh-radius-img); }
.bh-article__media img { width: 100%; }
.bh-article__content { padding: 32px clamp(20px, 4vw, 48px) 36px; font-size: 18px; line-height: 1.75; }
/* Melding boven een advertorial die de partner zelf heeft aangeleverd. */
.bh-article__notice {
	margin: 28px clamp(20px, 4vw, 48px) -8px; padding: 14px 18px; font-size: 15px; line-height: 1.55; color: #3E5368;
	background: var(--bh-bg); border-radius: var(--bh-radius-btn); box-shadow: inset 3px 0 0 var(--bh-accent);
}
/* Update in een artikel ([update datum="…"]…[/update]): dun geel randje, label "Update" met de datum in grijs ernaast, tekst eronder. */
.bh-update { margin: 0 0 1.6em; padding: 20px 24px; background: var(--bh-white); border: 2px solid var(--bh-accent); border-radius: 16px 4px 16px 4px; }
.bh-update p { margin: 0; }
.bh-update__kop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px !important; font-size: 14px; line-height: 1.4; }
.bh-update__kop time { font-weight: 600; color: var(--bh-muted); }
.bh-update__tekst { font-size: 17px; line-height: 1.65; }
.bh-update__label {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
	background: var(--bh-accent); border-radius: var(--bh-radius-badge); font-weight: 800; color: var(--bh-ink);
}
.bh-update__label .bh-icon { stroke-width: 2.5; }
.bh-article__content h2 { font-size: 26px; margin-top: 1.6em; }
.bh-article__content h3 { font-size: 21px; margin-top: 1.4em; }
.bh-article__content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; box-shadow: inset 4px 0 0 var(--bh-accent); font-weight: 600; }
.bh-article__content img { border-radius: var(--bh-radius-img); }
.bh-article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 clamp(20px, 4vw, 48px) 32px; list-style: none; }
.bh-article__more { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.bh-article__more > h2 { margin: 0; font-size: 26px; }
.bh-article__more .bh-news__grid { width: 100%; }
.bh-news-head .bh-post-card__avatar { background: var(--bh-white); }

/* Bovenaan een bericht: auteur, daaronder de feiten met icoontjes (canvas nieuwsupdates, 3A). */
.bh-article__meta { display: flex; flex-direction: column; gap: 12px; }
.bh-article__author { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 15px; }
.bh-article__author strong { font-weight: 700; }
.bh-article__author .bh-post-card__avatar { width: 40px; height: 40px; }
.bh-article__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--bh-muted); }
.bh-article__facts li { display: flex; align-items: center; gap: 6px; }
.bh-article__facts .is-update { color: var(--bh-ink); font-weight: 600; }

/* Advertentieplekken (module Advertenties) */
.bh-news__grid > .bh-ad { grid-column: 1 / -1; }
.bh-article__content .bh-ad { margin: 1.6em 0; font-size: 16px; line-height: 1.5; }
