/* ClaveHipoteca Core · estilos de cajas, tablas, calculadora y navegación.
   Para cambiar los colores de marca, cambia solo las variables de :root. */

:root {
	--ch-marca: #0e5c4f;          /* verde ClaveHipoteca */
	--ch-marca-suave: #e8f3f0;
	--ch-acento: #c2410c;         /* naranja para avisos y novedades */
	--ch-acento-suave: #fff4ec;
	--ch-texto: #1c2321;
	--ch-texto-2: #4b5653;
	--ch-borde: #d8e0dd;
	--ch-fondo: #f6f8f7;
	--ch-radio: 10px;
}

/* --- Franja de verificación --- */
.ch-verificado {
	display: flex; gap: .5em; align-items: baseline;
	font-size: .875rem; color: var(--ch-texto-2);
	margin: 0 0 1.25em;
}
.ch-verificado__check {
	display: inline-grid; place-items: center; flex: none;
	width: 1.25em; height: 1.25em; border-radius: 50%;
	background: var(--ch-marca); color: #fff; font-size: .75rem; font-weight: 700;
}
.ch-verificado a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* --- Migas --- */
.ch-migas ol { list-style: none; margin: 0 0 .75em; padding: 0; display: flex; flex-wrap: wrap; font-size: .8125rem; color: var(--ch-texto-2); }
.ch-migas li + li::before { content: "›"; margin: 0 .45em; opacity: .6; }
.ch-migas a { color: inherit; text-decoration: none; }
.ch-migas a:hover { text-decoration: underline; }

/* --- Respuesta rápida --- */
.ch-respuesta {
	border-left: 4px solid var(--ch-marca);
	background: var(--ch-marca-suave);
	border-radius: 0 var(--ch-radio) var(--ch-radio) 0;
	padding: 1em 1.25em; margin: 0 0 1.5em;
}
.ch-respuesta__titulo { margin: 0 0 .35em !important; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ch-marca); }
.ch-respuesta__texto { font-size: 1.0625rem; line-height: 1.55; color: var(--ch-texto); }
.ch-respuesta__texto > :last-child { margin-bottom: 0; }

