/*--------------------------------------------
# Blog posts page (home.php) and archives (archive.php)

The other pages are built in Elementor; these rules mirror their computed
styles (kit typography = Roboto, boxed width = 1140px) so the post cards
read as part of the same site. The page header is in site.css.
-----------------------------------------*/

/* Post list */
.ed-blog {
	padding: 70px 0 80px;
	font-family: "Roboto", sans-serif;
}
.ed-blog > .container {
	max-width: 1140px;
}
.ed-blog-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 30px;
	background: #fff;
	border: 1px solid var(--eduna-online-course-border);
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ed-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(84, 62, 232, 0.12);
}
.ed-blog-card__img {
	display: block;
	overflow: hidden;
}
.ed-blog-card__img img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.ed-blog-card:hover .ed-blog-card__img img {
	transform: scale(1.06);
}
.ed-blog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 28px;
}
.ed-blog-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: var(--eduna-online-course-text);
}
.ed-blog-card__meta li {
	display: flex;
	align-items: center;
	gap: 8px;
}
.ed-blog-card__meta li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--eduna-online-course-primary);
}
.ed-blog-card__title {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
}
.ed-blog-card__title a {
	color: var(--eduna-online-course-heading);
	text-decoration: none;
}
.ed-blog-card__title a:hover,
.ed-blog-card__title a:focus {
	color: var(--eduna-online-course-primary);
}
.ed-blog-card__excerpt {
	margin-bottom: 24px;
	font-size: 16px;
	line-height: 24px;
	color: var(--eduna-online-course-text);
}
.ed-blog-card__excerpt p {
	margin: 0;
}
.ed-blog-card__more {
	align-self: flex-start;
	margin-top: auto;
	padding: 12px 24px;
	border-radius: 6px;
	background: var(--eduna-online-course-primary);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	transition: background 0.3s ease;
}
.ed-blog-card__more:hover,
.ed-blog-card__more:focus {
	background: var(--eduna-online-course-heading);
	color: #fff;
}
.ed-blog .pagination-main {
	margin-top: 20px;
	text-align: center;
}
.ed-blog .no-results .page-title span {
	margin-right: 8px;
}

@media only screen and (max-width: 767px) {
	.ed-blog {
		padding: 50px 0 60px;
	}
}
