/* ------------------------------------------------------------------
 * AHB Native — main stylesheet.
 *
 * Normalized from the original HTML references:
 *  - ahb-home-frontpage.html       (front-page layout)
 *  - ahb-projecten-overzicht.html (archive/series layout)
 *  - ahb-detail-*.html             (single/detail layout)
 *
 * Shared shell: .ahb-site / .ahb-side / .ahb-content / .mobilebar
 * Front page:   .ahb-home
 * Archive:      .ahb-series
 * Detail:       .ahb-detail
 * ------------------------------------------------------------------ */

:root {
	--ahb-ink: #111;
	--ahb-muted: #777;
	--ahb-bg: #fff;
	--ahb-bg-soft: #f7f7f7;
	--ahb-border: #eee;
	--ahb-side-width: 340px;
	--ahb-shadow: 12px 0 30px rgba(0, 0, 0, .08);
	--ahb-accent: #2d96cd;
	--ahb-accent-ink: #fff;
	--ahb-link: #2d96cd;
	--ahb-font-display: "Raleway", Arial, sans-serif;
	--ahb-font-body: "Roboto", Arial, sans-serif;
	--ahb-hero-heading-size: 34px;
	--ahb-hero-heading-line: 1.14;
	--ahb-pattern-lines-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='64' viewBox='0 0 640 64'%3E%3Cg fill='none' stroke='%232d96cd' stroke-linecap='round'%3E%3Cpath d='M-24 40 C 58 12 128 12 212 36 S 356 62 444 32 548 12 664 34' stroke-width='3' opacity='.7'/%3E%3Cpath d='M-24 52 C 74 32 162 34 238 48 S 370 60 462 42 548 28 664 46' stroke-width='2' opacity='.45'/%3E%3Cpath d='M64 15 H150 L178 30 H270 L304 18 H386 L420 34 H520 L560 20 H628' stroke-width='1.5' opacity='.28'/%3E%3C/g%3E%3C/svg%3E");
	--ahb-pattern-lines-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='64' viewBox='0 0 640 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-linecap='round'%3E%3Cpath d='M-24 40 C 58 12 128 12 212 36 S 356 62 444 32 548 12 664 34' stroke-width='3' opacity='.86'/%3E%3Cpath d='M-24 52 C 74 32 162 34 238 48 S 370 60 462 42 548 28 664 46' stroke-width='2' opacity='.56'/%3E%3Cpath d='M64 15 H150 L178 30 H270 L304 18 H386 L420 34 H520 L560 20 H628' stroke-width='1.5' opacity='.35'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--ahb-bg);
	font-family: var(--ahb-font-display);
	color: var(--ahb-ink);
}

.ahb-content,
.ahb-content p,
.ahb-content li,
.ahb-detail__article,
.ahb-detail__article p,
.ahb-detail__article li,
.ahb-card__excerpt,
.ahb-intro-grid p,
.ahb-flat p,
.ahb-flat li {
	font-family: var(--ahb-font-body);
}

h1, h2, h3, h4, h5, h6,
.ahb-side,
.ahb-side__menu,
.ahb-side__menu a,
.ahb-footer,
.ahb-footer h3,
.ahb-footer a,
.ahb-tag,
.ahb-pill,
.ahb-button,
.ahb-back,
.mobilebar {
	font-family: var(--ahb-font-display);
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--ahb-ink);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 12px;
	background: var(--ahb-ink);
	color: #fff;
	padding: 8px 12px;
	z-index: 100;
}
.skip-link:focus {
	left: 12px;
}

/* ------------------------------------------------------------------
 * Shell — sidebar + main content + mobilebar
 * ------------------------------------------------------------------ */

.ahb-shell--series,
.ahb-shell--detail {
	background: var(--ahb-bg-soft);
}

.ahb-site {
	min-height: 100vh;
}

.ahb-side {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: var(--ahb-side-width);
	background: #fff;
	color: var(--ahb-ink);
	z-index: 20;
	box-shadow: none;
	border-right: 1px solid #f0f0f0;
	display: flex;
	flex-direction: column;
}

.ahb-side__brand {
	padding: 28px 48px 30px;
}

.ahb-side__logo {
	height: auto;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 0;
	color: var(--ahb-ink);
	text-decoration: none;
	text-align: left;
}
.ahb-side__logo img,
.ahb-side__logo .ahb-side__logo-img,
.ahb-side__logo .custom-logo {
	display: block;
	margin: 0;
	max-width: 132px;
	max-height: 92px;
	height: auto;
	width: auto;
	object-fit: contain;
}
.ahb-side__logo-text {
	font-weight: 700;
	font-size: 18px;
}

.ahb-side__nav {
	padding: 0 48px;
}

.ahb-side__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ahb-side__menu li,
.ahb-side__nav .menu-item {
	margin: 0;
}
.ahb-side__menu a,
.ahb-side__nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	color: #666;
	text-decoration: none;
	font-size: 26px;
	line-height: 1.38;
	font-weight: 400;
	letter-spacing: -.01em;
	padding: 6px 0;
	border-radius: 0;
	transition: color .16s ease, transform .16s ease;
}
.ahb-side__menu a::after,
.ahb-side__nav a::after {
	content: "›";
	opacity: 0;
	color: var(--ahb-accent);
	font-size: 28px;
	line-height: 1;
	transform: translateX(-8px);
	transition: opacity .16s ease, transform .16s ease;
}
.ahb-side__menu a:hover,
.ahb-side__nav a:hover,
.ahb-side__menu a:focus,
.ahb-side__nav a:focus {
	background-color: transparent;
	color: var(--ahb-ink);
	transform: translateX(4px);
}
.ahb-side__menu a:hover::after,
.ahb-side__nav a:hover::after,
.ahb-side__menu a:focus::after,
.ahb-side__nav a:focus::after {
	opacity: 1;
	transform: translateX(0);
}
.ahb-side__menu .current-menu-item > a,
.ahb-side__nav .current-menu-item > a,
.ahb-side__menu a.active {
	background-color: transparent;
	color: var(--ahb-ink);
	text-decoration: none;
}

.ahb-side__foot {
	margin-top: auto;
	padding: 34px 48px 54px;
	color: var(--ahb-muted);
	font-size: 13px;
	line-height: 1.5;
}
.ahb-side__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	background: transparent;
	color: #666;
	text-decoration: none;
	font-family: var(--ahb-font-display);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.2;
	text-align: left;
	padding: 0;
	border-radius: 0;
	transition: color .16s ease, transform .16s ease;
}
.ahb-side__cta::after {
	content: "›";
	opacity: 0;
	color: var(--ahb-accent);
	font-size: 28px;
	line-height: 1;
	transform: translateX(-8px);
	transition: opacity .16s ease, transform .16s ease;
}
.ahb-side__cta:hover,
.ahb-side__cta:focus {
	background: transparent;
	color: var(--ahb-ink);
	transform: translateX(4px);
}
.ahb-side__cta:hover::after,
.ahb-side__cta:focus::after {
	opacity: 1;
	transform: translateX(0);
}
.ahb-side__contact {
	list-style: none;
	margin: 54px 0 0;
	padding: 0;
}
.ahb-side__contact li {
	margin: 10px 0;
}
.ahb-side__contact a {
	display: block;
	padding: 0;
	color: #666;
	text-decoration: none;
	font-size: 17px;
	line-height: 1.25;
	font-weight: 400;
}

.ahb-content {
	margin-left: var(--ahb-side-width);
	min-height: 100vh;
}

