/**
 * Layout multi-width kiểu tạp chí cho bài viết (inc/post-multiwidth).
 * - Chủ đề màu: body.fhs-theme--{brand|trung-thu|tet|sach-doc}, chỉ đổi biến --fhs-*.
 * - Font: body.fhs-font--{site|serif}; serif dùng Fraunces (OFL) lưu trong assets/fonts/fraunces.
 * - Thành phần: hero, dropcap, h, duo, split, quote, cards, tint, close, source.
 */

/* ---------- Font Fraunces (chỉ tải khi có phần tử dùng font này) ---------- */
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 500 600;
	font-display: swap;
	src: url("../fonts/fraunces/fraunces-normal-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 500 600;
	font-display: swap;
	src: url("../fonts/fraunces/fraunces-normal-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Fraunces";
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/fraunces/fraunces-italic-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Fraunces";
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/fraunces/fraunces-italic-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Chủ đề màu ---------- */
body.fhs-mw-active {
	--fhs-col: 720px;
	--fhs-wide: 1100px;
	--fhs-gutter: max(15px, calc(50vw - 550px));
	--fhs-display: inherit;
}

/* Thương hiệu: chỉ màu đang có trên site. */
body.fhs-theme--brand {
	--fhs-hero: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	--fhs-soft: #f8fafc;
	--fhs-soft-2: #efefef;
	--fhs-accent: #ec2027;
	--fhs-accent-2: #1f2953;
	--fhs-accent-3: #d81920;
	--fhs-ink: #1f2953;
	--fhs-text: #263238;
	--fhs-muted: #707070;
	--fhs-line: #e2e8f0;
	--fhs-card: #ffffff;
	--fhs-close: #1f2953;
	--fhs-close-text: #ffffff;
	--fhs-dots: rgba(236, 32, 39, 0.1);
}

/* Trung Thu: bảng màu bài tham chiếu. */
body.fhs-theme--trung-thu {
	--fhs-hero: radial-gradient(ellipse 55% 90% at 80% 35%, rgba(255, 222, 160, 0.5), rgba(255, 222, 160, 0) 70%), linear-gradient(180deg, #fde9d6 0%, #fff4e6 62%, #fffaf3 100%);
	--fhs-soft: #fff9ee;
	--fhs-soft-2: #fde7d3;
	--fhs-accent: #d2402f;
	--fhs-accent-2: #e9b44c;
	--fhs-accent-3: #b98524;
	--fhs-ink: #3b2a2f;
	--fhs-text: #4a3d3f;
	--fhs-muted: #8b7b78;
	--fhs-line: #f1dcc3;
	--fhs-card: #ffffff;
	--fhs-close: linear-gradient(180deg, #eeeaf7 0%, #f6f1fb 70%, #fff9ee 100%);
	--fhs-close-text: #3b2a2f;
	--fhs-dots: rgba(233, 180, 76, 0.22);
}

/* Tết. */
body.fhs-theme--tet {
	--fhs-hero: radial-gradient(ellipse 50% 85% at 80% 40%, rgba(242, 201, 76, 0.35), rgba(242, 201, 76, 0) 70%), linear-gradient(180deg, #fff6e5 0%, #fffaf0 100%);
	--fhs-soft: #fffaf0;
	--fhs-soft-2: #f9d6d0;
	--fhs-accent: #b8141b;
	--fhs-accent-2: #f2c94c;
	--fhs-accent-3: #8f0f15;
	--fhs-ink: #3a1f1f;
	--fhs-text: #4a3434;
	--fhs-muted: #8a6f6f;
	--fhs-line: #f3d9c9;
	--fhs-card: #ffffff;
	--fhs-close: #b8141b;
	--fhs-close-text: #fff6e5;
	--fhs-dots: rgba(184, 20, 27, 0.1);
}

/* Sách & Đọc. */
body.fhs-theme--sach-doc {
	--fhs-hero: linear-gradient(180deg, #efe6d6 0%, #faf6ee 100%);
	--fhs-soft: #faf6ee;
	--fhs-soft-2: #efe6d6;
	--fhs-accent: #8a5a3b;
	--fhs-accent-2: #3f5e4a;
	--fhs-accent-3: #6b4329;
	--fhs-ink: #2f2a26;
	--fhs-text: #3d3833;
	--fhs-muted: #857b70;
	--fhs-line: #e3d8c4;
	--fhs-card: #fffdf8;
	--fhs-close: #3f5e4a;
	--fhs-close-text: #faf6ee;
	--fhs-dots: rgba(138, 90, 59, 0.12);
}

/* Nhà giáo (20/11). */
body.fhs-theme--nha-giao {
	--fhs-hero: radial-gradient(ellipse 50% 85% at 80% 40%, rgba(244, 196, 90, 0.3), rgba(244, 196, 90, 0) 70%), linear-gradient(180deg, #e6eef8 0%, #fbf6ea 100%);
	--fhs-soft: #fbf6ea;
	--fhs-soft-2: #e6eef8;
	--fhs-accent: #1e5aa8;
	--fhs-accent-2: #f4c45a;
	--fhs-accent-3: #2f4a3c;
	--fhs-ink: #1c2b45;
	--fhs-text: #33415a;
	--fhs-muted: #7a8699;
	--fhs-line: #d7e2f0;
	--fhs-card: #ffffff;
	--fhs-close: #1e5aa8;
	--fhs-close-text: #fbf6ea;
	--fhs-dots: rgba(30, 90, 168, 0.12);
}

/* Văn hóa & Di sản (23-24/11). */
body.fhs-theme--van-hoa {
	--fhs-hero: radial-gradient(ellipse 55% 90% at 80% 40%, rgba(201, 150, 59, 0.28), rgba(201, 150, 59, 0) 70%), linear-gradient(180deg, #ead9bd 0%, #f6efe2 100%);
	--fhs-soft: #f6efe2;
	--fhs-soft-2: #ead9bd;
	--fhs-accent: #a8322d;
	--fhs-accent-2: #c9963b;
	--fhs-accent-3: #6b4a2e;
	--fhs-ink: #3a2418;
	--fhs-text: #4a3a2e;
	--fhs-muted: #8a7563;
	--fhs-line: #e3cfae;
	--fhs-card: #fffaf1;
	--fhs-close: #a8322d;
	--fhs-close-text: #f6efe2;
	--fhs-dots: rgba(201, 150, 59, 0.22);
}

/* Lịch sử & Truyền thống (10/10, 19/12, 22/12). */
body.fhs-theme--lich-su {
	--fhs-hero: radial-gradient(ellipse 50% 85% at 80% 40%, rgba(255, 205, 0, 0.22), rgba(255, 205, 0, 0) 70%), linear-gradient(180deg, #ece0c2 0%, #f3ead3 100%);
	--fhs-soft: #f7f0dd;
	--fhs-soft-2: #ece0c2;
	--fhs-accent: #c8102e;
	--fhs-accent-2: #ffcd00;
	--fhs-accent-3: #4b5a3a;
	--fhs-ink: #2b2416;
	--fhs-text: #3d3526;
	--fhs-muted: #7d7360;
	--fhs-line: #e2d5b4;
	--fhs-card: #fffbf0;
	--fhs-close: #c8102e;
	--fhs-close-text: #fff6d6;
	--fhs-dots: rgba(200, 16, 46, 0.1);
}

/* Giáng sinh (24-25/12). */
body.fhs-theme--giang-sinh {
	--fhs-hero: radial-gradient(ellipse 50% 85% at 80% 40%, rgba(224, 180, 75, 0.25), rgba(224, 180, 75, 0) 70%), linear-gradient(180deg, #eef4ef 0%, #fbf7f2 100%);
	--fhs-soft: #fbf7f2;
	--fhs-soft-2: #e7efe9;
	--fhs-accent: #c62828;
	--fhs-accent-2: #1f5e3a;
	--fhs-accent-3: #e0b44b;
	--fhs-ink: #1f2a22;
	--fhs-text: #36403a;
	--fhs-muted: #7b847e;
	--fhs-line: #dbe6de;
	--fhs-card: #ffffff;
	--fhs-close: #1f5e3a;
	--fhs-close-text: #ffffff;
	--fhs-dots: rgba(31, 94, 58, 0.12);
}

/* Tết Dương lịch (31/12-01/01). */
body.fhs-theme--nam-moi {
	--fhs-hero: radial-gradient(ellipse 55% 90% at 80% 35%, rgba(232, 184, 74, 0.3), rgba(232, 184, 74, 0) 70%), linear-gradient(180deg, #e4e3f3 0%, #f6f5fb 100%);
	--fhs-soft: #f6f5fb;
	--fhs-soft-2: #ecebf6;
	--fhs-accent: #e5566f;
	--fhs-accent-2: #e8b84a;
	--fhs-accent-3: #1b2340;
	--fhs-ink: #1b2340;
	--fhs-text: #353b52;
	--fhs-muted: #7e8296;
	--fhs-line: #dddcec;
	--fhs-card: #ffffff;
	--fhs-close: #1b2340;
	--fhs-close-text: #f6f5fb;
	--fhs-dots: rgba(232, 184, 74, 0.25);
}

body.fhs-font--serif {
	--fhs-display: "Fraunces", Georgia, "Times New Roman", serif;
}

/* Minh hoạ: chỉ hiện biến thể của chủ đề đang chọn (xem trước dựng đủ 4). */
.fhs-art {
	display: none;
	line-height: 0;
}

body.fhs-theme--brand .fhs-art--brand,
body.fhs-theme--trung-thu .fhs-art--trung-thu,
body.fhs-theme--tet .fhs-art--tet,
body.fhs-theme--sach-doc .fhs-art--sach-doc,
body.fhs-theme--nha-giao .fhs-art--nha-giao,
body.fhs-theme--van-hoa .fhs-art--van-hoa,
body.fhs-theme--lich-su .fhs-art--lich-su,
body.fhs-theme--giang-sinh .fhs-art--giang-sinh,
body.fhs-theme--nam-moi .fhs-art--nam-moi {
	display: inline-block;
}

.fhs-art svg {
	width: 100%;
	height: auto;
}

.fx-a1 { fill: var(--fhs-accent); }
.fx-a2 { fill: var(--fhs-accent-2); }
.fx-a3 { fill: var(--fhs-accent-3); }
.fx-ink { fill: var(--fhs-ink); }
.fx-w { fill: #ffffff; }
.fx-soft { fill: #ffffff; }
.fx-soft2 { fill: var(--fhs-soft-2); }
.fx-stroke-a1 { stroke: var(--fhs-accent); }
.fx-stroke-a2 { stroke: var(--fhs-accent-2); }
.fx-stroke-a3 { stroke: var(--fhs-accent-3); }
.fx-stroke-ink { stroke: var(--fhs-ink); }
.fx-stroke-muted { stroke: var(--fhs-muted); fill: none; }
.fx-stroke-w { stroke: #ffffff; }

/* ---------- Khung chung ---------- */
body.fhs-mw-active {
	overflow-x: hidden;
	overflow-x: clip;
}

/* Phá vỡ giới hạn khung container CHỈ áp dụng cho các section có dải màu bên trong .fhs-mw-root */
.fhs-mw-root {
	width: 100%;
	position: relative;
}

.fhs-mw-root article {
	overflow: visible !important;
	overflow-x: visible !important;
	width: 100% !important;
	max-width: 100% !important;
}

.fhs-mw-root .fhs-band,
.fhs-mw-root section[style*="background"],
.fhs-mw-root section[style*="background-color"] {
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	width: 100vw !important;
	max-width: 100vw !important;
	box-sizing: border-box !important;
}
body.fhs-mw-active.fhs-font--serif .entry-header .entry-title {
	font-family: var(--fhs-display);
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--fhs-ink);
}

.fhs-mw-root {
	color: var(--fhs-text);
	font-size: 17px;
	line-height: 1.7;
}

/* Theme đặt căn đều 2 bên (!important) cho p/li của bài viết: layout mới căn trái cho dễ đọc. */
.fhs-mw-root p,
.fhs-mw-root li,
.fhs-mw-root span {
	text-align: left !important;
}

.fhs-mw-root strong,
.fhs-mw-root b {
	color: var(--fhs-ink);
}

/* Nội dung cũ có nhiều inline `color: #000000`: cho kế thừa màu chữ của chủ đề. */
.fhs-mw-root [style*="color: #000000"],
.fhs-mw-root [style*="color:#000000"],
.fhs-mw-root [style*="color: rgb(0, 0, 0)"] {
	color: inherit !important;
}

.fhs-mw-root a {
	color: var(--fhs-accent);
}

.fhs-mw-root img {
	max-width: 100%;
	height: auto;
}

.fhs-mw-root .wp-caption {
	width: auto !important;
	max-width: 100%;
}

.fhs-mw-root .wp-caption-text,
.fhs-mw-root figcaption {
	margin-top: 8px;
	color: var(--fhs-muted);
	font-size: 14px;
	font-style: italic;
	text-align: center !important;
}

.fhs-col {
	max-width: var(--fhs-col);
	margin: 0 auto 8px;
}

.fhs-wide,
.fhs-figure,
.fhs-duo,
.fhs-split,
.fhs-grid,
.fhs-list-cards {
	max-width: var(--fhs-wide);
	margin-left: auto;
	margin-right: auto;
}

.fhs-wide,
.fhs-figure {
	margin-bottom: 32px;
}

.fhs-figure img {
	display: block;
	width: 100%;
	border-radius: 14px;
}

/* Dải tràn viền. */
.fhs-band {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-bottom: 40px;
	padding-left: var(--fhs-gutter);
	padding-right: var(--fhs-gutter);
}

/* ---------- Thanh tiện ích độc giả & Tiến trình đọc ---------- */
.fhs-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	width: 100%;
	height: 3px;
	background: rgba(0, 0, 0, 0.04);
	pointer-events: none;
}

.fhs-reading-progress__bar {
	width: 0%;
	height: 100%;
	background: linear-gradient(90deg, var(--fhs-accent), var(--fhs-accent-2));
	transition: width 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fhs-reader-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--fhs-col);
	margin: 0 auto 32px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--fhs-soft);
	color: var(--fhs-muted);
	font-size: 13px;
}

.fhs-reader-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.fhs-reading-time {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--fhs-ink);
}

.fhs-reading-time svg {
	color: var(--fhs-accent);
}

.fhs-font-scaler {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.fhs-btn-font {
	padding: 2px 8px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	background: #ffffff;
	color: var(--fhs-ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: all 0.2s ease;
}

.fhs-btn-font:hover {
	border-color: var(--fhs-accent);
	background: var(--fhs-accent);
	color: #ffffff;
}

/* Các cấp phóng to / thu nhỏ chữ */
.fhs-font-scale--sm p,
.fhs-font-scale--sm li {
	font-size: 15px !important;
	line-height: 1.6 !important;
}

.fhs-font-scale--md p,
.fhs-font-scale--md li {
	font-size: 17px !important;
	line-height: 1.7 !important;
}

.fhs-font-scale--lg p,
.fhs-font-scale--lg li {
	font-size: 19px !important;
	line-height: 1.75 !important;
}

.fhs-font-scale--xl p,
.fhs-font-scale--xl li {
	font-size: 21px !important;
	line-height: 1.8 !important;
}

/* ---------- Điểm nhấn thống kê thông minh (Smart Stat Callout) ---------- */
.fhs-stat-callout {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 36px;
	margin-bottom: 36px;
	padding: 20px 24px;
	border-left: 4px solid var(--fhs-accent);
	border-radius: 0 16px 16px 0;
	background: var(--fhs-soft);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fhs-stat-callout:hover {
	transform: translateX(4px);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.fhs-stat-callout__badge {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
}

.fhs-stat-callout__content p {
	margin: 0;
	color: var(--fhs-ink);
	font-family: var(--fhs-display);
	font-size: clamp(17px, 1.8vw, 21px) !important;
	font-weight: 600;
	line-height: 1.45 !important;
}

/* ---------- Hero ---------- */
.fhs-hero {
	display: flex;
	align-items: center;
	min-height: 240px;
	padding-top: 48px;
	padding-bottom: 48px;
	background: var(--fhs-hero);
	overflow: hidden;
}

.fhs-hero--story {
	min-height: 280px;
	padding-top: 56px;
	padding-bottom: 56px;
}

.fhs-hero--story .fhs-hero__lead {
	max-width: 520px;
}

.fhs-hero--list {
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.fhs-hero--minimal {
	border-bottom: 2px solid var(--fhs-accent-2);
	background: transparent;
	padding-top: 24px;
	padding-bottom: 24px;
}

.fhs-hero__lead {
	position: relative;
	z-index: 1;
	max-width: 620px;
}

.fhs-hero__lead p {
	margin: 0;
	color: var(--fhs-ink);
	font-family: var(--fhs-display);
	font-size: clamp(19px, 2vw, 24px);
	font-weight: 500;
	line-height: 1.5;
}

.fhs-hero .fhs-art {
	position: absolute;
	top: 50%;
	right: max(0px, calc(50vw - 640px));
	width: 440px;
	transform: translateY(-50%);
	pointer-events: none;
}
/* ---------- Drop cap & tiêu đề section ---------- */
.fhs-dropcap > p:first-child::first-letter {
	float: left;
	margin: 6px 12px 0 0;
	color: var(--fhs-accent);
	font-family: var(--fhs-display);
	font-size: 64px;
	font-weight: 600;
	line-height: 0.85;
}

.fhs-h {
	margin-top: 40px;
}

.fhs-h > h2,
.fhs-h > h3,
.fhs-h > h4 {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	margin: 0 0 18px;
	padding-top: 22px;
	color: var(--fhs-ink);
	font-family: var(--fhs-display);
	font-weight: 600;
	line-height: 1.3;
}

.fhs-h__num {
	display: inline-block;
	margin-right: 12px;
	color: var(--fhs-accent);
	font-family: var(--fhs-display);
	font-size: clamp(28px, 3.2vw, 38px);
	font-weight: 800;
	line-height: 1;
	opacity: 0.9;
}

.fhs-h__icon {
	display: inline-flex;
	align-items: center;
	width: 22px;
	height: 22px;
	margin-right: 8px;
	vertical-align: middle;
}

.fhs-h__icon svg {
	width: 100%;
	height: auto;
}

.fhs-h > h2 {
	font-size: clamp(24px, 2.6vw, 32px);
}

.fhs-h > h3 {
	font-size: clamp(20px, 2vw, 24px);
}
.fhs-h > h2::before,
.fhs-h > h3::before,
.fhs-h > h4::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 12px;
	height: 12px;
	background: var(--fhs-accent-2);
	transform: rotate(45deg);
}

.fhs-h > h2::after,
.fhs-h > h3::after {
	content: "";
	position: absolute;
	top: 5px;
	left: 22px;
	width: 48px;
	height: 2px;
	background: var(--fhs-accent);
}

/* ---------- Duo & Split ---------- */
.fhs-duo,
.fhs-split {
	display: grid;
	align-items: center;
	gap: 48px;
	margin-bottom: 40px;
}

.fhs-duo {
	grid-template-columns: minmax(0, var(--fhs-col)) 300px;
	justify-content: center;
}

.fhs-split {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

.fhs-duo.fhs-rev,
.fhs-split.fhs-rev {
	direction: rtl;
}

.fhs-duo.fhs-rev > *,
.fhs-split.fhs-rev > * {
	direction: ltr;
}

.fhs-duo.fhs-rev {
	grid-template-columns: 300px minmax(0, var(--fhs-col));
}

.fhs-split.fhs-rev {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.fhs-duo__aside {
	padding: 12px;
	border: 1.5px solid var(--fhs-accent-2);
	background: var(--fhs-card);
}

.fhs-duo__aside p,
.fhs-duo__aside .wp-caption {
	margin: 0;
}

.fhs-duo__aside img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.fhs-frame--arch,
.fhs-frame--arch img {
	border-radius: 999px 999px 18px 18px;
}

.fhs-frame--round,
.fhs-frame--round img {
	border-radius: 50%;
}

.fhs-frame--round img {
	aspect-ratio: 1 / 1;
}

.fhs-split__media img {
	display: block;
	width: 100%;
	border-radius: 18px;
	box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35);
}

.fhs-split__media .wp-caption,
.fhs-split__media p {
	margin: 0;
}

/* ---------- Quote band ---------- */
.fhs-quote {
	padding-top: 56px;
	padding-bottom: 56px;
	background-color: var(--fhs-soft-2);
	background-image: radial-gradient(var(--fhs-dots) 2px, transparent 2.5px);
	background-size: 26px 26px;
}

.fhs-quote__inner {
	position: relative;
	max-width: 820px;
	margin: 0 auto;
}

.fhs-quote__mark {
	display: block;
	height: 44px;
	color: var(--fhs-accent);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 80px;
	line-height: 1;
}

.fhs-quote__text p {
	margin: 0;
	color: var(--fhs-ink);
	font-family: var(--fhs-display);
	font-size: clamp(20px, 2.2vw, 27px);
	font-style: italic;
	font-weight: 500;
	line-height: 1.5;
}

.fhs-quote__by {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
}

.fhs-quote__by::before {
	content: "";
	flex: 0 0 36px;
	height: 1.5px;
	background: var(--fhs-accent-2);
}

.fhs-quote__by p {
	margin: 0;
	color: var(--fhs-muted);
	font-size: 14px;
}

.fhs-mw-root blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

/* ---------- Card grid ---------- */
.fhs-cards {
	padding-top: 48px;
	padding-bottom: 48px;
	background: var(--fhs-soft);
}

.fhs-grid,
.fhs-list-cards > ul,
.fhs-list-cards > ol {
	display: grid;
	gap: 24px;
}

.fhs-grid--2,
.fhs-list-cards--2 > ul,
.fhs-list-cards--2 > ol {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fhs-grid--3,
.fhs-list-cards--3 > ul,
.fhs-list-cards--3 > ol {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fhs-list-cards > ul,
.fhs-list-cards > ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: fhs-card;
}

.fhs-card,
.fhs-list-cards li {
	position: relative;
	margin: 0;
	padding: 28px 26px 24px;
	border-radius: 18px;
	background: var(--fhs-card);
	box-shadow: 0 14px 34px -22px rgba(59, 42, 47, 0.35);
	font-size: 15.5px;
}

.fhs-card p {
	margin: 0;
}

.fhs-card .fhs-art {
	width: 40px;
	margin-bottom: 14px;
}

.fhs-list-cards li::before {
	counter-increment: fhs-card;
	content: counter(fhs-card, decimal-leading-zero);
	display: block;
	margin-bottom: 10px;
	color: var(--fhs-accent);
	font-family: var(--fhs-display);
	font-size: 26px;
	font-weight: 600;
	line-height: 1;
}

/* ---------- Dải nền xen kẽ theo section ---------- */
.fhs-tint {
	padding-top: 24px;
	padding-bottom: 24px;
}

.fhs-tint--1 {
	background: var(--fhs-soft);
}

.fhs-tint--2 {
	background: linear-gradient(180deg, var(--fhs-soft) 0%, #ffffff 100%);
}

.fhs-tint .fhs-cards {
	background: transparent;
}

/* ---------- Dải kết & nguồn ---------- */
.fhs-close {
	padding-top: 48px;
	padding-bottom: 56px;
	background: var(--fhs-close);
	text-align: center;
}

.fhs-close .fhs-art {
	width: 120px;
	margin: 0 auto 18px;
}

.fhs-close__inner {
	max-width: 680px;
	margin: 0 auto;
}

.fhs-close__inner p {
	margin: 0;
	color: var(--fhs-close-text) !important;
	font-family: var(--fhs-display);
	font-size: clamp(18px, 1.9vw, 22px);
	font-weight: 500;
	line-height: 1.6;
	text-align: center !important;
}

.fhs-close__inner p * {
	color: inherit !important;
}

.fhs-source {
	margin-bottom: 24px;
}

.fhs-source p {
	margin: 0 0 4px;
	color: var(--fhs-muted);
	font-size: 14px;
}

.fhs-toc {
	margin-bottom: 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.fhs-hero .fhs-art {
		width: 340px;
		right: -40px;
		opacity: 0.55;
	}
}

@media (max-width: 849px) {
	.fhs-duo,
	.fhs-duo.fhs-rev,
	.fhs-split,
	.fhs-split.fhs-rev {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		direction: ltr;
	}

	.fhs-duo__aside,
	.fhs-split__media {
		order: -1;
	}

	.fhs-duo__aside {
		max-width: 300px;
		margin: 0 auto;
	}

	.fhs-grid--3,
	.fhs-list-cards--3 > ul,
	.fhs-list-cards--3 > ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 549px) {
	.fhs-mw-root {
		font-size: 16px;
	}

	.fhs-hero {
		min-height: 0;
		padding-top: 32px;
		padding-bottom: 32px;
	}

	.fhs-hero .fhs-art {
		display: none !important;
	}

	.fhs-grid--2,
	.fhs-grid--3,
	.fhs-list-cards--2 > ul,
	.fhs-list-cards--3 > ul,
	.fhs-list-cards--2 > ol,
	.fhs-list-cards--3 > ol {
		grid-template-columns: minmax(0, 1fr);
	}

	.fhs-quote,
	.fhs-cards,
	.fhs-close {
		padding-top: 36px;
		padding-bottom: 36px;
	}

	.fhs-dropcap > p:first-child::first-letter {
		font-size: 52px;
	}
}

/* ---------- Thanh công cụ Xem trước / Apply / Restore (Administrator, Editor) ---------- */
.fhs-mw-bar {
	position: fixed;
	left: 50%;
	bottom: 16px;
	z-index: 9999;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	max-width: calc(100% - 32px);
	padding: 10px 16px;
	border-radius: 10px;
	background: #1f2953;
	color: #ffffff;
	font-size: 14px;
	transform: translateX(-50%);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.fhs-mw-bar__selects,
.fhs-mw-bar__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.fhs-mw-bar .fhs-mw-select {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: #ffffff;
	font-size: 13px;
	font-weight: 400;
}

.fhs-mw-bar .fhs-mw-select select {
	width: auto;
	height: 30px;
	margin: 0;
	padding: 0 24px 0 8px;
	border-radius: 6px;
	font-size: 13px;
}

.fhs-mw-bar .button {
	margin: 0;
}

/* ---------- Họa tiết nền độc bản theo chủ đề ---------- */
body.fhs-theme--tet .fhs-band.fhs-tint {
	background-image: radial-gradient(var(--fhs-soft-2) 15%, transparent 16%);
	background-size: 24px 24px;
}

body.fhs-theme--sach-doc .fhs-band.fhs-tint {
	background-image: linear-gradient(0deg, var(--fhs-soft) 0%, transparent 100%);
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.04);
}

body.fhs-theme--van-hoa .fhs-band.fhs-tint {
	background-image: radial-gradient(circle at 50% 50%, var(--fhs-soft-2) 2px, transparent 2px);
	background-size: 32px 32px;
}

/* ---------- Hiệu ứng 60fps Micro-Motion ---------- */
.fhs-card,
.fhs-list-cards li {
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fhs-card:hover,
.fhs-list-cards li:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.fhs-figure img,
.fhs-split__media img,
.fhs-duo__aside img {
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.fhs-figure:hover img,
.fhs-split:hover .fhs-split__media img,
.fhs-duo:hover .fhs-duo__aside img {
	transform: scale(1.015);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ---------- Archetype-Specific Structural Styles ---------- */

/* 1. Story Archetype: Phóng sự & Góc nhìn (50:50 Narrative Grid & Photo Essay) */
.fhs-archetype--story .fhs-hero--story {
	background: linear-gradient(135deg, var(--fhs-soft) 0%, #ffffff 100%);
	border-left: 6px solid var(--fhs-accent);
}

.fhs-hero__story-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 40px;
	align-items: center;
	width: 100%;
	max-width: var(--fhs-content);
	margin: 0 auto;
}

.fhs-hero__story-lead p {
	font-family: var(--fhs-display);
	font-size: clamp(20px, 2.2vw, 26px) !important;
	line-height: 1.45 !important;
}

.fhs-photo-essay {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
	gap: 32px;
	align-items: center;
}

.fhs-photo-essay.fhs-rev {
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
	direction: rtl;
}
.fhs-photo-essay.fhs-rev > * {
	direction: ltr;
}

.fhs-photo-essay__media img {
	width: 100%;
	border-radius: 16px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.fhs-quote--story {
	border-left: 4px solid var(--fhs-accent);
	background: var(--fhs-soft);
	padding: 24px 28px;
	border-radius: 0 12px 12px 0;
}
.fhs-quote--story .fhs-quote__tag {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--fhs-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* 2. List Archetype: Chuyên đề & Bảng xếp hạng (Ranked Step Cards & Big Numbers) */
.fhs-archetype--list .fhs-h__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-right: 16px;
	border-radius: 12px;
	background: var(--fhs-accent);
	color: #ffffff;
	font-family: var(--fhs-display);
	font-size: 24px;
	font-weight: 800;
}

.fhs-ranked-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.fhs-card--ranked {
	position: relative;
	display: flex;
	gap: 20px;
	padding: 28px;
	border: 2px solid var(--fhs-soft-2);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.fhs-card__rank-badge {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--fhs-soft);
	color: var(--fhs-accent);
	font-family: var(--fhs-display);
	font-size: 18px;
	font-weight: 800;
}

/* 3. Minimal Archetype: Tối giản Tinh tế (Bookish Literary Canvas) */
.fhs-archetype--minimal {
	background: #fcfcfc;
}

.fhs-archetype--minimal .fhs-col {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

.fhs-hero--minimal {
	text-align: center;
	padding: 32px 0;
}
.fhs-hero__minimal-divider {
	color: var(--fhs-accent);
	font-size: 18px;
	margin: 16px 0;
	opacity: 0.6;
}
.fhs-hero--minimal .fhs-hero__lead p {
	font-family: var(--fhs-display);
	font-style: italic;
	text-align: center !important;
	font-size: 22px !important;
}

.fhs-book-plate {
	text-align: center;
	margin: 48px auto;
}
.fhs-book-plate img {
	max-width: 100%;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.fhs-book-plate__text {
	margin-top: 12px;
	color: var(--fhs-muted);
	font-size: 14px;
	font-style: italic;
}

.fhs-quote--minimal {
	text-align: center;
	border-top: 1px solid var(--fhs-accent);
	border-bottom: 1px solid var(--fhs-accent);
	padding: 32px 20px;
	margin: 48px auto;
}
.fhs-quote--minimal .fhs-quote__text p {
	font-family: var(--fhs-display);
	font-size: 20px !important;
	font-style: italic;
	text-align: center !important;
}
.fhs-quote--minimal .fhs-quote__by {
	text-align: center !important;
}

.fhs-dropcap--subtle > p:first-child::first-letter {
	font-size: 48px;
	font-weight: 400;
	font-family: var(--fhs-display);
	color: var(--fhs-ink);
	margin-right: 8px;
}

@media (max-width: 549px) {
	.fhs-mw-bar {
		left: 0;
		bottom: 0;
		width: 100%;
		max-width: 100%;
		border-radius: 0;
		transform: none;
	}
}

/* =====================================================================
 * Archetype theo nội dung: hero, nhịp dải, heading, cụm ảnh, pull-quote.
 * Cấu trúc do PHP chọn theo nội dung từng bài, CSS bám vào data-* của .fhs-mw-root.
 * ===================================================================== */

/* ---------- Tùy chọn không dùng minh hoạ hero ---------- */
body.fhs-hero-art--none .fhs-hero .fhs-art--hero {
	display: none !important;
}

body.fhs-hero-art--none .fhs-hero__story-frame:not(.fhs-hero__story-frame--photo) {
	display: none;
}

body.fhs-hero-art--none .fhs-hero__story-grid:not(:has(.fhs-hero__story-frame--photo)) {
	grid-template-columns: minmax(0, 1fr);
}

/* ---------- Hero: ảnh trong hero ---------- */
.fhs-hero__photo {
	position: relative;
	z-index: 1;
	margin: 0;
}

.fhs-hero__photo p,
.fhs-hero__photo figure,
.fhs-hero__photo .wp-caption {
	margin: 0;
}

.fhs-hero__photo img {
	display: block;
	width: 100%;
	border-radius: 18px;
	box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.4), 0 6px 14px -8px rgba(0, 0, 0, 0.15);
}

/* ---------- Hero Magazine ---------- */
.fhs-hero--magazine {
	min-height: 340px;
}

.fhs-hero--magazine .fhs-hero__lead p {
	font-size: clamp(22px, 2.6vw, 30px);
}

.fhs-hero--magazine .fhs-hero__lead::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-top: 20px;
	background: var(--fhs-accent);
}

.fhs-hero--magazine.fhs-hero--photo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 40px;
	align-items: center;
}

.fhs-hero--photo .fhs-hero__lead {
	max-width: none;
}

/*
 * Hero Magazine chữ + minh hoạ: hai cột cạnh nhau, chữ tự thu gọn nhường chỗ cho art (không đè lên nhau).
 * Tắt minh hoạ (hoặc chủ đề không có art) thì chữ chiếm toàn bộ chiều rộng.
 * Vị trí / cỡ art đổi theo từng bài (data-art = seed % 3).
 */
.fhs-hero--magazine:not(.fhs-hero--photo) {
	gap: 40px;
}

.fhs-hero--magazine:not(.fhs-hero--photo) .fhs-hero__lead {
	flex: 1 1 0;
	order: 1;
	max-width: none;
}

.fhs-hero--magazine:not(.fhs-hero--photo) .fhs-art {
	position: static;
	flex: 0 0 clamp(240px, 34%, 400px);
	order: 2;
	width: auto;
	opacity: 1;
	transform: none;
}

.fhs-mw-root[data-art="1"] .fhs-hero--magazine:not(.fhs-hero--photo) .fhs-hero__lead {
	order: 2;
}

.fhs-mw-root[data-art="1"] .fhs-hero--magazine:not(.fhs-hero--photo) .fhs-art {
	order: 1;
	transform: scaleX(-1);
}

.fhs-mw-root[data-art="2"] .fhs-hero--magazine:not(.fhs-hero--photo) .fhs-art {
	flex-basis: clamp(200px, 26%, 300px);
}

/* ---------- Hero theo nội dung: số liệu / trích dẫn ---------- */
.fhs-hero--stat .fhs-hero__lead p,
.fhs-hero--stat .fhs-hero__story-lead p {
	color: var(--fhs-accent);
	font-size: clamp(28px, 4vw, 44px) !important;
	font-weight: 600;
	line-height: 1.25 !important;
}

.fhs-hero--quote .fhs-hero__lead,
.fhs-hero--quote .fhs-hero__story-lead {
	max-width: 760px;
}

.fhs-hero--quote .fhs-hero__lead::before {
	content: "\201C";
	display: block;
	height: 44px;
	color: var(--fhs-accent);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 80px;
	line-height: 1;
}

.fhs-hero--quote .fhs-hero__lead p,
.fhs-hero--quote .fhs-hero__story-lead p {
	font-size: clamp(22px, 2.8vw, 32px) !important;
	font-style: italic;
}

.fhs-hero__by {
	margin-top: 16px;
	color: var(--fhs-muted);
	font-size: 14px;
}

.fhs-hero__by p {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
}

/* ---------- Hero Story ---------- */
.fhs-hero--story {
	min-height: 360px;
}

.fhs-hero__story-visual {
	min-width: 0;
}

.fhs-hero__story-frame {
	position: relative;
	padding: 24px;
	border-radius: 24px;
	background: var(--fhs-soft-2);
	box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.35), 0 8px 16px -8px rgba(0, 0, 0, 0.12);
}

.fhs-hero__story-frame--photo {
	padding: 0;
	background: transparent;
}

.fhs-hero__story-frame .fhs-art {
	position: static;
	width: 100%;
	opacity: 1;
	transform: none;
}

/* ---------- Hero List ---------- */
.fhs-hero--list {
	background: var(--fhs-soft);
	border-bottom: 4px solid var(--fhs-accent);
}

.fhs-hero__list-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--fhs-wide);
	margin: 0 auto;
}

.fhs-hero--list .fhs-art {
	width: 240px;
	opacity: 0.5;
}

.fhs-hero--list .fhs-hero__photo {
	margin-top: 24px;
}

/* Hero List chữ + minh hoạ: chữ chừa chỗ cho art (không đè); tắt art thì chữ đầy đủ chiều rộng. */
.fhs-hero--list:not(.fhs-hero--photo) .fhs-hero__lead {
	max-width: min(620px, calc(100% - 280px));
}

body.fhs-hero-art--none .fhs-hero--list .fhs-hero__lead {
	max-width: none;
}

/* Hero List có ảnh: nhãn ở trên, chữ và ảnh chia hai cột (ảnh không bị phóng cả bề ngang). */
.fhs-hero--list.fhs-hero--photo .fhs-hero__list-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 8px 40px;
	align-items: center;
}

.fhs-hero--list.fhs-hero--photo .fhs-hero__photo {
	margin-top: 0;
}

/* ---------- Hero Minimal ---------- */
.fhs-hero.fhs-hero--minimal {
	display: block;
	min-height: 0;
	padding: 16px 0;
	border-bottom: 0;
	overflow: visible;
}

.fhs-hero--minimal .fhs-hero__lead {
	max-width: none;
}

.fhs-hero--minimal .fhs-hero__photo {
	margin: 24px 0;
}

.fhs-hero--minimal .fhs-hero__photo img {
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ---------- Drop cap lớn khi đoạn đầu dài ---------- */
.fhs-dropcap--lg > p:first-child::first-letter {
	margin: 4px 16px 0 0;
	font-size: 88px;
}

/* ---------- Nhịp dải nền ---------- */
.fhs-tint--list {
	background: var(--fhs-soft);
	border-top: 1px solid var(--fhs-soft-2);
	border-bottom: 1px solid var(--fhs-soft-2);
}

.fhs-chapter {
	margin-top: 40px;
	text-align: center;
}

.fhs-chapter span {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--fhs-accent);
	box-shadow: -20px 0 0 var(--fhs-soft-2), 20px 0 0 var(--fhs-soft-2);
}

/* ---------- Heading theo biến thể (data-heading) ---------- */
.fhs-h__kicker {
	display: block;
	margin-bottom: 2px;
	color: var(--fhs-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Magazine: base = gạch + hình thoi, alt = kicker "Phần 01". */
.fhs-archetype--magazine .fhs-h > h2 {
	font-size: clamp(26px, 3vw, 38px);
}

.fhs-mw-root[data-heading="alt"].fhs-archetype--magazine .fhs-h > h2,
.fhs-mw-root[data-heading="alt"].fhs-archetype--magazine .fhs-h > h3 {
	padding-top: 4px;
}

.fhs-mw-root[data-heading="alt"].fhs-archetype--magazine .fhs-h > h2::before,
.fhs-mw-root[data-heading="alt"].fhs-archetype--magazine .fhs-h > h2::after,
.fhs-mw-root[data-heading="alt"].fhs-archetype--magazine .fhs-h > h3::before,
.fhs-mw-root[data-heading="alt"].fhs-archetype--magazine .fhs-h > h3::after {
	display: none;
}

/* Story: base = thanh dọc, alt = "Chương i/n" căn giữa; không dùng icon chủ đề (đã có thanh dọc / nhãn chương). */
.fhs-archetype--story .fhs-h__icon {
	display: none;
}

.fhs-archetype--story .fhs-h > h2,
.fhs-archetype--story .fhs-h > h3 {
	padding: 0 0 0 18px;
	border-left: 4px solid var(--fhs-accent);
}

.fhs-archetype--story .fhs-h > h2::before,
.fhs-archetype--story .fhs-h > h2::after,
.fhs-archetype--story .fhs-h > h3::before,
.fhs-archetype--story .fhs-h > h3::after {
	display: none;
}

.fhs-mw-root[data-heading="alt"].fhs-archetype--story .fhs-h {
	text-align: center;
}

.fhs-mw-root[data-heading="alt"].fhs-archetype--story .fhs-h > h2,
.fhs-mw-root[data-heading="alt"].fhs-archetype--story .fhs-h > h3 {
	justify-content: center;
	padding: 0;
	border-left: 0;
	text-align: center;
}

/* List: số thứ tự nằm cùng dòng với heading; alt = badge tròn. */
.fhs-archetype--list .fhs-h--num {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 16px;
}

.fhs-archetype--list .fhs-h--num > h2,
.fhs-archetype--list .fhs-h--num > h3 {
	margin: 0;
	padding-top: 0;
}

.fhs-archetype--list .fhs-h--num > h2::before,
.fhs-archetype--list .fhs-h--num > h2::after,
.fhs-archetype--list .fhs-h--num > h3::before,
.fhs-archetype--list .fhs-h--num > h3::after {
	display: none;
}

.fhs-archetype--list .fhs-h__num {
	margin-right: 0;
}

.fhs-mw-root[data-heading="alt"].fhs-archetype--list .fhs-h__num {
	border-radius: 50%;
}

/* Minimal: base = hình thoi căn giữa, alt = chữ hoa nhỏ có đường kẻ; không dùng icon chủ đề. */
.fhs-archetype--minimal .fhs-h__icon {
	display: none;
}

.fhs-archetype--minimal .fhs-h > h2,
.fhs-archetype--minimal .fhs-h > h3 {
	justify-content: center;
	text-align: center;
}

.fhs-archetype--minimal .fhs-h > h2::before,
.fhs-archetype--minimal .fhs-h > h3::before {
	left: 50%;
	margin-left: -6px;
}

.fhs-archetype--minimal .fhs-h > h2::after,
.fhs-archetype--minimal .fhs-h > h3::after {
	display: none;
}

.fhs-mw-root[data-heading="alt"].fhs-archetype--minimal .fhs-h > h2,
.fhs-mw-root[data-heading="alt"].fhs-archetype--minimal .fhs-h > h3 {
	padding: 0 0 12px;
	border-bottom: 1px solid var(--fhs-accent-2);
	font-size: 15px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fhs-mw-root[data-heading="alt"].fhs-archetype--minimal .fhs-h > h2::before,
.fhs-mw-root[data-heading="alt"].fhs-archetype--minimal .fhs-h > h3::before {
	display: none;
}

/* ---------- Cụm ảnh liền nhau ---------- */
.fhs-gallery {
	display: grid;
	gap: 16px;
	margin-bottom: 40px;
}

.fhs-gallery__item {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	border-radius: 14px;
}

.fhs-gallery__item p,
.fhs-gallery__item figure,
.fhs-gallery__item .wp-caption {
	margin: 0;
}

.fhs-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fhs-gallery__item:hover img {
	transform: scale(1.03);
}

.fhs-gallery--pair {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fhs-gallery--pair img,
.fhs-gallery--quad img {
	aspect-ratio: 4 / 3;
}

.fhs-gallery--quad {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fhs-gallery--strip {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fhs-gallery--strip img {
	aspect-ratio: 3 / 4;
}

.fhs-gallery--mosaic {
	grid-template-columns: 2fr 1fr;
	grid-auto-rows: minmax(170px, auto);
}

.fhs-gallery--mosaic .fhs-gallery__item:first-child {
	grid-row: 1 / 3;
}

.fhs-archetype--story .fhs-gallery__item {
	border-radius: 20px;
	box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.35);
}

.fhs-archetype--list .fhs-gallery__item {
	border: 2px solid var(--fhs-soft-2);
}

.fhs-archetype--minimal .fhs-gallery {
	max-width: 680px;
}

.fhs-archetype--minimal .fhs-gallery__item {
	border-radius: 2px;
}

/* ---------- Pull-quote tự động ---------- */
.fhs-pullquote {
	margin-top: 36px;
	margin-bottom: 36px;
	padding: 8px 0 8px 24px;
	border-left: 4px solid var(--fhs-accent);
}

.fhs-pullquote p {
	margin: 0;
	color: var(--fhs-ink);
	font-family: var(--fhs-display);
	font-size: clamp(20px, 2.4vw, 28px);
	font-style: italic;
	font-weight: 500;
	line-height: 1.4;
}

.fhs-archetype--magazine .fhs-pullquote {
	max-width: 880px;
	padding: 24px 0;
	border-top: 3px solid var(--fhs-accent);
	border-bottom: 1px solid var(--fhs-soft-2);
	border-left: 0;
}

.fhs-archetype--minimal .fhs-pullquote {
	padding: 24px 0;
	border-top: 1px solid var(--fhs-accent);
	border-bottom: 1px solid var(--fhs-accent);
	border-left: 0;
	text-align: center;
}

.fhs-archetype--minimal .fhs-pullquote p {
	text-align: center !important;
}

/* ---------- Dải kết dạng lời kêu gọi ---------- */
.fhs-close--cta .fhs-close__inner {
	max-width: 760px;
}

.fhs-close--cta .fhs-close__inner p {
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 600;
}

.fhs-close--cta .fhs-close__inner::after {
	content: "";
	display: block;
	width: 72px;
	height: 4px;
	margin: 22px auto 0;
	border-radius: 2px;
	background: var(--fhs-accent-2);
}

/* ---------- Thẻ & khung còn thiếu của các dáng ---------- */
.fhs-quote--magazine .fhs-quote__inner {
	max-width: 820px;
}

.fhs-photo-essay__frame {
	position: relative;
}

.fhs-photo-essay__frame p,
.fhs-photo-essay__frame figure,
.fhs-photo-essay__frame .wp-caption {
	margin: 0;
}

.fhs-photo-essay__text {
	min-width: 0;
}

.fhs-photo-essay__text p:last-child {
	margin-bottom: 0;
}

.fhs-photo-essay--portrait {
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.fhs-photo-essay--portrait.fhs-rev {
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.fhs-photo-essay--portrait .fhs-photo-essay__media img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.fhs-card__body p {
	margin: 0;
}

.fhs-cards--ranked,
.fhs-cards--minimal {
	margin-top: 32px;
	margin-bottom: 32px;
}

.fhs-card--minimal {
	padding: 20px 0;
	border-top: 1px solid var(--fhs-soft-2);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.fhs-card--minimal:hover {
	transform: none;
	box-shadow: none;
}

.fhs-card--ranked .fhs-card__body {
	min-width: 0;
}

.fhs-close--minimal {
	padding: 32px 0;
	border-top: 1px solid var(--fhs-accent);
	border-bottom: 1px solid var(--fhs-accent);
	background: transparent;
}

.fhs-close--minimal .fhs-close__inner p {
	color: var(--fhs-ink) !important;
	font-style: italic;
}

/* ---------- Thanh xem trước: dòng mô tả bố cục ---------- */
.fhs-mw-bar__summary {
	flex-basis: 100%;
	color: rgba(255, 255, 255, 0.75);
	font-size: 12px;
}

/* ---------- Responsive cho các thành phần mới ---------- */
@media (max-width: 849px) {
	.fhs-hero--magazine:not(.fhs-hero--photo) {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}

	.fhs-hero--magazine:not(.fhs-hero--photo) .fhs-hero__lead {
		flex: 0 0 auto;
	}

	.fhs-hero--magazine:not(.fhs-hero--photo) .fhs-art {
		flex: 0 0 auto;
		width: 220px;
	}

	.fhs-hero--list .fhs-art {
		display: none !important;
	}

	.fhs-hero--list:not(.fhs-hero--photo) .fhs-hero__lead {
		max-width: none;
	}

	.fhs-hero__story-frame:not(.fhs-hero__story-frame--photo) {
		max-width: 420px;
	}

	.fhs-hero--list.fhs-hero--photo .fhs-hero__list-inner,
	.fhs-hero__story-grid,
	.fhs-hero--magazine.fhs-hero--photo,
	.fhs-photo-essay,
	.fhs-photo-essay.fhs-rev,
	.fhs-photo-essay--portrait,
	.fhs-photo-essay--portrait.fhs-rev,
	.fhs-ranked-grid {
		grid-template-columns: minmax(0, 1fr);
		direction: ltr;
		gap: 24px;
	}

	.fhs-gallery--strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 549px) {
	.fhs-hero__story-frame:not(.fhs-hero__story-frame--photo) {
		display: none;
	}

	.fhs-gallery--mosaic {
		grid-template-columns: minmax(0, 1fr);
	}

	.fhs-gallery--mosaic .fhs-gallery__item:first-child {
		grid-row: auto;
	}

	.fhs-archetype--list .fhs-h__num {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}

	.fhs-dropcap--lg > p:first-child::first-letter {
		font-size: 64px;
	}
}
