/* -------------------------------------------------------------------------------- */
/*                                       Hero                                       */
/* -------------------------------------------------------------------------------- */

/* Carousel shell */
#nf-page #nf-hero .nf-carousel {
	-ms-touch-action: pan-y;
	height: 450px;
	overflow: hidden;
	overscroll-behavior-x: contain;
	position: relative;
	touch-action: pan-y;
	user-select: none;
	width: 100%;
}

/* Track */
#nf-page #nf-hero .nf-carousel .nf-carousel-track {
	display: flex;
	height: 100%;
	transition: transform 0.6s ease-in-out;
	will-change: transform;
}

/* Slide */
#nf-page #nf-hero .nf-carousel .nf-carousel-track .nf-carousel-slide {
	align-items: center;
	background-position: left;
	background-repeat: no-repeat;
	background-size: cover;
	box-sizing: border-box;
	cursor: grab;
	display: flex;
	flex-shrink: 0;
	flex: 0 0 100%;
	height: 100%;
	justify-content: flex-start;
	padding: 0;
	width: auto;
}

/* Slide container */
#nf-page #nf-hero .nf-carousel .nf-carousel-track .nf-carousel-slide .nf-container {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 20px;
	width: 100%;
}

/* Slide content */
#nf-page #nf-hero .nf-carousel .nf-carousel-track .nf-carousel-slide .nf-carousel-content {
	max-width: 540px;
	z-index: 1;
}

/* Heading */
#nf-page #nf-hero .nf-carousel .nf-carousel-track .nf-carousel-slide .nf-carousel-content h1 {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
}

/* Paragraph */
#nf-page #nf-hero .nf-carousel .nf-carousel-track .nf-carousel-slide .nf-carousel-content p {
	font-size: 18px;
	line-height: 1.5;
	margin-bottom: 30px;
}

/* Indicators container */
#nf-page #nf-hero .nf-carousel .nf-carousel-indicators-container {
	bottom: 20px;
	position: absolute;
	width: 100%;
	z-index: 2;
}

/* Indicators row */
#nf-page #nf-hero .nf-carousel .nf-carousel-indicators-container .nf-carousel-indicators {
	display: flex;
	gap: 8px;
	justify-content: center;
}

/* Indicator dash */
#nf-page #nf-hero .nf-carousel .nf-carousel-indicators-container .nf-carousel-indicators .dash {
	background: var(--sec-neutral);
	border-radius: 15%;
	cursor: pointer;
	height: 10px;
	margin: 0px 3px;
	transition: background-color 0.3s ease;
	width: 30px;
}

/* Active indicator dash */
#nf-page #nf-hero .nf-carousel .nf-carousel-indicators-container .nf-carousel-indicators .dash.active {
	background: var(--pri-base);
}

/* -------------------------------------------------------------------------------- */
/*                                   Top Releases                                   */
/* -------------------------------------------------------------------------------- */

/* Section title */
#nf-page #nf-top-releases .nf-section-title {
	align-self: start;
}

/* Company/logo wrapper inside each tile */
#nf-page #nf-top-releases .nf-tiles figure {
	display: flex;
	flex-direction: column;
	min-height: 300px;
}

#nf-page #nf-top-releases .nf-tiles figure .nf-top-releases-logo {
	aspect-ratio: 16/9;
	display: grid;
	max-height: 100px;
	overflow: hidden;
	place-items: center;
}

/* Logo image */
#nf-page #nf-top-releases .nf-tiles figure .nf-top-releases-logo img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

/* Timestamp */
#nf-page #nf-top-releases .nf-tiles figure p {
	color: var(--sec-neutral);
	font-size: 11px;
	line-height: 1.4;
	margin: auto 0px 10px 0px;
	overflow: hidden;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Headline */
#nf-page #nf-top-releases .nf-tiles figure h4 {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: var(--abs-black);
	display: -webkit-box;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 12px;
	overflow: hidden;
	text-align: left;
}

/* Progressive enhancement for engines that support "line-clamp" without prefix */
@supports (line-clamp: 3) {
	display: block;
	line-clamp: 3;
}

/* -------------------------------------------------------------------------------- */
/*                                   Testimonials                                   */
/* -------------------------------------------------------------------------------- */

/* Tile card */
#nf-page #nf-testimonials .nf-tiles figure {
	display: grid;
}

/* Testimonial text */
#nf-page #nf-testimonials .nf-tiles figure blockquote {
	color: var(--sec-neutral);
	font-size: 14px;
	line-height: 1.4;
	margin: 10px 0px;
	text-align: left;
}

/* Attribution */
#nf-page #nf-testimonials .nf-tiles figure figcaption {
	align-self: end;
	font-size: 13px;
	justify-self: end;
	text-align: right;
}

/* Attribution logo */
#nf-page #nf-testimonials .nf-tiles figure figcaption img {
	margin-top: 10px;
	max-height: 100px;
	max-width: 100px;
}

/* Optional headline (kept for compatibility) */
#nf-page #nf-testimonials .nf-tiles figure h4 {
	color: var(--abs-black);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 12px;
	text-align: left;
}