.mobilebar {
	display: none;
}
.mobilebar__logo img {
	max-height: 46px;
	width: auto;
}
.mobilebar__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 0;
	color: var(--ahb-ink);
	cursor: pointer;
}
.mobilebar__toggle-icon,
.mobilebar__toggle-icon::before,
.mobilebar__toggle-icon::after {
	display: block;
	width: 24px;
	height: 1.5px;
	background: currentColor;
	transition: transform .18s ease, opacity .18s ease;
}
.mobilebar__toggle-icon {
	position: relative;
}
.mobilebar__toggle-icon::before,
.mobilebar__toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
}
.mobilebar__toggle-icon::before {
	top: -7px;
}
.mobilebar__toggle-icon::after {
	top: 7px;
}
.mobilebar__toggle[aria-expanded="true"] .mobilebar__toggle-icon {
	background: transparent;
}
.mobilebar__toggle[aria-expanded="true"] .mobilebar__toggle-icon::before {
	top: 0;
	transform: rotate(45deg);
}
.mobilebar__toggle[aria-expanded="true"] .mobilebar__toggle-icon::after {
	top: 0;
	transform: rotate(-45deg);
}
.mobilebar__cta {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
	color: var(--ahb-ink);
	font-family: var(--ahb-font-display);
	font-size: 12px;
	line-height: 1.15;
	font-weight: 500;
	text-align: right;
	text-decoration: none;
}
.mobilebar__cta::after {
	content: "›";
	color: var(--ahb-accent);
	font-size: 20px;
	line-height: 1;
}

/* ------------------------------------------------------------------
 * Front page (AHB)
 * ------------------------------------------------------------------ */

.ahb-home {
	color: var(--ahb-ink);
	background: var(--ahb-bg);
}

.ahb-home__top {
	display: none;
	height: 58px;
	background: var(--ahb-bg);
	justify-content: flex-end;
	align-items: center;
	padding: 0 34px;
	gap: 26px;
	border-bottom: 1px solid var(--ahb-border);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}
.ahb-home__top a,
.ahb-home__top-menu a {
	color: var(--ahb-ink);
	text-decoration: none;
}
.ahb-home__top-menu {
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ahb-home__hero {
	min-height: 648px;
	background: #222;
	display: flex;
	align-items: flex-end;
	padding: 54px;
	color: #fff;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.ahb-home__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--hero, none) center/cover no-repeat;
	transition: transform 3.2s ease-in-out;
	will-change: transform;
	z-index: -2;
}
.ahb-home__hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(35deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .05) 68%);
	pointer-events: none;
	z-index: -1;
}
.ahb-home__hero:hover::before,
.ahb-home__hero:focus::before,
.ahb-home__hero:focus-within::before {
	transform: scale(1.04);
}
.ahb-home__hero--compact {
	min-height: 520px;
}
.ahb-home__hero--tall {
	min-height: 720px;
}
.ahb-home__hero--align-center {
	justify-content: center;
	text-align: center;
}
.ahb-home__hero--align-center > div {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ahb-home__hero h1,
.ahb-home__hero h2,
.ahb-home__hero h3,
.ahb-home__hero h4 {
	max-width: 850px;
	margin: 18px 0 0;
	font-weight: 500;
	letter-spacing: 0;
	color: #fff;
}
.ahb-home__hero p {
	max-width: 760px;
	margin: 16px 0 0;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
	color: #fff;
}

.ahb-heading-size-h1 {
	font-size: var(--ahb-hero-heading-size);
	line-height: var(--ahb-hero-heading-line);
}
.ahb-heading-size-h2 {
	font-size: 36px;
	line-height: 1.14;
}
.ahb-heading-size-h3 {
	font-size: 28px;
	line-height: 1.24;
}
.ahb-heading-size-h4 {
	font-size: 22px;
	line-height: 1.3;
}

.ahb-tag {
	display: inline-block;
	background: var(--ahb-accent);
	color: #fff;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	border-radius: 0;
}

.ahb-news-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}
.ahb-news-row--double {
	grid-template-columns: 3fr 2fr;
}
.ahb-news-row--split {
	gap: 3px;
	background: #fff;
}

.ahb-home__divider {
	height: 3px;
	background: #fff;
	width: 100%;
}

.ahb-news-card {
	position: relative;
	min-height: 600px;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	display: flex;
	align-items: flex-end;
	padding: 34px;
	background: #222 center/cover;
	isolation: isolate;
}
.ahb-news-row--double > .ahb-news-card {
	min-height: 730px;
}
.ahb-news-card--small {
	min-height: 364px;
}
.ahb-news-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: inherit;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: transform 2.4s ease-in-out;
	will-change: transform;
	z-index: -2;
}
.ahb-news-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .24) 46%, rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
	z-index: -1;
}
.ahb-news-card:hover::before,
.ahb-news-card:focus::before,
.ahb-news-card:focus-within::before {
	transform: scale(1.045);
}
.ahb-news-card > div {
	position: relative;
	z-index: 2;
}
.ahb-news-card h3 {
	margin: 12px 0 0;
	font-size: var(--ahb-hero-heading-size);
	line-height: var(--ahb-hero-heading-line);
	font-weight: 500;
	color: #fff;
}
.ahb-news-card--small h3 {
	font-size: var(--ahb-hero-heading-size);
}
.ahb-news-row__stack {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 0;
}

/* ------------------------------------------------------------------
 * Sections (shared)
 * ------------------------------------------------------------------ */

.ahb-section {
	padding: 48px 44px;
}
.ahb-section--dark {
	background: var(--ahb-bg);
	color: var(--ahb-ink);
}
.ahb-section--dark p {
	color: #444;
}
.ahb-section h2 {
	margin: 0 0 30px;
	font-size: 36px;
	font-weight: 700;
}

/* ------------------------------------------------------------------
 * Gutenberg AHB blocks
 * ------------------------------------------------------------------ */

