/* Bookhop-thema, stijl "Leesclub verfijnd" (A+) */
:root {
	--bh-bg: #FCFAF7;
	--bh-dark: #1F1A17;
	--bh-ink-soft: #2B2522;
	--bh-muted: #6B605A;
	--bh-line: #ECE5DC;
	--bh-border: #E2D9CE;
	--bh-paper: #FFFFFF;
	--bh-sand: #F5F0E9;
	--bh-accent: #7A2E3B;
	--bh-accent-dark: #5E2230;
	--bh-sage: #4C6650;
	--bh-radius: 6px;
	--bh-radius-lg: 8px;
	--bh-serif: 'Fraunces', Georgia, serif;
	--bh-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--bh-hand-font: 'Caveat', 'Segoe Print', cursive;
	--bh-max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; background: var(--bh-bg); color: var(--bh-dark);
	font-family: var(--bh-sans); font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--bh-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--bh-accent); }
:focus-visible { outline: 2px solid var(--bh-accent); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--bh-serif); font-weight: 400; line-height: 1.08; color: inherit; margin: 1.3em 0 .45em; letter-spacing: -0.4px; }
h1 { font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.9px; }
h2 { font-size: clamp(28px, 3.2vw, 38px); }
h3 { font-size: 24px; letter-spacing: -0.2px; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }

