.ctxb-temas {
	--ctxb-temas-acento: #FFD400;
	--ctxb-temas-linea: #E4E4E4;
	--ctxb-temas-hover: #FFFFFF;
}

/* ---------- Cabecera ---------- */

.ctxb-temas__cabecera { margin-bottom: 52px; }

.ctxb-temas__antetitulo {
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .26em;
	text-transform: uppercase;
}

.ctxb-temas__titulo {
	margin: 0;
	font-size: 72px;
	line-height: .92;
	letter-spacing: -.02em;
	text-transform: uppercase;
}

/* ---------- Filas ---------- */

.ctxb-temas__lista {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ctxb-temas-linea);
}

.ctxb-temas__fila {
	position: relative;
	display: grid;
	grid-template-columns: 56px 1fr auto auto;
	align-items: center;
	gap: 24px;
	padding: 26px 24px 26px 8px;
	border-bottom: 1px solid var(--ctxb-temas-linea);
	transition: background-color .2s ease;
}

.ctxb-temas__fila:hover { background: var(--ctxb-temas-hover); }

.ctxb-temas__numero {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	color: #8A8A8A;
}

.ctxb-temas__nombre {
	margin: 0 0 6px;
	font-size: 38px;
	line-height: 1;
	letter-spacing: -.02em;
	text-transform: uppercase;
}

.ctxb-temas__nombre a {
	color: inherit;
	text-decoration: none;
}

/* Toda la fila responde al clic cuando hay enlace. */
.ctxb-temas__nombre a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ctxb-temas__nombre a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.ctxb-temas__texto {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: #5A5A5A;
	max-width: 62ch;
}

.ctxb-temas__miniatura {
	width: 132px;
	aspect-ratio: 1.6;
	overflow: hidden;
	background: #EDEDED;
	flex-shrink: 0;
}

/* Dos niveles: Elementor declara `.elementor img { height: auto }`. */
.ctxb-temas__miniatura img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
	margin: 0;
	border-radius: 0;
	filter: grayscale(1);
	transition: filter .25s ease;
}

.ctxb-temas__fila:hover .ctxb-temas__miniatura img { filter: grayscale(0); }

.ctxb-temas__flecha {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ctxb-temas-linea);
	color: #111111;
	transition: background-color .2s ease, border-color .2s ease;
}

.ctxb-temas__fila:hover .ctxb-temas__flecha {
	background: var(--ctxb-temas-acento);
	border-color: var(--ctxb-temas-acento);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.ctxb-temas__cabecera { margin-bottom: 36px; }
	.ctxb-temas__miniatura { width: 100px; }
}

@media (max-width: 767px) {
	.ctxb-temas__fila {
		grid-template-columns: 40px 1fr auto;
		gap: 14px;
		padding: 20px 4px;
	}
	.ctxb-temas__miniatura { display: none; }
	.ctxb-temas__texto { font-size: 13.5px; }
	.ctxb-temas__flecha { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	.ctxb-temas__fila,
	.ctxb-temas__flecha,
	.ctxb-temas__miniatura img { transition: none; }
}
