/* ── News layout ────────────────────────────────────────── */

.novedades-hero__inner {
	max-width: var(--seghetti-container);
	margin: 0 auto;
	padding-left: 32px;
	padding-right: 32px;
}

.novedades-featured__inner,
.novedades-grid__inner,
.novedad-single__inner {
	max-width: var(--seghetti-container);
	margin: 0 auto;
	padding: 0 32px;
}

/* ── Hero ───────────────────────────────────────────────── */

.novedades-hero__title {
	margin: 0;
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 700;
	line-height: 1.05;
	color: var(--seghetti-white);
}

.novedades-hero__subtitle {
	max-width: 640px;
	margin: 16px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}

/* ── Featured article ───────────────────────────────────── */

.novedades-featured {
	padding: 40px 0 0;
	background-color: var(--seghetti-bg);
}

.novedades-card--featured {
	max-width: 420px;
	margin: 0 auto;
}

/* ── Grid section ───────────────────────────────────────── */

.novedades-grid {
	padding: 40px 0 88px;
	background-color: var(--seghetti-bg);
}

.novedades-grid__notice {
	margin: 0;
	font-size: 15px;
	color: var(--seghetti-text);
}

.novedades-grid__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

/* ── Article cards (price-list style) ───────────────────── */

.novedades-card {
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease;
}

.novedades-card:hover {
	transform: translateY(-4px);
}

.novedades-card__media {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border-radius: 20px;
	background-color: #eceae4;
	text-decoration: none;
	color: inherit;
}

.novedades-card__image,
.novedades-card__media .home-placeholder {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	transition: transform 0.4s ease;
}

.novedades-card:hover .novedades-card__image,
.novedades-card:hover .novedades-card__media .home-placeholder {
	transform: scale(1.04);
}

.novedades-card__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: -12px 36px 0;
	padding: 12px 16px 14px;
	text-align: center;
	background-color: #f1f0eb;
	border-radius: 14px;
	transition: box-shadow 0.25s ease;
}

.novedades-card:hover .novedades-card__body {
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.novedades-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.novedades-card__category {
	color: var(--seghetti-blue);
}

.novedades-card__meta-separator,
.novedades-card__date {
	color: var(--seghetti-text);
	font-weight: 500;
}

.novedades-card__title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--seghetti-text-dark);
}

.novedades-card__description {
	margin: 0 0 10px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--seghetti-text);
}

.novedades-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: center;
	justify-content: center;
	margin-top: auto;
}

.novedades-card__download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--seghetti-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.novedades-card__download:hover,
.novedades-card__download:focus-visible {
	color: var(--seghetti-blue-hover);
}

/* ── Single article ─────────────────────────────────────── */

.novedad-single {
	padding: 40px 0 88px;
	background-color: var(--seghetti-bg);
}

.novedad-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 28px;
	font-size: 13px;
	color: var(--seghetti-text);
}

.novedad-breadcrumb a {
	color: var(--seghetti-blue);
}

.novedad-breadcrumb a:hover,
.novedad-breadcrumb a:focus-visible {
	color: var(--seghetti-blue-hover);
}

.novedad-breadcrumb__current {
	color: var(--seghetti-text-dark);
}

.novedad-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 40px;
	align-items: start;
}

.novedad-single__layout > * {
	min-width: 0;
}

.novedad-single__media {
	overflow: hidden;
	border-radius: 0;
	background-color: transparent;
}

.novedad-single__content {
	min-width: 0;
}

.novedad-single__image,
.novedad-single__media .home-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 20px;
	background-color: #e8e6f0;
}

.novedad-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.novedad-single__category {
	color: var(--seghetti-blue);
}

.novedad-single__meta-separator,
.novedad-single__date {
	color: #9a9a9a;
	font-weight: 500;
}

.novedad-single__title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 12px;
}

.novedad-single__title-row .novedad-single__title {
	flex: 1;
	min-width: 0;
	margin: 0;
	width: auto;
}

.novedad-single__title-row .products-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 10px 24px;
	font-family: var(--seghetti-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--seghetti-text);
	text-decoration: none;
	background-color: var(--seghetti-white);
	border: 1px solid #d9d9d9;
	border-radius: 999px;
	transition: border-color 0.2s, color 0.2s;
}

.novedad-single__title-row .products-back:hover,
.novedad-single__title-row .products-back:focus-visible {
	color: var(--seghetti-text-dark);
	border-color: #bfbfbf;
}

.novedad-single__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--seghetti-text-dark);
}

.novedad-single__excerpt {
	margin: 0 0 20px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--seghetti-text);
}

.novedad-single__body {
	margin-bottom: 28px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--seghetti-text-dark);
}

.novedad-single__body p {
	margin: 0 0 1em;
}

.novedad-single__body img,
.novedad-single__body iframe,
.novedad-single__body video,
.novedad-single__body table {
	max-width: 100%;
	height: auto;
}

.novedad-single__body table {
	display: block;
	overflow-x: auto;
}

.novedad-single__media .product-gallery {
	width: 100%;
}

.novedad-single__media .product-gallery__thumbs-wrap {
	background-color: transparent;
}

.novedad-files__label {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--seghetti-text);
}

.novedad-files__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.novedad-file {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background-color: var(--seghetti-white);
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 12px;
	color: var(--seghetti-text-dark);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.novedad-file:hover,
.novedad-file:focus-visible {
	border-color: rgba(26, 95, 212, 0.25);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.novedad-file__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background-color: rgba(26, 95, 212, 0.08);
	color: var(--seghetti-blue);
}

.novedad-file__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.novedad-file__name {
	font-size: 14px;
	font-weight: 600;
}

.novedad-file__meta {
	font-size: 12px;
	color: var(--seghetti-text);
}

/* ── Responsive ─────────────────────────────────────────── */

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

	.novedad-single__layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.novedades-hero__inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	.novedades-featured__inner,
	.novedades-grid__inner,
	.novedad-single__inner {
		padding: 0 20px;
	}

	.novedades-grid {
		padding: 32px 0 64px;
	}

	.novedades-grid__list {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.novedades-card__body {
		margin: -12px 28px 0;
		padding: 12px 16px 14px;
	}

	.novedad-single {
		padding: 24px 0 64px;
		overflow-x: clip;
	}

	.novedad-breadcrumb {
		font-size: 12px;
		gap: 6px;
	}

	.novedad-breadcrumb a,
	.novedad-breadcrumb__current {
		overflow-wrap: anywhere;
	}

	.novedad-single__title-row {
		align-items: center;
		gap: 8px 12px;
	}

	.novedad-single__title-row .products-back {
		padding: 8px 14px;
		font-size: 12px;
		white-space: nowrap;
	}

	.novedad-single__title-row .novedad-single__title {
		font-size: clamp(24px, 7vw, 30px);
	}

	.novedad-single__layout {
		gap: 28px;
	}
}
