/*
 Theme Name:   Astra Child - Argos Devs
 Description:  Tema hijo para UNAMOS, optimizado por Argos.
 Author:       Argos Devs
 Template:     astra
 Version:      1.0.0
*/

/* Estilo del texto estático */
.hero-static-text {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-align: center !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Estilo del texto animado (Naranja Unamos) */
#wolf-animated-text {
    color: #F88D11 !important;
    display: inline-block !important;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

@media (max-width: 767px) {
    .hero-static-text {
        font-size: 1.5rem !important;
        padding: 0 15px !important;
    }
}

/* Efectos de la animación */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

/* 2. FLECHAS Y BULLETS (Reparados) */
.argos-wrapper-outer {
    position: relative;
    padding: 0 50px 60px 50px !important;
    /* Más espacio lateral e inferior */
    width: 100%;
    box-sizing: border-box;
    --swiper-navigation-color: #FF8C00;
    --swiper-navigation-size: 20px;
    --swiper-theme-color: #FF8C00;
    --swiper-pagination-color: #FF8C00;
}

.argos-slider-master {
    overflow: hidden !important;
    padding-bottom: 10px !important;
    height: 900px !important;
    /* Altura explícita requerida por Swiper Grid para 2 filas */
}

@media (max-width: 767px) {
    .argos-slider-master {
        height: 950px !important;
        /* Más margen en móvil por si el texto crece */
    }
}

/* Diseño súper mejorado para las flechas */
.argos-wrapper-outer .argos-next,
.argos-wrapper-outer .argos-prev {
    color: #FF8C00 !important;
    top: 40% !important;
    /* Alineado visualmente con la imagen */
    margin-top: -22px !important;
    /* Centrado perfecto de la altura 44px */
    width: 44px !important;
    height: 44px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.argos-wrapper-outer .argos-next:hover,
.argos-wrapper-outer .argos-prev:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

/* Ajustando los íconos de adentro usando ::after nativo de Swiper */
.argos-wrapper-outer .argos-next::after,
.argos-wrapper-outer .argos-prev::after {
    font-size: 20px !important;
    font-weight: bold !important;
}

.argos-wrapper-outer .argos-next {
    right: 0px !important;
}

.argos-wrapper-outer .argos-prev {
    left: 0px !important;
}

/* Paginación - Puntos */
.argos-wrapper-outer .argos-pagination {
    bottom: 15px !important;
    /* Más separación del borde inferior y de las tarjetas */
}

/* 3. ESTRUCTURA DE LA TARJETA */
.argos-wrapper-outer .argos-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    transition: transform 0.3s ease;
}

.argos-wrapper-outer .argos-card a,
.argos-wrapper-outer .argos-card a:hover {
    text-decoration: none !important;
}

.argos-wrapper-outer .argos-card a:hover h3.argos-title {
    text-decoration: underline !important;
}

.argos-wrapper-outer .argos-card:hover {
    transform: translateY(-5px);
}

.argos-img-wrapper {
    height: 160px;
    position: relative;
    overflow: hidden;
    display: block;
    background: #f4f4f4;
}

/* ── BADGE DE TIPO DE CONTENIDO (Video / Nota) ─────────────────── */
.argos-media-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Video: fondo rojo YouTube con icono blanco */
.argos-badge-video {
    background: rgba(255, 0, 0, 0.88);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.45);
}

/* Nota: fondo azul corporativo con icono blanco */
.argos-badge-nota {
    background: rgba(0, 51, 153, 0.82);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 51, 153, 0.35);
}

/* Micro-animación al hacer hover en la tarjeta */
.argos-wrapper-outer .argos-card:hover .argos-media-badge {
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 102, 0, 0.85);
    /* Un naranja similar al de 'PROGRESO' en tu PDF */
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 2;
    transition: all 0.3s ease;
    pointer-events: none;
    /* Para que el clic pase a la imagen/enlace */
}

/* Efecto Hover para darle vida */
.argos-wrapper-outer .argos-card:hover .play-overlay {
    background: #000;
    transform: translate(-50%, -50%) scale(1.1);
}

.argos-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.argos-body {
    padding: 15px;
}

/* 4. TIPOGRAFÍA
/* Título */
.argos-wrapper-outer .argos-card h3.argos-title,
.argos-wrapper-outer .argos-card a h3.argos-title {
    font-size: 18px !important;
    /* Letras regresadas a 18px */
    font-weight: 700 !important;
    font-family: 'Bebas Neue', sans-serif !important;
    line-height: 1.3em !important;
    text-transform: uppercase !important;
    color: #003399 !important;
    margin: 8px 0 !important;
    height: 47px !important;
    /* 18px * 1.3 = 23.4px, 2 lineas = ~47px */
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    -moz-box-orient: vertical !important;
    text-align: left !important;
}

/* Fecha y Extracto */
.argos-wrapper-outer .argos-card .argos-date,
.argos-wrapper-outer .argos-card .argos-excerpt {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #364151 !important;
    margin-bottom: 10px !important;
    display: block !important;
    text-align: left !important;
}

.argos-wrapper-outer .argos-card .argos-date {
    margin-bottom: 5px !important;
    color: #666 !important;
}

.argos-wrapper-outer .argos-card .argos-link {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #003399 !important;
    text-align: left !important;
    display: block !important;
}

/* --- HERO CLEANUP --- */
.argos-hero-section {
    background-color: #1a1a1a !important;
    /* Fondo sólido como pediste */
    padding: 100px 20px !important;
    text-align: center;
}

.argos-hero-section h2 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 10px;
}

/* --- GRID 3+2 (ENGINEER METHOD) --- */
.argos-grid-container .elementor-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columnas base */
    gap: 20px;
}

