/* Ajustes del rediseño sobre las páginas generadas (se carga después del CSS por página). */

/* Filas al ancho del sitio nuevo */
.fila { width: calc(100% - 2 * var(--margen-lateral)); max-width: var(--ancho-max); }

/* Bandas de título y cabeceras anchas: más aire y tipografía ligera */
.cabecera-ac { padding: clamp(56px, 7vw, 112px) 0; }
.cabecera-ac-cont { width: calc(100% - 2 * var(--margen-lateral)); max-width: var(--ancho-max); }
.cabecera-ac .mod-titulo, .texto h1 { font-weight: var(--peso-ligero); letter-spacing: -.02em; }
.texto h2, .texto h3 { font-weight: var(--peso-normal); }
.texto strong h3, .texto h3 strong, .texto h2 strong { font-weight: var(--peso-normal); }
.fondo-oscuro blockquote { border-left-color: rgba(255, 255, 255, .6); }

/* Secciones rectas: sin los separadores diagonales de Divi, que se solapaban con el contenido */
.divisor-sup, .divisor-inf { display: none !important; }

/* Texto sobre fotografía en carruseles: velo oscuro uniforme y texto siempre blanco
   (la original mezclaba texto blanco y negro sobre un velo blanco translúcido, ilegible). */
.carrusel:not(.galeria-carrusel):not(.carrusel-video) .diapositiva { isolation: isolate; }
.carrusel:not(.galeria-carrusel):not(.carrusel-video) .diapositiva::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 6, 4, .35), rgba(9, 6, 4, .6));
}
.carrusel:not(.galeria-carrusel):not(.carrusel-video) .diapositiva-cont { position: relative; z-index: 1; }
.carrusel:not(.galeria-carrusel):not(.carrusel-video) .diapositiva-desc,
.carrusel:not(.galeria-carrusel):not(.carrusel-video) .diapositiva-desc *:not(.boton) { color: #fff !important; background-color: transparent !important; }
.carrusel:not(.galeria-carrusel):not(.carrusel-video) .diapositiva-desc .boton { border-color: #fff !important; background-color: transparent !important; color: #fff !important; }
.carrusel:not(.galeria-carrusel):not(.carrusel-video) .diapositiva-desc .boton:hover { background-color: #fff !important; color: var(--color-tinta) !important; }
.carrusel:not(.galeria-carrusel):not(.carrusel-video) .diapositiva-texto { max-width: 52em; margin: 0 auto; font-weight: var(--peso-normal); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.carrusel:not(.galeria-carrusel):not(.carrusel-video) .diapositiva-titulo { text-shadow: 0 1px 16px rgba(0, 0, 0, .3); }

/* Botones sobre bandas oscuras: variante clara (el CSS por página fija colores oscuros con !important) */
.sec .fondo-oscuro .boton.boton.boton { border-color: #fff !important; background-color: transparent !important; color: #fff !important; }
.sec .fondo-oscuro .boton.boton.boton:hover { background-color: #fff !important; color: var(--color-tinta) !important; }

/* Texto sobre imagen: sin marco rojo, velo uniforme */
.con-borde { border-width: 0 !important; }
