/* =================== BLOG PAGE BASE =================== */

body.blog-page {
 background-color: #f8eae1!important;
    color: #3b2f2f !important;
	font-family: "Inter", sans-serif;
	margin: 0;
	padding: 0;
	color: #3b2f2f; /* Default text color for blog */
}
.blog-page main {
	margin-top:32px;
	/* pushes blog content down */
}

/* Only color blog content, NOT navbar/footer */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6,
.blog-content p,
.blog-content a,
.blog-content li,
.blog-content span,
.blog-content strong,
.blog-content b {
	color: #3b2f2f;
}
/* ==== MARK: NAVBAR DARK MODE (BLOG & OTHER LIGHT PAGES) ==== */

/* ✅ Force white navbar text on blog page */

.blog-page .navbar a {
	color: #fff !important;
}

.blog-page .navbar a:hover {
	color: #f4e0d3 !important; /* beige hover color */
}

.navbar-dark a,
.navbar-dark .menu-container a,
.navbar-dark .social-icons img {
	color: #fff !important;
}

.navbar-dark .menu-container a:hover {
	color: #f4e0d3; /* мягкий бежевый hover, чтобы был читаемый */
}

/* =================== MARK: BLOG HEADER =================== */
.blog-header {
	text-align: center;
}

.blog-header h1 {
	font-family: "Playfair Display", serif;
	font-size: 48px;
	font-weight: 500;
	margin-bottom: 10px;
}

.header-line {
	width: 1200px;
	height: 2px;
	background-color: #3b2f2f;
	margin: 0 auto 30px auto;
}

/* =================== MARK: BLOG POSTS =================== */
.blog-posts {
	padding: 0px 40px 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.blog-posts h3 {
	font-family: "Playfair Display", serif;
	font-size: 24px;
	margin-bottom: 24px;
	text-align: left;
	font-weight: 500;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

.blog-card {
	background-color: #fff3ea;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.blog-card img {
	width: 100%;
	height: auto;
	display: block;
}

.post-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  align-items: flex-start;     
    min-height: 200px; 
           
}

.post-category {
    display: inline-block;  
  align-self: flex-start; 
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 6px;
	display: inline-block;
	margin-bottom: 8px;
}
.post-category.plan {
	background-color: rgba(0, 102, 255, 0.15); /* легкий синий фон */
	color: #0066ff; /* синий текст */
	box-shadow: 0 0 10px rgba(0, 102, 255, 0.4); /* “свечение” вокруг */
}
.post-category.execute {
	background-color: rgba(0, 180, 75, 0.15);
	color: #00b44b;
	box-shadow: 0 0 10px rgba(0, 180, 75, 0.4);
}
.post-category.inspire {
	background-color: rgba(255, 165, 0, 0.15);
	color: #ffa500;
	box-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
}

.blog-card h4 {
	font-size: 18px;
	margin: 0 0 10px;
	line-height: 1.4;
}

.post-date {
	font-size: 14px;
	color: #97989f;
	text-align: left;
	  margin-top: auto;    /* ✅ толкает дату вниз */
  margin-bottom: 12px; 

}
.blog-ending {
	margin: 15px auto 5px; /* ✅ Pulls it closer to the checklist */
	text-align: center;
	max-width: 700px;
	padding: 5px 0; /* ✅ No heavy padding now */
}

.blog-ending .ending-line {
	font-family: "Playfair Display", serif;
	font-size: 20px;
	color: #3b2f2f;
	font-weight: 600;
	margin: 4px 0; /* ✅ Slim, equal spacing between lines */
}

/* =================== MARK: CALL TO ACTION =================== */
.blog-cta {
	margin: 20px auto;
	text-align: center;
	margin-bottom: 40px;
}

.blog-cta p {
	font-size: 18px;
	margin-bottom: 16px;
}
/* Gradient text link above CTA */
.explore-link {
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	background: linear-gradient(90deg, #a65a3a 0%, #c2834f 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;

	display: block; /* allows alignment */
	text-align: center; /* pushes it to the right side */
	margin-right: 60px;
margin: 0 auto 12px auto;
	transition: opacity 0.3s ease;
}

.explore-link:hover {
	opacity: 0.7;
}
.btn-read {
	background-color: #3b2f2f;
	color: #fff;
	padding: 12px 24px;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.3s ease;
}

.btn-read:hover {
	background-color: #2d2424;
}
/* =================== MARK: MOBILE=================== */
/* 📱 Mobile adjustments */
@media (max-width: 768px) {
	.header-line {
		width: 90%;
		max-width: 400px;
	}
	
	  .post-category {
    margin-top: 18px; 
    margin-bottom: 18px; 
  }

	/* Adjust CTA block padding and spacing on mobile */
	.blog-cta {
		margin: 10px auto;
		padding: 0 16px;
		align-items: center;
		padding-bottom: 60px; 
	}

	/* Make the paragraph smaller and more compact */
	.blog-cta p {
		font-size: 16px;
		line-height: 1.4;
		margin-bottom: 12px;
	}

	/* Style the consultation button for mobile */
	.btn-consultation {
		width: 100%;
		max-width: 320px;
		padding: 14px 18px;
		font-size: 15px;

		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px; /* spacing between text and icon */
		margin-bottom: 60px;
	}

	/* Adjust the schedule icon alignment on mobile */
	.btn-consultation img {
		width: 18px;
		height: 18px;
		margin-left: 0px;
		position: relative;
		top: 0px;
	}
	.blog-grid {
		grid-template-columns: 1fr; /* stack as single blocks */
		gap: 24px; /* slightly smaller gap for mobile */
	}
}
