/* Blog Styling */

/* Blog Header Section */
.blog__header {
	background: linear-gradient(135deg, #8B0000 0%, #8B0000 50%, #8B0000 100%);
	padding: 120px 0 80px;
	text-align: center;
	color: white;
	position: relative;
}

.blog__header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(139, 0, 0, 0.8);
	z-index: 1;
}

.blog__header .section__container {
	position: relative;
	z-index: 2;
}

.blog__title {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.blog__subtitle {
	font-size: 1.25rem;
	opacity: 0.9;
	max-width: 600px;
	margin: 0 auto;
}

/* Blog Content Section */
.blog__content {
	padding: 4rem 0;
	background: #f8fafc;
}

.blog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2.5rem;
	margin-top: 2rem;
}

/* Blog Cards */
.blog__card {
	background: white;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	height: fit-content;
}

.blog__card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.blog__image {
	width: 100%;
	height: 220px;
	overflow: hidden;
}

.blog__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.blog__card:hover .blog__image img {
	transform: scale(1.05);
}

.blog__content__wrapper {
	padding: 2rem;
}

.blog__meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.blog__date {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #64748b;
	font-size: 0.875rem;
}

.blog__category {
	background: #8B0000;
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 1rem;
	font-size: 0.875rem;
	font-weight: 500;
}

.blog__post__title {
	margin-bottom: 1rem;
}

.blog__post__title a {
	color: #1e293b;
	text-decoration: none;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
	transition: color 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.blog__post__title a:hover {
	color: #8B0000;
}

.blog__excerpt {
	color: #64748b;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.blog__read__more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #8B0000;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
}

.blog__read__more:hover {
	color: #8B0000;
	gap: 0.75rem;
}

/* Individual Blog Post Styles */
.blog__post {
	padding: 2rem 0 4rem;
	background: white;
}

.blog__post__header {
	margin-bottom: 3rem;
}

.breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
	font-size: 0.875rem;
	color: #64748b;
}

