/*
 * News Archive Stylesheet (template-news.php, page-tin-tuc.php, home.php, archive.php)
 * Horizontal News Cards (Khung vàng 0.3px, Bo góc 10px, Thời gian cập nhật, RankMath Description, Nút Xem chi tiết xanh navy)
 * AJAX Pagination & Responsive 2-Column Layout
 * Color Palette: Heading #20386d, Gold #ba8632, Text #000000, Background #ffffff
 */

.homie9-news-page {
	background-color: #ffffff;
	min-height: 100vh;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ==================== HERO BANNER ==================== */
.news-hero-banner {
	background-color: #07172e;
	background-image: url('https://homie9.vn/wp-content/uploads/2023/07/Homie9-Page-Banner.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	padding: 135px 0 50px;
	position: relative;
	text-align: center;
	color: #ffffff;
}

.news-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(7, 23, 46, 0.72) 0%, rgba(32, 56, 109, 0.65) 100%);
	pointer-events: none;
}

.news-hero-container {
	position: relative;
	z-index: 2;
}

.news-hero-inner {
	max-width: 800px;
	margin: 0 auto;
}

.news-breadcrumbs {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 12px;
	color: #ffffff;
}

.news-breadcrumbs a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.25s ease;
}

.news-breadcrumbs a:hover {
	color: #ba8632;
}

.news-breadcrumbs .breadcrumb-sep {
	color: rgba(255, 255, 255, 0.6);
}

.news-breadcrumbs .breadcrumb-current {
	color: #ffffff;
	font-weight: 800;
}

.news-hero-title {
	font-size: 38px;
	font-weight: 800;
	color: #ffffff !important;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin: 0 0 14px;
	line-height: 1.25;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.news-hero-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	max-width: 160px;
	margin: 0 auto 16px;
}

.news-hero-divider .divider-line {
	flex: 1;
	height: 1.5px;
	background: linear-gradient(90deg, transparent, #ba8632, transparent);
	opacity: 0.85;
}

.news-hero-divider .divider-diamond {
	color: #ba8632;
	font-size: 11px;
}

.news-hero-subtitle {
	font-size: 15px;
	color: #ffffff !important;
	line-height: 1.6;
	margin: 0;
	font-weight: 400;
}

/* ==================== MAIN CONTENT ==================== */
.news-main-section {
	padding: 75px 0 95px;
	background-color: #ffffff;
}

.news-main-grid-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	align-items: stretch;
}

/* CỘT BÊN TRÁI: STREAM BÀI VIẾT */
.news-stream-col {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.news-cards-container {
	display: flex;
	flex-direction: column;
	gap: 24px;
	transition: opacity 0.3s ease;
}

.news-cards-container.is-loading {
	opacity: 0.35;
	pointer-events: none;
}

/* ==================== CARD NẰM NGANG (HORIZONTAL NEWS CARD) ==================== */
.news-horizontal-card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	background: #ffffff;
	border: 0.3px solid #ba8632;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(10, 25, 47, 0.04);
	transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
	box-sizing: border-box;
	min-height: 220px;
}

.news-horizontal-card:hover {
	border-color: #ba8632;
	box-shadow: 0 10px 30px rgba(186, 134, 50, 0.18);
	transform: translateY(-3px);
}

/* Thumbnail bên trái card: Khung hình vuông chuẩn (Square 1:1) */
.news-card-thumb-wrap {
	width: 220px;
	min-width: 220px;
	max-width: 220px;
	height: 220px;
	aspect-ratio: 1 / 1;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
	background: #f1f5f9;
}