.ahb-block-section {
	padding: 70px 44px;
	width: 100%;
}
.ahb-footer-wave {
	height: 86px;
	margin-left: var(--ahb-side-width);
	margin-bottom: -1px;
	background-image: url("../images/footer-wave-blue.png");
	background-position: center bottom;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	pointer-events: none;
}
.ahb-block-section--spacing-compact {
	padding-top: 44px;
	padding-bottom: 44px;
}
.ahb-block-section--spacing-spacious {
	padding-top: 96px;
	padding-bottom: 96px;
}
.ahb-block-section--white {
	background: var(--ahb-bg);
	color: var(--ahb-ink);
}
.ahb-block-section--gray {
	background: var(--ahb-bg-soft);
	color: var(--ahb-ink);
}
.ahb-block-section--blue {
	background: var(--ahb-accent);
	color: #fff;
}
.ahb-block-section--black {
	background: var(--ahb-ink);
	color: #fff;
}
.ahb-block-section--white h1,
.ahb-block-section--white h2,
.ahb-block-section--white h3,
.ahb-block-section--white h4,
.ahb-block-section--white h5,
.ahb-block-section--white h6,
.ahb-block-section--gray h1,
.ahb-block-section--gray h2,
.ahb-block-section--gray h3,
.ahb-block-section--gray h4,
.ahb-block-section--gray h5,
.ahb-block-section--gray h6 {
	color: var(--ahb-ink);
}
.ahb-block-section--white p,
.ahb-block-section--white li,
.ahb-block-section--gray p,
.ahb-block-section--gray li {
	color: #333;
}
.ahb-block-section--blue h1,
.ahb-block-section--blue h2,
.ahb-block-section--blue h3,
.ahb-block-section--blue h4,
.ahb-block-section--blue h5,
.ahb-block-section--blue h6,
.ahb-block-section--black h1,
.ahb-block-section--black h2,
.ahb-block-section--black h3,
.ahb-block-section--black h4,
.ahb-block-section--black h5,
.ahb-block-section--black h6 {
	color: #fff;
}
.ahb-block-section--blue a,
.ahb-block-section--black a {
	color: inherit;
}
.ahb-block-section--blue p,
.ahb-block-section--blue li,
.ahb-block-section--black p,
.ahb-block-section--black li {
	color: rgba(255, 255, 255, .88);
}
.ahb-block-section__inner {
	max-width: 940px;
	margin: 0 auto;
}
.ahb-block-section--wide .ahb-block-section__inner {
	max-width: 1180px;
}
.ahb-block-section h1,
.ahb-block-section h2,
.ahb-block-section h3,
.ahb-block-section h4 {
	margin-top: 0;
	font-size: 36px;
	line-height: 1.14;
	font-weight: 500;
}
.ahb-block-section p {
	font-family: var(--ahb-font-body);
	font-size: 20px;
	line-height: 1.72;
}
.ahb-block-section p a[href^="/"],
.ahb-block-section li a[href^="/"],
.ahb-block-section p a[href^="https://ahbbouw.nl"],
.ahb-block-section li a[href^="https://ahbbouw.nl"],
.ahb-detail__article p a[href^="/"],
.ahb-detail__article li a[href^="/"],
.ahb-detail__article p a[href^="https://ahbbouw.nl"],
.ahb-detail__article li a[href^="https://ahbbouw.nl"],
.ahb-flat p a[href^="/"],
.ahb-flat li a[href^="/"],
.ahb-flat p a[href^="https://ahbbouw.nl"],
.ahb-flat li a[href^="https://ahbbouw.nl"] {
	color: var(--ahb-link);
	text-decoration-line: underline;
	text-decoration-color: var(--ahb-link);
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
	transition: text-underline-offset .16s ease, color .16s ease, text-decoration-color .16s ease;
}
.ahb-block-section p a[href^="/"]:hover,
.ahb-block-section p a[href^="/"]:focus,
.ahb-block-section li a[href^="/"]:hover,
.ahb-block-section li a[href^="/"]:focus,
.ahb-block-section p a[href^="https://ahbbouw.nl"]:hover,
.ahb-block-section p a[href^="https://ahbbouw.nl"]:focus,
.ahb-block-section li a[href^="https://ahbbouw.nl"]:hover,
.ahb-block-section li a[href^="https://ahbbouw.nl"]:focus,
.ahb-detail__article p a[href^="/"]:hover,
.ahb-detail__article p a[href^="/"]:focus,
.ahb-detail__article li a[href^="/"]:hover,
.ahb-detail__article li a[href^="/"]:focus,
.ahb-detail__article p a[href^="https://ahbbouw.nl"]:hover,
.ahb-detail__article p a[href^="https://ahbbouw.nl"]:focus,
.ahb-detail__article li a[href^="https://ahbbouw.nl"]:hover,
.ahb-detail__article li a[href^="https://ahbbouw.nl"]:focus,
.ahb-flat p a[href^="/"]:hover,
.ahb-flat p a[href^="/"]:focus,
.ahb-flat li a[href^="/"]:hover,
.ahb-flat li a[href^="/"]:focus,
.ahb-flat p a[href^="https://ahbbouw.nl"]:hover,
.ahb-flat p a[href^="https://ahbbouw.nl"]:focus,
.ahb-flat li a[href^="https://ahbbouw.nl"]:hover,
.ahb-flat li a[href^="https://ahbbouw.nl"]:focus {
	color: var(--ahb-link);
	text-decoration-color: var(--ahb-link);
	text-underline-offset: 3px;
}
.ahb-block-section--font-heading,
.ahb-block-section--font-heading * {
	font-family: var(--ahb-font-display);
}
.ahb-block-section--font-body,
.ahb-block-section--font-body * {
	font-family: var(--ahb-font-body);
}
.ahb-block-section--weight-300,
.ahb-block-section--weight-300 * {
	font-weight: 300;
}
.ahb-block-section--weight-400,
.ahb-block-section--weight-400 * {
	font-weight: 400;
}
.ahb-block-section--weight-500,
.ahb-block-section--weight-500 * {
	font-weight: 500;
}
.ahb-block-section--weight-600,
.ahb-block-section--weight-600 * {
	font-weight: 600;
}
.ahb-block-section--weight-700,
.ahb-block-section--weight-700 * {
	font-weight: 700;
}

/* ------------------------------------------------------------------
 * Events grid (frontpage)
 * ------------------------------------------------------------------ */

.ahb-events {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.ahb-event {
	background: #f4f4f4;
	min-height: 190px;
	padding: 22px;
	position: relative;
	border-bottom: 5px solid #ddd;
}
.ahb-event--active {
	background: #fff;
	color: var(--ahb-ink);
	border-color: var(--ahb-ink);
}
.ahb-event__status {
	position: absolute;
	right: 18px;
	top: 18px;
	background: var(--ahb-ink);
	color: #fff;
	font-size: 10px;
	font-weight: 900;
	padding: 6px 9px;
	text-transform: uppercase;
}
.ahb-event__date {
	font-size: 44px;
	font-weight: 900;
	line-height: 1;
}
.ahb-event__month {
	color: var(--ahb-ink);
	font-weight: 900;
	text-transform: uppercase;
}
.ahb-event__track {
	margin-top: 34px;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}
.ahb-event__name {
	margin-top: 5px;
	color: var(--ahb-muted);
}
.ahb-event--active .ahb-event__name {
	color: #444;
}

/* ------------------------------------------------------------------
 * App row / CTA bar (frontpage + archive)
 * ------------------------------------------------------------------ */

.ahb-app-row {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 28px;
	align-items: center;
	background: #f7f7f7;
	color: var(--ahb-ink);
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
}
.ahb-app-row h2 {
	margin-bottom: 10px;
}

.ahb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 18px;
	background: var(--ahb-accent);
	color: #fff;
	text-decoration: none;
	padding: 17px 24px;
	font-size: 15px;
	line-height: 1.15;
	font-weight: 400;
	text-transform: none;
	border-radius: 0;
	border: 1px solid var(--ahb-accent);
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, text-underline-offset .16s ease;
}
.ahb-block-section p .ahb-button,
.ahb-block-section li .ahb-button,
.ahb-detail__article p .ahb-button,
.ahb-detail__article li .ahb-button,
.ahb-flat p .ahb-button,
.ahb-flat li .ahb-button,
.ahb-cta-button-wrap .ahb-button {
	color: #fff;
	text-decoration: none;
	text-decoration-line: none;
	text-decoration-color: transparent;
}
.ahb-button + .ahb-button {
	margin-left: 16px;
}
.ahb-button--primary,
.ahb-button--blue,
.ahb-button--dark {
	background: var(--ahb-accent);
	border-color: var(--ahb-accent);
	color: #fff;
}
.ahb-button:not(.ahb-button--secondary):not(.ahb-button--outline):not(.ahb-button--link),
.ahb-button--primary,
.ahb-button--blue,
.ahb-button--dark,
.ahb-block-section p a.ahb-button:not(.ahb-button--secondary):not(.ahb-button--outline):not(.ahb-button--link),
.ahb-block-section li a.ahb-button:not(.ahb-button--secondary):not(.ahb-button--outline):not(.ahb-button--link),
.ahb-detail__article p a.ahb-button:not(.ahb-button--secondary):not(.ahb-button--outline):not(.ahb-button--link),
.ahb-detail__article li a.ahb-button:not(.ahb-button--secondary):not(.ahb-button--outline):not(.ahb-button--link),
.ahb-flat p a.ahb-button:not(.ahb-button--secondary):not(.ahb-button--outline):not(.ahb-button--link),
.ahb-flat li a.ahb-button:not(.ahb-button--secondary):not(.ahb-button--outline):not(.ahb-button--link),
.ahb-cta-button-wrap a.ahb-button:not(.ahb-button--secondary):not(.ahb-button--outline):not(.ahb-button--link) {
	color: #fff !important;
	text-decoration: none !important;
	text-decoration-line: none !important;
	text-decoration-color: transparent !important;
}
.ahb-button:hover,
.ahb-button:focus,
.ahb-button--primary:hover,
.ahb-button--primary:focus,
.ahb-button--blue:hover,
.ahb-button--blue:focus,
.ahb-button--dark:hover,
.ahb-button--dark:focus {
	background: var(--ahb-accent);
	border-color: var(--ahb-accent);
	color: #fff !important;
	transform: translateY(-1px);
}
.ahb-button--secondary,
.ahb-button--outline {
	background: transparent;
	border-color: var(--ahb-accent);
	color: var(--ahb-ink);
}
.ahb-button--secondary:hover,
.ahb-button--secondary:focus,
.ahb-button--outline:hover,
.ahb-button--outline:focus {
	background: var(--ahb-accent);
	border-color: var(--ahb-accent);
	color: #fff;
	transform: translateY(-1px);
}
.ahb-button--link,
.ahb-button + .ahb-button {
	min-height: 0;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--ahb-link);
	text-decoration: none;
	text-decoration-line: none;
	text-decoration-color: transparent;
}
.ahb-button--link:hover,
.ahb-button--link:focus,
.ahb-button + .ahb-button:hover,
.ahb-button + .ahb-button:focus {
	background: transparent;
	color: var(--ahb-link);
	text-decoration: none;
	text-decoration-line: none;
	text-decoration-color: transparent;
	transform: none;
}
.ahb-cta-button-wrap {
	margin-top: 24px;
}
.ahb-block-section .wp-block-button__link,
.ahb-detail__article .wp-block-button__link,
.ahb-flat .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 14px 20px;
	border-radius: 0;
	background: var(--ahb-accent);
	border: 1px solid var(--ahb-accent);
	color: #fff;
	font-family: var(--ahb-font-display);
	font-size: 15px;
	line-height: 1.15;
	font-weight: 400;
	text-transform: none;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, text-underline-offset .16s ease;
}
.ahb-block-section .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.ahb-detail__article .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.ahb-flat .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	color: #fff !important;
	text-decoration: none !important;
	text-decoration-line: none !important;
	text-decoration-color: transparent !important;
}
.ahb-block-section .wp-block-button.is-style-outline .wp-block-button__link,
.ahb-detail__article .wp-block-button.is-style-outline .wp-block-button__link,
.ahb-flat .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: var(--ahb-accent);
	color: var(--ahb-ink);
}
.ahb-block-section .wp-block-button__link:hover,
.ahb-block-section .wp-block-button__link:focus,
.ahb-detail__article .wp-block-button__link:hover,
.ahb-detail__article .wp-block-button__link:focus,
.ahb-flat .wp-block-button__link:hover,
.ahb-flat .wp-block-button__link:focus,
.ahb-block-section .wp-block-button.is-style-outline .wp-block-button__link:hover,
.ahb-block-section .wp-block-button.is-style-outline .wp-block-button__link:focus,
.ahb-detail__article .wp-block-button.is-style-outline .wp-block-button__link:hover,
.ahb-detail__article .wp-block-button.is-style-outline .wp-block-button__link:focus,
.ahb-flat .wp-block-button.is-style-outline .wp-block-button__link:hover,
.ahb-flat .wp-block-button.is-style-outline .wp-block-button__link:focus {
	background: var(--ahb-accent);
	border-color: var(--ahb-accent);
	color: #fff;
	transform: translateY(-1px);
}
.ahb-block-section .wp-block-buttons .wp-block-button + .wp-block-button .wp-block-button__link,
.ahb-detail__article .wp-block-buttons .wp-block-button + .wp-block-button .wp-block-button__link,
.ahb-flat .wp-block-buttons .wp-block-button + .wp-block-button .wp-block-button__link {
	min-height: 0;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--ahb-link);
	text-decoration: none;
	text-decoration-line: none;
	text-decoration-color: transparent;
}
.ahb-block-section .wp-block-buttons .wp-block-button + .wp-block-button .wp-block-button__link:hover,
.ahb-block-section .wp-block-buttons .wp-block-button + .wp-block-button .wp-block-button__link:focus,
.ahb-detail__article .wp-block-buttons .wp-block-button + .wp-block-button .wp-block-button__link:hover,
.ahb-detail__article .wp-block-buttons .wp-block-button + .wp-block-button .wp-block-button__link:focus,
.ahb-flat .wp-block-buttons .wp-block-button + .wp-block-button .wp-block-button__link:hover,
.ahb-flat .wp-block-buttons .wp-block-button + .wp-block-button .wp-block-button__link:focus {
	background: transparent;
	color: var(--ahb-link);
	text-decoration: none;
	text-decoration-line: none;
	text-decoration-color: transparent;
	transform: none;
}

