/**
 * Big text content — section uses background-image stack (vignette + photo, inline from PHP).
 * cover / sizing for layers: .big-text-content--has-bg
 */

.big-text-content {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: clip;
	padding-block: clamp(2.5rem, 4.72vw, 4.25rem);
	padding-inline: clamp(1.5rem, 6.67vw, 6rem);
	color: var(--color-white);
	background-color: #040404;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* Vignette fills the section; photo uses cover (same stack order as inline style). */
.big-text-content--has-bg {
	background-size: 100% 100%, cover;
	background-position: center, center;
}

.big-text-content__inner {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: min(90rem, 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(3rem, 4.5vw, 6rem);
}

.big-text-content__headline-wrap {
	position: relative;
	width: 100%;
	max-width: 73.25rem;
	display: flex;
	justify-content: center;
	text-align: center;
	text-shadow: 0 4px 4px rgb(0 0 0 / 0.25);
}

.big-text-content__headline {
	margin: 0;
	max-width: 100%;
	font-family: var(--font-family-base);
	font-weight: var(--font-weight-heading);
	font-size: clamp(1.75rem, 3.6vw + 0.35rem, 3.25rem);
	line-height: 1.23;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	color: var(--color-white);
}

.big-text-content__headline p {
	margin: 0;
}

.big-text-content__headline p + p {
	margin-top: 0.15em;
}

.big-text-content__accent,
.big-text-content__headline .big-text-content__accent {
	color: var(--color-accent-yellow);
}

/* Figma 95:519 — hrh-banner pill (~136×60, 30px radius, yellow stroke) */
.big-text-content__badge {
	display: inline-block;
	vertical-align: middle;
	box-sizing: border-box;
	width: clamp(4.25rem, 22vw, 8.5rem);
	height: clamp(1.875rem, 9.5vw, 3.75rem);
	margin-inline: 0.15em 0.35em;
	line-height: 0;
	border: 1px solid var(--color-accent-yellow);
	border-radius: 1.875rem;
	overflow: hidden;
}

.big-text-content__badge img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
	border: none;
	border-radius: 0;
}

.big-text-content__headline > p > img {
	display: inline-block;
	vertical-align: middle;
	max-height: 3.75rem;
	width: auto;
	margin-inline: 0.15em 0.35em;
	border-radius: 999px;
	border: 1px solid var(--color-accent-yellow);
	object-fit: cover;
}

.big-text-content__bar {
	box-sizing: border-box;
	width: 100%;
	max-width: 78rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	padding: clamp(1rem, 1.67vw, 1.5rem) clamp(1.25rem, 2.5vw, 2.25rem);
	background-color: var(--color-accent-yellow);
	border-radius: 1.25rem;
	color: var(--color-black);
}

.big-text-content__bar-text {
	margin: 0;
	flex: 1 1 12rem;
	font-family: var(--font-family-base);
	font-weight: 700;
	font-size: clamp(1.25rem, 2.2vw + 0.25rem, 2rem);
	line-height: 1.6;
	letter-spacing: -0.014em;
	text-align: center;
}

@media (min-width: 48rem) {
	.big-text-content__bar-text {
		text-align: left;
	}
}

.big-text-content__bar-cta-wrap {
	margin: 0;
	flex-shrink: 0;
}

.big-text-content__bar-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.625rem 1.5625rem;
	font-family: var(--font-family-base);
	font-weight: 800;
	font-size: var(--text-cta);
	line-height: 1.5;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	color: var(--color-header-cta-fg, #212930);
	background-color: var(--color-white);
	border: none;
	border-radius: 0.25rem;
	cursor: pointer;
	white-space: nowrap;
}

.big-text-content__bar-cta:focus-visible {
	outline: 2px solid var(--color-black);
	outline-offset: 2px;
}

@media (max-width: 47.99rem) {
	.big-text-content__bar {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.big-text-content__bar-text {
		text-align: center;
	}

	.big-text-content__bar-cta-wrap {
		width: 100%;
	}

	.big-text-content__bar-cta {
		width: 100%;
	}
}

/* Large phones */
@media (max-width: 37.5rem) {
	.big-text-content__bar-text {
		flex: 0;
	}

	.big-text-content {
		padding-inline: clamp(1rem, 4vw, 1.5rem);
	}
}

/* Large desktops */
@media (min-width: 90rem) {
	.big-text-content {
		padding-inline: 6rem;
	}

	.big-text-content__inner {
		gap: 6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.big-text-content__bar-cta {
		transition: none;
	}
}
