/* fandb-hero.css — F&B Hero section styles. Scoped to .is-style-fandb-hero. */

/* Display heading — large variable-font type */
.is-style-fandb-hero .fandb-hero-title {
	font-size: clamp(3rem, 2.25rem + 8vw, 9.5rem) !important;
	font-stretch: 110%;
	line-height: 0.88 !important;
	letter-spacing: -0.035em !important;
}

/* Stamp / service badge pill */
.is-style-fandb-hero .fandb-hero-stamp {
	align-self: flex-start; /* prevents stretch inside WP's flex-direction:column column */
	width: fit-content;
	padding: 0.5rem 0.9rem;
	background: #fff;
	border: 1px solid rgba(10, 16, 36, 0.1);
	border-radius: 999px;
}

/* Image column — needs relative so chips can anchor to it */
.is-style-fandb-hero .fandb-hero-figure {
	position: relative;
}

/* Image wrapper — clips the amber bottom bar */
.is-style-fandb-hero .fandb-hero-figure-inner {
	overflow: hidden;
	position: relative;
	border-radius: 8px;
	aspect-ratio: 4/5;
}

/* Amber editorial bar along the bottom of the image */
.is-style-fandb-hero .fandb-hero-figure-inner::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 4px;
	background: var(--wp--preset--color--border-light);
}

/* Make the image fill the wrapper */
.is-style-fandb-hero .fandb-hero-figure-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Floating info chips */
.is-style-fandb-hero .fandb-hero-chip {
	position: absolute;
	border-radius: 999px;
	padding: 0.6rem 1rem;
	box-shadow: 0 10px 25px -8px rgba(10, 16, 36, 0.2);
	z-index: 3;
	background: #fff;
	border: 1px solid rgba(10, 16, 36, 0.1);
}

.is-style-fandb-hero .fandb-hero-chip-rating {
	top: 1.25rem;
	left: -0.75rem;
}

.is-style-fandb-hero .fandb-hero-chip-open {
	bottom: 1.5rem;
	right: 1rem;
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
}

@media (max-width: 900px) {
	.is-style-fandb-hero .fandb-hero-chip { display: none; }
}

/* Content column — flex stack for child spacing */
.is-style-fandb-hero .wp-block-columns > .wp-block-column:first-child {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--medium);
}
