/**
 * Candidate Search slide — overlay, programme icons (poster circles), urgency line.
 *
 * @package NDS-Academy
 */

.nds-hero-carousel .nds-slide-content.nds-slide--candidate .nds-slide-overlay {
	background:
		linear-gradient(90deg, rgba(15, 25, 35, 0.72) 0%, rgba(15, 25, 35, 0.35) 42%, rgba(15, 25, 35, 0.08) 68%, transparent 85%),
		linear-gradient(180deg, transparent 55%, rgba(15, 25, 35, 0.45) 100%) !important;
	background-color: transparent !important;
}

.nds-hero-carousel .nds-slide-content.nds-slide--candidate .nds-slide-image img {
	object-position: center 30%;
}

.nds-hero-carousel .nds-slide-icons {
	position: absolute;
	right: clamp(1rem, 3vw, 2.5rem);
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	max-width: min(240px, 42vw);
	pointer-events: none;
}

.nds-hero-carousel .nds-slide-icons li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

/* Poster: orange circle + white icon inside */
.nds-hero-carousel .nds-slide-icon-circle {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--primarycolor, #e8871e);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(232, 135, 30, 0.45);
}

.nds-hero-carousel .nds-slide-icon-circle img,
.nds-hero-carousel .nds-slide-icon-circle svg,
.nds-hero-carousel .nds-slide-icon-circle object {
	width: 34px !important;
	height: 34px !important;
	max-width: 34px !important;
	max-height: 34px !important;
	object-fit: contain !important;
	display: block;
	filter: brightness(0) invert(1);
	pointer-events: none;
}

.nds-hero-carousel .nds-slide-description.nds-slide-urgency {
	margin-bottom: 1.25rem;
	color: var(--primarycolor, #e8871e) !important;
	font-weight: 700;
	font-size: clamp(0.8rem, 1.4vw, 0.95rem) !important;
}

.nds-hero-carousel .nds-slide-icon-name {
	font-family: Montserrat, sans-serif;
	font-size: clamp(0.58rem, 1.1vw, 0.72rem);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.2;
	color: #fff;
	padding: 0.35rem 0.55rem;
	background: rgba(26, 40, 54, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.nds-hero-carousel .nds-slide-icons .nds-stagger {
	transform: translateX(16px);
	opacity: 0;
}

.nds-hero-carousel .nds-slide-icons .nds-stagger.is-in {
	transform: translateX(0);
	opacity: 1;
}

/* Preview / reduced-motion: show content if stagger script did not run */
.nds-hero-carousel.is-ready .nds-stagger,
.nds-hero-carousel .nds-stagger.is-in {
	opacity: 1;
	filter: none;
}

.nds-hero-carousel .nds-slide-text .nds-stagger.is-in {
	transform: translateY(0) scale(1);
}

@media (max-width: 700px) {
	.nds-hero-carousel .nds-slide-icon-name {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nds-hero-carousel .nds-slide-icons .nds-stagger {
		transform: none;
		opacity: 1;
	}
}