.news-card-thumb-link {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.news-card-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-horizontal-card:hover .news-card-thumb {
	transform: scale(1.07);
}

.news-thumb-placeholder {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	background: linear-gradient(135deg, #07172e 0%, #20386d 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ba8632;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 1px;
}

/* Nội dung bên phải card */
.news-card-body {
	padding: 18px 24px;
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
}

/* Dòng 1: Tiêu đề + Thời gian cập nhật */
.news-card-top-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}

.news-card-title {
	font-size: 15.5px;
	font-weight: 800;
	color: #20386d !important;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	line-height: 1.4;
	margin: 0;
	flex: 1;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

.news-card-title a {
	color: #20386d !important;
	text-decoration: none;
	transition: color 0.25s ease;
}

.news-horizontal-card:hover .news-card-title a {
	color: #ba8632 !important;
}

.news-card-mod-date {
	font-size: 12px;
	font-weight: 600;
	color: #ba8632;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex-shrink: 0;
	padding-top: 2px;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

.news-card-mod-date .date-icon {
	stroke: #ba8632;
	flex-shrink: 0;
}

/* Line phân cách */
.news-card-divider {
	width: 100%;
	height: 1px;
	background: #e2e8f0;
	margin: 10px 0 12px;
}

/* Mô tả ngắn (RankMath description, màu đen, căn đều 2 bên) */
.news-card-excerpt {
	margin: 0 0 16px;
	flex-grow: 1;
}

.news-card-excerpt p {
	color: #000000 !important;
	font-size: 13.5px;
	line-height: 1.65;
	text-align: justify;
	text-justify: inter-word;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Nút Xem chi tiết → sát phải dưới cùng */
.news-card-action {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-top: auto;
}

.btn-news-card-view {
	background: #20386d;
	color: #ffffff !important;
	font-weight: 400;
	font-size: 13px;
	padding: 8px 18px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	transition: all 0.25s ease;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-news-card-view span {
	color: #ffffff;
	font-weight: 400;
}

.btn-news-card-view .btn-arrow-icon {
	width: 33px;
	height: 12px;
	display: inline-block;
	flex-shrink: 0;
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-news-card-view .btn-arrow-icon line,
.btn-news-card-view .btn-arrow-icon polyline {
	stroke: #ffffff;
	stroke-width: 0.3px;
}

.btn-news-card-view:hover {
	background: #ba8632;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.btn-news-card-view:hover .btn-arrow-icon {
	transform: translateX(5px);
}

/* ==================== AJAX PHÂN TRANG ==================== */
.news-pagination-wrap {
	margin-top: 45px;
	display: flex;
	justify-content: center;
}

.news-ajax-pagination {
	display: flex;
	align-items: center;
	gap: 8px;
}

.news-page-numbers {
	display: flex;
	align-items: center;
	gap: 8px;
}

.news-page-num, .news-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	color: #20386d;
	text-decoration: none;
	font-weight: 600;
	font-size: 13.5px;
	transition: all 0.25s ease;
	cursor: pointer;
	background: #ffffff;
	font-family: 'Plus Jakarta Sans', sans-serif;
	box-sizing: border-box;
}

.news-page-num:hover, .news-page-btn:hover {
	border-color: #ba8632;
	color: #ba8632;
	background: #f8fafc;
}

.news-page-num.is-active {
	background: #20386d;
	border-color: #20386d;
	color: #ffffff;
	font-weight: 700;
}

.news-ajax-loader {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 25px 0;
	color: #20386d;
	font-weight: 600;
	font-size: 14px;
}

.news-spinner {
	width: 24px;
	height: 24px;
	border: 3px solid rgba(32, 56, 109, 0.2);
	border-top-color: #20386d;
	border-radius: 50%;
	animation: newsSpin 0.7s linear infinite;
}

@keyframes newsSpin {
	to { transform: rotate(360deg); }
}

.news-empty-msg {
	text-align: center;
	padding: 50px 20px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	color: #000000;
	font-size: 15px;
}

/* ==================== CỘT PHẢI: SIDEBAR ==================== */
.news-sidebar-col {
	width: 100%;
	height: 100%;
	position: relative;
}

.news-sidebar-inner {
	position: -webkit-sticky;
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 25px;
	z-index: 10;
}

.sidebar-brand-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 28px 24px;
	text-align: left;
	box-sizing: border-box;
}

.sidebar-brand-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: #ba8632;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.sidebar-brand-title {
	font-size: 17px;
	font-weight: 800;
	color: #20386d !important;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	line-height: 1.35;
	margin: 0 0 10px;
}

.sidebar-brand-desc {
	font-size: 13.5px;
	color: #000000;
	line-height: 1.65;
	margin: 0 0 20px;
	text-align: justify;
	text-justify: inter-word;
}

.btn-sidebar-contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 12px 20px;
	background: #20386d;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.25s ease;
	box-sizing: border-box;
}

.btn-sidebar-contact:hover {
	background: #ba8632;
	color: #ffffff !important;
}

/* ==================== RESPONSIVE MEDIA QUERIES (NEWS ARCHIVE) ==================== */
@media (max-width: 1024px) {
	.news-main-grid-layout {
		grid-template-columns: 1fr;
		gap: 35px;
	}

	.news-sidebar-inner {
		position: static;
	}
}

@media (max-width: 768px) {
	.news-hero-banner {
		padding: 105px 0 45px;
	}

	.news-hero-title {
		font-size: 28px;
	}

	.news-main-section {
		padding: 45px 0 60px;
	}

	.news-horizontal-card {
		flex-direction: column;
		min-height: auto;
	}

	.news-card-thumb-wrap {
		width: 100%;
		min-width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.news-card-body {
		padding: 18px 18px;
	}

	.news-card-top-row {
		flex-direction: column;
		gap: 6px;
	}

	.news-card-title {
		font-size: 14.5px;
	}

	.news-card-mod-date {
		align-self: flex-start;
	}
}

/* ================================================================
   SINGLE NEWS / BLOG POST STYLING (single.php)
   Breadcrumb -> H2 Blue -> Meta Bar -> Short Desc -> 1:1 Image 50% ->
   Continuous White Card -> Heading Line & Navy Bar | ->
   VIP Author Box -> Related Posts 3 Cards -> Sticky Aside Banner
   ================================================================ */

.homie9-single-news-page {
	background-color: #ffffff;
	min-height: 100vh;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

/* 0. Top Banner ảnh: margin-top 50px & height 250px */
.news-single-hero-banner {
	position: relative;
	height: 250px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 50px;
	overflow: hidden;
}

.news-single-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 23, 46, 0.7) 0%, rgba(32, 56, 109, 0.8) 100%);
	z-index: 1;
}

.news-single-hero-container {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 900px;
	padding: 0 20px;
}

.news-single-hero-text {
	font-size: 28px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 6px;
	text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
	font-family: 'Plus Jakarta Sans', sans-serif;
}

.news-single-hero-post-title {
	font-size: 16px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
	letter-spacing: 0.3px;
	line-height: 1.45;
	text-transform: none;
	margin: 0;
	font-family: 'Plus Jakarta Sans', sans-serif;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.news-single-header-bar {
	padding: 30px 0 15px;
	background-color: #ffffff;
}

.news-single-breadcrumbs {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.news-single-breadcrumbs a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-single-breadcrumbs a:hover {
	color: #ba8632;
}

.news-single-breadcrumbs .breadcrumb-sep {
	color: #cbd5e1;
}

.news-single-breadcrumbs .breadcrumb-current {
	color: #20386d;
	font-weight: 700;
}

.news-single-title {
	font-size: 28px;
	font-weight: 800;
	color: #20386d !important;
	line-height: 1.35;
	margin: 0 0 14px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.news-single-meta-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e8f0;
}

.news-meta-item {
	font-size: 13.5px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.news-badge-pill {
	background: #20386d;
	color: #ffffff !important;
	font-size: 11px;
	font-weight: 800;
	padding: 4px 10px;
	border-radius: 5px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.news-meta-date {
	color: #ba8632;
	font-weight: 600;
}

.news-meta-author {
	color: #000000;
	font-weight: 600;
}

.news-single-main-section {
	padding: 24px 0 85px;
	background-color: #ffffff;
}

.news-single-grid-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 35px;
	align-items: stretch;
}

.news-single-content-col {
	width: 100%;
	min-width: 0;
}

.news-single-article-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 35px 35px;
	box-shadow: 0 4px 20px rgba(10, 25, 47, 0.04);
	box-sizing: border-box;
}

.news-single-short-desc-box {
	background: #ffffff;
	border: 0.3px solid #ba8632;
	border-left: 4px solid #ba8632;
	border-radius: 10px;
	padding: 20px 26px;
	margin-bottom: 24px;
	box-shadow: 0 4px 18px rgba(10, 25, 47, 0.04);
	box-sizing: border-box;
}

.news-single-short-desc {
	font-size: 15px;
	font-weight: 500;
	color: #1e293b;
	line-height: 1.75;
	margin: 0;
	font-style: italic;
	text-align: justify;
	text-justify: inter-word;
}

.news-single-featured-wrap {
	max-width: 50%;
	margin: 0 auto 28px;
	text-align: center;
	border-radius: 12px;
	border: 0.5px solid #ba8632;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	box-shadow: 0 6px 20px rgba(186, 134, 50, 0.12);
	background: #f8fafc;
}

.news-single-featured-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ==================== CONTENT TYPOGRAPHY & HEADING SEPARATORS ==================== */
.news-single-entry-content {
	font-size: 15.5px;
	line-height: 1.75;
	color: #1e293b;
}

.news-single-entry-content h2,
.news-single-entry-content h3,
.news-single-entry-content h4,
.news-single-entry-content h5,
.news-single-entry-content h6 {
	color: #20386d;
	font-weight: 800;
	line-height: 1.35;
	border-top: 1px solid #e2e8f0;
	border-left: 4px solid #20386d;
	padding: 16px 0 0 14px;
	margin: 32px 0 16px;
}

.news-single-entry-content h2:first-child,
.news-single-entry-content h3:first-child {
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}

.news-single-entry-content h2 { font-size: 22px; }
.news-single-entry-content h3 { font-size: 19px; }
.news-single-entry-content h4 { font-size: 16.5px; }

.news-single-entry-content p {
	font-size: 15.5px;
	line-height: 1.75;
	color: #1e293b;
	margin: 0 0 18px;
	text-align: justify;
	text-justify: inter-word;
}

.news-single-entry-content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 22px auto;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(10, 25, 47, 0.06);
	object-fit: contain;
}

.news-single-entry-content figure {
	margin: 24px auto;
	text-align: center;
	max-width: 100%;
}

.news-single-entry-content figcaption,
.news-single-entry-content .wp-caption-text {
	font-size: 13.5px;
	color: #000000 !important;
	font-style: italic;
	font-weight: 500;
	margin-top: 8px;
	text-align: center;
}

.news-single-entry-content ul,
.news-single-entry-content ol {
	padding-left: 22px;
	margin: 0 0 20px;
	color: #1e293b;
	font-size: 15.5px;
	line-height: 1.75;
	text-align: justify;
	text-justify: inter-word;
}

.news-single-entry-content li {
	margin-bottom: 8px;
	text-align: justify;
	text-justify: inter-word;
}

.news-single-entry-content blockquote {
	background: #f8fafc;
	border-left: 4px solid #ba8632;
	margin: 24px 0;
	padding: 16px 22px;
	border-radius: 0 8px 8px 0;
	font-style: italic;
	color: #334155;
}

.news-single-entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 14.5px;
}

.news-single-entry-content th,
.news-single-entry-content td {
	border: 1px solid #e2e8f0;
	padding: 10px 14px;
	text-align: left;
}

.news-single-entry-content th {
	background: #07172e;
	color: #ffffff;
	font-weight: 700;
}

/* ==================== CÂU HỎI THƯỜNG GẶP (FAQ CARD) ==================== */
.news-single-faq-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 32px 35px;
	margin-top: 28px;
	box-shadow: 0 4px 20px rgba(10, 25, 47, 0.04);
	box-sizing: border-box;
}

