/* ===========================================================================
   Eirene · Estilos del pie de página (widgets Custom HTML .eirene-foot*)
   =========================================================================== */
.eirene-foot { font-size: 14px; line-height: 1.7; color: var(--text-lt); }
.eirene-foot a { color: var(--text-lt); text-decoration: none; transition: color .15s ease; }
.eirene-foot a:hover { color: var(--sage-dk); }

.eirene-foot-title { font-family: var(--serif); font-size: 22px; color: var(--text); margin: 0 0 .5rem; }
.eirene-foot-tagline { margin: 0 0 1.1rem; max-width: 34ch; }

.eirene-foot-h { font-family: var(--serif); font-size: 30px; line-height: 1.15; color: var(--text); margin: 0 0 1rem; }
.eirene-foot-links { list-style: none; margin: 0; padding: 0; }
.eirene-foot-links li { margin: 0 0 .5rem; }

.eirene-nap { list-style: none; margin: .5rem 0 0; padding: 0; }
.eirene-nap li { margin: 0 0 .45rem; }
.eirene-nap .nap-k { display: inline-block; min-width: 84px; color: var(--text); font-weight: 500; }
.eirene-nap em, .eirene-foot em { color: var(--beige); font-style: italic; }

/* ── Bottom bar: copyright (izquierda) + legales (derecha) ─────────────────── */
.ct-footer-copyright{
	display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;
	gap:.5rem 1.5rem;width:100%;
	font-family:var(--sans);font-size:13px;line-height:1.6;color:var(--text-lt);
}
.ct-footer-copyright a{color:var(--text);text-decoration:none;transition:color .2s;}
.ct-footer-copyright a:hover{color:var(--sage-dk);}
.ct-footer-copyright .ft-legal{white-space:normal;}
@media (max-width:768px){
	.ct-footer-copyright{flex-direction:column;justify-content:center;text-align:center;gap:.7rem;}
}

/* ═══ Footer principal · rediseño (dos tonos + logo + grid) ════════════════ */
/* Dos tonos: zona principal BLANCA, barra inferior CREMA */
.ct-footer [data-row="middle"],.ct-footer [data-row="middle-row"]{background:var(--white) !important;}
.ct-footer [data-row="bottom"],.ct-footer [data-row="bottom-row"]{background:var(--cream2) !important;border-top:1px solid var(--border);}

/* Grid del footer: 5 columnas repartidas a TODO el ancho (logo+desc · Contacto ·
 * Psicología · Más Servicios · Centro), todas top-aligned. */
.eirene-footer-grid{
	display:grid;
	grid-template-columns:1.3fr repeat(4,1fr);
	gap:2.5rem;align-items:start;
	font-family:var(--sans);font-size:14px;line-height:1.7;color:var(--text-lt);padding:1rem 0;
}
.eirene-footer-grid a{color:var(--text-lt);text-decoration:none;transition:color .15s;}
.eirene-footer-grid a:hover{color:var(--sage-dk);}
.eirene-foot-h{white-space:nowrap;}            /* títulos nunca se parten */

/* Col 1 · marca: logo (el de cabecera) + descripción debajo */
.eirene-foot-logo{display:block;height:auto;max-width:200px;width:100%;margin:0 0 1.4rem;}
.eirene-foot-brand .eirene-foot-tagline{margin:0;}
/* columnas nativas de Blocksy: que respiren y alineen arriba */
.ct-footer [data-row="middle"] .widget{margin-bottom:0;}

/* Col 2 · Contacto: cada dato con etiqueta ARRIBA y valor DEBAJO */
.eirene-foot-contact .eirene-nap{margin:0;}
.eirene-foot-contact .eirene-nap li{margin:0 0 .85rem;}
.eirene-foot-contact .eirene-nap li:last-child{margin-bottom:0;}
.eirene-foot-contact .eirene-nap .nap-k{display:block;min-width:0;margin:0 0 .1rem;}

/* responsive */
@media (max-width:1080px){
	.eirene-footer-grid{grid-template-columns:repeat(3,1fr);gap:2.5rem;}
}
@media (max-width:680px){
	.eirene-footer-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:430px){
	.eirene-footer-grid{grid-template-columns:1fr;}
	.eirene-foot-brand .eirene-foot-tagline{max-width:none;}
}

/* ═══ Footer · forzar la FILA de columnas en horizontal ════════════════════
 * Blocksy reparte las columnas con grid-template-columns en su CSS dinámico,
 * que NO se regenera al cambiar columnas por WP-CLI → caían apiladas (vertical).
 * Lo fijamos aquí sobre el contenedor real ([data-row=middle] > .ct-container,
 * hijos = <div data-column>). */
.ct-footer [data-row="middle"] > .ct-container,
.ct-footer [data-row="middle-row"] > .ct-container{
	display:grid !important;
	grid-template-columns:1.25fr 1fr 1fr 1fr 1fr;
	gap:2.5rem;
	align-items:start;
}
.ct-footer [data-row="middle"] > .ct-container > [data-column]{min-width:0;}
@media (max-width:1080px){
	.ct-footer [data-row="middle"] > .ct-container,
	.ct-footer [data-row="middle-row"] > .ct-container{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:680px){
	.ct-footer [data-row="middle"] > .ct-container,
	.ct-footer [data-row="middle-row"] > .ct-container{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:430px){
	.ct-footer [data-row="middle"] > .ct-container,
	.ct-footer [data-row="middle-row"] > .ct-container{grid-template-columns:1fr;}
}