/* ------------------------------------------------------------------
 * Standings (frontpage "Over AHB Bouw")
 * ------------------------------------------------------------------ */

.ahb-standings {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.ahb-table {
	background: #fff;
	color: var(--ahb-ink);
}
.ahb-table h3 {
	margin: 0;
	padding: 18px 20px;
	background: #f4f4f4;
	color: var(--ahb-ink);
	text-transform: uppercase;
}
.ahb-rank {
	display: grid;
	grid-template-columns: 54px 1fr 70px;
	gap: 16px;
	align-items: center;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
}
.ahb-rank b {
	font-size: 24px;
}

/* ------------------------------------------------------------------
 * Media grid (frontpage projectfotos)
 * ------------------------------------------------------------------ */

.ahb-media-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.ahb-media {
	min-height: 145px;
	background: #222 center/cover;
	display: flex;
	align-items: flex-end;
	text-decoration: none;
	color: #fff;
	padding: 14px;
	font-weight: 800;
	position: relative;
}
.ahb-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, .76), transparent);
}
.ahb-media span {
	position: relative;
	z-index: 2;
}

/* ------------------------------------------------------------------
 * Series (archive) — hero + intro + cards
 * ------------------------------------------------------------------ */

.ahb-series {
	background: var(--ahb-bg-soft);
	color: var(--ahb-ink);
	min-height: 100vh;
}

.ahb-series-hero {
	min-height: 520px;
	background: var(--ahb-bg);
	color: var(--ahb-ink);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 72px 44px 58px;
	position: relative;
}
.ahb-series-hero::before {
	content: "";
	display: block;
	height: 320px;
	max-width: 980px;
	background: var(--hero, none) center/cover #ddd;
	margin-bottom: 42px;
}
.ahb-series-hero--plain::before {
	display: none;
}
.ahb-series-hero__kicker {
	color: var(--ahb-ink);
	font-size: 16px;
	font-weight: 900;
	text-transform: uppercase;
}
.ahb-series-hero__title {
	max-width: 940px;
	margin: 26px 0 34px;
	font-size: clamp(2.2rem, 4vw, 3.8rem);
	line-height: 1.05;
	font-weight: 700;
}

.ahb-anchor-row {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	text-transform: uppercase;
	font-weight: 700;
}
.ahb-anchor-row a {
	color: var(--ahb-ink);
	text-decoration: none;
}

.ahb-intro-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 34px;
	align-items: center;
	background: #fff;
}
.ahb-intro-grid h2 {
	margin: 0 0 18px;
	font-size: 42px;
	line-height: 1.04;
	font-weight: 700;
}
.ahb-intro-grid p {
	font-size: 18px;
	line-height: 1.6;
	color: #444;
}

.ahb-feature-img {
	min-height: 420px;
	background: #ddd center/cover;
}

/* Cards (project archive) */
.ahb-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.ahb-card {
	background: #fff;
	color: var(--ahb-ink);
	text-decoration: none;
	display: flex;
	flex-direction: column;
	min-height: 410px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
	overflow: hidden;
}
.ahb-card__img {
	position: relative;
	overflow: hidden;
	height: 230px;
	background: #ddd center/cover;
	isolation: isolate;
}
.ahb-card__img::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: inherit;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: transform 2.4s ease-in-out;
	will-change: transform;
	z-index: -1;
}
.ahb-card:hover .ahb-card__img,
.ahb-card:focus .ahb-card__img,
.ahb-card:focus-within .ahb-card__img {
	transform: none;
}
.ahb-card:hover .ahb-card__img::before,
.ahb-card:focus .ahb-card__img::before,
.ahb-card:focus-within .ahb-card__img::before {
	transform: scale(1.045);
}
.ahb-card__body {
	padding: 24px;
}
.ahb-card__title {
	margin: 14px 0 8px;
	font-size: 25px;
	line-height: 1.28;
	font-weight: 500;
}
.ahb-card__excerpt {
	font-size: 15px;
	margin: 0;
	color: #555;
}

