/* ==========================================================================
   Bader – basis: kleuren, typografie, kop, voet en gewone pagina's.
   De bestelmodule staat in bestellen.css, de (werk)bon in ticket.css.
   ========================================================================== */

:root {
	--ink: #1B1917;
	--ink-2: #2A2724;
	--paper: #F5F4F2;
	--card: #FFFFFF;
	--red: #A8201A;
	--red-dark: #86170F;
	--red-soft: #F7E6E4;
	--line: #E2DEDA;
	--muted: #6D6761;
	--ok: #2E6A3B;
	--ok-soft: #E5F0E6;
	--display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
	--body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
	--mono: "Courier Prime", "Courier New", monospace;
	--top: env(safe-area-inset-top, 0px); /* Bovenkant voor sticky elementen. */
	color-scheme: light;
}

/* Ingelogd: ruimte houden voor de WordPress-balk. */
.admin-bar { --top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar { --top: 46px; } }
@media (max-width: 600px) { .admin-bar { --top: env(safe-area-inset-top, 0px); } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
	background: var(--paper);
	color: var(--ink);
	font: 16px/1.5 var(--body);
	-webkit-font-smoothing: antialiased;
	/* Voet onderaan, ook op korte pagina's. */
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
body > * { flex-shrink: 0; }
body > main { flex-grow: 1; }
.admin-bar { min-height: calc(100vh - 32px); }
@media (max-width: 782px) { .admin-bar { min-height: calc(100vh - 46px); } }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
[hidden] { display: none !important; }
img, video { max-width: 100%; height: auto; }
a { color: var(--red); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }

/* Toegankelijkheid ---------------------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	left: 12px;
	top: 12px;
	z-index: 100000;
	background: var(--card);
	color: var(--ink);
	padding: 10px 16px;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .2);
}

/* Mededeling (rode balk) ---------------------------------------------------- */
.mededeling {
	background: var(--red);
	color: #fff;
	font-size: 13px;
	text-align: center;
	padding: 6px 16px;
	letter-spacing: .02em;
}
.mededeling b, .mededeling strong { font-weight: 700; }
.mededeling a { color: #fff; }

/* Kop ----------------------------------------------------------------------- */
header.top {
	background: var(--ink);
	color: #fff;
	background-image:
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 28px 28px;
}
.top-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 18px;
	flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 18px; color: #fff; text-decoration: none; }
.brand svg, .brand .brand-logo { width: 118px; height: auto; flex: none; }
.brand .brand-logo { max-height: 96px; object-fit: contain; }
.slogan {
	font-family: var(--display);
	font-size: 20px;
	letter-spacing: .02em;
	line-height: 1.1;
	text-transform: uppercase;
}
.slogan small {
	display: block;
	font-family: var(--body);
	text-transform: none;
	font-size: 13px;
	letter-spacing: 0;
	color: #BDB7B1;
	margin-top: 4px;
}
.shops { display: flex; gap: 26px; font-size: 14px; color: #D9D4CF; }
.shops b {
	display: block;
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.shops a { color: inherit; text-decoration: none; }
.shops a:hover { color: #fff; text-decoration: underline; }

.nav-main { flex-basis: 100%; }
.nav-main ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nav-main a {
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.nav-main a:hover,
.nav-main .current-menu-item > a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

@media (max-width: 760px) {
	.shops { display: none; }
	.slogan { font-size: 17px; }
	.brand svg, .brand .brand-logo { width: 96px; }
}

/* Grote titel (bestelpagina en 404) ---------------------------------------- */
.hero { padding-block: 34px 22px; }
.hero h1 {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(40px, 6vw, 68px);
	line-height: .95;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: .01em;
	text-wrap: balance;
}
.hero h1 span { color: var(--red); }
.hero p { max-width: 60ch; color: var(--muted); font-size: 18px; margin: 14px 0 0; }
.hero-404 { padding-block: 60px 90px; }
.hero-404 p + p { margin-top: 26px; }

.button-red {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0;
	border-radius: 12px;
	background: var(--red);
	color: #fff;
	padding: 14px 20px;
	font-weight: 700;
	font-size: 17px;
	text-decoration: none;
	transition: background .15s;
}
.button-red:hover { background: var(--red-dark); color: #fff; }

/* Gewone pagina's en berichten ---------------------------------------------- */
.page-main { padding-bottom: 60px; }
.page-head { padding-block: 34px 18px; }
.page-head h1 {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: .01em;
	text-wrap: balance;
}
.page-intro { color: var(--muted); font-size: 18px; max-width: 60ch; margin-top: 10px; }
.entry-meta {
	margin: 0 0 8px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.entry { max-width: 820px; }
.entry-media { margin: 0 0 18px; }
.entry-media img { display: block; width: 100%; border-radius: 18px; }
.entry-content {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: clamp(20px, 4vw, 40px);
	font-size: 17px;
	line-height: 1.65;
}
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h2,
.entry-content h3 {
	font-family: var(--display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .02em;
	line-height: 1.1;
	margin: 1.6em 0 .5em;
}
.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1em; }
.entry-content li + li { margin-top: .25em; }
.entry-content a { text-underline-offset: 2px; }
.entry-content a:hover { color: var(--red-dark); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--red); font-size: 19px; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content figure { margin: 1.5em 0; }
.entry-content img { border-radius: 10px; }
.entry-content figcaption, .wp-element-caption { color: var(--muted); font-size: 14px; margin-top: 6px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.entry-content hr { border: 0; border-top: 2px solid var(--line); margin: 2em 0; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-block-button__link {
	background: var(--red);
	color: #fff;
	border-radius: 12px;
	font-weight: 700;
	padding: 12px 20px;
	text-decoration: none;
}
.wp-block-button__link:hover { background: var(--red-dark); color: #fff; }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.page-links { margin-top: 1.5em; font-weight: 600; display: flex; gap: 10px; }

.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.post-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.post-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card h2 {
	font-family: var(--display);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.1;
	text-transform: uppercase;
	margin: 0;
}
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card h2 a:hover { color: var(--red); }
.post-card p { margin: 0; color: var(--muted); }
.post-card .entry-meta { margin: 0; }
.post-card .more { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: none; }

.pagination { margin-top: 30px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	background: var(--card);
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--ink); }

.post-nav { display: flex; justify-content: space-between; gap: 20px; max-width: 820px; margin-top: 26px; font-weight: 700; }
.post-nav a { color: var(--ink); text-decoration: none; }
.post-nav a:hover { color: var(--red); }

.search-form { display: flex; gap: 8px; margin-top: 14px; }
.search-form label { flex: 1; }
.search-field {
	width: 100%;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	padding: 11px 13px;
	background: var(--card);
	font-size: 16px;
}
.search-field:focus { outline: 0; border-color: var(--ink); }
.search-submit { border: 0; border-radius: 12px; background: var(--red); color: #fff; font-weight: 700; padding: 0 18px; }

.comments { margin-top: 26px; }
.comments > * { max-width: 820px; }
.comments-title, .comment-reply-title {
	font-family: var(--display);
	font-weight: 400;
	font-size: 24px;
	text-transform: uppercase;
	margin: 0 0 14px;
}
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment-meta { font-size: 14px; color: var(--muted); }
.comment-meta a { color: inherit; }
.comment-author .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-respond {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: clamp(20px, 4vw, 32px);
}
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	padding: 11px 13px;
	background: var(--card);
	font-size: 16px;
}
.comment-form .submit { border: 0; border-radius: 12px; background: var(--red); color: #fff; font-weight: 700; padding: 12px 20px; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent input { margin-top: 4px; accent-color: var(--red); }
.comment-form-cookies-consent label { display: inline; margin: 0; font-weight: 400; font-size: 15px; color: var(--muted); }

/* Voet ---------------------------------------------------------------------- */
.site-footer {
	border-top: 1px solid var(--line);
	padding-block: 26px 34px;
	color: var(--muted);
	font-size: 14px;
}
.site-footer .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.site-footer b { color: var(--ink); }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--ink); }
.footer-shops { display: none; list-style: none; margin: 12px 0 0; padding: 0; flex-direction: column; gap: 4px; }
.footer-menu { margin-top: 12px; }
.footer-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 760px) {
	.footer-shops { display: flex; }
}

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