/**
 * Home hero.
 * Markup: template-parts/v2/sections/home-hero.php
 */
@layer sections {
	.lb-v2-hero {
		position: relative;
		display: grid;
		align-items: end;
		min-height: 47.75rem; /* 764px */
		padding-block: 10rem 2.5rem; /* Figma: content sits at the bottom, 40px up */
		color: var(--lb-v2-color-white);
		background: var(--lb-v2-color-ink);
		isolation: isolate;
	}

	.lb-v2-hero__media {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		pointer-events: none;
	}

	.lb-v2-hero__video-toggle {
		position: absolute;
		right: var(--lb-v2-space-4);
		bottom: var(--lb-v2-space-4);
		z-index: 1;
	}

	.lb-v2-hero__video-icon[hidden] {
		display: none;
	}

	.lb-v2-hero__title,
	.lb-v2-hero__intro {
		color: var(--lb-v2-color-white);
	}

	.lb-v2-hero__inner {
		display: grid;
		gap: var(--lb-v2-heading-gap); /* 10px */
	}

	.lb-v2-hero__title {
		font-size: var(--lb-v2-text-display-size);
		line-height: var(--lb-v2-text-display-leading);
		font-weight: var(--lb-v2-text-display-weight);
		text-transform: uppercase;
	}

	.lb-v2-hero__body {
		display: grid;
		justify-items: start;
		gap: var(--lb-v2-heading-gap);
		max-width: 30.5625rem; /* 489px */
	}

	.lb-v2-hero__intro {
		font-size: var(--lb-v2-text-intro-size);
		line-height: var(--lb-v2-text-intro-leading);
		font-weight: var(--lb-v2-text-intro-weight);
		text-transform: var(--lb-v2-text-intro-case);
	}

	@media (min-width: 80rem) {
		.lb-v2-hero {
			min-height: 46.8125rem; /* 749px */
			padding-block: 9.75rem 7.8125rem; /* title box 156px from the top, 125px from the bottom */
		}

		.lb-v2-hero__inner {
			grid-template-columns: 1fr 1fr;
			align-items: end;
			gap: var(--lb-v2-space-5);
		}

		.lb-v2-hero__body {
			gap: 1.6875rem; /* 27px */
			padding-bottom: 1.25rem; /* body ends 20px above the title box */
		}

		.lb-v2-hero__title {
			text-align: right;
		}
	}

	/* At 1440px+ use the banner width so the title column is not stuck at 1280. */
	@media (min-width: 90rem) {
		.lb-v2-hero > .lb-v2-container {
			width: min(100%, var(--lb-v2-banner-max));
			padding-left: var(--lb-v2-space-6); /* 2rem: keep content off the left edge */
		}
	}
}
