/* ============================================
   BLOG DETAIL PAGE STYLES
   ============================================ */

/* ===== BASIC LAYOUT ===== */
body.blog-page {
	background-color: #f8eae1;
	font-family: "Inter", sans-serif;
	margin: 0;
	color: #3b2f2f;
	margin-top: 80px;
}
/* ================= BLOG DETAIL PAGE ================= */

/* Base container */
.blog-detail {
	background-color: #f8eae1;
	padding: 100px 20px 40px;
}

/* Back link spacing fix */
.back-link {
	margin-top: 0px; /* ✅ Reduce the top margin */
	margin-bottom: 20px; /* keep a bit of breathing room below */
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	text-align: right;
}
.back-link a {
	font-size: 14px;
	color: #a65a3a;
	text-decoration: none;
	font-weight: 500;
}
.back-link a:hover {
	opacity: 0.7;
}

/* Post header */
.post-header {
	max-width: 800px;
	margin: 0 auto 20px auto;
	text-align: left;
}
.post-header h1 {
	font-family: "Playfair Display", serif;
	font-size: 36px;
	margin: 10px 0;
	color: #3b2f2f;
	line-height: 1.2;
}
.post-header h2 {
	font-family: "Inter", sans-serif;
	font-size: 20px;
	margin: 6px 0 12px 0;
	font-weight: 500;
	color: #5c5c5c;
}
.post-date {
	color: #97989f;
	font-size: 14px;
}

/* Blog main image */
.post-image img {
	width: 100%;
	max-width: 800px;
	margin: 20px auto;
	display: block;
	border-radius: 8px;
}

/* ================= TEXT STYLING ================= */

.post-content {
	max-width: 760px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.7;
	font-family: "Inter", sans-serif;
	color: #3b2f2f;
	text-align: left; /* ✅ Everything aligned left */
}

.post-content h1,
.post-content h2,
.post-content h3 {
	font-family: "Playfair Display", serif;
	color: #3b2f2f;
	text-align: left;
}
/* Paragraphs, highlights, blockquotes always left */
.post-content p,
.post-content h3,
.post-content blockquote,
.post-content .highlight {
	text-align: left;
}

.post-content h1 {
	font-size: 36px;
}

.post-content h2 {
	font-size: 24px;
}

.post-content h3 {
	font-size: 20px;
	margin-top: 28px;
	margin-bottom: 12px;
}

/* Paragraphs */
.post-content p {
	margin-bottom: 16px;
}

/* Lists */
.post-content ul {
	margin: 12px 0 16px 20px;
	padding-left: 0px;
}

.post-content li {
	margin-bottom: 8px;
}

/* Checklist items (green ticks) */
.post-content .checklist li {
	list-style: none;
	padding-left: 0;
}
.post-content ul li {
	font-family: "Inter", sans-serif;
	font-size: 17px;
	color: #3b2f2f;
	line-height: 1.7;
	margin-bottom: 8px;
}

/* ============================= */
/* PREMIUM INTRO BANNER STYLING  */
/* ============================= */
.intro-banner {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(8px);
	border-radius: 16px;
	padding: 40px 30px;
	margin: 0px auto;
	max-width: 820px;
	text-align: center;
	border: 1px solid rgba(166, 90, 58, 0.15);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	animation: fadeInUp 1s ease;
}
.intro-banner:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

/* 🟤 Headline — now deep brown */
.intro-headline {
	font-family: "Playfair Display", serif;
	font-size: 30px;
	font-weight: 700;
	color: #6b3e2e;
	white-space: nowrap;
	max-width: 100%;
}

/* Subline — softer gray for contrast */
.intro-subline {
	font-size: 18px;
	color: #5c5c5c;
	margin-top: 12px;
}

/* Animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
	.intro-banner {
		padding: 28px 18px;
	}
	.intro-headline {
		font-size: 22px;
	}
	.intro-subline {
		font-size: 16px;
	}
}

/* ================= HIGHLIGHT & BLOCKQUOTE ================= */

.post-content .highlight,
.post-content blockquote {
	background: #fff3ea;
	padding: 14px 18px;
	border-left: 4px solid #a65a3a;
	font-style: italic;
	font-size: 17px;
	color: #000; /* ✅ All tip text black */
	margin: 16px 0;
	display: block;
}

.post-content ul li::marker {
	color: #a65a3a; /* ✅ стильный коричнево-рыжий */
	font-size: 14px;
}
.pull-quote {
	font-family: "Playfair Display", serif;
	font-size: 26px;
	font-style: italic;
	color: #a65a3a;
	border-left: 3px solid #a65a3a;
	padding-left: 16px;
	margin: 40px auto;
	max-width: 600px;
	animation: fadeIn 1s ease-out;
}

.checklist li {
	list-style: none;
	position: relative;
	padding-left: 48px;
	margin-bottom: 14px;
}
.checklist li::before {
	content: "✔";
	position: absolute;
	left: 0;
	top: 0;
	transform: translateX(-150%);
	color: #009933;
	font-size: 20px;
	font-weight: bold;
}
.blog-cta a.btn-consultation {
	margin: 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.blog-cta p {

	color: #3b2f2f;
}

/* ================= MOBILE ADJUSTMENTS ================= */
@media (max-width: 768px) {
	.post-header h1 {
		font-size: 28px;
	}

	.post-header h2 {
		font-size: 20px;
	}

	.post-content {
		font-size: 16px;
		padding: 0 10px;
	}

	.post-content h3 {
		font-size: 18px;
	}
	.intro-headline {
		white-space: normal; /* ✅ Allow wrapping on phones */
		font-size: 24px; /* ✅ Slightly smaller for mobile */
	}
}


/* ===== Fade-in Animation ===== */
.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}
/* Keyframes */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* ===== Pull Quote ===== */
.pull-quote {
	font-family: "Playfair Display", serif;
	font-size: 26px;
	font-style: italic;
	color: #6b3e2e;
	border-left: 3px solid #6b3e2e;
	padding-left: 16px;
	margin: 40px auto;
	max-width: 600px;
	animation: fadeInUp 1s ease;
}
