/* Smeerpijp: 1 op 1 van smeerpijpbier.nl, zonder Elementor. Maten komen uit de live site (1440 px, 820 px, 390 px). */

:root {
	--sp-rand: #eaaf3b;
	--sp-goud: #ffb000;
	--sp-leisteen: #2b2b2b;
	--sp-inkt: #1e1e1e;
	--sp-actief: #3f444b;
}
html { scroll-behavior: auto; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }
.sp-main > *, .entry-content > * { margin-block-start: 0; margin-block-end: 0; }
.sp-main p, .sp-main h1, .sp-main h2, .sp-main h3, .sp-main h4, .sp-main h5 { margin-top: 0; }
.wp-block-post-content { max-width: none; }
.wp-block-post-content > .alignfull { max-width: none; }

/* Kop met oranje rand en logo links, menu rechts */
.sp-header {
	box-sizing: border-box; min-height: 95px; border: 4px solid var(--sp-rand);
	background: #efede8; padding: 0 11px 0 26px; align-items: center; gap: 16px;
}
.sp-logo { margin: 0; line-height: 0; }
.sp-logo img { width: 316px; height: auto; display: block; }
.sp-nav { position: relative; top: -6px; font-family: var(--wp--preset--font-family--yeager); font-weight: 900; font-size: 16px; line-height: 20px; }
.sp-nav .wp-block-navigation-item__content.wp-block-navigation-item__content { padding: 13px 20px; color: var(--sp-inkt); text-decoration: none; }
.sp-nav .wp-block-navigation__container { gap: 0; }
.sp-nav .current-menu-item > .wp-block-navigation-item__content.wp-block-navigation-item__content,
.sp-nav .wp-block-navigation-item__content.wp-block-navigation-item__content[aria-current="page"] { background: var(--sp-actief); color: #fff; }
.sp-nav .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { background: var(--sp-actief); color: #fff; }
.sp-nav .wp-block-navigation__responsive-container-open { background: rgba(0,0,0,.05); color: #33373d; border-radius: 3px; padding: 5.5px; }

/* Hero met video */
.sp-hero { position: relative; overflow: hidden; height: max(203px, min(550px, 38.2vw)); background: #e8a517 url("../img/hero-poster.webp") center / cover no-repeat; margin: 0; }
.sp-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-hero-logo { position: absolute; left: 15.14%; top: clamp(35px, 9.45vw, 136px); width: 71.3%; max-width: 1027px; height: auto; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .sp-hero video { display: none; } }

/* Bieren */
.sp-bieren { position: relative; z-index: 2; box-sizing: border-box; max-width: 1200px; margin: -230px auto 0; padding-bottom: 5px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; }
.sp-bier { padding: 0 15px; }
.sp-bier .wp-block-image { margin: 0; }
.sp-bier .wp-block-image img { width: 100%; height: auto; display: block; margin: 0 auto; }
.sp-bier h3 { text-align: center; margin: 0 0 10px; overflow-wrap: break-word; }
.sp-bier h5 { text-align: center; margin: 0; text-transform: none; }
.sp-bier p { margin: 0 0 29px; }
.sp-bier p:last-child { font-style: italic; margin-bottom: 0; }
.sp-bier .naam-stijl { margin: 0; }

/* Pasfoto bij hover over de bierkop */
.sp-bier .wp-block-image { position: relative; }
.sp-bier .wp-block-image::after { content: ""; position: absolute; top: 4%; left: 50%; width: 64%; aspect-ratio: 7 / 9; box-sizing: border-box; border: 5px solid #f3eee2; border-bottom-width: 9px; background: #f3eee2 center / cover no-repeat; box-shadow: 0 6px 18px rgba(30,30,30,.35); opacity: 0; transform: translateX(-50%) scale(.85) rotate(0deg); transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.3,1.2); pointer-events: none; }
.sp-bier .wp-block-image:hover::after { opacity: 1; transform: translateX(-50%) scale(1) rotate(-4deg); }
.sp-bier-nachtburgemeester .wp-block-image:hover::after, .sp-bier-rauwdouwer .wp-block-image:hover::after { transform: translateX(-50%) scale(1) rotate(3deg); }
.sp-bier-ausputzer .wp-block-image::after { background-image: url("../img/pasfoto-ausputzer.webp"); }
.sp-bier-nachtburgemeester .wp-block-image::after { background-image: url("../img/pasfoto-nachtburgemeester.webp"); }
.sp-bier-gouwe-gozer .wp-block-image::after { background-image: url("../img/pasfoto-gouwe-gozer.webp"); }
.sp-bier-rauwdouwer .wp-block-image::after { background-image: url("../img/pasfoto-rauwdouwer.webp"); }
.sp-bier-kletsmajoor .wp-block-image::after { background-image: url("../img/pasfoto-kletsmajoor.webp"); }

/* Donker kader met tekst */
.sp-kader { box-sizing: border-box; max-width: 1200px; margin: 20px auto 0; background: var(--sp-leisteen); border: 4px solid #fff; padding: 18px; color: #fff; text-align: center; }
.sp-kader p { max-width: 548px; margin: 0 auto 24px; color: #fff; }
.sp-kader p:last-child { margin-bottom: 0; }

/* Foto-banden */
.sp-band { margin: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.sp-kroeg { margin-top: 45px; height: clamp(260px, 40vw, 620px); background-image: url("../img/kroeg.webp"); background-position: center 42%; }
.sp-flesjes { height: 330px; background-image: url("../img/flesjes.webp"); position: relative; }

/* Oproep met zonnestralen */
.sp-oproep { background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) fixed, #fff url("../img/sunray.webp") center top / cover fixed no-repeat; padding: 44px 0 33px; text-align: center; }
.sp-oproep h1 { margin: 0 0 10px; text-align: center; }
.sp-oproep h3 { margin: 0 0 29px; color: var(--sp-inkt); font-size: 36px; text-align: center; }
.sp-oproep-kader { box-sizing: border-box; max-width: 1164px; margin: 0 auto; background: var(--sp-leisteen); padding: 20px; }
.wp-block-button__link, .sp-knop .wp-block-button__link { background: var(--sp-goud); color: #303030; font-family: var(--wp--preset--font-family--inter); font-size: 18px; line-height: 18px; padding: 20px 40px; border-radius: 5px; text-decoration: none; font-weight: 400; }
.wp-block-button__link:hover { background: #ffc233; color: #303030; }
.sp-knop { margin: 0; justify-content: center; }

/* Sociale knoppen op de flesjes */
.sp-sociaal { position: absolute; top: 175px; left: 70.8%; transform: translateX(-50%); display: flex; gap: 5px; margin: 0; }
.sp-sociaal a { display: block; width: 50px; height: 50px; border-radius: 10%; background-repeat: no-repeat; background-position: center; background-size: 25px; }
.sp-sociaal .untappd { background-color: #ffb116; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23303030'%3E%3Cpath d='M5 4h11v2h2.5A2.5 2.5 0 0 1 21 8.5v5a2.5 2.5 0 0 1-2.5 2.5H16v1a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3zm11 4v6h2.5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5zM8 8v9h5V8zm2 1.5h1V16h-1z'/%3E%3C/svg%3E"); }
.sp-sociaal .instagram { background-color: #da1999; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='.8' fill='%23fff'/%3E%3C/svg%3E"); }
.sp-sociaal a:hover { filter: brightness(1.12); }
.sp-sociaal a:focus-visible, .sp-nav a:focus-visible, .wp-block-button__link:focus-visible { outline: 3px solid var(--sp-inkt); outline-offset: 3px; }

/* Contact */
.sp-pagina { box-sizing: border-box; max-width: 1170px; margin: 0 auto; padding: 50px 0 0; }
.sp-pagina h2 { margin: 0 0 20px; }
.sp-contact { display: grid; grid-template-columns: 44.1% 55.9%; align-items: start; }
.sp-contact h4 { margin: 0; }
.sp-contact p { margin: 0; }
.sp-contact .adres { color: #746969; }
.sp-contact .adres strong { font-weight: 700; }
.sp-contact .mail a { color: var(--sp-inkt); text-decoration: none; }
.sp-contact .mail a::before { content: ""; display: inline-block; width: 16px; height: 12px; margin-right: 6px; background: #746969; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 0h16v1.6L8 7 0 1.6zM0 3.4l8 5.4 8-5.4V12H0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 0h16v1.6L8 7 0 1.6zM0 3.4l8 5.4 8-5.4V12H0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sp-contact .wp-block-image { margin: 0; }
.sp-contact .wp-block-image img { width: 100%; height: auto; display: block; }
.sp-contact .rechts { grid-column: 2; }
.sp-untappd-logo { margin: 20px 0 0; padding: 0 28px 40px 0; text-align: right; }
.sp-untappd-logo img { width: 112px; height: auto; }

/* Wall of Fame */
.sp-wall { min-height: calc(100vh - 95px); display: flex; align-items: center; justify-content: center; background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) fixed, #fff url("../img/sunray.webp") center / cover fixed no-repeat; padding: 138px 0 40px; }
.sp-wall-inhoud { box-sizing: border-box; width: 100%; max-width: 1170px; }
.sp-wall h1 { text-align: center; margin: 0 0 8px; }
.sp-wall h3.dank { text-align: center; margin: 0 0 28px; font-family: Arial, Helvetica, sans-serif; font-weight: 400; font-size: 32px; line-height: 1.2; color: var(--sp-inkt); }
.sp-wall-kolommen { display: grid; grid-template-columns: 1fr 626px; column-gap: 28px; align-items: start; }
.sp-wall-logos { display: grid; gap: 20px; justify-items: center; padding-top: 6px; }
.sp-wall-logos img { width: 300px; max-width: 100%; height: auto; display: block; }
.sp-wall-namen { margin: 0; font-weight: 700; line-height: 29px; }

/* Voet */
.sp-footer { box-sizing: border-box; background: #131313; border: 4px double #656565; padding: 18px 0 15px; text-align: center; font-family: var(--wp--preset--font-family--din); color: #828282; letter-spacing: 1px; }
.sp-footer p { margin: 0; color: #828282; }
.sp-footer a { color: #fff; text-decoration: none; }

.sp-footer .sp-nix18 { margin: 0 0 14px; }
.sp-footer .sp-nix18 a { display: inline-flex; align-items: center; gap: 14px; color: #828282; }
.sp-footer .sp-nix18 a::before { content: ""; width: 104px; aspect-ratio: 345 / 96; background: url("../img/nix18.svg") center / contain no-repeat; }
.sp-footer .sp-nix18 a:hover { color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Leeftijdspoort */
.sp-poort { display: none; }
.sp-poort-dicht, .sp-poort-dicht body { overflow: hidden; }
.sp-poort-dicht .sp-poort { display: flex; position: fixed; inset: 0; z-index: 100000; align-items: center; justify-content: center; box-sizing: border-box; padding: 16px; overflow-y: auto; background: rgba(19,19,19,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sp-poort-kaart { box-sizing: border-box; width: 100%; max-width: 480px; margin: auto; background: #efede8; border: 4px solid var(--sp-rand); padding: 34px 32px 26px; text-align: center; font-family: var(--wp--preset--font-family--inter); color: #746969; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.sp-poort-logo { display: block; width: 240px; max-width: 80%; height: auto; margin: 0 auto 26px; }
.sp-poort h2 { margin: 0 0 12px; font-size: 40px; line-height: 1; color: var(--sp-inkt); }
.sp-poort-kaart > p { margin: 0 auto 24px; max-width: 360px; font-size: 16px; line-height: 1.6; }
.sp-poort-knoppen { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sp-poort-knoppen button { font-family: var(--wp--preset--font-family--inter); font-size: 18px; line-height: 18px; padding: 18px 34px; border-radius: 5px; cursor: pointer; border: 2px solid transparent; }
.sp-poort-ja { background: var(--sp-goud); color: #303030; }
.sp-poort-ja:hover { background: #ffc233; }
.sp-poort-nee { background: transparent; color: var(--sp-inkt); border-color: var(--sp-inkt) !important; }
.sp-poort-nee:hover { background: var(--sp-inkt); color: #fff; }
.sp-poort-knoppen button:focus-visible, .sp-poort-melding a:focus-visible { outline: 3px solid var(--sp-inkt); outline-offset: 3px; }
.sp-poort-kaart > .sp-poort-melding { margin: 18px auto 0; color: var(--sp-inkt); }
.sp-poort-kaart > .sp-poort-melding:empty { display: none; }
.sp-poort-melding a { color: var(--sp-inkt); }
.sp-poort-nix18 { display: block; width: 120px; height: auto; margin: 26px auto 0; padding-top: 22px; border-top: 1px solid rgba(30,30,30,.15); box-sizing: content-box; }

/* Naar boven */
.sp-naar-boven { position: fixed; right: 30px; bottom: 30px; width: 48px; height: 48px; border: 0; background: var(--sp-goud) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23303030' stroke-width='1.5'%3E%3Cpath d='M5 15l7-7 7 7'/%3E%3C/svg%3E") center / 26px no-repeat; cursor: pointer; z-index: 50; }
.sp-naar-boven[hidden] { display: none; }

/* Tablet */
@media (max-width: 1024px) {
	.sp-hero { height: 48.8vw; }
	.sp-bieren { margin-top: -190px; }
	.sp-bier { padding: 0 8px; }
	.sp-bier h3 { font-size: 28px; line-height: 28px; }
	.sp-bier h5 { font-size: 20px; line-height: 22px; }
	.sp-kader { margin-left: 20px; margin-right: 20px; }
	.sp-sociaal { left: 50%; }
	.sp-wall-kolommen { grid-template-columns: 1fr; row-gap: 20px; padding: 0 20px; }
	.sp-pagina { padding-left: 20px; padding-right: 20px; }
}

/* Mobiel */
@media (max-width: 767px) {
	body { font-size: 14px; }
	.sp-header { flex-wrap: wrap; justify-content: center; padding: 11px 26px 14px; min-height: 153px; }
	.sp-header > * { flex: 0 0 auto; }
	.sp-nav { justify-content: center; top: 0; }
	.sp-hero { height: 203px; }
	.sp-bier h3 { font-size: 22px; line-height: 22px; }
	.sp-bier h5 { font-size: 18px; line-height: 18px; }
	.sp-bieren { grid-template-columns: 1fr; row-gap: 0; margin-top: -100px; max-width: 310px; padding: 0 5px; box-sizing: content-box; }
	.sp-bier { padding: 0 15px; }
	.sp-bier .wp-block-image img { width: 135px; }
	.sp-bier p { font-size: 14px; line-height: 1.8; }
	.sp-kader { margin: 20px 40px 0; }
	.sp-kroeg { margin-top: 45px; }
	.sp-oproep { padding: 50px 20px 40px; }
	.sp-oproep h1 { font-size: 32px; line-height: 1; }
	.sp-oproep h3 { font-size: 22px; line-height: 1.1; }
	.wp-block-button__link { padding: 20px 40px; }
	.sp-flesjes { height: 400px; }
	.sp-sociaal { top: 263px; }
	.sp-contact { grid-template-columns: 1fr; row-gap: 20px; }
	.sp-contact .rechts { grid-column: 1; }
	.sp-untappd-logo { padding-right: 0; text-align: center; }
	.sp-wall h1 { font-size: 40px; }
	.sp-wall h3.dank { font-size: 22px; }
	.sp-footer { padding: 30px 20px 40px; line-height: 1.3; }
	.sp-oproep-kader { padding: 20px 80px; }
	.sp-naar-boven { right: 16px; bottom: 16px; }
	.sp-poort-kaart { padding: 28px 20px 22px; }
	.sp-poort h2 { font-size: 32px; }
	.sp-poort-kaart > p { font-size: 15px; }
	.sp-poort-knoppen button { flex: 1 1 100%; }
	.sp-footer .sp-nix18 a { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } .sp-bier .wp-block-image::after { transition: opacity .2s ease; } }