.ahb-pill {
	display: inline-block;
	background: transparent;
	color: var(--ahb-accent);
	padding: 0 0 4px;
	font-size: 10px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .08em;
	line-height: 1;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
}

/* News list (archive) */
.ahb-news-list {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 22px;
}
.ahb-lead-news {
	min-height: 430px;
	background: linear-gradient(0deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, .05)), var(--hero, none) center/cover, #222;
	color: #fff;
	text-decoration: none;
	display: flex;
	align-items: flex-end;
	padding: 34px;
}
.ahb-lead-news h3 {
	font-size: 38px;
	margin: 14px 0 0;
	line-height: 1.18;
	font-weight: 700;
	color: #fff;
}
.ahb-side-news {
	display: grid;
	gap: 18px;
}
.ahb-mini-news {
	display: grid;
	grid-template-columns: 180px 1fr;
	background: #fff;
	color: var(--ahb-ink);
	text-decoration: none;
	overflow: hidden;
}
.ahb-mini-news__img {
	position: relative;
	overflow: hidden;
	background: #ddd center/cover;
	min-height: 138px;
	isolation: isolate;
}
.ahb-mini-news__img::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: inherit;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: transform 2.4s ease-in-out;
	will-change: transform;
	z-index: -1;
}
.ahb-mini-news:hover .ahb-mini-news__img,
.ahb-mini-news:focus .ahb-mini-news__img,
.ahb-mini-news:focus-within .ahb-mini-news__img {
	transform: none;
}
.ahb-mini-news:hover .ahb-mini-news__img::before,
.ahb-mini-news:focus .ahb-mini-news__img::before,
.ahb-mini-news:focus-within .ahb-mini-news__img::before {
	transform: scale(1.045);
}
.ahb-mini-news__body {
	padding: 20px;
}
.ahb-mini-news__title {
	margin: 8px 0 0;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
}

.ahb-cta {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 28px;
	align-items: center;
	background: #f7f7f7;
	color: var(--ahb-ink);
	border-top: 1px solid #e7e7e7;
}

/* ------------------------------------------------------------------
 * Detail (single)
 * ------------------------------------------------------------------ */

.ahb-detail {
	background: var(--ahb-bg-soft);
	color: var(--ahb-ink);
}

.ahb-detail__hero {
	min-height: 324px;
	background-color: #222;
	background-image: linear-gradient(0deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .22) 44%, rgba(0, 0, 0, 0) 100%), var(--hero, none);
	background-position: center, center;
	background-size: auto, cover;
	background-repeat: no-repeat, no-repeat;
	color: #fff;
	display: flex;
	align-items: flex-end;
	padding: 54px 44px;
	position: relative;
}
.ahb-detail__hero-inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.ahb-detail__kicker {
	display: inline-block;
	background: var(--ahb-ink);
	color: #fff;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	line-height: 1;
	letter-spacing: .04em;
	margin-bottom: 0;
}
.ahb-detail__title {
	max-width: 940px;
	margin: 18px 0 0;
	font-size: var(--ahb-hero-heading-size);
	line-height: var(--ahb-hero-heading-line);
	font-weight: 500;
	color: #fff;
	letter-spacing: 0;
	text-transform: none;
}

.ahb-detail__meta {
	max-width: 1180px;
	margin: 0 auto;
	padding: 18px 44px 12px;
	color: var(--ahb-muted);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .02em;
	opacity: .85;
	display: flex;
	gap: 8px;
	align-items: center;
}

.ahb-detail__article {
	max-width: none;
	background: transparent;
	margin: 0 auto;
	padding: 0 44px 64px;
	box-shadow: none;
}
.ahb-detail__article > .ahb-block-section,
.ahb-detail__article > .ahb-service-slider,
.ahb-detail__article > .ahb-feature-cards,
.ahb-detail__article > .ahb-news-row {
	width: calc(100% + 88px);
	margin-left: -44px;
	margin-right: -44px;
}
.ahb-detail .ahb-block-section__inner,
.ahb-detail .ahb-service-slider__head,
.ahb-detail .ahb-service-slider__track,
.ahb-detail .ahb-feature-cards__head,
.ahb-detail .ahb-feature-cards__grid {
	max-width: 1180px;
}
.ahb-detail__article > :not(.ahb-block-section):not(.ahb-service-slider):not(.ahb-feature-cards):not(.ahb-news-row):not(.ahb-home__divider):not(.ahb-cta-button-wrap) {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}
.single-project .ahb-detail__article > p,
.single-project .ahb-detail__article > ul,
.single-project .ahb-detail__article > ol,
.single-project .ahb-detail__article > blockquote,
.single-project .ahb-detail__article > h2,
.single-project .ahb-detail__article > h3 {
	max-width: 940px;
	margin-left: auto;
	margin-right: auto;
}
.ahb-detail__article > p {
	font-size: 20px;
	line-height: 1.72;
	color: #333;
	margin-top: 0;
	margin-bottom: 1.45em;
}
.ahb-detail__article strong {
	color: var(--ahb-ink);
}
.ahb-detail__article > h2 {
	font-size: 34px;
	margin: 38px 0 14px;
	font-weight: 700;
}
.single-project .ahb-detail__article .ahb-block-section p + h2,
.single-project .ahb-detail__article .ahb-block-section p + h3,
.single-project .ahb-detail__article .ahb-block-section figure + h2,
.single-project .ahb-detail__article .ahb-block-section figure + h3 {
	margin-top: 56px;
}
.ahb-detail__article hr {
	border: 0;
	border-top: 1px solid #ddd;
	margin: 34px 0;
}
.ahb-detail__article img,
.ahb-detail__article figure {
	display: block;
	max-width: 100%;
	height: auto;
}
.ahb-detail__article figure {
	margin: 42px 0;
}
.ahb-detail__article .ahb-content-image-figure {
	width: min(100%, 620px);
	overflow: hidden;
}
.ahb-detail__article .ahb-block-section .ahb-content-image-figure,
.ahb-detail__article .ahb-project-figure {
	width: 100%;
	max-width: none;
	overflow: hidden;
}
.ahb-detail__article .ahb-content-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.ahb-detail__article figcaption {
	margin-top: 10px;
	color: var(--ahb-muted);
	font-size: 14px;
	font-style: italic;
	line-height: 1.45;
}
.ahb-detail__article ul,
.ahb-detail__article ol {
	font-size: 19px;
	line-height: 1.7;
	color: #333;
	margin: 0 0 1.45em 1.2em;
	padding: 0;
}
.ahb-detail__article blockquote {
	margin: 42px 0;
	padding: 6px 0 6px 28px;
	border-left: 5px solid var(--ahb-ink);
	font-size: 24px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--ahb-ink);
}

.ahb-back {
	display: inline-block;
	margin-top: 12px;
	background: var(--ahb-ink);
	color: #fff;
	text-decoration: none;
	padding: 14px 20px;
	font-weight: 400;
	text-transform: none;
	border: 1px solid var(--ahb-ink);
}

/* Flat content column — overview/index/404 below the detail hero */
.ahb-flat {
	max-width: none;
	margin: 0 auto;
	padding: 72px 44px 80px;
}
.ahb-flat > :not(.ahb-pagination) {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}
.ahb-flat > h2 {
	margin: 0 0 24px;
	font-size: 30px;
	line-height: 1.1;
	font-weight: 500;
}
.ahb-flat > * + h2 {
	margin-top: 56px;
}
.ahb-flat > p {
	font-size: 19px;
	line-height: 1.6;
	color: #333;
	margin: 0 0 1.2em;
}
.ahb-flat .ahb-cards {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	grid-template-columns: 1fr 1fr;
}
.ahb-flat .ahb-side-news {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}
.ahb-flat .ahb-card {
	min-height: 0;
}
.ahb-flat .ahb-side-news {
	display: grid;
	gap: 18px;
}
.ahb-flat .ahb-pagination {
	margin-top: 32px;
}
@media (max-width: 720px) {
	.ahb-flat {
		padding: 32px 20px 56px;
	}
	.ahb-flat .ahb-cards {
		grid-template-columns: 1fr;
	}
}

