/*
 * IMF Core — Hero CSS
 * Styles for the [simply_hero] shortcode output.
 * Depends on --ss-* and --client-* tokens from Simply Starter + IMF Client Config.
 */

/* Hero wrapper */
.imf-hero {
	display: flex;
	align-items: stretch;
	min-height: 60vh;
	width: 100%;
	overflow: hidden;
	background-color: var(--ss-white);
	position: relative;
}

/* LEFT — athlete photo panel */
.imf-hero__photo {
	position: relative;
	width: 55%;
	min-height: 60vh;
	overflow: hidden;
	flex-shrink: 0;
}

.imf-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

/* Photo credit — bottom left, script font */
.imf-hero__credit {
	position: absolute;
	bottom: 20px;
	left: 20px;
	font-family: var(--client-font-script);
	font-size: 13px;
	line-height: 1.7;
	color: var(--ss-near-black);
}

.imf-hero__credit strong {
	font-family: var(--client-font-primary);
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* RIGHT — text content */
.imf-hero__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: calc(var(--ss-header-height) + 40px) 60px 60px 40px;
}

/* Eyebrow */
.imf-hero__eyebrow {
	font-family: var(--client-font-display);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--client-heading);
	margin: 0;
}

/* Large display title */
.imf-hero__title {
	font-family: var(--client-font-display);
	font-size: clamp(4rem, 8vw, 7rem);
	font-weight: 700;
	line-height: 0.95;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--client-heading);
	margin: 0;
}

/* Script tagline — consolidated from all override blocks */
.imf-hero__tagline {
	font-family: var(--client-font-script);
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	font-weight: 400;
	color: var(--client-heading);
	margin: -7px 0 32px 100px;
	line-height: 1.3;
	text-align: left;
	display: block;
	transform: rotate(-2deg);
	transform-origin: left center;
}

/* CTA button */
.imf-hero__cta .button,
.imf-hero__cta .imf-btn {
	display: inline-block;
}


/* Mobile
--------------------------------------------- */

@media (max-width: 768px) {

	.imf-hero {
		flex-direction: column;
		min-height: auto;
		padding-top: var(--ss-header-height);
	}

	.imf-hero__photo {
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		height: auto;
		min-height: auto;
		clip-path: none;
	}

	.imf-hero__photo img {
		width: 100%;
		height: auto;
		object-fit: unset;
	}

	.imf-hero__content {
		position: relative;
		z-index: auto;
		width: 100%;
		padding: 32px 24px;
	}

	.imf-hero__eyebrow {
		font-size: 18px;
		text-align: left;
	}

	.imf-hero__title {
		font-size: 3.5rem;
	}

	.imf-hero__tagline {
		transform: none;
		margin: 0 0 32px 0;
	}

	.imf-hero__credit {
		position: absolute;
		bottom: 8px;
		left: 12px;
		z-index: 2;
	}

}
