/* Server-selected homepage collection banner. Load after the theme stylesheet. */
.home-banner {
	isolation: isolate;
	background: var(--cameo-charcoal);
}

.home-banner-media {
	position: absolute;
	z-index: 0;
	inset: 0;
	display: block;
	overflow: hidden;
	background: #1c1b1a;
}

.home-banner-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 68% center;
	transition: transform .65s ease;
}

.home-banner-media:hover img {
	transform: scale(1.018);
}

.home-banner-media:focus-visible {
	outline: 2px solid var(--cameo-paper);
	outline-offset: -7px;
}

.home-banner-shade {
	position: absolute;
	z-index: 1;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(13, 13, 13, .80) 0%, rgba(18, 18, 17, .66) 23%, rgba(15, 15, 15, .26) 45%, rgba(14, 14, 14, .06) 70%, rgba(14, 14, 14, .01) 100%),
		linear-gradient(0deg, rgba(0, 0, 0, .12), transparent 45%);
}

.home-banner-copy,
.home-banner-caption {
	z-index: 2;
	pointer-events: none;
}

.home-banner-copy .eyebrow {
	color: #ead9c0;
}

.home-banner-copy a {
	pointer-events: auto;
}

.home-banner-copy h1 {
	max-width: 735px;
	text-shadow: 0 2px 22px rgba(0, 0, 0, .30);
}

.home-banner-copy .hero-description,
.home-banner-caption {
	text-shadow: 0 1px 14px rgba(0, 0, 0, .38);
}

.home-banner-caption {
	color: #f4eee5;
}

@media (max-width: 780px) {
	.home-banner-media img {
		object-position: 62% center;
	}

	.home-banner-shade {
		background:
			linear-gradient(90deg, rgba(14, 14, 14, .82), rgba(16, 16, 15, .54) 47%, rgba(15, 15, 15, .12) 78%),
			linear-gradient(0deg, rgba(0, 0, 0, .14), transparent 45%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-banner-media img {
		transition: none;
		transform: none;
	}
}
