/*
Theme Name: SoulForge
Theme URI: https://soulforgephotography.com
Author: SoulForge Photography
Description: Lightweight custom theme for SoulForge Photography. Page content is normal WordPress blocks. Prices, the monthly Spark, videos and forms are under Appearance > Customize > SoulForge.
Version: 3.4.2
Requires at least: 6.4
Requires PHP: 7.4
License: All rights reserved
Text Domain: soulforge
*/

:root {
	--ink: #0d0d0c;
	--teal-band: #0a1b1b;
	--teal: #004b4a;
	--paper: #e9e4da;
	--paper-2: #d9d3c7;
	--muted: #c8c1b4;
	--dim: #9a8f78;
	--line: #2c2a25;
	--line-2: #22211d;
	--bronze: #b08d57;
	--bronze-2: #cba35c;
	--bronze-3: #e6c88a;
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Jost", "Helvetica Neue", sans-serif;
	--gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, .editor-styles-wrapper {
	margin: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--sans);
	font-weight: 300;
	line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: var(--bronze-2); }
a:hover { color: var(--bronze-3); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.05; color: var(--paper); }
p { margin: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header and footer ---------- */
.site-header {
	display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; justify-content: space-between;
	padding: 24px var(--gutter); border-bottom: 1px solid var(--line-2);
}
.wordmark { font-family: var(--serif); font-size: 26px; letter-spacing: .12em; color: var(--paper); text-decoration: none; }
.wordmark:hover { color: var(--paper); }
.nav { display: flex; gap: 24px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.nav a { color: var(--paper-2); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a.is-current { color: var(--bronze-2); }
.menu-toggle { display: none; }
.nav .nav-cta-mobile { display: none; }
@media (max-width: 1260px) {
	.site-header { position: relative; flex-wrap: nowrap; }
	.site-header > .btn { display: none; }
	.menu-toggle {
		display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
		background: none; border: 0; color: var(--paper); cursor: pointer;
		font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
	}
	.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
		display: block; width: 22px; height: 1px; background: currentColor; position: relative; transition: transform .2s, background .2s;
	}
	.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
	.menu-toggle .bars::before { top: -7px; }
	.menu-toggle .bars::after { top: 7px; }
	.menu-open .menu-toggle .bars { background: transparent; }
	.menu-open .menu-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
	.menu-open .menu-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }
	.nav {
		display: none; position: fixed; z-index: 50; left: 0; right: 0; top: var(--header-h, 76px); bottom: 0;
		flex-direction: column; gap: 0; padding: 24px var(--gutter) 40px; background: var(--ink); overflow-y: auto;
		font-size: 15px;
	}
	.menu-open .nav { display: flex; }
	.nav a { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
	.nav .nav-cta-mobile { display: block; margin-top: 32px; padding: 18px 0; border: 0; text-align: center; color: var(--ink); }
	body.menu-open { overflow: hidden; }
}
.site-footer { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding: 32px var(--gutter); border-top: 1px solid var(--line-2); font-size: 13px; color: var(--dim); }
.site-footer a { color: var(--dim); text-decoration: none; }
.site-footer a:hover { color: var(--bronze-2); }

/* ---------- Buttons (theme + block buttons) ---------- */
.btn, .wp-block-button .wp-block-button__link {
	display: inline-block; background: var(--bronze); color: var(--ink); text-decoration: none; border: 1px solid var(--bronze); border-radius: 0;
	padding: 16px 30px; font: 500 12px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer;
}
.btn:hover, .wp-block-button .wp-block-button__link:hover { background: var(--bronze-2); border-color: var(--bronze-2); color: var(--ink); }
.btn-sm { padding: 12px 22px; }
.btn-lg, .sf-lg .wp-block-button__link { padding: 18px 36px; font-size: 13px; }
.btn-outline, .wp-block-button.sf-outline .wp-block-button__link { background: none; color: var(--paper); }
.btn-outline:hover, .wp-block-button.sf-outline .wp-block-button__link:hover { background: var(--bronze); color: var(--ink); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.wp-block-buttons.sf-center { justify-content: center; }

/* ---------- Content and sections ---------- */
.sf-content { display: block; }
/* Loose blocks added outside a section get a readable column. */
.sf-content > :where(p, h1, h2, h3, h4, ul, ol, .wp-block-image, .wp-block-gallery, .wp-block-buttons, .wp-block-quote, .wp-block-embed, .wp-block-video, .wp-block-table) {
	max-width: 760px; margin: 32px auto; padding-left: 24px; padding-right: 24px;
}
.sf-content > p, .sf-content > ul, .sf-content > ol { font-size: 18px; line-height: 1.7; color: var(--muted); }

/* Every SoulForge section stacks its children with a fixed gap; block margins are reset. */
.sf-section, .sf-stack { display: flex; flex-direction: column; gap: 20px; }
.sf-section > *, .sf-stack > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.sf-section { padding: 120px var(--gutter); }
.sf-section > * { width: 100%; max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }
.sf-narrow > * { max-width: 900px; }
.sf-wide > * { max-width: 1320px; }
.sf-center { text-align: center; }
.sf-tight-top { padding-top: 0; }
.sf-tight-bottom { padding-bottom: 0; }
.sf-band { background: var(--teal-band); border-top: 1px solid var(--teal); border-bottom: 1px solid var(--teal); }
.sf-gap-lg { gap: 32px; }

/* Type */
.sf-eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze-2); }
.sf-kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.sf-kicker.is-bronze { color: var(--bronze-2); }
.sf-lede { font-size: 19px; line-height: 1.7; color: var(--muted); }
.sf-body { font-size: 17px; line-height: 1.7; color: var(--muted); }
.sf-small { font-size: 15px; color: var(--dim); }
.sf-caption { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.sf-display { font-size: clamp(48px, 7.5vw, 100px); line-height: .98; }
.sf-h2 { font-size: clamp(40px, 5vw, 64px); }
.sf-h2-lg { font-size: clamp(44px, 6vw, 80px); }
.sf-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; color: var(--bronze-2); }
.sf-pull { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 32px); line-height: 1.4; color: var(--paper-2); }
.sf-statement { font-size: 20px; line-height: 1.7; color: var(--muted); }
.sf-section .sf-space-above { margin-top: 20px !important; }
.sf-section .sf-space-below { margin-bottom: 28px !important; }