.news-single-faq-header {
	margin-bottom: 22px;
	text-align: left;
}

.news-single-faq-title {
	font-size: 20px;
	font-weight: 800;
	color: #20386d;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 10px;
	line-height: 1.35;
	display: flex;
	align-items: center;
	gap: 12px;
}

.news-single-faq-title::before {
	content: '';
	display: inline-block;
	width: 4px;
	height: 20px;
	background: #ba8632;
	border-radius: 2px;
}

.news-single-faq-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 140px;
	margin: 0;
}

.news-single-faq-divider .faq-divider-line {
	flex: 1;
	height: 1.5px;
	background: linear-gradient(90deg, #ba8632, transparent);
	opacity: 0.8;
}

.news-single-faq-divider .faq-divider-diamond {
	color: #ba8632;
	font-size: 10px;
}

.news-single-faq-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.news-faq-item {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	background: #ffffff;
	transition: all 0.25s ease;
}

.news-faq-item:hover,
.news-faq-item.is-active {
	border-color: #ba8632;
	box-shadow: 0 4px 14px rgba(186, 134, 50, 0.08);
}

.news-faq-question-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	background: #f8fafc;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	transition: background 0.25s ease;
}

.news-faq-item.is-active .news-faq-question-btn {
	background: rgba(186, 134, 50, 0.06);
}