.ahb-related {
	max-width: 940px;
	margin: 0 auto;
	padding: 48px 0 70px;
}
.ahb-related h2 {
	font-size: 35px;
	font-weight: 700;
	margin: 0 0 28px;
}
.ahb-related__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 28px;
}
.ahb-rel {
	background: #fff;
	text-decoration: none;
	color: var(--ahb-ink);
	display: grid;
	grid-template-columns: 185px 1fr;
	min-height: 116px;
	overflow: hidden;
}
.ahb-rel__img {
	position: relative;
	overflow: hidden;
	min-height: 116px;
	background: #ddd center/cover;
	isolation: isolate;
}
.ahb-rel__img::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: inherit;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: transform 2.4s ease-in-out;
	will-change: transform;
	z-index: -1;
}
.ahb-rel:hover .ahb-rel__img,
.ahb-rel:focus .ahb-rel__img,
.ahb-rel:focus-within .ahb-rel__img {
	transform: none;
}
.ahb-rel:hover .ahb-rel__img::before,
.ahb-rel:focus .ahb-rel__img::before,
.ahb-rel:focus-within .ahb-rel__img::before {
	transform: scale(1.045);
}
.ahb-rel__body {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}
.ahb-rel__body span {
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	color: var(--ahb-muted);
}
.ahb-rel__body strong {
	font-size: 20px;
	line-height: 1.3;
	color: var(--ahb-ink);
}

/* ------------------------------------------------------------------
 * Footer (shared)
 * ------------------------------------------------------------------ */

.ahb-footer {
	display: grid;
	grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
	gap: 38px;
	background: var(--ahb-accent);
	color: var(--ahb-accent-ink);
	padding: 58px 44px 30px;
	margin-left: var(--ahb-side-width);
	border-top: 1px solid var(--ahb-accent);
}
.ahb-footer h3 {
	margin: 0 0 15px;
	color: var(--ahb-accent-ink);
	text-transform: uppercase;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 600;
}
.ahb-footer .ahb-footer__company {
	text-transform: none;
	margin-top: 0;
}
.ahb-footer p {
	color: var(--ahb-accent-ink);
	max-width: 560px;
	line-height: 1.65;
	margin: 0;
	font-family: var(--ahb-font-body);
	font-size: 15px;
}
.ahb-footer a {
	display: block;
	color: var(--ahb-accent-ink);
	text-decoration: none;
	margin: 7px 0;
	font-size: 14px;
	transition: opacity .15s ease;
}
.ahb-footer a:hover,
.ahb-footer a:focus {
	opacity: .8;
	text-decoration: underline;
}
.ahb-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ahb-footer__menu a {
	color: var(--ahb-accent-ink);
}
.ahb-footer__address {
	margin: 0;
	font-style: normal;
	font-family: var(--ahb-font-body);
	line-height: 1.65;
	color: var(--ahb-accent-ink);
	font-size: 14px;
}
.ahb-footer__address strong,
.ahb-footer__address span {
	display: block;
}
.ahb-footer .ahb-footer__address strong {
	font-family: var(--ahb-font-display);
	text-transform: none;
	margin-bottom: 4px;
}
.ahb-footer__address a {
	margin: 2px 0;
}
.ahb-footer .ahb-footer__brand {
	display: inline-block;
	margin: 0 0 46px;
}
.ahb-footer__logo {
	display: block;
	width: auto;
	max-width: 148px;
	max-height: 118px;
	object-fit: contain;
}
.ahb-footer__bottom {
	grid-column: 1 / -1;
	margin-top: 18px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .34);
	color: rgba(255, 255, 255, .86);
	font-family: var(--ahb-font-body);
	font-size: 13px;
	line-height: 1.5;
}

/* ------------------------------------------------------------------
 * Pagination
 * ------------------------------------------------------------------ */

.ahb-pagination {
	margin-top: 28px;
}
.ahb-pagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.ahb-pagination a,
.ahb-pagination span {
	padding: 8px 14px;
	background: #fff;
	border: 1px solid var(--ahb-border);
	text-decoration: none;
	color: var(--ahb-ink);
	font-weight: 700;
}
.ahb-pagination .current {
	background: var(--ahb-ink);
	color: #fff;
	border-color: var(--ahb-ink);
}

/* ------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 980px) {
	:root {
		--ahb-hero-heading-size: 32px;
	}
	.ahb-side {
		display: none;
	}
	.mobilebar {
		display: grid;
		grid-template-columns: 76px minmax(0, 1fr) 76px;
		position: sticky;
		top: 0;
		z-index: 70;
		background: var(--ahb-bg);
		color: var(--ahb-ink);
		align-items: center;
		height: 84px;
		padding: 0 16px;
		border-bottom: 1px solid var(--ahb-border);
	}
	.mobilebar__toggle {
		justify-self: start;
	}
	.mobilebar__logo {
		justify-self: center;
		line-height: 0;
	}
	.mobilebar__logo img {
		max-height: 64px;
		max-width: 180px;
	}
	.mobilebar__cta {
		justify-self: end;
		max-width: 76px;
		font-size: 17px;
		font-weight: 500;
	}
	.ahb-content,
	.ahb-footer {
		margin-left: 0;
	}
	.ahb-home__top {
		display: none;
	}
	.ahb-home__hero {
		min-height: 420px;
		padding: 30px;
	}
	.ahb-home__hero .ahb-heading-size-h1 {
		font-size: var(--ahb-hero-heading-size);
	}
	.ahb-home__hero p {
		font-size: 18px;
	}
	.ahb-news-row,
	.ahb-news-row--double,
	.ahb-app-row,
	.ahb-standings,
	.ahb-footer,
	.ahb-intro-grid,
	.ahb-cards,
	.ahb-news-list,
	.ahb-cta,
	.ahb-related__grid {
		grid-template-columns: 1fr;
	}
	.ahb-news-card,
	.ahb-news-row--double > .ahb-news-card {
		min-height: 360px;
	}
	.ahb-news-card--small {
		min-height: 220px;
	}
	.ahb-events,
	.ahb-media-grid {
		grid-template-columns: 1fr 1fr;
	}
	.ahb-section {
		padding: 34px 22px;
	}
	.ahb-series-hero {
		min-height: 0;
		padding: 34px 24px;
	}
	.ahb-series-hero::before {
		height: 260px;
	}
	.ahb-mini-news {
		grid-template-columns: 1fr;
	}
	.ahb-mini-news__img {
		height: 190px;
	}
	.ahb-detail__hero {
		min-height: 240px;
		padding: 30px;
		background-position: center, center;
	}
	.ahb-detail__title {
		font-size: var(--ahb-hero-heading-size);
		line-height: var(--ahb-hero-heading-line);
		font-weight: 500;
	}
	.ahb-detail__kicker {
		font-size: 12px;
		font-weight: 900;
		margin-bottom: 0;
	}
	.ahb-detail__meta {
		padding: 14px 24px;
		margin: 0;
		max-width: none;
		font-size: 12px;
	}
	.ahb-detail__article {
		max-width: none;
		padding: 0 24px 42px;
	}
	.ahb-related {
		max-width: none;
		padding: 34px 24px;
	}
	.ahb-rel {
		grid-template-columns: 160px 1fr;
	}
	.ahb-anchor-row {
		gap: 14px;
		font-size: 13px;
	}
}

@media (max-width: 560px) {
	.ahb-events,
	.ahb-media-grid {
		grid-template-columns: 1fr;
	}
	.ahb-news-card,
	.ahb-news-row--double > .ahb-news-card {
		min-height: 260px;
	}
	.ahb-news-card--small {
		min-height: 180px;
	}
	.ahb-home__hero h1,
	.ahb-news-card h3,
	.ahb-news-card--small h3,
	.ahb-detail__title {
		font-size: var(--ahb-hero-heading-size);
		line-height: var(--ahb-hero-heading-line);
	}
	.ahb-section h2 {
		font-size: 28px;
	}
	.ahb-intro-grid h2 {
		font-size: 30px;
	}
	.ahb-card {
		min-height: 0;
	}
	.ahb-detail__hero {
		min-height: 210px;
		padding: 24px 22px;
	}
	.ahb-detail__kicker {
		font-size: 11px;
	}
	.ahb-detail__article p {
		font-size: 18px;
	}
	.ahb-detail__meta {
		flex-wrap: wrap;
	}
	.ahb-rel {
		grid-template-columns: 1fr;
	}
	.ahb-rel__img {
		height: 170px;
	}
}

/* ------------------------------------------------------------------
 * Intro (AHB-style centered article intro)
 * ------------------------------------------------------------------ */

