/* =============================================================
 * Trang Nguồn gốc Nắng Gió — /nguon-goc-nang-gio/
 * Chỉ nạp đúng trang này (xem inc/nguon-goc.php).
 * Biến màu/radius lấy từ :root của style-nanggio.css.
 * Tỉ lệ màu theo BRAND_GUIDELINE mục 2.2: 60% kem/trắng, 30% đỏ, 10% nhấn.
 * ============================================================= */

.ng-ng-wrap {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 15px;
	color: var(--text-rustic, #5D4037);
	font-family: var(--font-main, 'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif);
}

.ng-ng-breadcrumb {
	font-size: 13px;
	margin: 14px 0 22px;
	opacity: 0.85;
}

/* --- Mở đầu --- */
.ng-ng-hero {
	text-align: center;
	padding: 8px 0 26px;
	border-bottom: 1px solid var(--border-light, rgba(93, 64, 55, 0.12));
	margin-bottom: 30px;
}

.ng-ng-title {
	font-size: 30px;
	line-height: 1.3;
	color: var(--brand-red, #E31E24);
	margin: 0 0 12px;
}

.ng-ng-sub {
	font-size: 17px;
	line-height: 1.75;
	margin: 0 auto;
	max-width: 640px;
}

/* --- Section chung --- */
.ng-ng-sec {
	margin: 0 0 38px;
}

.ng-ng-sec h2 {
	font-size: 22px;
	color: var(--brand-red, #E31E24);
	margin: 0 0 14px;
	line-height: 1.35;
}

.ng-ng-sec h3 {
	font-size: 17px;
	color: #1A1A1A;
	margin: 20px 0 6px;
}

.ng-ng-sec p {
	line-height: 1.8;
	margin: 0 0 14px;
}

/* --- Câu trích / phương châm --- */
.ng-ng-quote {
	background: var(--bg-cream, #FFF8F6);
	border-left: 4px solid var(--brand-red, #E31E24);
	border-radius: var(--radius-sm, 6px);
	padding: 16px 18px;
	margin: 18px 0;
	font-style: italic;
	line-height: 1.8;
}

/* --- Mốc thời gian --- */
.ng-ng-moc {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	border-left: 2px solid var(--border-light, rgba(93, 64, 55, 0.12));
}

.ng-ng-moc li {
	position: relative;
	padding: 0 0 18px 22px;
	line-height: 1.75;
}

.ng-ng-moc li::before {
	content: '';
	position: absolute;
	left: -7px;
	top: 7px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--brand-red, #E31E24);
	border: 2px solid var(--white, #fff);
}

.ng-ng-moc b {
	color: var(--brand-red, #E31E24);
}

/* --- Cam kết --- */
.ng-ng-camket {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.ng-ng-camket-item {
	background: var(--bg-cream, #FFF8F6);
	border: 1px solid var(--border-light, rgba(93, 64, 55, 0.12));
	border-radius: var(--radius-md, 10px);
	padding: 16px;
}

.ng-ng-camket-item h3 {
	margin: 0 0 6px;
	font-size: 16px;
	color: var(--brand-red, #E31E24);
}

.ng-ng-camket-item p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.7;
}

/* --- Ảnh + placeholder --- */
.ng-ng-figure {
	margin: 22px 0;
}

.ng-ng-figure img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-md, 10px);
	box-shadow: var(--shadow-card, 0 4px 16px rgba(93, 64, 55, 0.10));
	display: block;
}

.ng-ng-figure figcaption {
	font-size: 13.5px;
	text-align: center;
	margin-top: 8px;
	opacity: 0.8;
}

/* Khung chờ ảnh — hiện khi CHƯA gắn ảnh thật. Cố ý để lộ rõ, không giả làm
   ảnh thật, để không ai vô tình đẩy trang lên production khi còn thiếu ảnh. */
.ng-ng-anh-cho {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 220px;
	border: 2px dashed var(--brand-red, #E31E24);
	border-radius: var(--radius-md, 10px);
	background: var(--bg-cream, #FFF8F6);
	padding: 18px;
	text-align: center;
}

.ng-ng-anh-cho .ng-ng-anh-cho-nhan {
	font-size: 13px;
	font-weight: 700;
	color: var(--brand-red, #E31E24);
	letter-spacing: 0.4px;
}

.ng-ng-anh-cho .ng-ng-anh-cho-mota {
	font-size: 14px;
	max-width: 460px;
	line-height: 1.65;
}

/* --- Khối dẫn sang Cẩm nang --- */
.ng-ng-cta {
	background: var(--bg-cream, #FFF8F6);
	border: 1px solid var(--border-light, rgba(93, 64, 55, 0.12));
	border-radius: var(--radius-md, 10px);
	padding: 22px;
	text-align: center;
	margin: 34px 0 40px;
}

.ng-ng-cta h2 {
	margin: 0 0 8px;
	font-size: 20px;
	color: var(--brand-red, #E31E24);
}

.ng-ng-cta p {
	margin: 0 0 14px;
	line-height: 1.75;
}

.ng-ng-cta-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.ng-ng-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 11px 20px;
	border-radius: var(--radius-pill, 999px);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: var(--transition, 0.22s ease);
}

.ng-ng-btn--chinh {
	background: var(--brand-red, #E31E24);
	color: var(--white, #fff);
}

.ng-ng-btn--chinh:hover {
	background: #C01A1F;
	color: var(--white, #fff);
}

.ng-ng-btn--phu {
	background: var(--white, #fff);
	color: var(--brand-red, #E31E24);
	border: 1px solid var(--brand-red, #E31E24);
}

.ng-ng-btn--phu:hover {
	background: var(--brand-red, #E31E24);
	color: var(--white, #fff);
}

@media (max-width: 600px) {
	.ng-ng-title { font-size: 24px; }
	.ng-ng-sub   { font-size: 15.5px; }
	.ng-ng-sec h2 { font-size: 19px; }
}
