/* Blog hero styles */
.blog-hero {
	background-image: url("../../images/BG-Jadwal.jpg");
	height: auto;
	min-height: 35rem;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
}

.blog-title {
	color: #fff;
	font-size: 4.5rem;
}

/* Blog card styles */
.blog-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.blog-card {
	display: flex;
	gap: 2rem;
	/* border: 1px solid magenta; */
}

.blog-card__content,
.blog-card__image {
	flex: 1;
	/* border: 1px solid blue; */
}

.blog-card__image img {
	width: 100%;
	min-width: 30rem;
	max-width: 420px;
	height: 20rem;
	border-radius: 1rem;
	object-fit: cover;
	background-repeat: no-repeat;
}

.blog-card__content {
	display: flex;
	flex-direction: column;
	gap: .8rem;
	padding-top: 1rem;
}

.blog-card__content-title {
	/* font-size: 2rem; */
	color: var(--biru);
	text-transform: capitalize;
	line-height: 2.8rem;

	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.blog-card__content-date {
	font-weight: bold;
	font-size: 1.4rem;
	color: black;
}

.blog-card__content-desc {
	font-size: 1.4rem;
	font-weight: 300;
	line-height: 2rem;
	text-align: justify;

	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	color: black;
}

.blog-direct {
	/* border: 1px solid magenta; */
	color: var(--biru);
	font-weight: 500;
	margin-top: 2rem;
}

/* Responsive */
@media only screen and (max-width: 1024px) {
	.blog-card__image img {
		min-width: 20rem;
		max-width: 100%;
	}

	.blog-card {
		flex-direction: column;
	}

	.blog-card__content-desc {
		-webkit-line-clamp: 3;
	}

	.blog-card__content-title {
		-webkit-line-clamp: 3;
	}
}

@media only screen and (max-width: 768px) {

}

@media only screen and (max-width: 540px) {
	/* .blog {
		padding: 6rem 1rem;
	} */

	.blog-wrapper {
		grid-template-columns: 1fr;
	}

	.blog-title {
		font-size: 3rem;
	}
}

@media only screen and (max-width: 425px) {

	.blog-title {
		font-size: 3rem;
	}
}

@media only screen and (max-width: 320px) {

}

@media only screen and (max-width: 280px) {

}