/* ---------- Home hero ---------- */
.sf-hero { position: relative; height: 760px; max-height: 92vh; overflow: hidden; }
.sf-hero > .wp-block-gallery {
	position: absolute; inset: 0; margin: 0 !important; display: flex !important; flex-wrap: nowrap !important; gap: 4px !important; padding: 0 !important; max-width: none !important;
}
.sf-hero > .wp-block-gallery.has-nested-images figure.wp-block-image {
	flex: 1 1 0 !important; width: auto !important; min-width: 0; height: 100%; margin: 0 !important;
}
.sf-hero > .wp-block-gallery figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; }
.sf-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(13,13,12,.95) 0%, rgba(13,13,12,.4) 45%, rgba(13,13,12,0) 75%); }
.sf-hero > .sf-hero-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 clamp(16px, 6vw, 96px) 96px; }
.sf-hero h1 { font-size: clamp(56px, 9vw, 128px); line-height: .95; }
@media (max-width: 640px) { .sf-hero > .wp-block-gallery figure.wp-block-image:nth-child(n+3) { display: none !important; } }

/* ---------- Photo grids (core Gallery block) ---------- */
.wp-block-gallery.sf-grid { --wp--style--unstable-gallery-gap: 12px; gap: 12px !important; }
.wp-block-gallery.sf-grid.has-nested-images figure.wp-block-image img { aspect-ratio: 2 / 3; height: auto !important; width: 100%; flex: none !important; object-fit: cover; }
.wp-block-gallery.sf-grid.sf-portrait.has-nested-images figure.wp-block-image img { aspect-ratio: 3 / 4; }
@media (max-width: 781px) {
	.wp-block-gallery.sf-grid.has-nested-images figure.wp-block-image { width: calc(50% - 6px) !important; }
}