/* Ajuste para los últimos 2 items (centrado real) */
@media (min-width: 1025px) {
    .argos-value-item:nth-child(4) {
        grid-column: 1 / 2;
        margin-left: 50%;
        /* Desfase calculado */
    }

    .argos-value-item:nth-child(5) {
        grid-column: 2 / 3;
        margin-left: 50%;
    }
}

/* Responsivo: 2 columnas en Tablet, 1 en Móvil */
@media (max-width: 1024px) {
    .argos-grid-container .elementor-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .argos-grid-container .elementor-container {
        grid-template-columns: 1fr;
    }
}

.contenedor-icono-gradiente {
    /* 1. Dimensiones y Forma */
    width: 100px;
    /* Ajusta el tamaño que necesites */
    height: 100px;
    /* Debe ser igual al width */
    border-radius: 50%;
    /* Esto lo hace un círculo perfecto */

    /* 2. El Gradiente Naranja (Ajusta los colores a tu gusto) */
    /* Un naranja brillante a uno más oscuro/rojizo */
    background: linear-gradient(135deg, #ff9a44 0%, #fc6076 100%);

    /* 3. Centrado del icono PNG interior */
    display: flex;
    justify-content: center;
    align-items: center;

    /* 4. Sombra opcional para dar profundidad (tipo caja de icono) */
    box-shadow: 0 4px 15px rgba(252, 96, 118, 0.3);

    /* 5. Espaciado interno para que el PNG no toque los bordes */
    padding: 20px;
    /* Ajusta según el tamaño de tu PNG */
}

/* Asegurar que la imagen PNG se ajuste dentro sin deformarse */
.contenedor-icono-gradiente img {
    max-width: 100%;
    height: auto;
    display: block;
}

.seccion-propuestas {
    background-color: #0D3357;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.cabecera-propuestas {
    margin-bottom: 60px;
}

.tagline {
    color: #ff8c00;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 14px;
}

.titulo-seccion {
    font-size: 40px;
    font-weight: 800;
    margin-top: 10px;
}

.grid-propuestas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-propuesta {
    background: #0D3357;
    /* Un gris ligeramente más claro que el fondo */
    padding: 40px 20px;
    border-radius: 15px;
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.card-propuesta:hover {
    transform: translateY(-10px);
    border-color: #ff8c00;
}

.contenedor-icono {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Para que la imagen se recorte en círculo */
    background: linear-gradient(135deg, #ff9a44 0%, #fc6076 100%);
    border: 3px solid #ff8c00;
}

.contenedor-icono img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Esto hace que tus imágenes actuales rellenen el círculo */
    filter: grayscale(20%);
    /* Un toque elegante */
}

.card-propuesta h3 {
    color: #3366cc;
    /* Azul corporativo */
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.card-propuesta p {
    color: #bbb;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 50px;
}

.boton-ver {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid #ff8c00;
    color: #ff8c00;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.boton-ver:hover {
    background-color: #ff8c00;
    color: #fff;
}

@media (max-width: 768px) {
    .grid-propuestas {
        grid-template-columns: 1fr;
    }
}

.paneles-intro-glass {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    border: 1px solid #e0dacc;
    /* Borde sutil que combina con el crema */
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    /* Texto oscuro para legibilidad */
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 50px;
    backdrop-filter: none;
    /* Quitamos el glass */
}

.contenedor-paneles-glass {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.panel-horizontal-glass {
    background: #ffffff;
    /* Blanco sólido */
    border-radius: 12px;
    padding: 50px;
    border: 1px solid #e5e0d5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: none;
    /* Quitamos el glass */
    -webkit-backdrop-filter: none;
    position: relative;
    overflow: hidden;
}

/* Añadimos un acento lateral para que no se vea plano */
.panel-horizontal-glass::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    background-color: #ff8c00;
    /* Naranja corporativo */
}

.panel-horizontal-glass:hover {
    transform: translateX(10px);
    /* Efecto de desplazamiento lateral */
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: #ff8c00;
}

.cabecera-panel {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.numero-panel {
    font-size: 28px;
    font-weight: 900;
    color: #ff8c00;
    background: #fff5eb;
    /* Naranja muy pálido de fondo */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #ff8c00;
}

.panel-horizontal-glass h3 {
    color: #1a1a1a;
    /* Negro para títulos */
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contenido-panel {
    color: #333;
    /* Texto oscuro para máxima legibilidad */
    font-size: 17px;
    line-height: 1.8;
    text-align: left;
    /* Izquierda es más fácil de leer que justificado */
}

.contenido-panel p {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .cabecera-panel {
        flex-direction: row;
        /* Mantenemos horizontal en móvil si el título es corto */
        text-align: left;
    }

    .panel-horizontal-glass {
        padding: 30px;
    }

    .numero-panel {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

}

.boton-registro {
    display: table;
    margin: 0 auto;
    background-color: #ff8c00;
    color: black;
    padding: 20px 50px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.boton-registro:hover {
    background-color: #e67e00;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
    color: #fff;
}

.nota-seguridad {
    margin-top: 25px;
    font-size: 13px;
    color: #999;

}

.link-contacto {
    font-size: 22px;
    color: #ff8c00;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.link-contacto:hover {
    color: #1a1a1a;
}

.bloque-telegram a {
    text-decoration: underline;
}

/* ── REPRODUCTOR DE VIDEO EN POST INDIVIDUAL ────────────────────── */
.argos-video-player {
    margin-bottom: 32px;
}

/* Técnica padding-bottom para mantener ratio 16:9 en cualquier ancho */
.argos-video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #000;
}

.argos-video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}