/* =====================================================
   Featured Header Module
   ===================================================== */

.featured_header_module {
	--fhm-highlight: var(--green);
	padding: 5px 0px;
}

/* ---- Background variants ---- */

.featured_header_module.fhm--dark {
	background: var(--black);
}

.featured_header_module.fhm--light {
	background: var(--white);
}

.featured_header_module.fhm--transparent {
	background: transparent;
}

/* ---- Heading ---- */

.fhm-heading {
font-family: var(--black-font);
font-size: clamp(34px, 4.444vw, 64px);
font-weight: 900;
letter-spacing: clamp(-1.8px, -0.125vw, -0.5px);
line-height: clamp(46px, 4.167vw, 60px);
	text-transform: uppercase;
	margin: 0 0 50px;
	word-break: keep-all;
	overflow-wrap: normal;
}

.fhm--dark .fhm-heading {
	color: var(--white);
}

.fhm--light .fhm-heading,
.fhm--transparent .fhm-heading {
	color: var(--black);
}

/* ---- Segments — shared ---- */

.fhm-segment {
	display: inline;
}

/* ---- Highlighted text ---- */

.fhm-segment--highlight {
	color: var(--fhm-highlight);
}

/* ---- Inline video ---- */
/*
 * height is relative to the parent heading font-size via em.
 * At 6rem heading, 0.7em ≈ 67px tall — matches the cap height of the letters.
 * margin-bottom nudges the clip down so it sits on the visual baseline.
 */



.fhm-segment--video {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  height: 0.9em;
  border-radius: var(--radius, 8px);
  overflow: hidden;
  margin: 0 0.15em;
  flex-shrink: 0;
  background: var(--black);
	top: -5px;
}

.fhm-segment--video video {
	display: block;
	height: 100%;
	width: auto;
	min-width: 0.5em; /* prevents collapse while video loads */
	object-fit: cover;
}

/* ---- Content block ---- */

.fhm-content {
	max-width: 75%;
	font-size: 20px;
  line-height: 26px;
	margin: auto;
	padding-bottom: 50px;
}

.fhm--dark .fhm-content,
.fhm--dark .fhm-content p {
	color: var(--white);
}

.fhm--light .fhm-content,
.fhm--transparent .fhm-content {
	color: var(--black);
}

.fhm-content p {
	margin: 0 0 1em;
}

.fhm-content p:last-child {
	margin-bottom: 0;
}

/* =====================================================
   Responsive — tablet
   ===================================================== */

@media (max-width: 992px) {
	.fhm-heading {
		font-size: clamp(1.8rem, 6.5vw, 3.5rem);
		letter-spacing: -0.02em;
		margin-bottom: 30px;
	}

	.fhm-segment--video {
		height: 0.75em;
		margin-bottom: -0.06em;
	}
}

/* =====================================================
   Responsive — mobile
   ===================================================== */

@media (max-width: 767px) {
	.fhm-heading {
		font-size: clamp(1.6rem, 7.5vw, 2.5rem);
		letter-spacing: -0.01em;
	}

	.fhm-segment--video {
		height: 0.8em;
		border-radius: 6px;
		margin: 0 0.1em -0.07em;
	}

	.fhm-content {
		max-width: 100%;
		font-size: 1rem;
	}
}
