:root {
	--sg-ink: var(--wp--preset--color--ink, #2c3330);
	--sg-green: var(--wp--preset--color--green, #4f7590);
	--sg-green-dark: var(--wp--preset--color--green-dark, #3f6179);
	--sg-gold: var(--wp--preset--color--gold, #c84a3d);
	--sg-paper: var(--wp--preset--color--paper, #f7f7f7);
	--sg-mist: var(--wp--preset--color--mist, #e3e6e8);
	--sg-white: #fff;
	--sg-radius: 10px;
	--sg-shadow: 0 10px 30px rgba(21, 36, 31, 0.08);
}

html {
	scroll-behavior: smooth;
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

a {
	text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 3px solid var(--sg-gold);
	outline-offset: 3px;
}

.site-header {
	background: var(--sg-white);
	border-bottom: 1px solid var(--sg-mist);
	border-top: 4px solid var(--sg-green);
	position: relative;
	z-index: 10;
}

.site-header__inner {
	min-height: 78px;
	padding-bottom: 0.7rem;
	padding-top: 0.7rem;
}

.site-brand {
	gap: 0.75rem;
}

.site-brand .wp-block-site-title {
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1;
	margin: 0;
}

.site-brand .wp-block-site-title a {
	color: var(--sg-ink);
	text-decoration: none;
}

.site-brand .wp-block-site-tagline {
	color: #65716c;
	line-height: 1.2;
	margin-top: 0.2rem;
}

.site-header .wp-block-navigation {
	font-size: 0.92rem;
	font-weight: 700;
}

.site-header .wp-block-navigation-item__content {
	color: var(--sg-ink);
}

.header-search {
	margin: 0;
	width: 42px;
}

.header-search .wp-block-search__input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.header-search .wp-block-search__button {
	margin: 0;
	min-height: 42px;
	min-width: 42px;
	padding: 0.55rem;
}

.site-main {
	min-height: 55vh;
}

.home-lead,
.home-section,
.archive-main,
.search-main,
.page-main,
.single-main,
.error-main {
	padding-bottom: clamp(2.5rem, 6vw, 5.5rem);
	padding-top: clamp(2.5rem, 6vw, 5.5rem);
}

.home-lead {
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading,
.section-title {
	border-bottom: 3px solid var(--sg-ink);
	margin-bottom: 1.5rem;
	padding-bottom: 0.65rem;
}

.section-heading h1,
.section-heading h2,
.section-title {
	font-size: clamp(1.65rem, 3vw, 2.6rem);
	margin: 0;
}

.section-kicker,
.eyebrow,
.single-category {
	color: var(--sg-green-dark);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eyebrow a,
.single-category a {
	color: inherit;
	text-decoration: none;
}

.eyebrow .wp-block-post-terms__separator,
.single-category .wp-block-post-terms__separator {
	color: #96a09b;
}

.news-card {
	background: var(--sg-white);
	border: 1px solid var(--sg-mist);
	border-radius: var(--sg-radius);
	box-shadow: var(--sg-shadow);
	height: 100%;
	overflow: hidden;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.news-card:hover {
	box-shadow: 0 14px 35px rgba(21, 36, 31, 0.13);
	transform: translateY(-3px);
}

.news-card .wp-block-post-featured-image {
	margin: 0;
}

.news-card .wp-block-post-featured-image img,
.photo-card .wp-block-post-featured-image img,
.story-card .wp-block-post-featured-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
	width: 100%;
}

.news-card:hover .wp-block-post-featured-image img,
.photo-card:hover .wp-block-post-featured-image img {
	transform: scale(1.025);
}

.news-card__body {
	padding: 1rem 1.1rem 1.2rem;
}

.news-card__body > * {
	margin-bottom: 0.55rem;
	margin-top: 0;
}

.news-card .wp-block-post-title {
	font-size: clamp(1.08rem, 2vw, 1.35rem) !important;
}

.news-card .wp-block-post-title a,
.photo-card .wp-block-post-title a {
	color: var(--sg-ink);
	text-decoration: none;
}

.news-card .wp-block-post-title a:hover,
.photo-card .wp-block-post-title a:hover {
	color: var(--sg-green);
}

.wp-block-post-date,
.post-meta,
.streekgids-reading-time {
	color: #66716d;
}

.lead-grid .wp-block-post-template {
	gap: 1rem;
}

.lead-grid .news-card:first-child {
	background: var(--sg-white);
	border-top: 4px solid var(--sg-green);
	color: var(--sg-ink);
}

.lead-grid .news-card:first-child .wp-block-post-title a,
.lead-grid .news-card:first-child .wp-block-post-date {
	color: var(--sg-ink);
}

.lead-grid .news-card:first-child .eyebrow {
	color: var(--sg-gold);
}

.home-section--tint {
	background: var(--sg-paper);
}

.home-section--dark {
	background: var(--sg-paper);
	color: var(--sg-ink);
}

.home-section--dark .section-title {
	border-color: var(--sg-ink);
}

.photo-grid .wp-block-post-template {
	gap: 1.2rem;
}

.photo-card {
	overflow: hidden;
}

.photo-card .wp-block-post-featured-image {
	border-radius: var(--sg-radius);
	margin: 0 0 0.8rem;
	overflow: hidden;
}

.photo-card .wp-block-post-title,
.photo-card .wp-block-post-date {
	margin-left: 0.2rem;
	margin-right: 0.2rem;
}

.photo-card .wp-block-post-title a,
.home-section--dark .photo-card .wp-block-post-date {
	color: var(--sg-ink);
}

.date-badge {
	color: var(--sg-green);
	font-weight: 800;
	text-transform: uppercase;
}

.story-section {
	font-family: var(--wp--preset--font-family--serif);
}

.story-section > .section-title {
	font-family: var(--wp--preset--font-family--system);
}

.story-card {
	background: var(--sg-white);
	border: 1px solid var(--sg-mist);
	border-radius: calc(var(--sg-radius) + 4px);
	box-shadow: var(--sg-shadow);
	overflow: hidden;
}

.story-card .wp-block-column:last-child {
	padding: clamp(1.5rem, 4vw, 3.5rem);
}

.story-card .wp-block-post-featured-image {
	height: 100%;
	margin: 0;
}

.story-card .wp-block-post-title a {
	color: var(--sg-ink);
	text-decoration: none;
}

.region-placeholder {
	background: var(--sg-white);
	border: 1px dashed #aab2ae;
	border-radius: var(--sg-radius);
	margin-bottom: clamp(3rem, 7vw, 6rem);
	margin-top: clamp(3rem, 7vw, 6rem);
	padding: clamp(1.5rem, 4vw, 3rem);
}

.region-placeholder > * {
	margin-left: 0;
	max-width: 720px;
}

.archive-header {
	background: var(--sg-paper);
	border-left: 5px solid var(--sg-green);
	border-radius: var(--sg-radius);
	color: var(--sg-ink);
	margin-bottom: 2rem;
	padding: clamp(1.5rem, 5vw, 3.5rem);
}

.archive-header > * {
	margin-left: 0;
	max-width: 800px;
}

.archive-header a {
	color: var(--sg-gold);
}

.archive-grid .wp-block-post-template,
.news-grid .wp-block-post-template,
.national-grid .wp-block-post-template {
	gap: 1.25rem;
}

.wp-block-query-pagination {
	margin-top: 2.5rem;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .current {
	border: 1px solid var(--sg-mist);
	border-radius: 4px;
	padding: 0.45rem 0.75rem;
}

.wp-block-query-pagination .current {
	background: var(--sg-green);
	color: var(--sg-white);
}

.search-card {
	border-bottom: 1px solid var(--sg-mist);
	padding-bottom: 1.5rem;
}

.search-card .wp-block-post-featured-image {
	border-radius: var(--sg-radius);
	overflow: hidden;
}

.single-main article > .wp-block-post-title {
	letter-spacing: -0.035em;
	margin-bottom: 1rem;
	margin-top: 0.5rem;
}

.single-summary {
	color: #4e5c56;
	font-weight: 450;
	line-height: 1.5;
}

.post-meta {
	border-bottom: 1px solid var(--sg-mist);
	font-size: 0.9rem;
	gap: 0.7rem 1.2rem;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
}

.post-meta a {
	color: inherit;
}

.single-main article > .wp-block-post-featured-image {
	border-radius: var(--sg-radius);
	overflow: hidden;
}

.single-main .wp-block-post-content {
	font-size: clamp(1.03rem, 1.5vw, 1.12rem);
	line-height: 1.78;
}

.single-main .wp-block-post-content h2,
.single-main .wp-block-post-content h3 {
	margin-top: 2em;
}

.single-main .wp-block-post-content img {
	border-radius: 6px;
}

.article-footer,
.article-comments,
.related-posts {
	border-top: 1px solid var(--sg-mist);
	margin-top: 3rem;
	padding-top: 2rem;
}

.is-zondagsverhaal .single-main .wp-block-post-content {
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(1.08rem, 1.6vw, 1.18rem);
}

.site-footer {
	background: var(--sg-paper);
	border-top: 1px solid var(--sg-mist);
	color: #59615e;
	padding-bottom: 2rem;
	padding-top: 3rem;
}

.site-footer a,
.site-footer a {
	color: var(--sg-gold);
}

.site-footer .wp-block-site-title a {
	color: var(--sg-ink);
}

.site-footer .wp-block-separator {
	border-color: var(--sg-mist);
}

@media (min-width: 782px) {
	.lead-grid .wp-block-post-template {
		grid-template-columns: 1.35fr repeat(3, 1fr);
	}
}

@media (max-width: 980px) {
	.lead-grid .wp-block-post-template,
	.event-grid .wp-block-post-template,
	.news-grid .wp-block-post-template,
	.archive-grid .wp-block-post-template,
	.national-grid .wp-block-post-template,
	.photo-grid .wp-block-post-template,
	.related-posts .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-header .wp-block-navigation__responsive-container-open {
		display: flex;
	}
}

@media (max-width: 781px) {
	.site-header__inner {
		align-items: center;
	}

	.site-brand .wp-block-site-tagline,
	.header-search {
		display: none;
	}

	.section-heading {
		align-items: flex-end;
	}

	.story-card .wp-block-column:first-child {
		min-height: 260px;
	}

	.search-card {
		gap: 1rem;
	}

	.site-footer .wp-block-navigation {
		justify-content: flex-start;
	}
}

@media (max-width: 600px) {
	.lead-grid .wp-block-post-template,
	.event-grid .wp-block-post-template,
	.news-grid .wp-block-post-template,
	.archive-grid .wp-block-post-template,
	.national-grid .wp-block-post-template,
	.photo-grid .wp-block-post-template,
	.related-posts .wp-block-post-template {
		grid-template-columns: 1fr;
	}

	.home-lead,
	.home-section,
	.archive-main,
	.search-main,
	.page-main,
	.single-main,
	.error-main {
		padding-bottom: 2.75rem;
		padding-top: 2.75rem;
	}

	.site-header__inner {
		min-height: 66px;
	}

	.site-brand .wp-block-site-logo img {
		max-width: 42px;
	}

	.search-card {
		display: block;
	}

	.search-card .wp-block-column:first-child {
		margin-bottom: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
