.elementor-13 .elementor-element.elementor-element-059bdee{--display:flex;}/* Start custom CSS for html, class: .elementor-element-a729159 *//* =============================================
   ESTILOS GENERALES Y COHERENCIA (Morado #663399)
   ============================================= */
   /* Ocultar el título por defecto de la página de WordPress */
.page-title, .entry-title, .post-title {
    display: none !important;
}

.sarnago-wp-wrapper {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Open Sans', sans-serif; /* O la sans-serif de tu tema */
    color: #333 !important;
    line-height: 1.2 !important;
    padding: 2px;
}

/* Título de Página Principal */
.titulo-pagina-principal {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 20px;
}
.titulo-pagina-principal h1 {
    color: #663399 !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 !important;
}

/* Encabezados de Sección (Mismo estilo que Móndidas) */
.articulo-header {
    text-align: center;
    border-bottom: 3px solid #663399 !important;
    margin-bottom: 30px;
    padding-bottom: 10px;
}
.articulo-header h2 { color: #663399 !important; margin: 0 !important; font-size: 2rem !important; }

.seccion-titulo { 
    color: #663399 !important; 
    border-left: 6px solid #663399 !important; 
    padding-left: 20px !important; 
    margin: 50px 0 25px !important;
    font-size: 1.8rem !important;
    font-weight: bold !important;
    clear: both;
}

.cuerpo-texto p {
    margin-bottom: 18px !important;
    font-size: 1.2rem;

    padding-left: 50px !important; 
    padding-right: 50px !important; 
}


/* Personalización barra de scroll */
.carrusel-track::-webkit-scrollbar { height: 8px; }
.carrusel-track::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.carrusel-track::-webkit-scrollbar-thumb { background: #663399; border-radius: 10px; }

.carrusel-track img {
    flex: 0 0 300px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    scroll-snap-align: start;
    border: 1px solid #eee;
}

.caption-carrusel { text-align: center; color: #663399; font-size: 0.9rem; font-style: italic; margin-top: 5px;}
.contenedor-galeria-enlace { text-align: center; margin-top: 25px; }

/* =============================================
   CAJAS Y LISTAS 
   ============================================= */
.glosario-caja {
    background: #fdfbff !important; /* Lavanda de tu web */
    padding: 30px !important;
    border-radius: 10px !important;
    margin: 25px 0 !important;
    border-left: 5px solid #663399;
    font-size: 1.2rem !important;
    line-height: 1.5 !important;

}
.download-box {
    background: #fff;
    border: 2px solid #663399;
    padding: 25px;
    margin-top: 50px;
    text-align: center;
}

.download-box h3 { color: #663399; margin-bottom: 20px; }

.btn-purple {
    display: inline-block;
    background: #663399;
    color: white !important;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 4px;
    margin: 5px;
    font-weight: bold;
}
.btn-purple:hover { background: #4b2471; }


/* =============================================
   LÍNEA DEL TIEMPO (TIMELINE VERTICAL)
   ============================================= */
.timeline-section {
    position: relative;
    padding: 20px 0;
}

.timeline-intro { text-align: center; font-style: italic; color: #555; margin-bottom: 40px; }

/* Línea central */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #663399;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

/* Contenedores de eventos */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* El círculo en la línea */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #fff;
    border: 4px solid #663399;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }

/* Ajuste de círculos para el lado derecho */
.right::after { left: -10px; }

/* El rectángulo de contenido */
.timeline-content {
    padding: 20px 30px;
    background-color: #f3ebf7;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.timeline-date {
    font-weight: bold;
    color: #663399;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Estilos especiales para hitos */
.award-item .timeline-content {
    background-color: #fffbef; /* Color oro suave */
    border: 2px solid #f1c40f;
}
.award-item .timeline-date { color: #f1c40f; }
.award-item::after { border-color: #f1c40f; }

.highlight-item .timeline-content {
    background-color: #663399;
    color: #fff;
}
.highlight-item .timeline-date { color: #fff; }
.highlight-item::after { background-color: #663399; }

/* =============================================
   VÍDEO Y RESUMEN FINAL
   ============================================= */
.summary-section { margin-top: 60px; }
.resumen-isabel { font-style: italic; color: #555; }

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    margin-top: 40px;
}

.video-responsive iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.enlace-video-dron {
    color: #663399 !important;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.1rem;
}
.enlace-video-dron:hover { text-decoration: underline !important; color: #d35400 !important; }

/* =============================================
   RESPONSIVE (MÓVILES)
   ============================================= */
@media screen and (max-width: 768px) {
    .titulo-pagina-principal h1 { font-size: 2.2rem !important; }
    
    /* Timeline a una sola columna */
    .timeline-container::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::before { left: 60px; border: medium solid white; border-width: 10px 10px 10px 0; border-color: transparent white transparent transparent; }
    .left::after, .right::after { left: 21px; }
    .right { left: 0%; }
    
    .carrusel-track img { width: 260px; height: 180px; }
}

/* --- TÍTULO LLAMATIVO --- */
.titulo-llamativo {
    color: #663399 !important;
    font-size: 3.5rem !important;
    font-weight: 100 !important;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 5px !important;
    letter-spacing: -1px;
    text-shadow: 2px 2px 0px rgba(102,51,153,0.1);
}

.subrayado-decorativo {
    width: 100px;
    height: 5px;
    background: #663399;
    margin: 0 auto 50px;
    border-radius: 10px;
}

/* --- BLOQUE INTRO (VÍDEO + TEXTO) --- */
.bloque-intro-moderno {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    border: 1px solid #eee;
}

.video-promo-inicial {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-promo-inicial iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.caja-texto-fundacional {
    padding: 40px;
    background: #fdfbff;
    text-align: center;
    font-size: 1.2rem !important;
    line-height: 1.5 !important;
    padding: 40px;
}

.texto-destacado {
    font-size: 1.3rem !important;
    color: #663399 !important;
    font-style: italic;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
}

.separador-corto {
    width: 800px;
    border: 1px solid #663399;
    margin: 20px auto;
    opacity: 0.3;
    font-size: 1.05rem !important;
}

/* --- GRID DE LOGROS --- */
.grid-logros-moderno {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.item-logro {
    background: #f3ebf7;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #663399;
    font-weight: 600;
    color: #444;
    transition: transform 0.3s ease;
}

.item-logro:hover {
    transform: translateY(-5px);
    background: #663399;
    color: #fff;
}

.item-logro span {
    margin-right: 10px;
    font-size: 1.2rem;
}

.enlace-proyecto-destacado {
    color: #663399 !important; /* Tu morado */
    text-decoration: underline; /* Subrayado para que se sepa que es un link */
    transition: color 0.3s ease;
}

.enlace-proyecto-destacado:hover {
    color: #d35400 !important; /* Cambia a naranja al pasar el ratón */
    text-decoration: none;
}

/* Estilo específico para los enlaces dentro de los premios del Timeline */
.enlace-premio {
    color: #663399 !important; /* Tu morado corporativo */
    font-weight: bold;
    text-decoration: underline; /* Subrayado para indicar que es clicable */
    transition: all 0.2s ease;
}

.enlace-premio:hover {
    color: #d35400 !important; /* Cambia a naranja al pasar el ratón */
    text-decoration: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .titulo-llamativo { font-size: 2.2rem !important; }
    .caja-texto-fundacional { padding: 25px; }
    .texto-destacado { font-size: 1.1rem !important; }
}/* End custom CSS */