.breadcrumb a {
	color: #8B0000;
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

.blog__post__meta {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.blog__reading__time {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #64748b;
	font-size: 0.875rem;
}

.blog__post__title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.2;
	margin-bottom: 2rem;
}

.blog__post__image {
	width: 100%;
	height: 400px;
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 3rem;
}

.blog__post__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Blog Post Content */
.blog__post__content {
	max-width: 800px;
	margin: 0 auto;
	color: #374151;
	line-height: 1.7;
}

.blog__post__content .lead {
	font-size: 1.25rem;
	font-weight: 400;
	color: #4b5563;
	margin-bottom: 2rem;
	line-height: 1.6;
}

.blog__post__content h2 {
	font-size: 2rem;
	font-weight: 600;
	color: #1e293b;
	margin: 3rem 0 1.5rem 0;
	line-height: 1.3;
}

.blog__post__content h3 {
	font-size: 1.5rem;
	font-weight: 600;
	color: #1e293b;
	margin: 2.5rem 0 1rem 0;
	line-height: 1.3;
}

.blog__post__content p {
	margin-bottom: 1.5rem;
}

.blog__post__content ul,
.blog__post__content ol {
	margin: 1.5rem 0;
	padding-left: 2rem;
}

.blog__post__content li {
	margin-bottom: 0.75rem;
	line-height: 1.6;
}

.blog__post__content strong {
	color: #1e293b;
	font-weight: 600;
}

/* Call to Action */
.blog__post__cta {
	background: linear-gradient(135deg, #8B0000 0%, #8B0000 100%);
	color: white;
	padding: 3rem;
	border-radius: 1rem;
	text-align: center;
	margin: 4rem 0 2rem 0;
}

.blog__post__cta h3 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
	color: white;
}

.blog__post__cta p {
	font-size: 1.125rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.blog__post__cta .btn {
	background: white;
	color: #8B0000;
	padding: 1rem 2rem;
	border: none;
	border-radius: 0.75rem;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s ease;
}

.blog__post__cta .btn:hover {
	background: #f1f5f9;
	transform: translateY(-2px);
}

/* Related Posts */
.related__posts {
	background: #f8fafc;
	padding: 4rem 0;
}

.related__posts h2 {
	font-size: 2rem;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 2rem;
	text-align: center;
}

.related__posts__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.related__posts .blog__card {
	height: auto;
}

.related__posts .blog__image {
	height: 180px;
}

.related__posts .blog__content__wrapper {
	padding: 1.5rem;
}

.related__posts h3 {
	margin-bottom: 1rem;
}

.related__posts h3 a {
	font-size: 1.25rem;
	font-weight: 600;
	color: #1e293b;
	text-decoration: none;
	line-height: 1.4;
}

.related__posts h3 a:hover {
	color: #8B0000;
}

.related__posts .blog__date {
	margin-top: 0.5rem;
}

/* Navigation Active State */
.nav__links a.active {
	color: #8B0000;
	font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
	.blog__title {
		font-size: 2.5rem;
	}

	.blog__subtitle {
		font-size: 1rem;
	}

	.blog__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.blog__card {
		margin: 0 1rem;
	}

	.blog__post__title {
		font-size: 2rem;
	}

	.blog__post__image {
		height: 250px;
		margin: 0 -1rem 2rem -1rem;
		border-radius: 0;
	}

	.blog__post__content {
		padding: 0 1rem;
	}

	.blog__post__content h2 {
		font-size: 1.5rem;
	}

	.blog__post__content h3 {
		font-size: 1.25rem;
	}

	.blog__post__cta {
		margin: 3rem -1rem 2rem -1rem;
		border-radius: 0;
		padding: 2rem 1rem;
	}

	.blog__post__meta {
		gap: 1rem;
	}

	.related__posts__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

@media (max-width: 480px) {
	.blog__hero {
		padding: 80px 0 60px;
	}

	.blog__title {
		font-size: 2rem;
	}

	.blog__post__title {
		font-size: 1.75rem;
	}

	.blog__content__wrapper {
		padding: 1.5rem;
	}

	.blog__post__content .lead {
		font-size: 1.125rem;
	}

	.blog__post__meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.breadcrumb {
		flex-wrap: wrap;
	}
}

/* Placeholder Blog Image */
.placeholder-blog {
	background: #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	font-weight: 500;
}

/* Footer Mobile Responsive Styles */
@media (max-width: 768px) {
	.footer__content {
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}

	.footer__brand {
		order: 1;
	}

	.footer__links-section {
		order: 2;
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}

	.footer__links-group h4 {
		text-align: center;
		margin-bottom: 1rem;
	}

	.footer__links {
		align-items: center;
		text-align: center;
	}

	.footer__bottom {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}

	.footer__info {
		text-align: center;
	}

	.footer__social {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	footer {
		padding: 2rem 0 1rem;
		text-align: center;
	}

	.footer__content {
		gap: 1.5rem;
		text-align: center;
	}

	.footer__brand {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.footer__logo {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		width: 100%;
		gap: 0.5rem;
	}

	.footer__logo img {
		display: flex;
		align-self: center;
	}

	.footer__description {
		text-align: center;
		font-size: 0.9rem;
	}

	.footer__contact {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.footer__contact p {
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
		gap: 0.5rem;
	}

	.footer__links-section {
		gap: 1.5rem;
		text-align: center;
	}

	.footer__links-group {
		text-align: center;
	}

	.footer__links-group h4 {
		font-size: 1rem;
		text-align: center;
	}

	.footer__links {
		text-align: center;
		align-items: center;
	}

	.footer__links a {
		font-size: 0.85rem;
		padding: 0.4rem 0;
		text-align: center;
	}

	.footer__bottom {
		text-align: center;
	}

	.footer__info {
		text-align: center;
	}

	.footer__info p {
		font-size: 0.8rem;
		text-align: center;
	}

	.footer__social a {
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}
}
