/**
 * N2N-AFE — About, News, Careers inner pages (unified with products hero).
 */

/* ── Shared hero (also used by products via class aliases) ── */
.n2n-page-hero,
.n2n-products-hero {
	position: relative;
	padding: 48px 0 56px;
	overflow: hidden;
}

.n2n-page-hero__bg,
.n2n-products-hero__bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #071a2e 0%, #004e97 58%, #0066c4 100%);
}

.n2n-page-hero__bg::after,
.n2n-products-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 85% 20%, rgba(240, 208, 96, 0.16), transparent 42%),
		linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.15) 100%);
}

.n2n-page-hero__inner,
.n2n-products-hero__inner {
	position: relative;
	z-index: 2;
}

.n2n-page-breadcrumb,
.n2n-products-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	font-size: 14px;
}

.n2n-page-breadcrumb a,
.n2n-products-breadcrumb a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}

.n2n-page-breadcrumb a:hover,
.n2n-products-breadcrumb a:hover {
	color: #f0d060;
}

.n2n-page-breadcrumb span:not(.n2n-page-breadcrumb__current):not(.n2n-products-breadcrumb__current),
.n2n-products-breadcrumb span:not(.n2n-products-breadcrumb__current) {
	color: rgba(255, 255, 255, 0.45);
}

.n2n-page-breadcrumb__current,
.n2n-products-breadcrumb__current {
	color: #ffffff;
	font-weight: 600;
}

.n2n-page-hero__title,
.n2n-products-hero__title {
	margin: 0;
	color: #ffffff;
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.n2n-page-hero__subtitle,
.n2n-products-hero__subtitle {
	max-width: 720px;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 18px;
	line-height: 1.65;
}

/* ── Shared inner page shell ── */
body.n2n-inner-page-context {
	background: #f4f7fb;
}

.n2n-inner-page {
	background: #f4f7fb;
}

.n2n-inner-page__body {
	padding: 40px 0 72px;
}

/* ══════════════════════════════════════════
   About page (Giới thiệu)
   ══════════════════════════════════════════ */

.n2n-about-page .page-header-wrapper,
.n2n-about-page .page-title {
	display: none !important;
}

.n2n-about-page .n2n-inner-page__body {
	padding: 40px 15px 72px;
	max-width: 1220px;
	margin: 0 auto;
}

.n2n-about-page #content.content-area {
	background: transparent;
	padding: 0;
}

.n2n-about-page .n2n-inner-page__body .section,
.n2n-about-page .n2n-inner-page__body > .section,
.n2n-about-page .n2n-inner-page__body .section-product,
.n2n-about-page .n2n-inner-page__body .section-count {
	margin-left: auto;
	margin-right: auto;
	max-width: 1220px;
	padding-left: 15px;
	padding-right: 15px;
}

.n2n-about-page .section {
	padding-top: 56px !important;
	padding-bottom: 56px !important;
}

.n2n-about-page .section .section-bg {
	background: transparent !important;
	background-image: none !important;
}

.n2n-about-page .section .section-content {
	position: relative;
	z-index: 2;
}

.n2n-about-page .section:not(.section-count):not(.dark) {
	background: #ffffff;
	border-radius: 20px;
	border: 1px solid rgba(0, 78, 151, 0.08);
	box-shadow: 0 12px 36px rgba(10, 37, 64, 0.06);
	margin-bottom: 24px;
}

.n2n-about-page .section:nth-child(even):not(.section-count):not(.dark) {
	background: #f8fbff;
}

.n2n-about-page .content-ab-right h2,
.n2n-about-page .text h2 {
	margin: 0 0 16px;
	color: #0a2540;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.25;
}

.n2n-about-page .content-ab-right p,
.n2n-about-page .text p {
	color: #475569;
	font-size: 16px;
	line-height: 1.75;
}

.n2n-about-page .img img,
.n2n-about-page .image-cover img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(10, 37, 64, 0.12);
}

.n2n-about-page .section-product {
	background: #ffffff !important;
}

.n2n-about-page .section-product .product-carousel .product-item {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(0, 78, 151, 0.08);
	box-shadow: 0 10px 28px rgba(10, 37, 64, 0.08);
}

