.tecnoaural-feed {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-flow: dense;
	gap: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.tecnoaural-feed *,
.tecnoaural-feed *::before,
.tecnoaural-feed *::after {
	box-sizing: border-box;
}

.tecnoaural-card {
	--tecnoaural-title-color: #faeee1;

	position: relative;
	grid-column: span 1;
	overflow: hidden;
	min-width: 0;
	background: #111111;
	border-radius: 0;
	isolation: isolate;
}

.tecnoaural-card--large {
	grid-column: span 3;
}

/* Área visual normal: cuadrada */
.tecnoaural-card-media {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #111111;
}

/* En escritorio, las tarjetas grandes son panorámicas */
.tecnoaural-card--large .tecnoaural-card-media {
	aspect-ratio: 3 / 1;
}

.tecnoaural-card-media-link {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

.tecnoaural-card-image,
.tecnoaural-card-video,
.tecnoaural-card-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	background: #111111;
}

.tecnoaural-card-video {
	pointer-events: none;
}

/*
 * Hover verde sólido.
 */
.tecnoaural-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: #61ea17;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.tecnoaural-card:hover::after,
.tecnoaural-card:focus-within::after {
	opacity: 1;
}

/*
 * Título.
 */
.tecnoaural-card-title-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	padding: 8px 8px 0;
	text-align: left;
	pointer-events: none;
}

.tecnoaural-card-title-link {
	display: block;
	color: inherit;
	text-decoration: none !important;
	border: 0 !important;
	box-shadow: none !important;
	pointer-events: auto;
}

.tecnoaural-card-title {
	margin: 0;
	color: var(--tecnoaural-title-color);
	font-family: "Oswald", sans-serif;
	font-size: clamp(28px, 3.2vw, 48px);
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
	text-decoration: none !important;

	hyphens: none;
	-webkit-hyphens: none;
	overflow-wrap: normal;
	word-break: normal;

	transition: color 0.25s ease;
}

.tecnoaural-card--large .tecnoaural-card-title {
	font-size: clamp(40px, 5.5vw, 72px);
}

/*
 * En hover, el título siempre queda negro.
 */
.tecnoaural-card:hover .tecnoaural-card-title,
.tecnoaural-card:focus-within .tecnoaural-card-title {
	color: #212121;
}

/*
 * Categoría.
 */
.tecnoaural-card-category-wrap {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 20px;
	pointer-events: none;
}

.tecnoaural-card-category {
	position: relative;
	display: inline-block;
	color: #e64600;
	font-family: "DM Sans", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	pointer-events: auto;
	transition: color 0.25s ease;
}

.tecnoaural-card-category:hover {
	text-decoration: underline;
}

.tecnoaural-card:hover .tecnoaural-card-category,
.tecnoaural-card:focus-within .tecnoaural-card-category {
	color: #212121;
}

.tecnoaural-feed-empty {
	margin: 0;
	padding: 40px 0;
	text-align: center;
	opacity: 0.65;
}

/*
 * Tablet.
 */
@media (min-width: 768px) and (max-width: 1024px) {
	.tecnoaural-feed {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tecnoaural-card--large {
		grid-column: span 2;
	}

	.tecnoaural-card--large .tecnoaural-card-media {
		aspect-ratio: 2 / 1;
	}
}

/*
 * Mobile:
 *
 * - una sola columna;
 * - todas las tarjetas cuadradas;
 * - las tarjetas grandes dejan de ser panorámicas;
 * - todos los títulos usan la misma escala.
 */
@media (max-width: 767px) {
	.tecnoaural-feed {
		grid-template-columns: minmax(0, 1fr);
	}

	.tecnoaural-card,
	.tecnoaural-card--large {
		grid-column: span 1;
	}

	.tecnoaural-card-media,
	.tecnoaural-card--large .tecnoaural-card-media {
		aspect-ratio: 1 / 1;
	}

	.tecnoaural-card-title,
	.tecnoaural-card--large .tecnoaural-card-title {
		font-size: clamp(30px, 10vw, 48px);
	}

	.tecnoaural-card-title-wrap {
		padding: 8px 8px 0;
	}

	.tecnoaural-card-category-wrap {
		padding: 12px;
	}
}

/*
 * Accesibilidad:
 * reduce las transiciones cuando el usuario así lo solicita.
 */
@media (prefers-reduced-motion: reduce) {
	.tecnoaural-card::after,
	.tecnoaural-card-title,
	.tecnoaural-card-category {
		transition: none;
	}
}