/* ==========================================================================
   Layout 1 — Modern Grid
   ========================================================================== */

.dk-hero {
	position: relative;
	margin-bottom: 36px;
	border-radius: var(--dk-radius);
	overflow: hidden;
	background: #0b0d13;
	isolation: isolate;
}

.dk-hero__label {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 16px 18px 0;
	color: #fff;
}

.dk-hero__label h2 {
	margin: 0;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #fff;
}

.dk-hero__label span {
	font-size: 0.76rem;
	color: rgba(255, 255, 255, 0.6);
}

.dk-hero__viewport {
	position: relative;
	aspect-ratio: 4 / 5;
	max-height: 460px;
}

.dk-hero__slide {
	position: absolute;
	inset: 0;
	display: grid;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s ease, visibility 0.45s ease;
}

.dk-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.dk-hero__bg {
	position: absolute;
	inset: 0;
}

.dk-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
}

.dk-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(5, 7, 12, 0.96) 6%, rgba(5, 7, 12, 0.55) 45%, rgba(5, 7, 12, 0.25) 100%),
		linear-gradient(90deg, rgba(5, 7, 12, 0.65), transparent 65%);
}

.dk-hero__content {
	position: relative;
	z-index: 2;
	align-self: end;
	padding: 22px 20px;
	color: #fff;
	display: grid;
	gap: 10px;
	max-width: 640px;
}

.dk-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.dk-hero__title {
	margin: 0;
	font-size: clamp(1.4rem, 1.05rem + 2.2vw, 2.4rem);
	line-height: 1.15;
}

.dk-hero__title a {
	color: #fff;
}

.dk-hero__title a:hover {
	color: var(--dk-accent);
}

.dk-hero__desc {
	margin: 0;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.78);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dk-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 2px;
}

.dk-hero__actions .dk-btn--ghost {
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	backdrop-filter: blur(4px);
}

.dk-hero__actions .dk-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.dk-hero__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: none;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(9, 11, 18, 0.55);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: background 0.2s ease;
}

.dk-hero__arrow:hover {
	background: var(--dk-accent);
}

.dk-hero__arrow svg {
	width: 20px;
	height: 20px;
}

.dk-hero__arrow--prev {
	left: 14px;
}

.dk-hero__arrow--next {
	right: 14px;
}

.dk-hero__dots {
	position: absolute;
	right: 18px;
	bottom: 14px;
	z-index: 3;
	display: flex;
	gap: 6px;
}

.dk-hero__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	transition: width 0.2s ease, background 0.2s ease;
}

.dk-hero__dot.is-active {
	width: 22px;
	background: var(--dk-accent);
}

@media (min-width: 700px) {
	.dk-hero__viewport {
		aspect-ratio: 16 / 9;
		max-height: 520px;
	}

	.dk-hero__content {
		padding: 32px;
	}
}

@media (min-width: 1024px) {
	.dk-hero__viewport {
		aspect-ratio: 21 / 9;
		max-height: 480px;
	}

	.dk-hero__arrow {
		display: grid;
	}

	.dk-hero__label {
		padding: 18px 26px 0;
	}

	.dk-hero__content {
		padding: 36px 40px;
	}

	.dk-hero__desc {
		-webkit-line-clamp: 2;
	}
}