.news-faq-q-text {
	font-size: 15.5px;
	font-weight: 700;
	color: #20386d;
	line-height: 1.45;
}

.news-faq-item.is-active .news-faq-q-text {
	color: #ba8632;
}

.news-faq-q-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #20386d;
	transition: transform 0.3s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.news-faq-item.is-active .news-faq-q-icon {
	transform: rotate(180deg);
	border-color: #ba8632;
	background: #ba8632;
	color: #ffffff;
}

.news-faq-answer {
	border-top: 1px solid #e2e8f0;
	background: #ffffff;
}

.news-faq-answer-inner {
	padding: 18px 20px;
	font-size: 15px;
	line-height: 1.75;
	color: #334155;
	text-align: justify;
	text-justify: inter-word;
}

.news-faq-answer-inner p {
	margin: 0 0 12px;
}

.news-faq-answer-inner p:last-child {
	margin-bottom: 0;
}

/* ==================== VIP AUTHOR BOX ==================== */
.news-single-author-card,
.news-author-box {
	background: #07172e;
	border: 1px solid #ba8632;
	border-radius: 16px;
	padding: 26px 30px;
	margin-top: 28px;
	color: #ffffff;
	box-shadow: 0 10px 30px rgba(7, 23, 46, 0.18);
	box-sizing: border-box;
}