.n2n-about-page .section-count.dark {
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 24px;
	background: linear-gradient(135deg, #071a2e 0%, #0a2540 100%) !important;
}

.n2n-about-page .section-count .numbers h3 {
	color: #ffffff;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
}

.n2n-about-page .section-count .numbers p {
	color: rgba(255, 255, 255, 0.78);
}

.n2n-about-page .rw-features .box-text-bottom,
.n2n-about-page .about-content {
	border-radius: 14px;
	border: 1px solid rgba(0, 78, 151, 0.08);
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(10, 37, 64, 0.06);
}

.n2n-about-page .setion-footer {
	display: none !important;
}

/* ══════════════════════════════════════════
   News archive (Tin tức)
   ══════════════════════════════════════════ */

.n2n-news-page .archive-page-header,
.n2n-news-page .page-title.dark {
	display: none !important;
}

.n2n-news-page .blog-wrapper {
	background: transparent !important;
	padding: 0;
}

.n2n-news-page .n2n-news-archive > .row.align-center {
	max-width: 100%;
	margin: 0;
}

.n2n-news-page .n2n-news-archive .post-item {
	margin-bottom: 24px;
}

.n2n-news-page .box-blog-post {
	display: flex;
	flex-direction: row;
	overflow: hidden;
	border-radius: 18px;
	border: 1px solid rgba(0, 78, 151, 0.08);
	background: #ffffff;
	box-shadow: 0 10px 32px rgba(10, 37, 64, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.n2n-news-page .box-blog-post:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 78, 151, 0.14);
}

.n2n-news-page .box-blog-post .box-image {
	width: 38% !important;
	min-height: 220px;
	flex-shrink: 0;
}

.n2n-news-page .box-blog-post .box-image .image-cover {
	height: 100%;
	padding-top: 0 !important;
}

.n2n-news-page .box-blog-post .box-image img {
	height: 100%;
	object-fit: cover;
}

.n2n-news-page .box-blog-post .box-text {
	flex: 1;
	padding: 24px 28px;
}

.n2n-news-page .post-title.is-large {
	font-size: 20px !important;
	font-weight: 700;
	line-height: 1.4;
	text-transform: none !important;
}

.n2n-news-page .post-title a {
	color: #0a2540;
}

.n2n-news-page .post-title a:hover {
	color: #004e97;
}

.n2n-news-page .from_the_blog_excerpt {
	color: #64748b;
	font-size: 15px;
	line-height: 1.65;
}

.n2n-news-page .is-divider {
	display: none;
}

.n2n-news-page .badge.post-date {
	border-radius: 12px;
	background: rgba(0, 78, 151, 0.9) !important;
	border: none;
}

.n2n-news-page .nav-pagination > li > a,
.n2n-news-page .nav-pagination > li > span {
	border-radius: 10px;
}

/* ══════════════════════════════════════════
   Careers / Job board (Tuyển dụng)
   ══════════════════════════════════════════ */

.n2n-jobs-page .sjb-archive-page > h2 {
	display: none;
}

.n2n-jobs-page .sjb-page {
	width: 100% !important;
}

.n2n-jobs-page .sjb-filters-v2,
.n2n-jobs-page .sjb-filters {
	padding: 20px 22px;
	margin-bottom: 24px;
	border-radius: 16px;
	background: #ffffff;
	border: 1px solid rgba(0, 78, 151, 0.08);
	box-shadow: 0 8px 24px rgba(10, 37, 64, 0.06);
}

.n2n-jobs-page .sjb-filters-v2 input,
.n2n-jobs-page .sjb-filters-v2 select,
.n2n-jobs-page .sjb-filters input,
.n2n-jobs-page .sjb-filters select {
	border-radius: 10px;
	border-color: rgba(0, 78, 151, 0.15);
}

.n2n-jobs-page .sjb-listing-card.v2 {
	margin-bottom: 20px;
	padding: 0;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(0, 78, 151, 0.08);
	background: #ffffff;
	box-shadow: 0 10px 32px rgba(10, 37, 64, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.n2n-jobs-page .sjb-listing-card.v2:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(0, 78, 151, 0.12);
}

.n2n-jobs-page .sjb-listing-header {
	padding: 22px 24px 12px;
}

.n2n-jobs-page .sjb-listing-title a {
	color: #0a2540;
	font-size: 20px;
	font-weight: 700;
}

.n2n-jobs-page .sjb-listing-title a:hover {
	color: #004e97;
}

.n2n-jobs-page .sjb-job-meta-bar {
	padding: 0 24px 20px;
}

.n2n-jobs-page .sjb-features-panel {
	margin: 0 24px 24px;
	padding: 18px;
	border-radius: 14px;
	background: #f4f7fb;
	border: 1px solid rgba(0, 78, 151, 0.08);
}

.n2n-jobs-page .sjb-panel-title {
	font-size: 16px;
	font-weight: 700;
	color: #0a2540;
}

/* ── Dark theme ── */
body.n2n-theme-dark.n2n-inner-page-context,
body.n2n-theme-dark .n2n-inner-page {
	background: #0b1628;
}

body.n2n-theme-dark .n2n-about-page .section:not(.section-count):not(.dark),
body.n2n-theme-dark .n2n-news-page .box-blog-post,
body.n2n-theme-dark .n2n-jobs-page .sjb-filters-v2,
body.n2n-theme-dark .n2n-jobs-page .sjb-listing-card.v2 {
	background: #132238;
	border-color: rgba(255, 255, 255, 0.08);
}

body.n2n-theme-dark .n2n-about-page .content-ab-right h2,
body.n2n-theme-dark .n2n-news-page .post-title a,
body.n2n-theme-dark .n2n-jobs-page .sjb-listing-title a {
	color: #f1f5f9;
}

body.n2n-theme-dark .n2n-about-page .content-ab-right p,
body.n2n-theme-dark .n2n-news-page .from_the_blog_excerpt {
	color: #94a3b8;
}

@media (max-width: 849px) {
	.n2n-page-hero,
	.n2n-products-hero {
		padding: 36px 0 44px;
	}

	.n2n-inner-page__body {
		padding-bottom: 48px;
	}

	.n2n-news-page .box-blog-post {
		flex-direction: column;
	}

	.n2n-news-page .box-blog-post .box-image {
		width: 100% !important;
		min-height: 200px;
	}
}
