/* Interactive hero (Default New Template). Hand-written; see includes/hero-interactive.php. */
.dnt-hero--interactive .dnt-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	grid-template-areas:
		"tagline spot"
		"title   spot"
		"desc    spot"
		"meta    spot"
		"tools   tools"
		"crumbs  crumbs";
	column-gap: 40px;
	align-items: start;
	text-align: left;
	padding-top: 36px;
}
.dnt-hero--interactive .dnt-hero__tagline { grid-area: tagline; justify-content: flex-start; margin-bottom: .6rem; }
.dnt-hero--interactive .dnt-hero__title { grid-area: title; margin: 0; max-width: none; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.dnt-hero--interactive .dnt-hero__description { grid-area: desc; margin: 14px 0 0; max-width: 560px; }
.dnt-hero--interactive .dnt-hero__meta { grid-area: meta; justify-content: flex-start; margin-top: 14px; }
.dnt-hero--interactive .dnt-hero__breadcrumbs { grid-area: crumbs; }

/* Spotlight */
.dnt-hero__spot { grid-area: spot; position: relative; align-self: center; }
.dnt-hero__spot-track {
	position: relative;
	aspect-ratio: 328 / 209;
	border-radius: 18px;
	overflow: hidden;
	background: #0f172a;
	box-shadow: 0 18px 40px rgba(15, 23, 42, .22);
}
.dnt-hero__spot-card {
	position: absolute;
	inset: 0;
	display: block;
	color: #fff;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity .45s ease, visibility .45s;
}
.dnt-hero__spot-card.is-active { opacity: 1; visibility: visible; }
.dnt-hero__spot-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.dnt-hero__spot-card:hover .dnt-hero__spot-img { transform: scale(1.05); }
.dnt-hero__spot-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, .88) 100%); }
.dnt-hero__spot-play {
	position: absolute;
	top: 38%;
	left: 50%;
	width: 62px;
	height: 62px;
	margin: -31px 0 0 -31px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
	color: #eb5c0f;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
	transition: transform .2s ease;
}
.dnt-hero__spot-play svg { width: 26px; height: 26px; margin-left: 3px; }
.dnt-hero__spot-card:hover .dnt-hero__spot-play { transform: scale(1.1); }
.dnt-hero__spot-body {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 14px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 12px;
	align-items: end;
}
.dnt-hero__spot-title { font-size: 19px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dnt-hero__spot-meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: rgba(255, 255, 255, .82); }
.dnt-hero__spot-meta span + span::before { content: "·"; margin-right: 10px; }
.dnt-hero__spot-cta {
	grid-column: 2;
	grid-row: 1 / span 2;
	padding: 9px 16px;
	border-radius: 999px;
	background: #eb5c0f;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	white-space: nowrap;
}
.dnt-hero__spot-dots { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.dnt-hero__spot-dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.dnt-hero__spot-dot::before { content: ""; position: absolute; top: 10px; left: 4px; width: 16px; height: 4px; border-radius: 4px; background: rgba(15, 23, 42, .2); transition: background-color .2s ease; }
.dnt-hero__spot-dot.is-active::before { background: #eb5c0f; }
.dnt-hero__spot-dot:focus-visible, .dnt-hero__spot-card:focus-visible, .dnt-hero__chip:focus-visible, .dnt-hero__surprise:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }

/* Tools: search, chips, stats */
.dnt-hero__tools { grid-area: tools; margin-top: 26px; }
.dnt-hero__search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 6px 6px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(15, 23, 42, .06);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.dnt-hero__search:focus-within { border-color: #eb5c0f; box-shadow: 0 6px 22px rgba(235, 92, 15, .16); }
.dnt-hero__search-icon { flex: 0 0 auto; width: 20px; height: 20px; color: #94a3b8; }
.dnt-hero__search-input {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 16px;
	color: #0f172a;
	box-shadow: none;
}
.dnt-hero__search-input:focus { outline: none; }
.dnt-hero__surprise {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .15s ease;
}
.dnt-hero__surprise:hover { background: #eb5c0f; }
.dnt-hero__surprise svg { width: 18px; height: 18px; }
.dnt-hero__surprise.is-rolling svg { animation: sor-roll .6s linear infinite; }
@keyframes sor-roll { to { transform: rotate(360deg); } }

.dnt-hero__suggest {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 20;
	padding: 6px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
}
.dnt-hero__suggest[hidden] { display: none; }
.dnt-hero__suggest-item { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 10px; color: #0f172a; text-decoration: none; }
.dnt-hero__suggest-item:hover, .dnt-hero__suggest-item.is-active { background: #fff6f1; text-decoration: none; color: #0f172a; }
.dnt-hero__suggest-item img { flex: 0 0 auto; width: 62px; height: 40px; object-fit: cover; border-radius: 6px; }
.dnt-hero__suggest-name { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dnt-hero__suggest-studio { display: block; font-size: 12px; font-weight: 400; color: #64748b; }
.dnt-hero__suggest-play { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #eb5c0f; text-transform: uppercase; }
.dnt-hero__suggest-empty { margin: 0; padding: 10px 12px; font-size: 14px; color: #64748b; }

.dnt-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dnt-hero__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .85);
	color: #334155;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease, transform .15s ease;
}
.dnt-hero__chip svg { width: 16px; height: 16px; color: #eb5c0f; }
.dnt-hero__chip:hover { border-color: #eb5c0f; color: #c2410c; text-decoration: none; transform: translateY(-1px); }
.dnt-hero__chip.is-active { border-color: #eb5c0f; background: #eb5c0f; color: #fff; }
.dnt-hero__chip.is-active svg { color: #fff; }

.dnt-hero__stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 16px 0 4px; padding: 0; list-style: none; font-size: 13.5px; color: #64748b; }
.dnt-hero__stats li { margin: 0; padding: 0; }
.dnt-hero__stats li::before { content: none; }
.dnt-hero__stats strong { color: #0f172a; font-size: 16px; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
	.dnt-hero--interactive .dnt-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "tagline" "title" "desc" "meta" "tools" "spot" "crumbs";
		padding-top: 22px;
	}
	.dnt-hero__spot { margin-top: 18px; }
	.dnt-hero__tools { margin-top: 18px; }
	.dnt-hero__surprise span { display: none; }
	.dnt-hero__surprise { padding: 0 12px; }
	.dnt-hero__chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -15px; padding-right: 15px; scrollbar-width: none; }
	.dnt-hero__chips::-webkit-scrollbar { display: none; }
	.dnt-hero__chip { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
	.dnt-hero__spot-card, .dnt-hero__spot-img, .dnt-hero__spot-play, .dnt-hero__chip { transition: none; }
	.dnt-hero__surprise.is-rolling svg { animation: none; }
}
