/* Alt Delta Hover Carousel — matches the News And Update section style:
   image only, dark overlay + white title/description fades in on hover. */

.adhc-wrap {
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
}

.adhc-viewport {
	overflow: hidden;
}

.adhc-track {
	display: flex;
	gap: 20px;
	transition: transform 0.55s ease;
	will-change: transform;
}

/* 3 cards at a time on desktop */
.adhc-card {
	flex: 0 0 calc((100% - 40px) / 3);
	position: relative;
	aspect-ratio: 1 / 1.03;
	overflow: hidden;
	background: #0b2536;
	outline: none;
}

.adhc-card .adhc-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Hover reveal: full-card dark veil, fades in (no slide), text in place */
.adhc-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px;
	background: rgba(8, 12, 16, 0.82);
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

.adhc-card:hover .adhc-overlay,
.adhc-card:focus .adhc-overlay,
.adhc-card:focus-within .adhc-overlay,
.adhc-card.adhc-active .adhc-overlay {
	opacity: 1;
}

.adhc-title {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 700;
	text-align: left;
}

.adhc-desc {
	margin: 0;
	color: #f2f6f8;
	font-size: 15px;
	line-height: 1.6;
	text-align: left;
}

/* Arrows */
.adhc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #00b4e6;
	background: #ffffff;
	color: #00a3d1;
	font-size: 38px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(7, 42, 61, 0.18);
	transition: background 0.25s ease, color 0.25s ease;
	padding: 0 0 3px;
}

.adhc-arrow:hover {
	background: #00b4e6;
	color: #ffffff;
}

.adhc-prev { left: -50px; }
.adhc-next { right: -50px; }

.adhc-arrow.adhc-hidden {
	display: none;
}

.adhc-empty {
	padding: 16px 20px;
	border: 1px dashed #00b4e6;
	background: #e6f7fb;
	color: #0b2536;
}

/* Tablet: 2 cards at a time */
@media (max-width: 1024px) {
	.adhc-card {
		flex-basis: calc((100% - 20px) / 2);
	}
	.adhc-prev { left: 6px; }
	.adhc-next { right: 6px; }
}

/* Mobile: 1 card at a time, tap toggles the reveal (handled in JS) */
@media (max-width: 640px) {
	.adhc-card {
		flex-basis: 100%;
	}
	.adhc-overlay {
		padding: 22px;
	}
	.adhc-title {
		font-size: 18px;
	}
	.adhc-desc {
		font-size: 14px;
	}
	.adhc-prev { left: 6px; }
	.adhc-next { right: 6px; }
}
