/*
 * Core 12 · páginas antiguas hechas con Colibri (Somos, Por qué VCTH, Monitores…).
 * Solo se carga en páginas cuyo contenido trae el marcado de Colibri. Coloca la
 * rejilla, las fotos, las pestañas y los sliders con el diseño de Core 12 hasta
 * que cada página se pase a bloques. Sin !important salvo donde Colibri escribe
 * estilos en línea [L].
 */
.dc-legacy { font-family: var(--dc-font-body); color: var(--dc-text, #334155); font-size: 17px; line-height: 1.65; }
.dc-legacy :is(p, li, span, div, td) { font-family: inherit; }
.dc-legacy :is(font, [style*="font-family"]) { font-family: inherit !important; } /* [L] */
.dc-legacy [style*="font-size: 1"], .dc-legacy [style*="font-size:1"] { font-size: inherit !important; } /* [L] tamaños de letra antiguos en línea */
.dc-legacy :is(h1, h2, h3, h4) { font-family: var(--dc-font-display); color: var(--dc-ink); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
.dc-legacy h1 { font-size: clamp(32px, 4vw, 48px); }
.dc-legacy h2 { font-size: clamp(26px, 3vw, 38px); }
.dc-legacy h3 { font-size: clamp(20px, 2vw, 25px); }
.dc-legacy p { margin: 0 0 1em; }
.dc-legacy a { color: var(--dc-link); }
.dc-legacy img { max-width: 100%; height: auto; border-radius: 14px; }

/* Rejilla de Colibri: secciones → filas → columnas */
.dc-legacy .h-section { position: relative; padding: clamp(28px, 5vw, 64px) 0; }
.dc-legacy .h-section-grid-container,
.dc-legacy .h-section-boxed-container { width: 100%; max-width: var(--dc-wrap, 1200px); margin: 0 auto; }
.dc-legacy .h-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; margin: 0; }
.dc-legacy .h-column:not(.md-control) { flex: 1 1 0; min-width: 0; display: flex; }
.dc-legacy .h-column__inner, .dc-legacy .h-column__content, .dc-legacy .h-y-container { width: 100%; }
.dc-legacy :is(.h-col-lg-auto, .h-col-auto):not(.md-control) { flex: 1 1 0; }
.dc-legacy .h-col-lg-12, .dc-legacy .h-col-12 { flex: 0 0 100%; }
.dc-legacy .h-col-lg-6 { flex: 1 1 calc(50% - 24px); }
.dc-legacy .h-col-lg-4 { flex: 1 1 calc(33.333% - 24px); }
.dc-legacy .h-col-lg-3 { flex: 1 1 calc(25% - 24px); }
.dc-legacy .h-col-lg-8 { flex: 1 1 calc(66.666% - 24px); }
.dc-legacy .h-col-lg-9 { flex: 1 1 calc(75% - 24px); }
.dc-legacy .h-heading__outer, .dc-legacy .h-text, .dc-legacy .h-lead { margin: 0 0 14px; }
.dc-legacy .h-lead { font-size: 1.12em; color: var(--dc-ink); }
.dc-legacy .h-text[style], .dc-legacy .h-lead[style] { text-align: left !important; } /* [L] justificados antiguos */

/* Capas decorativas de Colibri que sin su plugin solo tapan */
.dc-legacy :is(.overlay-layer, .overlay-image-layer, .background-layer, .resize-triggers, .h-separator, .shape-layer) { display: none; }
.dc-legacy .h-image__frame-container-outer, .dc-legacy .h-image__frame-container { position: relative; }
.dc-legacy .h-image__frame { display: none; }

/* Botones */
.dc-legacy .h-button, .dc-legacy a.h-button__button, .dc-legacy .h-button__button { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; background: var(--dc-accent); color: var(--dc-accent-ink, #fff); font-weight: 800; text-decoration: none; border: 0; }

/* Pestañas de Colibri */
.dc-legacy .h-tabs-navigation { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; }
.dc-legacy .h-tabs-navigation-item { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--dc-line); border-radius: 999px; background: #fff; color: var(--dc-ink); font-weight: 700; cursor: pointer; text-decoration: none; }
.dc-legacy .h-tabs-navigation-active-item { background: var(--dc-ink); border-color: var(--dc-ink); color: #fff; }
.dc-legacy .h-svg-icon { width: 18px; height: 18px; }

/* Sliders de Colibri (sin su JavaScript): carrusel horizontal que se desliza */
.dc-legacy .h-slider .swiper-wrapper { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.dc-legacy .h-slider .h-slider-item, .dc-legacy .h-slider .swiper-slide { flex: 0 0 min(80%, 420px); scroll-snap-align: start; }
.dc-legacy :is(.h-swiper-dots__outer, .h-swiper-arrow__outer) { display: none; }

@media (max-width: 781px) {
	.dc-legacy .h-row { flex-direction: column; gap: 16px; }
	.dc-legacy .h-column:not(.md-control) { flex: 1 1 auto; width: 100%; }
	.dc-legacy .h-section { padding: 28px 0; }
	.dc-legacy { font-size: 16px; }
}

/* Colibri escribía alturas mínimas y márgenes enormes en línea: fuera los huecos. */
.dc-legacy [style*="min-height"] { min-height: 0 !important; } /* [L] */
.dc-legacy .h-section-global-spacing { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(24px, 4vw, 48px); }
.dc-legacy .md-template { font-size: 16px; } /* el buscador de MARGA no hereda la rejilla de Colibri */
