/* ===== Blog listing page ===== */
.page-front-blog {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
}

.front-blog-page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
	padding: 0;
}

.front-blog-page-header h1 {
	font-size: 2rem;
	margin: 0;
	color: #333;
}

/* Filter button + dropdown */
.blog-filter {
	position: relative;
}

.filter-btn {
	background: #f3b6d1;
	color: #4a0e2e;
	border: none;
	padding: 0.6rem 1.25rem;
	font-weight: 600;
	cursor: pointer;
}

.filter-btn:hover {
	background: #4a0e2e;
	color: #fff;
}

.filter-dropdown {
	position: absolute;
	right: 0;
	top: calc(100% + 4px);
	background: #fff;
	border: 1px solid #ecdcc7;
	box-shadow: 0 4px 12px rgba(48, 2, 23, 0.15);
	min-width: 160px;
	z-index: 10;
	padding: 0.5rem 0;
}

.filter-dropdown li a {
	display: block;
	padding: 0.5rem 1rem;
	text-decoration: none;
	color: #333;
}

.filter-dropdown li a:hover {
	background: #ecdcc7;
}

/* Post grid */
.front-blog-page-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	padding: 0;
}

.blog-card {
	background: #ecdcc7;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 8px rgba(48, 2, 23, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	overflow: hidden;
}

.blog-card:hover {
	transform: scale(1.02);
	box-shadow: 0 0 20px 4px rgba(243, 182, 209, 0.7);
}

.blog-card-thumb {
	width: 100%;
	height: 260px;
	overflow: hidden;
	flex-shrink: 0;
}

.blog-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.blog-card-body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.blog-card-body h3 {
	margin: 0 0 0.4rem;
	color: #7a1f45;
	font-size: 1.15rem;
}

.blog-card-excerpt {
	font-size: 0.95rem;
	color: #555;
	margin: 0 0 0.5rem;
}

.blog-card-footer {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 0.5rem;
}

/* Load more button */
.load-more-wrap {
	text-align: center;
	margin-top: 2rem;
}

.load-more-btn {
	background: #f3b6d1;
	color: #4a0e2e;
	border: none;
	padding: 0.75rem 2rem;
	font-weight: 600;
	cursor: pointer;
}

.load-more-btn:hover {
	background: #4a0e2e;
	color: #fff;
	box-shadow: 0 0 20px 4px rgba(249, 219, 232, 0.7);
}

@media (max-width: 768px) {
	.front-blog-page-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== Blog listing filter ===== */
.filter-dropdown {
	list-style: none;
}
.filter-dropdown li a.active-filter {
	font-weight: 700;
	color: #7a1f45;
}
