/* VG Articles Modern v1.0.0 - scoped styles for Chameleon featured articles */
.vg-articles-modern {
	margin-top: 26px;
	margin-bottom: 30px;
}

.vg-articles-modern__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.vg-articles-modern__heading {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 600;
	color: #1f252b;
}

.vg-articles-modern__all {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	padding: 8px 13px;
	border: 1px solid #e5e9ec;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(19, 36, 49, 0.06);
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	color: #313a41;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease;
}

.vg-articles-modern__all svg {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
}

.vg-articles-modern__all:hover,
.vg-articles-modern__all:focus {
	color: #00a651;
	border-color: rgba(0, 166, 81, .35);
	box-shadow: 0 5px 16px rgba(19, 36, 49, 0.09);
	transform: translateY(-1px);
	text-decoration: none;
}

.vg-articles-modern__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.vg-articles-modern__item {
	min-width: 0;
	margin: 0;
}

.vg-articles-modern__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid #edf0f2;
	border-radius: 13px;
	box-shadow: 0 5px 18px rgba(22, 37, 49, 0.07);
	color: inherit;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.vg-articles-modern__card:hover,
.vg-articles-modern__card:focus {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(22, 37, 49, 0.11);
	border-color: #e2e7ea;
	color: inherit;
	text-decoration: none;
}

.vg-articles-modern__image {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f5f7f8;
}

.vg-articles-modern__image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform .35s ease;
}

.vg-articles-modern__card:hover .vg-articles-modern__image img {
	transform: scale(1.025);
}

.vg-articles-modern__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 11px 13px 14px;
}

.vg-articles-modern__date {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 7px;
	font-size: 11px;
	line-height: 1.25;
	color: #7b858d;
}

.vg-articles-modern__date svg {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	color: #7b858d;
}

.vg-articles-modern__name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #1e252b;
}

.vg-articles-modern__description {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.45;
	color: #68737c;
}

.vg-articles-modern__card:hover .vg-articles-modern__name {
	color: #00a651;
}

@media (max-width: 1199px) {
	.vg-articles-modern__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.vg-articles-modern__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575px) {
	.vg-articles-modern {
		margin-top: 22px;
		margin-bottom: 24px;
	}

	.vg-articles-modern__head {
		margin-bottom: 13px;
	}

	.vg-articles-modern__heading {
		font-size: 18px;
	}

	.vg-articles-modern__all {
		min-height: 34px;
		padding: 7px 11px;
		font-size: 11px;
	}

	.vg-articles-modern__grid {
		grid-template-columns: 1fr;
		gap: 13px;
	}

	.vg-articles-modern__body {
		padding: 10px 12px 13px;
	}

	.vg-articles-modern__name {
		font-size: 14px;
	}
}

@media (min-width: 480px) and (max-width: 575px) {
	.vg-articles-modern__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
