/**
 * Post Last News — lista vertical fecha + título.
 */

.post-last-news {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	box-sizing: border-box;
}

.post-last-news__inner {
	padding: 24px;
}

.post-last-news__heading {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1.25rem;
}

.post-last-news__list {
	margin: 0;
	padding: 0;
}

.post-last-news__item {
	padding: 1rem 0;
	border-bottom: 1px dotted rgba(255, 255, 255, 0.35);
}

.post-last-news__item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.post-last-news__item:first-child {
	padding-top: 0;
}

.post-last-news__date-col {
	flex: 0 0 auto;
	width: 72px;
	max-width: 72px;
	padding-right: 12px;
}

.post-last-news__date {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.15;
	font-weight: 600;
	text-transform: uppercase;
}

.post-last-news__date-day {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.post-last-news__date-month {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin-top: 2px;
}

.post-last-news__title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
}

.post-last-news__title a {
	color: inherit;
	text-decoration: none;
}

.post-last-news__title a:hover,
.post-last-news__title a:focus-visible {
	text-decoration: underline;
}

.post-last-news__empty {
	margin: 0;
	font-size: 0.9rem;
	opacity: 0.85;
}

/* Tema oscuro */
.post-last-news--theme-dark {
	background: linear-gradient(90deg, #6b6b6b 0%, #34373c 217.65%);
	color: #fff;
}

.post-last-news--theme-dark .post-last-news__heading,
.post-last-news--theme-dark .post-last-news__title {
	color: #fff;
}

.post-last-news--theme-dark .post-last-news__date {
	color: #cfcfcf;
}

.post-last-news--theme-dark .post-last-news__item {
	border-bottom-color: rgba(255, 255, 255, 0.35);
}

/* Tema claro */
.post-last-news--theme-light {
	background: #ebebeb;
	color: #000;
}

.post-last-news--theme-light .post-last-news__heading,
.post-last-news--theme-light .post-last-news__title,
.post-last-news--theme-light .post-last-news__date {
	color: #000;
}

.post-last-news--theme-light .post-last-news__item {
	border-bottom-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 575.98px) {
	.post-last-news__inner {
		padding: 16px;
	}

	.post-last-news__date-col {
		width: 64px;
		max-width: 64px;
	}

	.post-last-news__date-day {
		font-size: 1.25rem;
	}
}
