/**
 * Brand About page layouts — shared module.
 */

.vn-about-page {
	--vn-about-max: 52rem;
	padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.vn-about-page__breadcrumb {
	padding-block: 0.75rem 0.25rem;
}

.vn-about-page__trail {
	font-size: 0.875rem;
}

.vn-about-page__article {
	max-width: var(--vn-about-max);
	margin-inline: auto;
}

.vn-about-page__header {
	margin: 1rem 0 1.25rem;
}

.vn-about-page__title {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	line-height: 1.2;
	color: var(--vn-site-primary, #0068b7);
}

.vn-about-page__featured {
	margin: 0 0 1.5rem;
	overflow: hidden;
	background: #f3f6fa;
	aspect-ratio: 16 / 9;
}

.vn-about-page__featured-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vn-about-page__content {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #1f2933;
}

.vn-about-page__content > *:first-child {
	margin-top: 0;
}

.vn-about-page__content h2,
.vn-about-page__content h3 {
	margin-top: 1.75rem;
	margin-bottom: 0.65rem;
	line-height: 1.3;
	color: #111827;
}

.vn-about-page__content p,
.vn-about-page__content ul,
.vn-about-page__content ol {
	margin-bottom: 1rem;
}

.vn-about-page__content img,
.vn-about-page__content figure,
.vn-about-page__content table,
.vn-about-page__content iframe {
	max-width: 100%;
}

.vn-about-page__content iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
}

.vn-about-page__content table {
	display: block;
	overflow-x: auto;
	border-collapse: collapse;
}

.vn-about-page__content blockquote {
	margin: 1.25rem 0;
	padding: 0.75rem 1rem;
	border-left: 3px solid var(--vn-site-accent, #e31e24);
	background: #f8fafc;
}

.vn-about-page__cta {
	margin-top: 2rem;
	padding: 1.25rem 1.5rem;
	background: linear-gradient(135deg, var(--vn-site-primary, #0068b7), #004f8a);
	color: #fff;
}

.vn-about-page__cta-title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	color: #fff;
}

.vn-about-page__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.25rem;
	background: #fff;
	color: var(--vn-site-primary, #0068b7);
	font-weight: 600;
	text-decoration: none;
}

.vn-about-page__cta-btn:hover {
	opacity: 0.92;
}

/* Editorial */
.vn-about-page--davici-editorial .vn-about-page__editorial-hero {
	position: relative;
	margin-bottom: 1.5rem;
	min-height: clamp(200px, 28vw, 360px);
	display: flex;
	align-items: flex-end;
	background: #0f2740;
}

.vn-about-page--davici-editorial .vn-about-page__editorial-hero--text-only {
	min-height: 0;
	background: transparent;
	padding-top: 0.5rem;
}

.vn-about-page--davici-editorial .vn-about-page__editorial-media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.vn-about-page--davici-editorial .vn-about-page__editorial-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vn-about-page--davici-editorial .vn-about-page__editorial-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
}

.vn-about-page--davici-editorial .vn-about-page__editorial-hero-inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(1.5rem, 4vw, 2.5rem);
	width: 100%;
}

.vn-about-page--davici-editorial .vn-about-page__title--editorial {
	color: #fff;
	max-width: var(--vn-about-max);
}

.vn-about-page--davici-editorial .vn-about-page__editorial-hero--text-only .vn-about-page__title--editorial {
	color: var(--vn-site-primary, #0068b7);
}

.vn-about-page--davici-editorial .vn-about-page__article--editorial {
	position: relative;
	margin-top: -1.5rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: #fff;
	box-shadow: 0 8px 28px rgba(15, 39, 64, 0.08);
}

@media (max-width: 767px) {
	.vn-about-page__content {
		font-size: 1rem;
		text-align: left;
	}

	.vn-about-page--davici-editorial .vn-about-page__article--editorial {
		margin-top: 0;
		box-shadow: none;
		padding-inline: 0;
	}

	.vn-about-page--davici-editorial .vn-about-page__editorial-hero {
		min-height: clamp(180px, 55vw, 280px);
	}
}

@media (min-width: 1024px) {
	.vn-about-page__content {
		text-align: left;
	}
}