.author-box-inner {
	display: flex;
	align-items: center;
	gap: 26px;
}

.author-avatar-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	width: 100px;
}

.author-avatar-wrap {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	border: 2px solid #ba8632;
	overflow: hidden;
	background: #0f2444;
	padding: 3px;
	box-sizing: border-box;
}

.author-avatar-img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.author-social-links {
	display: flex;
	gap: 6px;
	align-items: center;
	justify-content: center;
}

.author-social-btn {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: #142a4a;
	color: #ffffff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	border: 0.5px solid rgba(186, 134, 50, 0.35);
	transition: all 0.25s ease;
}

.author-social-btn:hover {
	background: #ba8632;
	color: #ffffff !important;
	border-color: #ba8632;
	transform: translateY(-2px);
}

.author-info-col {
	flex: 1;
	min-width: 0;
}

.author-company-name {
	font-size: 17px;
	font-weight: 800;
	color: #ba8632;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 5px;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

.author-role-title {
	font-size: 14.5px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 8px;
}

.author-bio-desc {
	font-size: 13.5px;
	color: #cbd5e1;
	line-height: 1.6;
	margin: 0;
	font-weight: 400;
	text-align: justify;
	text-justify: inter-word;
}

/* ==================== RELATED POSTS SECTION ==================== */
.news-related-section {
	margin-top: 50px;
}

.news-related-header {
	text-align: center;
	margin-bottom: 28px;
}

.news-related-heading {
	font-size: 20px;
	font-weight: 800;
	color: #20386d;
	text-transform: uppercase;
	margin: 0 0 10px;
	letter-spacing: 0.5px;
}

.news-related-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	max-width: 140px;
	margin: 0 auto;
}

