/* Balerfornia Room Listing Hero.
   Soft light band, oversized centred serif headline, floating price pills.

   SPECIFICITY NOTE — same trap as the FAQ widget. CozyStay styles bare tags via
   `.elementor-section h2 / p` (0,1,1), so every content selector is scoped as
   `.bfrh .bfrh__x` (0,2,0) to win. Do not collapse to a single class. */

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

.bfrh {
	--bfrh-bg: #E4EBE4;
	--bfrh-text: #053932;
	--bfrh-accent: #A85F3D;
	--bfrh-pill-bg: #FFFFFF;
	--bfrh-font-display: 'Playfair Display', Georgia, serif;
	--bfrh-font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background-color: var(--bfrh-bg);
	color: var(--bfrh-text);
	/* Top pad clears the site's transparent overlay header (~144px tall stacked
	   logo) with comfortable air below it before the eyebrow. */
	padding: clamp(190px, 21vh, 240px) 24px clamp(72px, 9vh, 96px);
	overflow: hidden;
	box-sizing: border-box;
}

.bfrh.bfrh--round {
	border-radius: 0 0 40px 40px;
}

.bfrh .bfrh__inner {
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 22px;
	position: relative;
}

.bfrh .bfrh__eyebrow {
	font-family: var(--bfrh-font-body);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--bfrh-accent);
}

.bfrh .bfrh__headline {
	font-family: var(--bfrh-font-display);
	font-weight: 700;
	font-size: clamp(40px, 7vw, 92px);
	line-height: 1.02;
	letter-spacing: -0.5px;
	margin: 0;
	max-width: 15ch;
	color: var(--bfrh-text);
}

.bfrh .bfrh__headline em,
.bfrh .bfrh__headline i {
	font-style: italic;
	font-weight: 700;
}

/* Wavy underline accent — BCW_Text::accents emits .lvh-underline-wave. */
.bfrh .bfrh__headline .lvh-underline-wave {
	position: relative;
	white-space: nowrap;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='8' viewBox='0 0 100 8'%3E%3Cpath d='M0 4 Q 12.5 0 25 4 T 50 4 T 75 4 T 100 4' fill='none' stroke='%23A85F3D' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-position: 0 100%;
	background-size: 50px 8px;
	padding-bottom: 10px;
}

.bfrh .bfrh__sub {
	font-family: var(--bfrh-font-body);
	font-weight: 400;
	font-size: 17px;
	line-height: 1.6;
	margin: 0;
	max-width: 56ch;
	color: var(--bfrh-text);
	opacity: 0.82;
}

.bfrh .bfrh__pills {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.bfrh .bfrh__pill {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	background: var(--bfrh-pill-bg);
	border-radius: 999px;
	padding: 13px 24px;
	box-shadow: 0 8px 30px rgba(5, 57, 50, 0.10);
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bfrh a.bfrh__pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 34px rgba(5, 57, 50, 0.16);
}

/* Pills are always a white chip, so their text colours are fixed dark/terracotta
   and do NOT follow the hero's --bfrh-text (which flips to cream on a dark band). */
.bfrh .bfrh__pill-label {
	font-family: var(--bfrh-font-body);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #0B3B34;
}

.bfrh .bfrh__pill-value {
	font-family: var(--bfrh-font-body);
	font-weight: 600;
	font-size: 14px;
	color: #A85F3D;
}

/* Float the pills into the lower corners on wide screens, like the reference. */
@media (min-width: 1024px) {
	.bfrh {
		padding-bottom: 118px;
	}
	.bfrh .bfrh__pills {
		position: absolute;
		left: 0;
		right: 0;
		bottom: -44px;
		margin: 0;
		justify-content: space-between;
		padding: 0 3%;
		pointer-events: none;
	}
	.bfrh .bfrh__pill-item {
		pointer-events: auto;
	}
}

@media (max-width: 600px) {
	.bfrh {
		padding: 140px 20px 56px;
	}
}