/* --- Cajas --- */
.ch-caja {
	border: 1px solid var(--ch-borde); border-radius: var(--ch-radio);
	background: var(--ch-fondo); padding: 1em 1.25em; margin: 1.5em 0;
}
.ch-caja__titulo { margin: 0 0 .4em !important; font-weight: 700; color: var(--ch-texto); }
.ch-caja__texto > :last-child { margin-bottom: 0; }
.ch-caja__accion { margin: .9em 0 0 !important; }
.ch-caja__fuente { font-size: .8125rem; color: var(--ch-texto-2); margin-top: .5em !important; }
.ch-caja--calcula, .ch-caja--compara { border-color: var(--ch-marca); background: #fff; }
.ch-caja--novedad { border-color: #f3c9a8; background: var(--ch-acento-suave); }
.ch-caja--novedad .ch-caja__titulo { color: var(--ch-acento); }
.ch-caja--aviso { border-color: #f3c9a8; background: var(--ch-acento-suave); }

.ch-boton {
	display: inline-block; background: var(--ch-marca); color: #fff !important;
	padding: .65em 1.1em; border-radius: 8px; font-weight: 600; text-decoration: none !important;
}
.ch-boton:hover { filter: brightness(1.1); }

/* --- Tablas --- */
.ch-tabla-wrap { overflow-x: auto; margin: 1.25em 0; -webkit-overflow-scrolling: touch; }
.ch-tabla { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 0; border: 0; }
.ch-tabla caption { text-align: left; font-weight: 700; padding: 0 0 .5em; color: var(--ch-texto); }
.ch-tabla th, .ch-tabla td { padding: .7em .8em; border: 0; border-bottom: 1px solid var(--ch-borde); text-align: left; vertical-align: top; }
.ch-tabla thead th { background: var(--ch-fondo); font-size: .8125rem; color: var(--ch-texto-2); font-weight: 600; }
.ch-tabla tbody th { font-weight: 600; }
.ch-tabla--num td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ch-tabla__nota { display: block; font-size: .75rem; color: var(--ch-acento); white-space: normal; }
.ch-tabla__fuente { font-size: .8125rem; color: var(--ch-texto-2); margin-top: -.5em; }

/* --- Índice --- */
.ch-indice { margin: 0 0 1.75em; }
.ch-indice details { border: 1px solid var(--ch-borde); border-radius: var(--ch-radio); padding: .75em 1.1em; }
.ch-indice summary { cursor: pointer; font-weight: 700; }
.ch-indice ol { margin: .6em 0 0 1.2em; padding: 0; }
.ch-indice li { margin: .2em 0; }

/* --- FAQ --- */
.ch-faq { border-top: 1px solid var(--ch-borde); margin: 1em 0 2em; }
.ch-faq__item { border-bottom: 1px solid var(--ch-borde); }
.ch-faq__item summary { cursor: pointer; padding: .9em 2em .9em 0; font-weight: 600; position: relative; list-style: none; }
.ch-faq__item summary::-webkit-details-marker { display: none; }
.ch-faq__item summary::after { content: "+"; position: absolute; right: .25em; top: .7em; font-size: 1.25em; color: var(--ch-marca); }
.ch-faq__item[open] summary::after { content: "−"; }
.ch-faq__respuesta { padding: 0 0 1em; color: var(--ch-texto-2); }
.ch-faq__respuesta > :last-child { margin-bottom: 0; }

/* --- Navegación del árbol --- */
.ch-nav { border-top: 2px solid var(--ch-texto); padding-top: 1em; margin: 2.5em 0 1.5em; }
.ch-nav__titulo { font-weight: 700; margin: 0 0 .4em !important; }
.ch-nav__lista { list-style: none; margin: 0 0 1em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .4em 1.5em; }
.ch-nav__lista a { text-decoration: none; }
.ch-nav__lista a::before { content: "→ "; color: var(--ch-marca); }
.ch-nav__todas { font-size: .9375rem; }

/* --- Hubs --- */
.ch-hub { list-style: none; margin: 1.25em 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75em; }
.ch-hub__item > a, .ch-hub__item > span { display: flex; flex-direction: column; gap: .2em; height: 100%; padding: .9em 1em; border: 1px solid var(--ch-borde); border-radius: var(--ch-radio); text-decoration: none; color: var(--ch-texto); }
.ch-hub__item > a:hover { border-color: var(--ch-marca); }
.ch-hub__item strong { color: var(--ch-marca); }
.ch-hub__item span span, .ch-hub__item a span { font-size: .875rem; color: var(--ch-texto-2); }
.ch-hub__item--pronto > span { background: var(--ch-fondo); }
.ch-hub__item--pronto strong { color: var(--ch-texto-2); }
.ch-hub__item em { font-size: .75rem; font-style: normal; color: var(--ch-texto-2); }

/* --- Fuentes --- */
.ch-fuentes { font-size: .875rem; color: var(--ch-texto-2); border-top: 1px solid var(--ch-borde); padding-top: 1em; margin-top: 2em; }
.ch-fuentes__titulo { font-weight: 700; color: var(--ch-texto); margin: 0 0 .3em !important; }
.ch-fuentes ul { margin: 0 0 .8em 1.2em; }
.ch-fuentes__aviso { font-size: .8125rem; font-style: italic; }

/* --- Calculadora --- */
.ch-calc { border: 2px solid var(--ch-marca); border-radius: 14px; padding: 1.25em; margin: 1.75em 0; background: #fff; }
.ch-calc__titulo { font-size: 1.15rem; font-weight: 700; margin: 0 0 .9em !important; }
.ch-calc__form { display: grid; grid-template-columns: 1fr 1fr; gap: .9em 1.1em; margin: 0; }
.ch-calc__campo { margin: 0; border: 0; padding: 0; min-width: 0; }
.ch-calc__campo label, .ch-calc__campo legend { display: block; font-size: .8125rem; font-weight: 600; color: var(--ch-texto-2); margin-bottom: .3em; padding: 0; }
.ch-calc select, .ch-calc input[type="text"], .ch-calc input[type="number"] {
	width: 100%; font-size: 1rem; padding: .6em .7em; border: 1px solid var(--ch-borde); border-radius: 8px; background: #fff; color: var(--ch-texto); box-sizing: border-box;
}
.ch-calc select:focus, .ch-calc input:focus { outline: 2px solid var(--ch-marca); outline-offset: 1px; }
.ch-calc__eur { position: relative; }
.ch-calc__eur input { padding-right: 2em; font-variant-numeric: tabular-nums; }
.ch-calc__eur span { position: absolute; right: .75em; top: 50%; transform: translateY(-50%); color: var(--ch-texto-2); }
.ch-calc__segmentos { display: flex; flex-wrap: wrap; gap: .4em; }
.ch-calc__segmentos legend { width: 100%; }
.ch-calc__segmentos label { flex: 1; display: flex; align-items: center; gap: .4em; border: 1px solid var(--ch-borde); border-radius: 8px; padding: .55em .7em; font-size: .9375rem; font-weight: 500; color: var(--ch-texto); cursor: pointer; margin: 0; }
.ch-calc__segmentos label:has(input:checked) { border-color: var(--ch-marca); background: var(--ch-marca-suave); }
.ch-calc__checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5em 1.25em; font-size: .9375rem; }
.ch-calc__checks label { display: flex; align-items: center; gap: .4em; cursor: pointer; }
.ch-calc__checks label[hidden] { display: none; }
.ch-calc__checks input, .ch-calc__segmentos input { accent-color: var(--ch-marca); width: 1.05em; height: 1.05em; margin: 0; }
.ch-calc__resultado { margin-top: 1.25em; }
.ch-calc__total { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25em .75em; background: var(--ch-marca); color: #fff; border-radius: 10px; padding: .9em 1.1em; }
.ch-calc__total span { font-size: .875rem; opacity: .9; width: 100%; }
.ch-calc__total strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.ch-calc__total em { font-style: normal; font-size: .9375rem; opacity: .9; }
.ch-calc__tabla { margin-top: .75em; }
.ch-calc__tabla td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ch-calc__tabla small { display: block; font-weight: 400; font-size: .8125rem; color: var(--ch-texto-2); margin-top: .15em; }
.ch-calc__ahorro { margin: .9em 0 0 !important; padding: .75em 1em; background: var(--ch-marca-suave); border-radius: 8px; font-size: .9375rem; }
.ch-calc__aviso { margin: .6em 0 0 !important; padding: .6em .9em; background: var(--ch-acento-suave); border-radius: 8px; font-size: .875rem; }
.ch-calc__nota { font-size: .75rem; color: var(--ch-texto-2); margin: .9em 0 0 !important; }
.ch-calc__vacio { color: var(--ch-texto-2); }

@media (max-width: 600px) {
	.ch-calc { padding: 1em; }
	.ch-calc__form { grid-template-columns: 1fr; }
	.ch-calc__total strong { font-size: 1.3rem; }
	.ch-tabla { font-size: .875rem; }
	.ch-tabla th, .ch-tabla td { padding: .6em .5em; }
}
.ch-calc__checks [data-ch-requisitos] { display: contents; }

/* --- Árbol de la guía (ruta del comprador) --- */
.ch-arbol { list-style: none; margin: 1.5em 0; padding: 0; display: grid; gap: 1em; }
.ch-arbol__nivel { border: 1px solid var(--ch-borde); border-radius: var(--ch-radio); padding: 1em 1.1em; }
.ch-arbol__cab { display: flex; gap: .8em; align-items: flex-start; }
.ch-arbol__num { flex: none; display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--ch-marca); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.ch-arbol__titulo { margin: 0 !important; font-weight: 700; font-size: 1.05rem; }
.ch-arbol__titulo a { text-decoration: none; }
.ch-arbol__desc { margin: .1em 0 0 !important; font-size: .875rem; color: var(--ch-texto-2); }
.ch-arbol__pilares { list-style: none; margin: .8em 0 0; padding: 0 0 0 2.8em; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .35em 1.25em; font-size: .9375rem; }
.ch-arbol__pilares a { text-decoration: none; }
.ch-arbol__pilares a::before { content: "→ "; color: var(--ch-marca); }
.ch-arbol__pilares span { color: var(--ch-texto-2); }
@media (max-width: 600px) { .ch-arbol__pilares { padding-left: 0; } }

/* --- Portada --- */
.ch-hero { padding: 1.5em 0 1em; }
.ch-hero__eyebrow { margin: 0 0 .5em !important; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ch-marca); }
.ch-hero__titulo { font-size: clamp(1.9rem, 6vw, 2.9rem); line-height: 1.12; margin: 0 0 .45em !important; text-wrap: balance; }
.ch-hero__texto { font-size: 1.125rem; color: var(--ch-texto-2); max-width: 36em; margin: 0 0 1.2em !important; }
.ch-hero__acciones { display: flex; flex-wrap: wrap; gap: .6em; margin: 0 0 1.4em !important; }
.ch-boton--sec { background: transparent; color: var(--ch-marca) !important; box-shadow: inset 0 0 0 2px var(--ch-marca); }
.ch-sellos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5em 1.25em; font-size: .875rem; color: var(--ch-texto-2); }
.ch-sellos li::before { content: "✓ "; color: var(--ch-marca); font-weight: 700; }
.ch-seccion__titulo { margin-top: 2em; }
.ch-seccion__intro { color: var(--ch-texto-2); }

/* --- Pie (GeneratePress) --- */
.ch-pie a { color: inherit; }
/* La portada lleva su propio titular: se oculta el título de la página "Inicio". */
.home .entry-header, .home .page-header { display: none; }
/* Calculadoras sencillas (cuota, sueldo) */
.ch-herr__ancho { grid-column: 1 / -1; }
.ch-herr__frase { margin: .9em 0 0 !important; font-size: .9375rem; line-height: 1.55; }
.ch-herr__aviso { margin: 0 !important; color: #7a4a00; background: #fff3cd; padding: .6em .8em; border-radius: 8px; font-size: .9375rem; }
.ch-herr__cuadro th, .ch-herr__cuadro td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ch-herr__barra { display: block; height: 4px; width: var(--w); background: var(--ch-marca); border-radius: 2px; margin-bottom: 4px; opacity: .45; }
.ch-herr__resto { margin-top: 10px; }
.ch-herr__resto .ch-tabla-wrap { margin-bottom: 14px; }
@media (max-width: 600px) { .ch-herr .ch-calc__form { grid-template-columns: 1fr; } }
.ch-herr .ch-calc__fuente-tipos { margin-top: 1.1em !important; }
.ch-mas-calc { margin: .75em 0 0 !important; font-size: .875rem; line-height: 1.6; color: var(--ch-texto-2); }
.ch-mas-calc span { font-weight: 600; }
.ch-mas-calc a { font-weight: 600; }
@media (max-width: 600px) {
	.ch-herr__cuadro th:nth-child(2), .ch-herr__cuadro td:nth-child(2) { display: none; }
	.ch-herr__cuadro th, .ch-herr__cuadro td { padding: 10px 6px !important; font-size: .8125rem !important; }
	.ch-herr__cuadro th { white-space: normal; }
}
.ch-hub__da { display: block; margin-top: .45em; font-size: .8125rem; line-height: 1.45; color: var(--ch-texto-2); }
.ch-hub__ir { display: block; margin-top: auto; padding-top: .8em; font-style: normal; font-weight: 700; font-size: .9375rem; color: var(--ch-marca); }
.ch-hub--calc .ch-hub__item > a:hover .ch-hub__ir { text-decoration: underline; }
.ch-diseno .ch-hub--calc .ch-hub__ir, .ch-hub--calc .ch-hub__ir { color: var(--ch-marca); font-size: .9375rem; font-weight: 700; font-style: normal; }
/* Tarjetas de calculadoras: borde neón verde, sutil */
.ch-diseno .ch-hub--calc .ch-hub__item > a, .ch-hub--calc .ch-hub__item > a {
	border: 1px solid rgba(46, 204, 140, .55);
	box-shadow: 0 0 0 1px rgba(46, 204, 140, .10), 0 0 12px rgba(46, 204, 140, .16), inset 0 0 10px rgba(46, 204, 140, .05);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ch-diseno .ch-hub--calc .ch-hub__item > a:hover, .ch-hub--calc .ch-hub__item > a:hover,
.ch-diseno .ch-hub--calc .ch-hub__item > a:focus-visible, .ch-hub--calc .ch-hub__item > a:focus-visible {
	border-color: rgba(46, 204, 140, .95);
	box-shadow: 0 0 0 1px rgba(46, 204, 140, .30), 0 0 22px rgba(46, 204, 140, .32), inset 0 0 12px rgba(46, 204, 140, .08);
	transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) { .ch-hub--calc .ch-hub__item > a { transition: none; } .ch-hub--calc .ch-hub__item > a:hover { transform: none; } }
/* Resultado principal de cada calculadora: borde neón y destello al recalcular */
.ch-calc .ch-calc__kpi--marca {
	border: 1px solid rgba(46, 204, 140, .6);
	box-shadow: 0 0 0 1px rgba(46, 204, 140, .12), 0 0 14px rgba(46, 204, 140, .2);
	animation: ch-destello .9s ease-out;
}
@keyframes ch-destello {
	0% { box-shadow: 0 0 0 1px rgba(46, 204, 140, .5), 0 0 28px rgba(46, 204, 140, .55); border-color: rgba(46, 204, 140, 1); }
	100% { box-shadow: 0 0 0 1px rgba(46, 204, 140, .12), 0 0 14px rgba(46, 204, 140, .2); border-color: rgba(46, 204, 140, .6); }
}
@media (prefers-reduced-motion: reduce) { .ch-calc .ch-calc__kpi--marca { animation: none; } }
.ch-herr__amort { grid-column: 1 / -1; }
.ch-herr__amort-res { margin-top: 1em; }
.ch-herr__opciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ch-herr__opciones .ch-calc__tipo p { margin: 0 !important; font-size: .875rem; line-height: 1.5; }
.ch-herr__ahorro { font-family: var(--ch-titulos); font-weight: 800; font-size: 1.4rem !important; color: var(--ch-marca); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .ch-herr__opciones { grid-template-columns: 1fr; } }
.ch-herr__amort-sec { margin-top: 1.1em; }
.ch-herr__amort-sec .ch-calc__mas-in { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .ch-herr__amort-sec .ch-calc__mas-in { grid-template-columns: 1fr; } }

/* ---------- Euríbor: dato del mes, gráfico y tabla ---------- */
.ch-eur__hoy { margin: 1.5em 0; }
.ch-eur__hoy .ch-calc__kpi--marca { border: 1px solid rgba(46, 204, 140, .6); box-shadow: 0 0 0 1px rgba(46, 204, 140, .12), 0 0 14px rgba(46, 204, 140, .2); }
.ch-eur__hoy .ch-calc__kpi em a { color: inherit; }
.ch-eur { margin: 1.5em 0; padding: 16px 16px 12px; border: 1px solid var(--ch-borde); border-radius: 14px; background: #fff; }
.ch-eur__cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.ch-eur__tit { font-weight: 700; font-size: .9375rem; color: var(--ch-texto); }
.ch-eur__rangos { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 999px; background: var(--ch-fondo); }
.ch-eur__rangos button { appearance: none; border: 0; margin: 0; padding: 6px 12px; border-radius: 999px; background: transparent; color: var(--ch-texto-2); font: inherit; font-size: .8125rem; font-weight: 600; line-height: 1.2; cursor: pointer; min-height: 32px; }
.ch-eur__rangos button[aria-pressed="true"] { background: var(--ch-marca); color: #fff; }
.ch-eur__rangos button:focus-visible { outline: 2px solid var(--ch-marca); outline-offset: 2px; }
.ch-eur__lienzo { position: relative; width: 100%; min-height: 240px; touch-action: pan-y; }
.ch-eur__lienzo svg { display: block; width: 100%; height: auto; overflow: visible; }
.ch-eur__rej { stroke: #e9eeec; stroke-width: 1; }
.ch-eur__cero { stroke: #9aa7a3; stroke-width: 1; stroke-dasharray: 3 3; }
.ch-eur__eje { fill: var(--ch-texto-2); font-size: 11px; font-variant-numeric: tabular-nums; }
.ch-eur__area { fill: var(--ch-marca); opacity: .07; }
.ch-eur__linea { fill: none; stroke: var(--ch-marca); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch-eur__punto { fill: var(--ch-marca); stroke: #fff; stroke-width: 2; }
.ch-eur__etq { fill: var(--ch-texto); font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.ch-eur__guia { stroke: var(--ch-texto-2); stroke-width: 1; stroke-dasharray: 2 3; }
.ch-eur__foco { fill: #fff; stroke: var(--ch-marca); stroke-width: 2.5; }
.ch-eur__tip { position: absolute; transform: translate(-50%, -100%); pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 10px; border-radius: 8px; background: var(--ch-texto); color: #fff; font-size: .75rem; line-height: 1.3; white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.ch-eur__tip strong { font-size: .9375rem; font-variant-numeric: tabular-nums; }
.ch-eur__tip[hidden] { display: none; }
.ch-eur__fuente { margin: 6px 0 0 !important; font-size: .75rem; color: var(--ch-texto-2); }
.ch-eur__tabla td small { color: var(--ch-texto-2); }
@media (max-width: 600px) {
	.ch-eur { padding: 12px 10px 10px; }
	.ch-eur__rangos button { padding: 6px 10px; }
}

/* ---------- 2.1: tablas anchas como tarjetas en el móvil ---------- */
@media (max-width: 640px) {
	.ch-tabla--tarjetas thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ch-tabla--tarjetas, .ch-tabla--tarjetas tbody, .ch-tabla--tarjetas tr, .ch-tabla--tarjetas td { display: block; width: 100%; box-sizing: border-box; }
	.ch-tabla--tarjetas tr { margin: 0 0 12px; padding: 4px 14px; border: 1px solid var(--ch-borde); border-radius: 12px; background: #fff; }
	.ch-tabla.ch-tabla--tarjetas td { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: .55em 0; border-bottom: 1px dashed #e3e9e7; text-align: right; white-space: normal; }
	.ch-tabla--tarjetas td::before { content: attr(data-label); flex: 0 0 42%; text-align: left; font-size: .8125rem; font-weight: 600; color: var(--ch-texto-2); }
	.ch-tabla.ch-tabla--tarjetas td:first-child { display: block; padding: .7em 0 .55em; border-bottom: 1px solid var(--ch-borde); text-align: left; font-weight: 700; font-size: 1rem; color: var(--ch-texto); }
	.ch-tabla--tarjetas td:first-child::before { content: none; }
	.ch-tabla.ch-tabla--tarjetas td:last-child { border-bottom: 0; font-weight: 700; color: var(--ch-marca); }
	.wp-block-table:has(.ch-tabla--tarjetas), .ch-tabla-wrap:has(.ch-tabla--tarjetas) { overflow: visible; }
}

/* ---------- 2.1: archivo del euríbor mes a mes ---------- */
.ch-eur__archivo { margin: -.5em 0 1.5em !important; font-size: .9375rem; font-weight: 600; }
.ch-eur-anio { padding-bottom: 8px; }
.ch-eur-anio__svg { display: block; width: 100%; height: auto; }
.ch-eur-anio__rej { stroke: #e9eeec; stroke-width: 1; }
.ch-eur-anio__eje { fill: var(--ch-texto-2); font-size: 11px; }
.ch-eur-anio__val { fill: var(--ch-texto); font-size: 10.5px; font-weight: 600; }
.ch-eur-anio__barra { fill: #9cc9bd; }
.ch-eur-anio__barra--hoy { fill: var(--ch-marca); }
.ch-eur-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 2em 0; padding: 14px 0; border-top: 1px solid var(--ch-borde); border-bottom: 1px solid var(--ch-borde); font-size: .9375rem; font-weight: 600; }
.ch-eur-nav__centro { text-align: center; }
.ch-eur-nav__sig { text-align: right; }
.ch-eur-lista { list-style: none; margin: 1em 0 2em !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.ch-eur-lista li { margin: 0 !important; }
.ch-eur-lista li > a, .ch-eur-lista li > span { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px; border: 1px solid var(--ch-borde); border-radius: 10px; background: #fff; color: var(--ch-texto); text-decoration: none; }
.ch-eur-lista li > a { border-color: rgba(46, 204, 140, .55); }
.ch-eur-lista li > a:hover, .ch-eur-lista li > a:focus-visible { border-color: var(--ch-marca); }
.ch-eur-lista strong { font-variant-numeric: tabular-nums; }
.ch-eur-boton { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--ch-marca); color: #fff !important; font-weight: 700; text-decoration: none !important; }
@media (max-width: 600px) { .ch-eur-nav { grid-template-columns: 1fr 1fr; } .ch-eur-nav__centro { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- 2.1: página del autor ---------- */
.ch-autor-pag { display: flex; align-items: center; gap: 22px; margin: 1.25em 0 1.5em; padding: 20px; border: 1px solid var(--ch-borde); border-radius: 16px; background: var(--ch-fondo); }
.ch-autor-pag__foto { flex: 0 0 auto; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.ch-autor-pag p { margin: 0 !important; }
.ch-autor-pag__nombre { font-family: var(--ch-titulos, inherit); font-size: 1.5rem; font-weight: 800; line-height: 1.2; color: var(--ch-texto); }
.ch-autor-pag__cargo { margin-top: .25em !important; font-weight: 600; color: var(--ch-marca); }
.ch-autor-pag__datos { margin-top: .5em !important; font-size: .875rem; color: var(--ch-texto-2); }
.ch-autor-pag__intro { font-size: 1.125rem; line-height: 1.6; }
.ch-autor-pag__exp li { margin-bottom: .8em; }
.ch-autor-pag__lista { list-style: none; margin: 1em 0 !important; padding: 0 !important; }
.ch-autor-pag__lista li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 0 !important; padding: 10px 0; border-bottom: 1px solid var(--ch-borde); }
.ch-autor-pag__lista span { font-size: .8125rem; color: var(--ch-texto-2); }
@media (max-width: 600px) { .ch-autor-pag { flex-direction: column; text-align: center; } .ch-autor-pag__foto { width: 104px; height: 104px; } }
