/* Balerfornia FAQ — accordion of common questions.
   Models the reference's `.home-a-faq-section`.

   SPECIFICITY NOTE — the usual trap; do not collapse these selectors. CozyStay
   styles bare tags via `.elementor-section h2 / p` (0,1,1), so everything is
   scoped under `.bff` (0,2,0) at minimum. There are no anchors here; if one is
   added it needs 0,4,0 to beat the theme's
   `.elementor-element a:not([class*="button"]):not(:hover) { color: inherit }`. */

.elementor-widget-balerfornia-faq,
.elementor-widget-balerfornia-faq > .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
}

.bff {
	--bff-bg: #F6F1E7;
	--bff-panel: #FFFFFF;
	--bff-text: #053932;
	--bff-accent: #7DA086;
	--bff-font-display: 'Playfair Display', Georgia, serif;
	--bff-font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: var(--bff-bg);
	padding: clamp(72px, 10vh, 120px) 0 clamp(56px, 7vh, 80px);
}

/* Lifts the band over whatever precedes it, as the reference does. Above this
   sits the full-bleed map, so the rounded corners read against it. */
.bff.bff--round-top {
	border-radius: 24px 24px 0 0;
	margin-top: -24px;
	z-index: 2;
}

.bff .bff__inner {
	max-width: 1800px;
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 56px);
}

/* Reference is `507.82px 660.18px` — ~0.77 ratio. Expressed as fr so it holds
   at any width. `align-items: start` keeps the headline pinned to the top
   rather than centring against a tall accordion. */
.bff .bff__grid {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	align-items: start;
	gap: 48px;
}

/* ---- Head ---------------------------------------------------------------- */

.bff .bff__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	max-width: 445px;
}

.bff .bff__eyebrow {
	font-family: var(--bff-font-body);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.33;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--bff-accent);
}

.bff .bff__headline {
	margin: 0;
	padding: 0;
	font-family: var(--bff-font-display);
	/* 400 — consistent with every other headline here. */
	font-weight: 400;
	font-size: clamp(1.9rem, 3.4vw, 3.25rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: var(--bff-text);
	text-align: left;
}

.bff .bff__headline em {
	font-style: italic;
}

.bff .bff__headline .lvh-underline-wave {
	font-style: normal;
	text-decoration: underline;
	text-decoration-style: wavy;
	text-decoration-color: var(--bff-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.12em;
}

/* ---- List ---------------------------------------------------------------- */

.bff .bff__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bff .bff__item {
	background: var(--bff-panel);
	border-radius: 16px;
	padding: 24px;
}

/* Kill the native disclosure triangle in every engine — Safari needs the
   -webkit pseudo-element, the rest take `list-style: none`. */
.bff .bff__q {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	list-style: none;
	cursor: pointer;
}

.bff .bff__q::-webkit-details-marker {
	display: none;
}

.bff .bff__q-text {
	font-family: var(--bff-font-body);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -0.01em;
	color: var(--bff-text);
}

/* A CSS + / − built from two bars, so there's no icon font or SVG to load. */
.bff .bff__icon {
	position: relative;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 3px;
}

.bff .bff__icon::before,
.bff .bff__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 16px;
	height: 1.5px;
	background: var(--bff-accent);
	transform: translateY(-50%);
	transition: transform 220ms ease, opacity 220ms ease;
}

.bff .bff__icon::after {
	transform: translateY(-50%) rotate(90deg);
}

.bff .bff__item[open] .bff__icon::after {
	transform: translateY(-50%) rotate(0deg);
	opacity: 0;
}

.bff .bff__q:focus-visible {
	outline: 2px solid var(--bff-accent);
	outline-offset: 4px;
	border-radius: 4px;
}

.bff .bff__a {
	padding-top: 16px;
	max-width: 60ch;
}

.bff .bff__a-text {
	margin: 0;
	padding: 0;
	font-family: var(--bff-font-body);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.62;
	letter-spacing: -0.01em;
	color: color-mix(in srgb, var(--bff-text) 78%, transparent);
}

.bff .bff__a-text + .bff__a-text {
	margin-top: 12px;
}

/* ---- Responsive ---------------------------------------------------------- */

@media (max-width: 900px) {
	.bff .bff__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.bff .bff__head {
		max-width: none;
	}

	.bff .bff__q {
		gap: 20px;
	}
}
