.ac-blog-grid-widget {
	width: 100%;
}

.ac-blog-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 34px 24px;
}

.ac-blog-card {
	min-width: 0;
	background: transparent;
}

.ac-blog-card__image-link {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9 ;
	margin-bottom: 18px;
	overflow: hidden;
	border-radius: 18px;
	background: #f2f4f7;
	text-decoration: none;
}

.ac-blog-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.ac-blog-card__image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(238, 42, 129, 0.12), rgba(28, 78, 216, 0.08)),
		#f2f4f7;
}

.ac-blog-card:hover .ac-blog-card__image {
	transform: scale(1.025);
}

.ac-blog-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.ac-blog-card__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 10px;
}

.ac-blog-card__category {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #ee2a81;
}

.ac-blog-card__category:not(:last-child)::after {
	content: "/";
	margin-left: 7px;
	color: #c5cad3;
}

.ac-blog-card__title {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0;
	color: #16181d;
}

.ac-blog-card__title a {
	color: inherit;
	text-decoration: none;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.ac-blog-card__title a:hover,
.ac-blog-card__title a:focus {
	color: #ee2a81;
}

.ac-blog-card__excerpt {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.55;
	color: #667085;
}

.ac-blog-card__date {
	display: block;
	margin-top: auto;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: #8a94a6;
}

.ac-blog-grid-empty {
	margin: 0;
	color: #667085;
}

@media (max-width: 1024px) {
	.ac-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ac-blog-card__title {
		font-size: 27px;
	}
}

@media (max-width: 767px) {
	.ac-blog-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.ac-blog-card__image-link {
		border-radius: 16px;
	}

	.ac-blog-card__title {
		font-size: 25px;
	}
}