.ahb-intro {
	background: #fff;
	padding: 88px 44px;
}
.ahb-intro__inner {
	max-width: 780px;
	margin: 0 auto;
	text-align: left;
}
.ahb-intro h2 {
	margin: 0 0 22px;
	font-size: 36px;
	line-height: 1.12;
	font-weight: 500;
	color: var(--ahb-ink);
}
.ahb-intro p {
	margin: 0;
	font-size: 20px;
	line-height: 1.65;
	color: #444;
	font-family: var(--ahb-font-body);
}

/* ------------------------------------------------------------------
 * Services slider + feature cards
 * ------------------------------------------------------------------ */

.ahb-service-slider {
	background: #f4f7f9;
	padding: 70px 44px 74px;
	overflow: hidden;
}
.ahb-service-slider__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px 28px;
	align-items: end;
	max-width: 1180px;
	margin: 0 auto 28px;
}
.ahb-service-slider__head .ahb-tag {
	grid-column: 1 / -1;
	justify-self: start;
}
.ahb-service-slider__head h2 {
	margin: 0;
	max-width: 780px;
	font-size: 36px;
	line-height: 1.14;
	font-weight: 500;
	color: var(--ahb-ink);
}
.ahb-service-slider__head p {
	grid-column: 1 / 2;
	max-width: 720px;
	margin: 0;
	font-family: var(--ahb-font-body);
	font-size: 18px;
	line-height: 1.7;
	color: #444;
}
.ahb-service-slider__controls {
	grid-column: 2 / 3;
	grid-row: 2 / 4;
	display: flex;
	gap: 8px;
}
.ahb-slider-btn {
	width: 44px;
	height: 44px;
	border: 1px solid var(--ahb-accent);
	border-radius: 0;
	background: transparent;
	color: var(--ahb-ink);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.ahb-slider-btn:hover,
.ahb-slider-btn:focus {
	background: var(--ahb-accent);
	border-color: var(--ahb-accent);
	color: #fff;
	transform: translateY(-1px);
}
.ahb-service-slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(320px, 42%);
	gap: 18px;
	max-width: 1180px;
	margin: 0 auto;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-snap-type: inline mandatory;
	scrollbar-width: thin;
	padding-bottom: 8px;
}
.ahb-service-slide {
	position: relative;
	min-height: 360px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px;
	background: #222 center/cover;
	color: #fff;
	text-decoration: none;
	scroll-snap-align: start;
	isolation: isolate;
	overflow: hidden;
}
.ahb-detail__article .ahb-service-slide,
.ahb-detail__article .ahb-service-slide span,
.ahb-detail__article .ahb-service-slide strong,
.ahb-service-slide,
.ahb-service-slide span,
.ahb-service-slide strong {
	color: #fff;
}
.ahb-service-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: inherit;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: transform 2.4s ease-in-out;
	will-change: transform;
	z-index: -2;
}
.ahb-service-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(12deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .08));
	pointer-events: none;
	z-index: -1;
}
.ahb-service-slide:hover::before,
.ahb-service-slide:focus::before,
.ahb-service-slide:focus-within::before {
	transform: scale(1.045);
}
.ahb-service-slide span {
	width: max-content;
	background: transparent;
	color: #fff;
	padding: 0 0 4px;
	font-size: 10px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .08em;
	line-height: 1;
	border-bottom: 1px solid currentColor;
}
.ahb-service-slide strong {
	display: block;
	max-width: 520px;
	margin-top: 14px;
	font-size: 24px;
	line-height: 1.24;
	font-weight: 400;
	color: #fff;
}
.ahb-feature-cards {
	background: #fff;
	padding: 70px 44px 76px;
}
.ahb-feature-cards__head {
	max-width: 1180px;
	margin: 0 auto 28px;
}
.ahb-feature-cards__head h2 {
	margin: 0;
	font-size: 34px;
	line-height: 1.15;
	font-weight: 500;
	color: var(--ahb-ink);
}
.ahb-feature-cards__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	max-width: 1180px;
	margin: 0 auto;
}
.ahb-feature-card {
	background: #f6f6f6;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}
.ahb-feature-card__image {
	position: relative;
	overflow: hidden;
	display: block;
	aspect-ratio: 16 / 10;
	background: #ddd center/cover;
	isolation: isolate;
}
.ahb-feature-card__image::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: inherit;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: transform 2.4s ease-in-out;
	will-change: transform;
	z-index: -1;
}
.ahb-feature-card__body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.ahb-feature-card h3 {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 1.28;
	font-weight: 500;
	color: var(--ahb-ink);
}
.ahb-feature-card p {
	margin: 0 0 22px;
	font-family: var(--ahb-font-body);
	font-size: 15px;
	line-height: 1.65;
	color: #444;
}

.ahb-quote-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin: 34px 0 0;
}
.ahb-quote-form label {
	display: grid;
	gap: 8px;
	margin: 0;
	font-family: var(--ahb-font-body);
	font-size: 14px;
	color: var(--ahb-ink);
}
.ahb-quote-form span {
	font-weight: 700;
}
.ahb-quote-form input,
.ahb-quote-form select,
.ahb-quote-form textarea {
	width: 100%;
	border: 1px solid #d9d9d9;
	border-radius: 5px;
	background: #fff;
	color: var(--ahb-ink);
	font: inherit;
	padding: 13px 14px;
}
.ahb-quote-form input:focus,
.ahb-quote-form select:focus,
.ahb-quote-form textarea:focus {
	outline: 2px solid rgba(45, 150, 205, .25);
	border-color: var(--ahb-accent);
}
.ahb-quote-form__wide,
.ahb-quote-form button {
	grid-column: 1 / -1;
}
.ahb-quote-form button {
	justify-self: start;
	border: 0;
	border-radius: 0;
	background: var(--ahb-accent);
	color: #fff;
	padding: 14px 20px;
	font-family: var(--ahb-font-display);
	font-size: 15px;
	line-height: 1.15;
	font-weight: 400;
	text-transform: none;
	cursor: pointer;
	transition: background-color .18s ease, transform .18s ease;
}
.ahb-quote-form button:hover,
.ahb-quote-form button:focus {
	background: var(--ahb-accent);
	transform: translateY(-1px);
}
.ahb-form-note {
	padding: 14px 16px;
	border-radius: 0;
	font-size: 16px;
}
.ahb-form-note--success {
	background: #e8f6ed;
	color: #155f2c;
}
.ahb-form-note--error {
	background: #fff0f0;
	color: #8a1f1f;
}
.ahb-feature-card a {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	max-width: 100%;
	min-height: 42px;
	padding: 14px 20px;
	border-radius: 0;
	background: transparent;
	border: 1px solid var(--ahb-accent);
	color: var(--ahb-ink);
	text-decoration: none;
	font-size: 15px;
	line-height: 1.15;
	font-weight: 400;
	text-transform: none;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.ahb-feature-card a::after {
	content: "›";
	margin-left: 10px;
	font-size: 18px;
	line-height: 1;
}
.ahb-feature-card:hover .ahb-feature-card__image,
.ahb-feature-card:focus-within .ahb-feature-card__image {
	transform: none;
}
.ahb-feature-card:hover .ahb-feature-card__image::before,
.ahb-feature-card:focus-within .ahb-feature-card__image::before {
	transform: scale(1.045);
}
.ahb-feature-card a:hover,
.ahb-feature-card a:focus {
	background: var(--ahb-accent);
	border-color: var(--ahb-accent);
	color: #fff;
	transform: translateY(-1px);
}

/* ------------------------------------------------------------------
 * News grid (AHB Diensten-stijl)
 * ------------------------------------------------------------------ */

.ahb-news-grid {
	background: #fff;
	padding: 48px 44px 72px;
}
.ahb-news-grid__title {
	margin: 0 0 28px;
	font-size: 32px;
	font-weight: 700;
	color: var(--ahb-ink);
}
.ahb-news-grid__row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.ahb-news-tile {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--ahb-ink);
	background: #fff;
	transition: transform .2s ease;
	overflow: hidden;
}
.ahb-news-tile:hover,
.ahb-news-tile:focus {
	transform: translateY(-3px);
}
.ahb-news-tile__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #ddd center/cover;
	margin-bottom: 14px;
	transition: transform 1.15s ease-in;
	will-change: transform;
}
.ahb-news-tile:hover .ahb-news-tile__img,
.ahb-news-tile:focus .ahb-news-tile__img,
.ahb-news-tile:focus-within .ahb-news-tile__img {
	transform: scale(1.06);
}
.ahb-news-tile__kicker {
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ahb-accent);
	margin-bottom: 6px;
}
.ahb-news-tile__title {
	font-size: 18px;
	line-height: 1.38;
	font-weight: 700;
	color: var(--ahb-ink);
}

