.k2y-home--hero {
	position: relative;
}

.k2y-home--hero .k2y-header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	padding-bottom: 1.5rem;
	background: linear-gradient(to bottom, rgba(255, 255, 255, .9), rgba(255, 255, 255, .72) 70%, rgba(255, 255, 255, 0));
	color: #111;
}

.k2y-home--hero .k2y-header__row {
	padding-top: 1.5rem;
}

.k2y-hero {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100svh;
	min-height: 24rem;
	overflow: hidden;
}

.admin-bar .k2y-hero {
	height: calc(100vh - 32px);
	height: calc(100svh - 32px);
}

.k2y-hero [hidden] {
	display: none !important;
}

.k2y-hero__slide {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.k2y-hero__slide::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .08) 72%, rgba(0, 0, 0, .56));
	pointer-events: none;
}

.k2y-hero .k2y-hero__image {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: var(--k2y-project-focal, center);
}

.k2y-hero__caption {
	position: absolute;
	left: 3rem;
	bottom: 2.4rem;
	z-index: 1;
	max-width: min(34rem, calc(100% - 6rem));
	color: #fff;
	text-shadow: 0 1px 5px rgba(0, 0, 0, .65);
}

.k2y-hero__title {
	max-width: 30rem;
	margin: 0 0 .4rem;
	font-size: clamp(1.55rem, 2.08vw, 2.1rem);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -.025em;
}

.k2y-hero__year {
	margin: 0 0 .8rem;
	font-size: 1.08rem;
	line-height: 1.5;
}

.k2y-hero__project-link {
	display: inline-block;
	padding: .1rem 0;
	font-size: 1.08rem;
	line-height: 1.5;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.k2y-hero__controls {
	position: absolute;
	right: 3rem;
	bottom: 2.4rem;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: .6rem;
	color: #fff;
}

.k2y-hero__pagination {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-right: 1.25rem;
}

.k2y-hero__select,
.k2y-hero__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.k2y-hero__marker {
	display: block;
	width: 2.75rem;
	border-top: 3px solid currentColor;
	opacity: .35;
}

.k2y-hero__select[aria-pressed="true"] .k2y-hero__marker,
.k2y-hero__select:hover .k2y-hero__marker {
	opacity: 1;
}

.k2y-hero__arrow .dashicons {
	width: 1.7rem;
	height: 1.7rem;
	font-size: 1.7rem;
}

.k2y-hero__select:focus-visible,
.k2y-hero__arrow:focus-visible,
.k2y-hero__project-link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

@media (max-width: 1000px) {
	.k2y-hero__caption {
		max-width: calc(100% - 6rem);
		bottom: 6rem;
	}

	.k2y-hero__controls {
		left: 3rem;
		right: auto;
		bottom: 1.5rem;
	}
}

@media (max-width: 782px) {
	.admin-bar .k2y-hero {
		height: calc(100vh - 46px);
		height: calc(100svh - 46px);
	}
}

@media (max-width: 640px) {
	.k2y-home--hero .k2y-header__row {
		padding-top: 1.5rem;
	}

	.k2y-hero__caption {
		left: 1.5rem;
		max-width: calc(100% - 3rem);
		bottom: 9rem;
	}

	.k2y-hero__controls {
		left: 1.5rem;
		right: 1.5rem;
		flex-wrap: wrap;
		justify-content: flex-end;
		gap: .4rem;
	}

	.k2y-hero__pagination {
		flex: 0 0 100%;
		gap: .15rem;
		margin-right: 0;
	}

	.k2y-hero__select {
		flex: 1;
	}

	.k2y-hero__marker {
		width: 100%;
		max-width: 2.75rem;
	}
}

@media (max-width: 360px) {
	/* Six 44px targets also fit when a narrow window reserves scrollbar space. */
	.k2y-hero__controls {
		left: 1rem;
		right: 1rem;
	}
}

@media (max-width: 600px) {
	/* WordPress's absolute mobile toolbar is inside this positioned body. */
	.admin-bar.k2y-home--hero #wpadminbar {
		top: -46px;
	}
}
