/* ==========================================================================
   Blåveis – theme styles
   Palette lives in theme.json; this file adds texture, motion and layout.
   ========================================================================== */

:root {
	--bv-skog: var(--wp--preset--color--skog, #1E441F);
	--bv-skog-dyp: var(--wp--preset--color--skog-dyp, #132E14);
	--bv-mose: var(--wp--preset--color--mose, #567357);
	--bv-salvie: var(--wp--preset--color--salvie, #8FA28F);
	--bv-salvie-lys: var(--wp--preset--color--salvie-lys, #C7D0C7);
	--bv-krem: var(--wp--preset--color--krem, #F4F1E8);
	--bv-oransje: var(--wp--preset--color--oransje, #FF9300);
	--bv-rust: var(--wp--preset--color--rust, #A65300);
	--bv-sort: var(--wp--preset--color--sort, #0E1A0E);
	--bv-radius: 18px;
	--bv-ease: cubic-bezier(.2, .8, .2, 1);
	--bv-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.site-main > .wp-block-post-content > .alignfull { margin-block: 0; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--bv-oransje); color: var(--bv-sort); }
:focus-visible { outline: 3px solid var(--bv-oransje); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .wp-block-post-title { text-wrap: balance; }
strong, b { font-weight: 700; }
p { text-wrap: pretty; }
img { height: auto; }

/* Grain texture ------------------------------------------------------------ */
.is-style-grain { position: relative; isolation: isolate; }
.is-style-grain::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: var(--bv-grain); opacity: .09; mix-blend-mode: overlay;
}

/* Header ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header__brand { line-height: 0; }
.site-header__brand img { transition: transform .6s var(--bv-ease); }
.site-header__brand a:hover img { transform: rotate(-8deg) scale(1.04); }
.site-header__right { gap: clamp(.75rem, 2vw, 2rem) !important; }
.site-nav a { text-decoration: none; position: relative; padding-block: .35rem; }
.site-nav .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--bv-oransje); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--bv-ease);
}
.site-nav .wp-block-navigation-item__content:hover::after,
.site-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.wp-block-navigation__responsive-container.is-menu-open { padding: 2rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-family: var(--wp--preset--font-family--display); font-size: 2.2rem; text-transform: none; letter-spacing: 0; }

/* Open/closed badge */
.open-badge {
	display: inline-flex; align-items: center; gap: .5em; white-space: nowrap;
	font-family: var(--wp--preset--font-family--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
	padding: .45em .9em; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
}
.open-badge__dot { width: .55em; height: .55em; border-radius: 50%; background: var(--bv-salvie); }
.open-badge.is-open .open-badge__dot { background: var(--bv-oransje); box-shadow: 0 0 0 0 rgba(255,147,0,.7); animation: bv-pulse 2s infinite; }
@keyframes bv-pulse { 70% { box-shadow: 0 0 0 .6em rgba(255,147,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,147,0,0); } }
@media (max-width: 600px) { .site-header .open-badge { display: none; } .site-header__brand img { width: 66px !important; } }

/* Utilities ---------------------------------------------------------------- */
.eyebrow, p.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--mono); font-size: var(--wp--preset--font-size--xs);
	letter-spacing: .14em; text-transform: uppercase; margin-bottom: .75rem !important;
}
.eyebrow::before, p.is-style-eyebrow::before { content: "● "; color: var(--bv-oransje); }
.is-style-ghost .wp-block-button__link { background: transparent !important; color: currentColor !important; box-shadow: inset 0 0 0 2px currentColor; }
.is-style-ghost .wp-block-button__link:hover { background: var(--bv-krem) !important; color: var(--bv-skog) !important; box-shadow: inset 0 0 0 2px var(--bv-krem); }
.wp-element-button, .wp-block-button__link { transition: background-color .25s, color .25s, transform .25s var(--bv-ease); }
.wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
.hl { color: var(--bv-oransje); font-style: italic; }
mark.hl-mark { background: var(--bv-oransje); color: var(--bv-sort); padding: 0 .2em; border-radius: .2em; }

/* Reveal on scroll (JS adds .is-in) */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--bv-ease), transform .9s var(--bv-ease); }
	.js .reveal.is-in { opacity: 1; transform: none; }
}

/* Front hero --------------------------------------------------------------- */
.hero { min-height: min(92vh, 960px); display: flex; align-items: center; overflow: hidden; }
.hero .wp-block-columns { width: 100%; align-items: center !important; }
.hero__title { font-size: clamp(2.9rem, 7.4vw, 7rem) !important; white-space: nowrap; line-height: .95 !important; margin: 0 0 1.5rem !important; }
.hero__title em { color: var(--bv-oransje); font-style: normal; }
.hero__lede { max-width: 34ch; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 1.75rem 2.5rem; margin-top: 2.5rem !important; padding: 0; list-style: none; }
.hero__stats li { display: grid; gap: .35rem; font-family: var(--wp--preset--font-family--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bv-salvie-lys); }
.hero__stats strong { font-family: var(--wp--preset--font-family--display); font-size: 2.4rem; color: var(--bv-krem); text-transform: none; line-height: 1; font-weight: 400; }

.hero__art { position: relative; aspect-ratio: 4 / 5; max-width: 520px; margin-inline: auto; width: 100%; }
.hero__art > * { margin: 0 !important; }
.hero__photo { position: absolute !important; inset: 0; z-index: 2; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px var(--bv-radius) var(--bv-radius) !important; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.vinyl {
	position: absolute; z-index: 1; width: 82%; aspect-ratio: 1; right: -38%; top: 12%;
	border-radius: 50%;
	background:
		radial-gradient(circle, var(--bv-oransje) 0 16.5%, transparent 16.8%),
		repeating-radial-gradient(circle, #111 0 1.1px, #1c1c1c 1.6px 3px),
		#111;
	box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), inset 0 0 0 6px #0b0b0b;
	animation: bv-spin 9s linear infinite;
}
.vinyl::before { /* light sheen */
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: conic-gradient(from 30deg, transparent 0 20%, rgba(255,255,255,.14) 25%, transparent 32% 70%, rgba(255,255,255,.1) 75%, transparent 82%);
}
.vinyl::after { /* spindle hole */
	content: ""; position: absolute; width: 3%; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; background: var(--bv-skog);
}
.vinyl__label { position: absolute !important; left: 50%; top: 50%; width: 24%; translate: -50% -50%; margin: 0 !important; z-index: 1; }
.vinyl__label img { width: 100%; border-radius: 0 !important; opacity: .85; }
@keyframes bv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vinyl { animation: none; } }
.hero__sticker {
	margin: 0; position: absolute; z-index: 3; left: -6%; bottom: 8%; width: 132px; aspect-ratio: 1; border-radius: 50%;
	display: grid; place-content: center; text-align: center; rotate: -12deg;
	background: var(--bv-oransje); color: var(--bv-sort);
	font-family: var(--wp--preset--font-family--display); line-height: 1; font-size: 1.05rem;
	box-shadow: 0 14px 30px -10px rgba(0,0,0,.5);
}
.hero__sticker strong { display: block; font-size: 2.4rem; font-weight: 400; }
@media (max-width: 781px) {
	.hero { min-height: auto; padding-top: 3rem !important; }
	.hero__art { max-width: 380px; margin-top: 1rem; }
	.vinyl { right: -22%; }
	.hero__sticker { left: -2%; width: 110px; }
}

/* Week program ------------------------------------------------------------- */
.week > * { margin: 0 !important; }
.week__day > * { margin: 0 !important; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; margin-top: 2rem; }
.week__day {
	background: var(--bv-hvit, #fff); border-radius: 14px; padding: 1rem .85rem 1.1rem; min-height: 220px;
	display: flex; flex-direction: column; gap: .6rem; border: 1px solid rgba(30,68,31,.12);
	transition: transform .35s var(--bv-ease), box-shadow .35s;
}
.week__day:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(19,46,20,.45); }
.week__day.is-today { background: var(--bv-skog); color: var(--bv-krem); border-color: var(--bv-skog); }
.week__day.is-today .week__name::after { content: "I dag"; margin-left: auto; font-size: .62rem; background: var(--bv-oransje); color: var(--bv-sort); padding: .2em .55em; border-radius: 999px; letter-spacing: .08em; }
.week__day.is-closed { background: transparent; border-style: dashed; }
.week__name { display: flex; align-items: center; font-family: var(--wp--preset--font-family--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.week__hours { font-family: var(--wp--preset--font-family--display); font-size: 1.2rem; line-height: 1.15; }
.week__ev { font-size: .88rem; line-height: 1.3; padding-top: .55rem; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 18%, transparent); }
.week__ev strong { font-family: var(--wp--preset--font-family--mono); font-size: .68rem; font-weight: 500; color: var(--bv-rust); }
.week__day.is-today .week__ev strong { color: var(--bv-oransje); }
.week__ev a { text-decoration: none; }
.week__ev a:hover { text-decoration: underline; }
@media (max-width: 1000px) {
	.week { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(180px, 46%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
	.week__day { scroll-snap-align: start; }
}

/* Utforsk gallery (horizontal scroll strip) ------------------------------- */
.strip {
	display: flex !important; gap: 1.25rem !important; overflow-x: auto; scroll-snap-type: x mandatory;
	padding: .5rem clamp(1rem, 4vw, 2.5rem) 2rem !important; margin-inline: calc(-1 * clamp(1rem, 4vw, 2.5rem)) !important;
	scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip > .strip__card { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; margin: 0 !important; }
.strip__card { background: var(--bv-skog-dyp); color: var(--bv-krem); border-radius: var(--bv-radius); overflow: hidden; display: flex; flex-direction: column; }
.strip__card .wp-block-image { margin: 0; overflow: hidden; }
.strip__card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 0 !important; transition: transform .8s var(--bv-ease); }
.strip__card:hover img { transform: scale(1.05); }
.strip__card h3 { color: var(--bv-oransje); font-size: 1.4rem !important; margin: 1.1rem 1.2rem .35rem !important; }
.strip__card p { font-size: .92rem; margin: 0 1.2rem 1.3rem !important; color: var(--bv-salvie-lys); }
.strip__card p ~ p { display: none; } /* full caption shows in the lightbox */
.editor-styles-wrapper .strip__card p ~ p { display: block; opacity: .6; }
.strip-controls { display: flex; gap: .5rem; justify-content: flex-end; margin: -3.5rem 0 1rem auto; color: var(--bv-skog); }
@media (max-width: 600px) { .strip-controls { margin-top: 0; } }
.strip-controls button {
	width: 52px; height: 52px; border-radius: 50%; border: 2px solid currentColor; background: transparent; color: inherit;
	font-size: 1.3rem; cursor: pointer; transition: background .2s, color .2s;
}
.strip-controls button:hover { background: var(--bv-oransje); border-color: var(--bv-oransje); color: var(--bv-sort); }

/* Vision / quote ----------------------------------------------------------- */
.vision__quote { font-size: clamp(1.5rem, 3vw, 2.4rem) !important; line-height: 1.25 !important; letter-spacing: -.02em; font-weight: 500; }
.vision__quote strong { font-family: var(--wp--preset--font-family--display); font-weight: 400; color: var(--bv-skog); letter-spacing: 0; }

/* Split feature ----------------------------------------------------------- */
.feature-img img { border-radius: var(--bv-radius) !important; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.is-style-polaroid { background: #fff; padding: .75rem .75rem 2.75rem; border-radius: 6px !important; box-shadow: 0 25px 50px -20px rgba(0,0,0,.35); rotate: -2.5deg; transition: rotate .5s var(--bv-ease); }
.is-style-polaroid img { border-radius: 2px !important; }
.is-style-polaroid:hover { rotate: 0deg; }
.is-style-polaroid figcaption { font-family: var(--wp--preset--font-family--display); color: var(--bv-sort); text-align: center; margin-top: .8rem; }

/* Tags list --------------------------------------------------------------- */
ul.is-style-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
ul.is-style-tags li {
	padding: .55em 1.1em; border-radius: 999px; background: var(--bv-salvie-lys); color: var(--bv-skog);
	font-weight: 600; font-size: var(--wp--preset--font-size--sm);
}
ul.is-style-tags li:nth-child(3n+2) { background: var(--bv-oransje); color: var(--bv-sort); }
ul.is-style-tags li:nth-child(3n) { background: var(--bv-skog); color: var(--bv-krem); }

/* Utforsk page – record crate grid ---------------------------------------- */
.crate { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(1rem, 2.5vw, 2rem) !important; }
.crate > * { margin: 0 !important; }
.sleeve { position: relative; color: var(--bv-krem); border-radius: var(--bv-radius); overflow: hidden; aspect-ratio: 1; background: var(--bv-skog); isolation: isolate; }
.sleeve > * { margin: 0 !important; }
.sleeve__img { position: absolute !important; inset: 0; }
.sleeve__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform .9s var(--bv-ease), filter .5s; filter: saturate(.9); }
.sleeve::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 40%, rgba(14,26,14,.88) 100%); }
.sleeve::after { /* record peeking behind the photo */
	content: ""; position: absolute; z-index: -1; width: 86%; aspect-ratio: 1; top: 7%; right: 7%; border-radius: 50%;
	background: radial-gradient(circle, var(--bv-oransje) 0 15%, #121212 15.5% 100%);
}
.sleeve__title { position: absolute !important; z-index: 2; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important; line-height: 1.05 !important; color: var(--bv-krem) !important; }
.sleeve__title a { color: inherit; text-decoration: none; }
.sleeve__title a::after { content: ""; position: absolute; inset: -100vh -100vw; } /* whole card is the link */
.sleeve { cursor: pointer; }
.sleeve__title::after { content: "→"; flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; background: var(--bv-oransje); color: var(--bv-sort); font-family: var(--wp--preset--font-family--body); font-size: 1.2rem; transition: transform .45s var(--bv-ease); }
.sleeve:hover .sleeve__img img, .sleeve:focus-within .sleeve__img img { transform: scale(1.06) translateX(-4%); filter: saturate(1.1); }
.sleeve:hover .sleeve__title::after { transform: rotate(-45deg); }
.sleeve__num { position: absolute !important; z-index: 2; top: 1rem; left: 1.25rem; font-family: var(--wp--preset--font-family--mono); font-size: .72rem; letter-spacing: .12em; background: rgba(14,26,14,.55); backdrop-filter: blur(6px); padding: .3em .7em; border-radius: 999px; }

/* Page + service hero ------------------------------------------------------ */
.page-hero__title, .service-hero__title { font-size: clamp(2.8rem, 7vw, 6rem) !important; line-height: 1 !important; }
.service-hero { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60) !important; overflow: hidden; }
.service-hero__lede { color: var(--bv-salvie-lys); max-width: 36ch; }
.service-hero__img img { border-radius: 999px 999px var(--bv-radius) var(--bv-radius); box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); }
.back-link { font-family: var(--wp--preset--font-family--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.5rem !important; }
.back-link a { text-decoration: none; color: var(--bv-salvie-lys); }
.back-link a:hover { color: var(--bv-oransje); }
.service-body > * { margin-block: 0; }
.service-body > * + * { margin-top: 1.4rem; }
.service-body h2 { font-size: var(--wp--preset--font-size--xl) !important; margin-top: 3rem !important; }

/* Info card inside service pages */
.info-card { border-radius: var(--bv-radius); padding: clamp(1.25rem, 3vw, 2rem) !important; }
.info-card > * { margin: 0 !important; }
.info-card > * + * { margin-top: .6rem !important; }
ul.is-style-times, .times { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
ul.is-style-times li { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem 1rem; padding-bottom: .6rem; border-bottom: 1px dashed color-mix(in srgb, currentColor 30%, transparent); font-family: var(--wp--preset--font-family--mono); font-size: .85rem; }
ul.is-style-times li:last-child { border: 0; padding-bottom: 0; }
ul.is-style-times strong { font-family: var(--wp--preset--font-family--display); font-weight: 400; font-size: 1.2rem; }

p.is-style-mail-cta { font-size: clamp(1.1rem, 2.6vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; word-break: break-word; }
p.is-style-mail-cta a { color: var(--bv-skog); text-decoration: none; border-bottom: 3px solid var(--bv-oransje); padding-bottom: .15rem; }
p.is-style-mail-cta a:hover { color: var(--bv-rust); }

.service-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--bv-skog); max-width: 1280px; margin: 0 auto; }
.service-nav__link { display: grid; gap: .2rem; padding: 2rem clamp(1rem, 4vw, 2.5rem); text-decoration: none; transition: background .3s; }
.service-nav__link.is-next { text-align: right; border-left: 2px solid var(--bv-skog); }
.service-nav__link small { font-family: var(--wp--preset--font-family--mono); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--bv-mose); }
.service-nav__link span { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.3rem, 2.6vw, 2.1rem); color: var(--bv-skog); }
.service-nav__link.is-prev span::before { content: "← "; color: var(--bv-oransje); }
.service-nav__link.is-next span::after { content: " →"; color: var(--bv-oransje); }
.service-nav__link:hover { background: var(--bv-salvie-lys); }

/* Contact form ------------------------------------------------------------- */
.bv-form { display: grid; gap: 1.1rem; }
.bv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .bv-form__row { grid-template-columns: 1fr; } }
.bv-field { display: grid; gap: .4rem; font-size: .9rem; font-weight: 600; }
.bv-field abbr { text-decoration: none; color: var(--bv-oransje); }
.bv-field input, .bv-field textarea {
	font: inherit; font-weight: 400; font-size: 1rem; color: var(--bv-krem);
	background: rgba(255,255,255,.06); border: 1.5px solid rgba(199,208,199,.35); border-radius: 12px; padding: .9rem 1rem;
	transition: border-color .2s, background .2s;
}
.bv-field input:focus, .bv-field textarea:focus { outline: none; border-color: var(--bv-oransje); background: rgba(255,255,255,.1); }
.bv-form button { justify-self: start; border: 0; cursor: pointer; }
.bv-form button:hover { background: var(--bv-krem) !important; color: var(--bv-skog) !important; }
.bv-hp { position: absolute !important; left: -9999px; }
.bv-form__notice { padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; margin: 0; }
.bv-form__notice.is-success { background: var(--bv-oransje); color: var(--bv-sort); }
.bv-form__notice.is-error { background: #fbe3e3; color: #7a1010; }

/* Footer ------------------------------------------------------------------- */
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--bv-oransje); }
.footer-title { margin-bottom: 1rem !important; }
.footer-title--sm { margin-top: 2.5rem !important; }
.footer-label { color: var(--bv-salvie); font-size: .9rem; margin: 1.2rem 0 .2rem !important; }
.footer-mail { font-size: 1.15rem; font-weight: 600; margin: 0 !important; word-break: break-word; }
.footer-mail a { text-decoration-color: var(--bv-oransje); text-underline-offset: 4px; }
.footer-map { border-radius: var(--bv-radius); overflow: hidden; aspect-ratio: 4 / 3; margin-top: 1rem; filter: grayscale(.4) sepia(.2) hue-rotate(40deg) contrast(1.05); }
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer-link { font-family: var(--wp--preset--font-family--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.hours-table table { border-collapse: collapse; width: 100%; }
.hours-table td { padding: .85rem 0; border: 0; border-bottom: 1px solid rgba(199,208,199,.2); }
.hours-table td:last-child { text-align: right; font-family: var(--wp--preset--font-family--mono); font-size: .95rem; color: var(--bv-oransje); }
.hours-table tr:last-child td:last-child { color: var(--bv-salvie); }
.site-footer__base { margin-top: var(--wp--preset--spacing--50) !important; padding-top: 1.5rem; border-top: 1px solid rgba(199,208,199,.2); align-items: center !important; color: var(--bv-salvie); }
.site-footer__logo { opacity: .9; margin: 0 !important; }
.bv-kart { margin-top: 1rem; }
.bv-kart .footer-map { margin-top: 0; }
.footer-social { gap: .6rem !important; }

/* Lightbox (theme.js) ------------------------------------------------------ */
.bv-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,16,8,.92); display: grid; place-items: center; padding: 2rem; opacity: 0; pointer-events: none; transition: opacity .3s; }
.bv-lightbox.is-open { opacity: 1; pointer-events: auto; }
.bv-lightbox figure { margin: 0; max-width: min(1000px, 100%); display: grid; gap: 1rem; color: var(--bv-krem); }
.bv-lightbox img { max-height: 76vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 12px; }
.bv-lightbox figcaption h3 { color: var(--bv-oransje); margin: 0 0 .5rem; font-size: 1.5rem; }
.bv-lightbox figcaption p { margin: 0; white-space: pre-line; color: var(--bv-salvie-lys); max-width: 70ch; }
.bv-lightbox__close { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--bv-oransje); color: var(--bv-sort); font-size: 1.4rem; cursor: pointer; }

/* Program page ------------------------------------------------------------- */
.program-embed { margin-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60) !important; }
.program-embed kulby-events { width: 100%; }
.program-section { padding-top: var(--wp--preset--spacing--50); border-top: 2px solid var(--bv-skog); scroll-margin-top: 110px; }
.program-section + .program-section { margin-top: var(--wp--preset--spacing--60) !important; }
.program-section > * + * { margin-top: 1.4rem; }
