/**
 * Vugip — homepage news list & related responsive tweaks (after main.css).
 */

.news-section {
	min-width: 0;
	background: var(--vugip-bg);
	border: 1px solid var(--vugip-border);
	border-radius: var(--vugip-radius);
	padding: 0.95rem 1.12rem 1.05rem;
}

.news-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.65rem;
	flex-wrap: wrap;
}

.news-section__title {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.2;
	font-weight: 700;
}

.news-section__all {
	font-weight: 600;
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--vugip-green);
}

.news-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.news-card__link {
	display: grid;
	grid-template-columns: 3.55rem minmax(0, 1fr) 1.2rem;
	gap: 0.95rem;
	align-items: center;
	min-height: 4.65rem;
	padding: 0.72rem 0;
	border-top: 1px solid rgba(217, 231, 223, 0.8);
	text-decoration: none;
	color: inherit;
	transition: color 0.15s ease;
}

.news-card:first-child .news-card__link {
	border-top: none;
}

.news-card__link:hover {
	color: var(--vugip-green);
	text-decoration: none;
}

.news-card__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 3.45rem;
	height: 3.45rem;
	padding: 0.24rem 0.35rem;
	background: var(--vugip-bg);
	border-radius: var(--vugip-radius);
	font-weight: 700;
	line-height: 1.05;
}

.news-card__day {
	font-size: 1.35rem;
	color: var(--vugip-green);
}

.news-card__month {
	font-size: 0.58rem;
	color: var(--vugip-muted);
	text-transform: uppercase;
}

.news-card__year {
	font-size: 0.52rem;
	color: var(--vugip-muted);
	font-weight: 500;
}

.news-card__headline {
	display: block;
	font-weight: 700;
	margin-bottom: 0.2rem;
	font-size: 0.78rem;
	line-height: 1.3;
	color: var(--vugip-text);
}

.news-card__excerpt {
	display: block;
	font-size: 0.69rem;
	line-height: 1.38;
	color: var(--vugip-muted);
}

.news-card__arrow {
	justify-self: end;
	font-size: 1.65rem;
	color: var(--vugip-muted);
	line-height: 1;
	font-weight: 300;
}

.news-empty {
	color: var(--vugip-muted);
	margin: 0;
}

@media (max-width: 560px) {
	.news-card__link {
		grid-template-columns: 1fr;
	}

	.news-card__arrow {
		display: none;
	}
}