.news-related-divider .divider-line {
	flex: 1;
	height: 1.5px;
	background: linear-gradient(90deg, transparent, #ba8632, transparent);
	opacity: 0.8;
}

.news-related-divider .divider-diamond {
	color: #ba8632;
	font-size: 10px;
}

.news-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.news-related-card {
	background: #ffffff;
	border: 0.3px solid #ba8632;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(10, 25, 47, 0.04);
	display: flex;
	flex-direction: column;
	transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
	box-sizing: border-box;
}

.news-related-card:hover {
	border-color: #ba8632;
	box-shadow: 0 10px 28px rgba(186, 134, 50, 0.2);
	transform: translateY(-4px);
}

.news-rel-thumb-wrap {
	position: relative;
	aspect-ratio: 1 / 1 !important; /* HÌNH VUÔNG 1:1 */
	width: 100%;
	overflow: hidden;
	display: block;
	background: #f1f5f9;
}

.news-rel-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover !important; /* FIT KHUNG */
	display: block;
	transition: transform 0.5s ease;
}

.news-related-card:hover .news-rel-thumb-img {
	transform: scale(1.08);
}

.news-rel-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #20386d;
	color: #ffffff;
	font-size: 9.5px;
	font-weight: 800;
	padding: 3px 7px;
	border-radius: 4px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.news-rel-body {
	padding: 16px 16px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
	gap: 12px;
}

.news-rel-meta {
	font-size: 11.5px;
	color: #ba8632;
	font-weight: 600;
}

.news-rel-title {
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1.45;
	margin: 0;
	color: #20386d;
	text-transform: uppercase;
}

.news-rel-title a {
	color: #20386d;
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-related-card:hover .news-rel-title a {
	color: #ba8632;
}

.news-rel-action {
	margin-top: auto;
	display: flex;
	justify-content: flex-end; /* SÁT PHẢI */
}

.btn-news-rel-view {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	padding: 7px 14px;
	background: #20386d;
	color: #ffffff !important;
	font-size: 11.5px;
	font-weight: 400 !important; /* KHÔNG IN ĐẬM */
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.25s ease;
	box-sizing: border-box;
	margin-left: auto; /* SÁT PHẢI */
}

.btn-news-rel-view:hover {
	background: #ba8632;
	color: #ffffff !important;
}

.news-rel-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.news-rel-arrow svg {
	width: 13px;
	height: 8px;
	display: block;
}

/* ==================== SINGLE NEWS SIDEBAR ==================== */
.news-single-sidebar-col {
	width: 100%;
	height: 100%;
	position: relative;
}

.news-single-sticky-sidebar {
	position: -webkit-sticky;
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	z-index: 10;
}

.news-sidebar-banner-card {
	border-radius: 12px;
	overflow: hidden;
	border: 0.5px solid #ba8632;
	box-shadow: 0 4px 18px rgba(10, 25, 47, 0.08);
	transition: transform 0.3s ease;
}

.news-sidebar-banner-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(186, 134, 50, 0.2);
}

.news-sidebar-banner-link {
	display: block;
	width: 100%;
}

.news-sidebar-banner-img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

/* ==================== RESPONSIVE MEDIA QUERIES (SINGLE NEWS) ==================== */
@media (max-width: 1024px) {
	.news-single-grid-layout {
		grid-template-columns: 1fr;
		gap: 35px;
	}

	.news-single-sticky-sidebar {
		position: static;
	}

	.news-related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.news-single-header-bar {
		padding: 100px 0 15px;
	}

	.news-single-title {
		font-size: 22px;
	}

	.news-single-article-card {
		padding: 20px 18px;
	}

	.news-single-featured-wrap {
		max-width: 80%;
	}

	.news-single-faq-card {
		padding: 22px 18px;
	}

	.news-single-author-card,
	.news-author-box {
		padding: 22px 18px;
	}

	.author-box-inner {
		flex-direction: column;
		text-align: center;
		gap: 18px;
	}

	.author-avatar-col {
		width: auto;
	}

	.news-related-grid {
		grid-template-columns: 1fr;
	}
}

