/*
Theme Name: Heerlijk in Holland
Description: Gutenberg-vriendelijk reisthema voor Nederlandse inspiratiepagina's, gidsen en verblijftips.
Version: 0.1.0
Text Domain: heerlijk-in-holland
*/

:root {
	--theme-bg: #f6f2ec;
	--theme-surface: #ffffff;
	--theme-surface-soft: #fbf8f3;
	--theme-border: #ded6cb;
	--theme-text: #1f2925;
	--theme-text-soft: #627069;
	--theme-accent: #2f6c61;
	--theme-accent-dark: #234f47;
	--theme-shadow: 0 18px 40px rgba(31, 41, 37, 0.08);
	--theme-radius-lg: 28px;
	--theme-radius-md: 20px;
	--theme-radius-sm: 14px;
	--theme-width: min(100% - 2rem, 76rem);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: linear-gradient(180deg, #f8f4ef 0%, #f4efe8 100%);
	color: var(--theme-text);
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.7;
}

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

a {
	color: var(--theme-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--theme-accent-dark);
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	backdrop-filter: blur(12px);
	background: rgba(248, 244, 239, 0.92);
	border-bottom: 1px solid rgba(222, 214, 203, 0.85);
}

.site-header__inner,
.site-footer__inner,
.archive-hero__inner,
.content-wrap {
	width: var(--theme-width);
	margin: 0 auto;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding: 1rem 0;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

.site-title,
.site-tagline {
	margin: 0;
}

.site-title {
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	font-weight: 700;
	line-height: 1.1;
}

.site-title a {
	color: var(--theme-text);
	text-decoration: none;
}

.site-tagline {
	color: var(--theme-text-soft);
	font-size: 0.95rem;
}

.site-navigation__menu,
.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 1.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-navigation__menu a,
.site-footer__menu a {
	color: var(--theme-text);
	text-decoration: none;
	font-size: 0.98rem;
}

.site-main-shell {
	padding-bottom: 4rem;
}

.archive-hero {
	padding: clamp(3rem, 8vw, 6rem) 0 2rem;
}

.archive-hero__eyebrow {
	margin: 0 0 0.9rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--theme-accent);
}

.archive-hero__title {
	max-width: 12ch;
	margin: 0;
	font-size: clamp(2.8rem, 6vw, 5rem);
	line-height: 0.98;
}

.archive-hero__intro {
	max-width: 42rem;
	margin: 1.25rem 0 0;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	color: var(--theme-text-soft);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
	gap: 1.25rem;
}

.entry-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--theme-border);
	border-radius: var(--theme-radius-lg);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--theme-shadow);
	overflow: hidden;
}

.entry-card--single {
	max-width: 52rem;
}

.entry-card__media {
	display: block;
	background: #e6eeeb;
}

.entry-card__media img {
	display: block;
	width: 100%;
	height: auto;
}

.entry-card__body {
	padding: clamp(1.4rem, 3vw, 2rem);
}

.entry-card__meta {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	color: var(--theme-text-soft);
}

.entry-title {
	margin: 0 0 1rem;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	line-height: 1.12;
}

.post-grid .entry-title {
	font-size: clamp(1.45rem, 3vw, 1.85rem);
}

.entry-title a {
	color: var(--theme-text);
	text-decoration: none;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	line-height: 1.15;
}

.entry-content p,
.entry-content li {
	font-size: 1.05rem;
}

.entry-content .wp-block-group,
.entry-content .wp-block-columns,
.entry-content .wp-block-cover,
.entry-content .wp-block-media-text {
	margin-top: 1.6rem;
	margin-bottom: 1.6rem;
}

.entry-content .wp-block-group.has-background,
.entry-content .wp-block-cover,
.entry-content .wp-block-media-text.has-background {
	padding: 1.25rem;
	border-radius: var(--theme-radius-md);
}

.entry-content .wp-element-button,
.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.2rem;
	border-radius: 999px;
	background: var(--theme-accent);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}

.site-footer {
	border-top: 1px solid rgba(222, 214, 203, 0.85);
	background: rgba(255, 255, 255, 0.72);
}

.site-footer__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding: 1.5rem 0 2rem;
}

.site-footer__title,
.site-footer__copy {
	margin: 0;
}

.site-footer__title {
	font-weight: 700;
}

.site-footer__copy {
	color: var(--theme-text-soft);
}

@media (max-width: 780px) {
	.site-header__inner,
	.site-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.archive-hero__title {
		max-width: none;
	}
}

@media (max-width: 640px) {
	:root {
		--theme-width: min(100% - 1.25rem, 76rem);
	}

	.entry-content p,
	.entry-content li {
		font-size: 1rem;
	}
}