/* ------------------------------------------------------------------
 * Sponsors / logo strip (AHB-stijl, tekstmarks)
 * ------------------------------------------------------------------ */

.ahb-sponsors {
	background: var(--ahb-accent);
	padding: 34px 44px;
	margin-left: var(--ahb-side-width);
	border: 0;
	position: relative;
	overflow: hidden;
}
.ahb-sponsors__inner {
	max-width: 1180px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.ahb-sponsors__label {
	display: none;
}
.ahb-sponsors__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: center;
	justify-items: center;
	gap: 24px;
	width: 100%;
}
.ahb-sponsors__mark {
	width: 100%;
	min-height: 78px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	border: 0;
	color: #fff;
	font-family: var(--ahb-font-display);
	font-size: 16px;
	font-weight: 900;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.ahb-sponsors__mark--clone {
	display: none;
}
.ahb-sponsors__mark img {
	display: block;
	margin: 0 auto;
	width: auto;
	max-width: 100%;
	max-height: 76px;
	object-fit: contain;
}
.ahb-sponsors__mark--logo {
	padding: 0;
}
.ahb-sponsors__mark--logo img {
	width: auto;
	max-width: 138px;
	max-height: 82px;
}
@keyframes ahbSponsorsMobile {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 980px) {
	.ahb-sponsors {
		margin-left: 0;
		padding: 24px 0;
	}
	.ahb-footer-wave {
		height: 64px;
		margin-left: 0;
	}
	.ahb-sponsors__inner {
		max-width: none;
		overflow: hidden;
	}
	.ahb-sponsors__list {
		display: flex;
		width: max-content;
		gap: 28px;
		animation: ahbSponsorsMobile 32s linear infinite;
		will-change: transform;
	}
	.ahb-sponsors__mark {
		flex: 0 0 150px;
		min-height: 70px;
	}
	.ahb-sponsors__mark--clone {
		display: flex;
	}
	.ahb-intro {
		padding: 56px 24px;
	}
	.ahb-intro h2 {
		font-size: 30px;
	}
	.ahb-intro p {
		font-size: 17px;
	}
	.ahb-news-grid {
		padding: 36px 22px 52px;
	}
	.ahb-service-slider,
	.ahb-feature-cards {
		padding: 52px 22px;
	}
	.ahb-block-section {
		padding: 52px 22px;
	}
	.ahb-block-section h1,
	.ahb-block-section h2,
	.ahb-block-section h3,
	.ahb-block-section h4,
	.ahb-service-slider__head h2,
	.ahb-feature-cards__head h2 {
		font-size: 28px;
		line-height: 1.18;
	}
	.ahb-block-section p,
	.ahb-detail__article p,
	.ahb-service-slider__head p,
	.ahb-feature-card p {
		font-size: 17px;
		line-height: 1.65;
	}
	.ahb-detail__article > .ahb-block-section,
	.ahb-detail__article > .ahb-service-slider,
	.ahb-detail__article > .ahb-feature-cards,
	.ahb-detail__article > .ahb-news-row {
		width: calc(100% + 40px);
		margin-left: -20px;
		margin-right: -20px;
	}
	.ahb-service-slider__head,
	.ahb-block-section__inner,
	.ahb-feature-cards__grid {
		max-width: none;
	}
	.ahb-service-slider__head {
		grid-template-columns: 1fr;
	}
	.ahb-service-slider__controls {
		grid-column: 1;
		grid-row: auto;
	}
	.ahb-service-slider__track {
		grid-auto-columns: minmax(280px, 82%);
	}
	.ahb-feature-cards__grid {
		grid-template-columns: 1fr 1fr;
	}
	.ahb-news-grid__row {
		grid-template-columns: 1fr 1fr;
		gap: 18px;
	}
}
@media (max-width: 560px) {
	:root {
		--ahb-hero-heading-size: 28px;
	}
	.mobilebar {
		grid-template-columns: 72px minmax(0, 1fr) 72px;
		height: 82px;
		padding: 0 12px;
	}
	.mobilebar__logo img {
		max-height: 66px;
		max-width: 184px;
	}
	.mobilebar__cta {
		max-width: 72px;
		font-size: 17px;
	}
	.ahb-side.is-open {
		padding-top: 82px;
	}
	.ahb-block-section h1,
	.ahb-block-section h2,
	.ahb-block-section h3,
	.ahb-block-section h4,
	.ahb-service-slider__head h2,
	.ahb-feature-cards__head h2 {
		font-size: 24px;
		line-height: 1.2;
	}
	.ahb-block-section p,
	.ahb-detail__article p,
	.ahb-service-slider__head p,
	.ahb-feature-card p {
		font-size: 16px;
		line-height: 1.62;
	}
	.ahb-quote-form {
		grid-template-columns: 1fr;
	}
	.ahb-feature-cards__grid {
		grid-template-columns: 1fr;
	}
	.ahb-news-grid__row {
		grid-template-columns: 1fr;
	}
	.ahb-sponsors__mark {
		min-width: 0;
		flex: 0 0 145px;
	}
}

/* Mobile nav open state — toggled by main.js */
@media (max-width: 980px) {
	body.ahb-nav-open {
		overflow: hidden;
	}
	body.ahb-nav-open .mobilebar {
		position: fixed;
		left: 0;
		right: 0;
		background: #fff;
	}
	body.ahb-nav-open .mobilebar__logo,
	body.ahb-nav-open .mobilebar__cta {
		visibility: hidden;
		pointer-events: none;
	}
	.ahb-side.is-open {
		display: flex;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		z-index: 60;
		overflow-y: auto;
		padding-top: 84px;
	}
	.ahb-side.is-open .ahb-side__brand {
		display: none;
	}
	.ahb-side.is-open .ahb-side__nav {
		padding: 34px 32px 0;
	}
	.ahb-side.is-open .ahb-side__menu {
		gap: 10px;
	}
	.ahb-side.is-open .ahb-side__menu a,
	.ahb-side.is-open .ahb-side__nav a {
		font-size: 24px;
		padding: 8px 0;
	}
	.ahb-side.is-open .ahb-side__foot {
		padding: 28px 32px 34px;
	}
	.ahb-side.is-open .ahb-side__contact {
		margin-top: 30px;
	}
}