.bh-wrap { max-width: var(--bh-max); margin: 0 auto; padding: 0 32px; }
.bh-skip { position: absolute; left: -9999px; top: 8px; background: var(--bh-dark); color: #fff; padding: 8px 14px; border-radius: var(--bh-radius); z-index: 100; }
.bh-skip:focus { left: 12px; color: #fff; }

/* Aankondigingsbalk */
.bh-bar { border-bottom: 1px solid var(--bh-line); color: var(--bh-muted); font-size: 13px; text-align: center; padding: 8px 20px; background: var(--bh-bg); }
.bh-bar strong { color: var(--bh-dark); font-weight: 500; }
.bh-bar a { color: var(--bh-dark); }

/* Header */
.bh-header { border-bottom: 1px solid var(--bh-line); background: rgba(252, 250, 247, .96); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.2) blur(6px); }
.admin-bar .bh-header { top: 32px; }
.bh-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.bh-logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--bh-serif); font-weight: 500; font-size: 25px; line-height: 1; letter-spacing: -0.2px; text-decoration: none; color: var(--bh-dark); }
.bh-logo:hover { color: var(--bh-dark); }
.bh-logo__mark { color: var(--bh-dark); flex-shrink: 0; width: 26px; height: 26px; }
.bh-nav { display: flex; align-items: center; }
.bh-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.bh-menu a { text-decoration: none; padding: 4px 0; display: inline-block; border-bottom: 1px solid transparent; }
.bh-menu a:hover, .bh-menu .current-menu-item > a, .bh-menu .current_page_item > a { border-bottom-color: var(--bh-dark); color: var(--bh-dark); }
.bh-header__search { flex: 1 1 240px; min-width: 0; margin: 0 !important; max-width: none !important; }
.bh-header__search .bh-codeform__row { box-shadow: none !important; border-radius: var(--bh-radius) !important; padding: 0 12px !important; align-items: center; gap: 8px !important; background: #fff !important; border: 1px solid var(--bh-border) !important; }
.bh-header__search .bh-codeform__row:focus-within { border-color: var(--bh-dark) !important; }
.bh-header__search svg { color: var(--bh-muted); flex-shrink: 0; }
.bh-header__search input { min-height: 40px !important; height: 40px; padding: 0 !important; font-size: 15px !important; flex: 1 1 auto !important; }
.bh-header__search .bh-suggest { top: calc(100% + 8px); }
.bh-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.bh-header__pass { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; text-decoration: none; padding: 10px 12px; color: var(--bh-dark); border-radius: var(--bh-radius); }
.bh-header__pass:hover { background: var(--bh-sand); color: var(--bh-dark); }
.bh-nav__cta { background: var(--bh-dark); color: var(--bh-bg); padding: 11px 18px; border-radius: var(--bh-radius); font-weight: 500; font-size: 15px; text-decoration: none; transition: background .15s; white-space: nowrap; }
.bh-nav__cta:hover { background: var(--bh-accent); color: #fff; }

/* Gewone pagina's */
.bh-page { padding-top: 64px; padding-bottom: 96px; max-width: 880px; }
.bh-page--wide { max-width: var(--bh-max); }
.bh-page__title { margin-top: 0; }
.bh-content > *:first-child { margin-top: 0; }
.bh-content h2 { font-size: 32px; margin-top: 1.6em; }
.wp-block-button__link { background: var(--bh-accent); color: #fff; border-radius: var(--bh-radius); padding: 14px 24px; font-weight: 500; text-decoration: none; display: inline-block; transition: background .15s; }
.wp-block-button__link:hover { background: var(--bh-accent-dark); color: #fff; }
.bh-btn-outline .wp-block-button__link { background: transparent; color: var(--bh-dark); border: 1px solid var(--bh-dark); padding: 13px 22px; }
.bh-btn-outline .wp-block-button__link:hover { background: var(--bh-dark); color: var(--bh-bg); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Homepage-secties */
.bh-front > .wp-block-group { margin: 0; }
.bh-section { padding: 80px 32px; border-top: 1px solid var(--bh-line); }
.bh-section:first-child { border-top: 0; }
.bh-section > *,
.bh-section .wp-block-group__inner-container > * { max-width: var(--bh-max); margin-left: auto; margin-right: auto; }
.bh-section .wp-block-heading { margin-top: 0; margin-bottom: 28px; }
.bh-section .bh-hand { margin-bottom: 4px; }
.bh-section--sand { background: var(--bh-sand); border-bottom: 1px solid var(--bh-line); }
.bh-center { text-align: center; }
.bh-center > *, .bh-center .wp-block-group__inner-container > * { max-width: 680px; }
.bh-buttons-center, .bh-center .wp-block-buttons { justify-content: center; display: flex; }

.bh-head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.bh-head-row > * { margin-bottom: 0 !important; }
.bh-section .bh-head-row { margin-bottom: 28px; }

.bh-hero-wrap { padding-top: 88px; padding-bottom: 80px; }
.bh-hero { gap: 64px; align-items: center !important; }
.bh-hero .bh-display, .bh-hero h1 { margin: 16px 0 22px; font-size: clamp(42px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -1.2px; font-weight: 400; }
.bh-hero .bh-display em { font-style: italic; color: inherit; }
.bh-hero .bh-lead { max-width: 500px; font-size: 19px; }
.bh-hero .wp-block-buttons { margin: 26px 0 18px; }

.bh-hand { margin: 0; font-family: var(--bh-hand-font); font-size: 26px; line-height: 1.1; color: var(--bh-accent); }
.bh-eyebrow { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; color: var(--bh-accent); }
.bh-lead { font-size: 18px; color: var(--bh-muted); }
.bh-more { margin: 0; font-size: 15px; }
.bh-more a { text-decoration: none; }
.bh-more a::after { content: ' →'; }

.bh-steps { gap: 0 !important; border-top: 1px solid #DCD2C5; }
.bh-steps > .wp-block-column { padding: 28px 32px 4px 32px; border-left: 1px solid #DCD2C5; }
.bh-steps > .wp-block-column:first-child { padding-left: 0; border-left: 0; }
.bh-steps h3 { margin: 8px 0 10px !important; font-size: 24px; }
.bh-steps p { color: var(--bh-muted); }
.bh-step-nr { font-family: var(--bh-serif); font-size: 15px; color: var(--bh-accent) !important; margin: 0; line-height: 1; }

.bh-duo { gap: 64px; }
.bh-duo .wp-block-heading { margin-bottom: 0; font-size: 32px; }
.bh-event, .bh-point { border-bottom: 1px solid var(--bh-line); padding: 16px 0; margin: 0; font-size: 15px; color: var(--bh-muted); }
.bh-duo .bh-head-row + .bh-event, .bh-duo .bh-head-row + .bh-point, .bh-duo .wp-block-heading + p + .bh-event, .bh-duo .wp-block-heading + p + .bh-point { border-top: 1px solid var(--bh-line); }
.bh-event strong, .bh-point strong { color: var(--bh-dark); font-size: 16px; font-weight: 500; }
.bh-duo .bh-more { margin-top: 16px; }
.bh-callout { background: var(--bh-sand); border-radius: var(--bh-radius-lg); padding: 24px 28px; font-size: 16px; }
.bh-places { margin: 32px 0 48px; }
.bh-places .wp-block-heading { margin: 4px 0 8px; }
.bh-places .bh-hand { margin-bottom: 0; }
.bh-places .bh-event:first-of-type, .bh-places .bh-point:first-of-type { border-top: 1px solid var(--bh-line); }
.bh-callout__title { margin-top: 8px; }
.wp-block-heading[id], .bh-request { scroll-margin-top: 100px; }

/* Footer */
.bh-footer { background: var(--bh-sand); color: var(--bh-muted); border-top: 1px solid var(--bh-line); }
.bh-footer a { color: var(--bh-dark); text-decoration: none; }
.bh-footer a:hover { color: var(--bh-accent); }
.bh-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; font-size: 15px; }
.bh-footer .bh-logo { font-size: 22px; }
.bh-footer__brand p { margin: 12px 0 0; max-width: 340px; }
.bh-footer__title { font-family: var(--bh-sans); font-size: 12px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; color: var(--bh-muted); margin: 4px 0 12px; }
.bh-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bh-footer__bottom { border-top: 1px solid var(--bh-line); padding-top: 18px; padding-bottom: 26px; font-size: 13px; }

@media (max-width: 1100px) {
	.bh-header__search { order: 5; flex-basis: 100%; }
}
@media (max-width: 960px) {
	.bh-footer__grid { grid-template-columns: 1fr 1fr; }
	.bh-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .bh-header__pass span { display: none; } }
@media (max-width: 782px) {
	.admin-bar .bh-header { top: 0; position: relative; }
	.bh-header { position: relative; }
	.bh-steps > .wp-block-column { padding: 22px 0 4px !important; border-left: 0 !important; border-top: 1px solid #DCD2C5; }
	.bh-steps > .wp-block-column:first-child { border-top: 0; }
}
@media (max-width: 700px) {
	.bh-wrap { padding: 0 20px; }
	.bh-section { padding: 56px 20px; }
	.bh-hero-wrap { padding-top: 40px; padding-bottom: 56px; }
	.bh-page { padding-top: 40px; padding-bottom: 64px; }
	.bh-logo { font-size: 23px; }
	.bh-menu { gap: 2px 18px; font-size: 15px; }
	.bh-nav { order: 4; width: 100%; }
	.bh-header__inner { gap: 10px 12px; }
	.bh-nav__cta { padding: 10px 14px; font-size: 14px; }
	.bh-bar { font-size: 12px; }
}
.bh-head-row, .bh-head-row > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.bh-head-row .wp-block-heading { margin: 0 !important; }
.bh-section .bh-head-row { margin-bottom: 28px; }
.bh-duo .bh-head-row { margin-bottom: 16px; }
.bh-duo .bh-head-row + .bh-point, .bh-duo .bh-head-row + .bh-event { border-top: 1px solid var(--bh-line); }

/* Code invoeren in de kop */
.bh-nav__code { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--bh-dark); color: var(--bh-dark); padding: 10px 16px; border-radius: var(--bh-radius); font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap; }
.bh-nav__code:hover { background: var(--bh-dark); color: var(--bh-bg); }
@media (max-width: 700px) {
	.bh-header__actions { order: 3; width: 100%; margin-left: 0; display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px; }
	.bh-nav__code, .bh-nav__cta { justify-content: center; text-align: center; padding: 11px 10px; font-size: 14px; }
	.bh-header__pass { padding: 10px; border: 1px solid var(--bh-border); justify-content: center; }
	.bh-nav { order: 4; }
	.bh-header__search { order: 5; }
}
.bh-header__search { flex: 1 1 200px; max-width: 360px !important; }
.bh-header__actions { flex-shrink: 0; }
@media (max-width: 1240px) and (min-width: 701px) { .bh-header__search { order: 5; flex-basis: 100%; max-width: none !important; } }
