/* =====================================================================
 * Celléva – Single Post (Chi tiết bài viết)
 * Hero full-bleed → Title → Content (padding 150px) → Back button
 * ===================================================================== */

body.single-post #content.celleva-single {
	background: var(--cl-bg);
	margin: 0;
	padding: 0;
}

/* Nếu parent theme có max-width cho .site-main, ép full bleed */
body.single-post .celleva-single {
	max-width: none !important;
	width: 100% !important;
}

/* =========================================================
 * 1. HERO – ảnh thumbnail full-bleed (mục tiêu 1615 x 985)
 * ========================================================= */
.celleva-single__hero {
	width: 100%;
	max-width: 1615px;
	margin: 0 auto;
	/* Top padding = chiều cao menu (125px theo --menu-height) + breathing room */
	padding: calc(var(--menu-height, 125px) + 24px) 24px 0;
	box-sizing: border-box;
}
.celleva-single__hero-img {
	width: 100%;
	aspect-ratio: 1615 / 985;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 4px;
}

/* =========================================================
 * 2. BODY (title + content + footer)
 *    Padding 150px hai bên (theo yêu cầu)
 * ========================================================= */
.celleva-single__body {
	max-width: 1615px;
	margin: 0 auto;
	padding: clamp(36px, 4vw, 64px) 150px clamp(48px, 5vw, 80px);
	box-sizing: border-box;
}

.celleva-single__head {
	margin-bottom: clamp(20px, 2vw, 36px);
}
.celleva-single__title {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: clamp(28px, 2.8vw, 44px);
	line-height: 1.25;
	color: var(--cl-text);
	margin: 0 0 18px;
	letter-spacing: -0.005em;
}
.celleva-single__meta {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--cl-text-soft);
	letter-spacing: 0.02em;
}

/* =========================================================
 * 3. CONTENT typography
 * ========================================================= */
.celleva-single__content {
	font-family: var(--font-body);
	font-size: clamp(15px, 1.05vw, 18px);
	line-height: 1.75;
	color: var(--cl-text);
}
.celleva-single__content > * + * { margin-top: 1.1em; }
.celleva-single__content p { margin: 0 0 1em; }
.celleva-single__content h2,
.celleva-single__content h3,
.celleva-single__content h4 {
	font-family: var(--font-head);
	font-weight: 600;
	color: var(--cl-text);
	margin: 1.6em 0 0.6em;
	line-height: 1.3;
}
.celleva-single__content h2 { font-size: clamp(22px, 1.8vw, 30px); }
.celleva-single__content h3 { font-size: clamp(19px, 1.4vw, 24px); }
.celleva-single__content h4 { font-size: clamp(17px, 1.2vw, 20px); }
.celleva-single__content a {
	color: var(--cl-pink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.celleva-single__content a:hover { color: var(--cl-pink-soft); }
.celleva-single__content img,
.celleva-single__content figure {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	margin: 1.4em 0;
}
.celleva-single__content figure img { margin: 0; }
.celleva-single__content figcaption {
	font-size: 13px;
	color: var(--cl-text-soft);
	text-align: center;
	margin-top: 8px;
}
.celleva-single__content blockquote {
	border-left: 3px solid var(--cl-pink);
	margin: 1.4em 0;
	padding: 4px 0 4px 20px;
	color: var(--cl-text-soft);
	font-style: italic;
}
.celleva-single__content ul,
.celleva-single__content ol {
	padding-left: 1.4em;
	margin: 0 0 1em;
}
.celleva-single__content li { margin-bottom: 0.4em; }

/* Strong / em */
.celleva-single__content strong { color: var(--cl-text); font-weight: 600; }
.celleva-single__content em { color: var(--cl-pink); font-style: italic; }

/* =========================================================
 * 4. BACK BUTTON
 * ========================================================= */
.celleva-single__foot {
	margin-top: clamp(40px, 4vw, 64px);
	text-align: center;
}
.celleva-single__back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--cl-text);
	text-decoration: none;
	padding: 12px 24px;
	border-radius: 999px;
	transition: color 0.2s ease, background 0.2s ease;
}
.celleva-single__back span {
	display: inline-block;
	transition: transform 0.2s ease;
}
.celleva-single__back:hover {
	color: var(--cl-pink);
}
.celleva-single__back:hover span {
	transform: translateX(-4px);
}

/* =========================================================
 * Responsive
 * ========================================================= */
@media (max-width: 1180px) {
	.celleva-single__body { padding-inline: 80px; }
}
@media (max-width: 782px) {
	.celleva-single__hero { padding: calc(var(--menu-height, 80px) + 16px) 16px 0; }
	.celleva-single__body { padding: 32px 24px 48px; }
	.celleva-single__title { font-size: 26px; }
}