/* Team grid: captions under the photo, not over it */
.wp-block-gallery.sf-team { --wp--style--unstable-gallery-gap: 24px; gap: 56px 24px !important; }
.wp-block-gallery.sf-team.has-nested-images figure.wp-block-image { flex-direction: column !important; align-items: stretch !important; }
.wp-block-gallery.sf-team.has-nested-images figure.wp-block-image img { aspect-ratio: 4 / 5; height: auto !important; width: 100%; flex: none !important; object-fit: cover; }
.wp-block-gallery.sf-team.has-nested-images figure.wp-block-image figcaption {
	position: static !important; background: none !important; max-height: none !important; overflow: visible !important;
	padding: 16px 0 0 !important; text-align: left !important; color: var(--dim) !important; text-shadow: none !important;
	font-size: 13px; letter-spacing: .18em; text-transform: uppercase; line-height: 1.6;
}
.wp-block-gallery.sf-team figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: 0; text-transform: none; color: var(--paper); }
@media (max-width: 781px) {
	.wp-block-gallery.sf-team.has-nested-images figure.wp-block-image { width: 100% !important; }
}

/* ---------- Door cards (home) ---------- */
.wp-block-columns.sf-doors { gap: 24px; margin: 0; }
.sf-door { position: relative; border: 1px solid var(--line); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.sf-door > * { margin: 0 !important; }
.sf-door:hover { border-color: var(--bronze); }
.sf-door.is-featured { border-color: var(--bronze); background: #17160f; }
.sf-door h3 { font-size: 40px; }
.sf-door h3 a { color: var(--paper); text-decoration: none; }
.sf-door h3 a::after { content: ""; position: absolute; inset: 0; }
.sf-door .sf-price { margin-top: auto !important; font-size: 22px; color: var(--bronze-2); }

/* ---------- Tiers (investment) ---------- */
.wp-block-columns.sf-tier { gap: 0; border: 1px solid var(--line); margin: 0; align-items: stretch !important; }
.wp-block-columns.sf-tier.is-featured { border-color: var(--bronze); background: #17160f; }
.sf-tier > .wp-block-column:first-child { flex: 1 1 380px !important; min-height: 440px; }
.sf-tier > .wp-block-column:last-child { flex: 999 1 480px !important; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.sf-tier > .wp-block-column:last-child > * { margin: 0 !important; }
.sf-tier .wp-block-image, .sf-tier .wp-block-image img { margin: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-tier .wp-block-image { min-height: 440px; }
.sf-tier h2 { font-size: 56px; }
.sf-tier .sf-price { font-size: 24px; color: var(--bronze-2); }
.sf-inc { font-size: 15px; line-height: 2; color: var(--muted); }
.sf-tier .wp-block-buttons { margin-top: 12px !important; }
.sf-tiers { gap: 24px; }

/* ---------- Quotes ---------- */
.wp-block-columns.sf-quotes { gap: 48px; margin: 0; }
.wp-block-quote.sf-quote { margin: 0; padding: 0; border: 0; }
.wp-block-quote.sf-quote p { font-family: var(--serif); font-size: 30px; line-height: 1.3; color: var(--paper); margin: 0 0 20px; }
.wp-block-quote.sf-quote cite { font-style: normal; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

/* ---------- Steps ---------- */
.wp-block-columns.sf-steps { gap: 40px; margin: 0; }
.sf-steps .wp-block-column { display: flex; flex-direction: column; gap: 12px; }
.sf-steps .wp-block-column > * { margin: 0 !important; }
.sf-num { font-family: var(--serif); font-size: 48px; color: var(--bronze); line-height: 1; }
.sf-label { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.sf-steps .sf-body { font-size: 16px; }

/* ---------- Dynamic pieces ---------- */
.sf-strip { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: center; align-items: center; padding: 28px 24px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--muted); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.sf-strip:hover { color: var(--paper); }
.sf-video { position: relative; aspect-ratio: 16 / 9; background: #191917; }
.sf-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sf-facts { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; line-height: 2.2; }
.sf-world { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) 120px; }
.sf-divider { display: flex; align-items: center; gap: 24px; }
.sf-divider .line { flex: 1; height: 1px; background: var(--line); }
.sf-world-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding: 80px 0 120px; }
.sf-world-row > img { flex: 1 1 420px; min-width: 0; aspect-ratio: 2 / 3; object-fit: cover; }
.sf-world-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sf-world-info h2 { font-size: clamp(52px, 6vw, 84px); line-height: 1; }
.sf-world-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.sf-world-grid img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.sf-story { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) 110px; }
.sf-story.is-flipped { flex-direction: row-reverse; }
.sf-story > .sf-video { flex: 999 1 560px; min-width: 0; }
.sf-story > .sf-story-text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sf-story h2 { font-size: 52px; }
.sf-home-video { max-width: 1200px; margin: 0 auto; padding: 0 24px 140px; }
.sf-home-video .sf-caption { margin-top: 20px; text-align: center; }
.sf-embed { max-width: 640px; margin: 0 auto; }
.sf-contact-card { border: 1px solid var(--line); padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 24px; }
.sf-contact-card h2 { font-size: 40px; }
.sf-details { display: flex; flex-direction: column; gap: 18px; font-size: 17px; color: var(--muted); }
.sf-details a { color: var(--paper); text-decoration: none; }
.sf-details a.is-accent { color: var(--bronze-2); }
.wp-block-columns.sf-contact { gap: 72px; margin: 0; align-items: flex-start !important; }
.spark-audio { width: 100%; max-width: 360px; }

/* ---------- Generic posts (if ever used) ---------- */
.entry { max-width: 760px; margin: 0 auto; padding: 120px 24px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.entry h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 32px; }

/* ================= v3: Jenni layout ================= */
.nav { gap: 22px; font-size: 12px; }
.sf-statement-lg { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.4; color: var(--paper); }
.sf-quote-lg { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.2; color: var(--paper); }
.sf-quote-md { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.35; color: var(--paper-2); }
.sf-quote-sm { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.35; color: var(--paper); }
.sf-mini-quote { border-left: 1px solid var(--bronze); padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.sf-mini-quote > * { margin: 0 !important; }
.sf-section .sf-left { text-align: left; }
.sf-name { font-family: var(--serif); font-size: 28px; }

/* Marquee hero */
@keyframes sfscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sf-hero.sf-marquee > .wp-block-gallery { right: auto !important; width: max-content !important; animation: sfscroll 70s linear infinite; }
.sf-hero.sf-marquee > .wp-block-gallery.has-nested-images figure.wp-block-image { flex: 0 0 auto !important; width: calc(min(760px, 92vh) * 2 / 3) !important; }
@media (prefers-reduced-motion: reduce) { .sf-hero.sf-marquee > .wp-block-gallery { animation: none; } }
@media (max-width: 640px) { .sf-hero.sf-marquee > .wp-block-gallery figure.wp-block-image:nth-child(n+3) { display: block !important; } }

/* Feature rows (video or photos beside copy) */
.wp-block-columns.sf-row { gap: 64px; margin: 0; align-items: center !important; }
.wp-block-columns.sf-row > .wp-block-column { display: flex; flex-direction: column; gap: 22px; }
.wp-block-columns.sf-row > .wp-block-column > * { margin: 0 !important; }
.wp-block-columns.sf-row > .wp-block-column.sf-media { flex: 0 1 380px !important; min-width: 260px; }
.wp-block-columns.sf-row > .wp-block-column:not(.sf-media) { flex: 1 1 420px !important; }
.wp-block-columns.sf-row.sf-backdrop > .wp-block-column.sf-media { flex: 3 1 560px !important; }
.wp-block-columns.sf-row.sf-backdrop > .wp-block-column:not(.sf-media) { flex: 1 1 260px !important; }
.sf-backdrop h2 { font-size: 56px; }
.sf-backdrops { gap: 96px; }

/* Vertical video with thumbnail; plays in place */
.sf-vvideo { position: relative; width: 100%; aspect-ratio: 9 / 16; background: #191917; overflow: hidden; }
.sf-vvideo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-vvideo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sf-vvideo .sf-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--bronze-2); background: rgba(13,13,12,.55); color: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.sf-vvideo .sf-play:hover { background: rgba(13,13,12,.8); }

/* Tier cards */
.wp-block-columns.sf-cards { gap: 24px; margin: 0; align-items: stretch !important; }
.wp-block-columns.sf-cards > .wp-block-column { border: 1px solid var(--line); display: flex; flex-direction: column; flex: 1 1 340px !important; }
.wp-block-columns.sf-cards > .wp-block-column.is-featured { border-color: var(--bronze); background: #17160f; }
.wp-block-columns.sf-cards > .wp-block-column > .wp-block-image { margin: 0; }
.wp-block-columns.sf-cards > .wp-block-column > .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.sf-card-body { padding: 36px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.sf-card-body > * { margin: 0 !important; }
.sf-card-body h2 { font-size: 34px; letter-spacing: .04em; line-height: 1.15; }
.sf-card-body .wp-block-buttons { margin-top: auto !important; padding-top: 8px; }
.sf-card-body .sf-price-inline { color: var(--bronze-2); }
.sf-card-body .sf-sep { color: var(--dim); }

/* Written testimonial cards */
.wp-block-columns.sf-reviews { gap: 24px; margin: 0; align-items: stretch !important; }
.wp-block-columns.sf-reviews > .wp-block-column { border: 1px solid var(--line); padding: 48px; display: flex; flex-direction: column; gap: 20px; }
.wp-block-columns.sf-reviews > .wp-block-column > * { margin: 0 !important; }
.sf-reviews h3 { font-size: 36px; color: var(--bronze-2); }

/* Spark band (home) */
.sf-spark-band { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.sf-spark-band h2 { font-size: clamp(44px, 6vw, 72px); }

/* Contact */
.sf-details .sf-street { line-height: 1.6; }
@media (min-width: 782px) { .wp-block-columns.sf-contact > .wp-block-column:last-child { border-left: 1px solid var(--line); padding-left: 40px; } }

/* ================= v3.1 ================= */
/* Backdrop jump links */
.sf-jump { position: sticky; top: 0; z-index: 20; background: rgba(13,13,12,.94); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); margin-bottom: 96px; }
.sf-jump-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px; padding: 18px var(--gutter); margin: 0; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.sf-jump-links a { color: var(--paper-2); text-decoration: none; padding: 8px 0; }
.sf-jump-links a:hover { color: var(--bronze-2); }
.sf-backdrop { scroll-margin-top: 90px; }
html { scroll-behavior: smooth; }
.sf-tag { display: inline-block; vertical-align: middle; margin-left: 12px; padding: 4px 10px; border: 1px solid var(--bronze); color: var(--bronze-2); font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.sf-backdrop .sf-quote-sm { color: var(--bronze-2); }

/* Smaller team photos */
.sf-team-section > * { max-width: 920px; }
.wp-block-gallery.sf-team { --wp--style--unstable-gallery-gap: 20px; gap: 40px 20px !important; }
.wp-block-gallery.sf-team figcaption strong { font-size: 26px; }
.wp-block-gallery.sf-team.has-nested-images figure.wp-block-image figcaption { font-size: 11px; }
@media (max-width: 781px) { .wp-block-gallery.sf-team.has-nested-images figure.wp-block-image { width: calc(50% - 10px) !important; } }

/* Safety net if a group wrapper ever appears (editor or older WordPress) */
.wp-block-group__inner-container { display: contents; }
.sf-hero > .wp-block-group__inner-container > .wp-block-gallery { position: absolute; inset: 0; margin: 0; display: flex; flex-wrap: nowrap; gap: 4px; }

/* MailerLite form, restyled to match (#main beats the form's own ID rules) */
#main .sf-embed { max-width: 460px; margin: 8px auto 28px; }
#main .sf-embed .ml-form-embedContainer .ml-form-embedWrapper { background: transparent !important; border-radius: 0 !important; }
#main .sf-embed .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody { padding: 0 !important; }
#main .sf-embed .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
	background: var(--ink) !important; color: var(--paper) !important; border: 1px solid var(--line) !important; border-radius: 0 !important;
	font-family: var(--sans) !important; font-size: 16px !important; padding: 15px 16px !important; text-align: center;
}
#main .sf-embed .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::placeholder { color: var(--dim) !important; }
#main .sf-embed .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit { margin: 12px 0 0 !important; }
#main .sf-embed .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button {
	background: none !important; color: var(--paper) !important; border: 1px solid var(--bronze) !important; border-radius: 0 !important;
	font: 500 12px/1.2 var(--sans) !important; letter-spacing: .18em !important; text-transform: uppercase !important; padding: 16px !important;
}
#main .sf-embed .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover { background: var(--bronze) !important; color: var(--ink) !important; }
#main .sf-embed .ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody { padding: 0 !important; }
#main .sf-embed .ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent h4,
#main .sf-embed .ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p { color: var(--paper) !important; text-align: center !important; font-family: var(--sans) !important; }
#main .sf-embed .ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent h4 { font-family: var(--serif) !important; font-size: 32px !important; }

/* ================= v3.2: backdrop slideshows ================= */
.wp-block-columns.sf-row.sf-backdrop > .wp-block-column.sf-media { flex: 0 1 520px !important; min-width: 0; }
.wp-block-columns.sf-row.sf-backdrop > .wp-block-column:not(.sf-media) { flex: 1 1 340px !important; }
.wp-block-gallery.sf-slides { display: block !important; position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; margin: 0 0 0 auto !important; overflow: hidden; background: #191917; }
.wp-block-gallery.sf-slides > figure.wp-block-image { position: absolute !important; inset: 0; width: 100% !important; height: 100%; margin: 0 !important; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.wp-block-gallery.sf-slides > figure.wp-block-image:first-child,
.wp-block-gallery.sf-slides.is-ready > figure.wp-block-image.is-active { opacity: 1; pointer-events: auto; }
.wp-block-gallery.sf-slides.is-ready > figure.wp-block-image:not(.is-active) { opacity: 0; pointer-events: none; }
.wp-block-gallery.sf-slides > figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; }
.sf-slides-prev, .sf-slides-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(203,163,92,.7); background: rgba(13,13,12,.55); color: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.sf-slides-prev { left: 14px; } .sf-slides-next { right: 14px; }
.sf-slides-prev:hover, .sf-slides-next:hover { background: rgba(13,13,12,.85); }
.sf-slides-nav { max-width: 520px; margin: 14px 0 0 auto; display: flex; justify-content: center; }
.sf-slides-dots { display: flex; gap: 10px; }
.sf-slides-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid var(--bronze); background: none; cursor: pointer; }
.sf-slides-dots button.is-active { background: var(--bronze); }
@media (max-width: 781px) { .wp-block-gallery.sf-slides, .sf-slides-nav { margin-left: auto !important; margin-right: auto !important; } }
/* In the editor, show every photo so they can be added, removed and reordered */
.editor-styles-wrapper .wp-block-gallery.sf-slides { aspect-ratio: auto; display: flex !important; flex-wrap: wrap; gap: 8px; overflow: visible; }
.editor-styles-wrapper .wp-block-gallery.sf-slides > figure.wp-block-image { position: relative !important; opacity: 1; width: calc(50% - 4px) !important; height: auto; }

/* FAQ */
.sf-faq .sf-faq-item { padding: 22px 0; border-bottom: 1px solid rgba(0,75,74,.6); }
.sf-faq .sf-h2 + .sf-faq-item { border-top: 1px solid rgba(0,75,74,.6); }
.sf-faq .sf-faq-item > * { margin: 0 !important; }
.sf-faq-q { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.25; color: var(--paper); margin-bottom: 8px !important; }
.sf-faq .sf-body { margin-top: 8px !important; }
.sf-faq .sf-body a { color: var(--bronze); }
