﻿:root {
    --color-primary: #4a4a49;
    --color-accent: #fab800;
    --color-accent-dk: #c99000;
    --color-white: #ffffff;
    --color-dark: #000000;
    --color-dropdown: #3d3d3c;
    --color-dropdown-hover: #333332;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Footer siempre al pie */
html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

form#formmain {
    flex: 1;
}

/* =============================================
         HEADER — BARRA DE LOGOS
============================================= */
.site-header {
    width: 100%;
    background-color: var(--color-white);
    border-bottom: 3px solid var(--color-accent);
}

.header-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

    .header-logos .logo-left,
    .header-logos .logo-right {
        display: flex;
        align-items: center;
    }

    .header-logos img {
        max-height: 83px;
        width: auto;
        display: block;
    }

/* =============================================
           NAVBAR PRINCIPAL
============================================= */
.site-navbar {
    background-color: var(--color-primary);
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    /* Agrega estas dos líneas si el problema persiste */
    position: relative;
    z-index: 1000;
}

    /* Botón hamburguesa */
    .site-navbar .navbar-toggle {
        background-color: var(--color-accent);
        border: none;
        border-radius: 4px;
        margin: 8px 0;
        padding: 8px 12px;
        float: right;
    }

        .site-navbar .navbar-toggle .icon-bar {
            background-color: var(--color-dark);
            display: block;
            width: 22px;
            height: 2px;
            margin: 5px 0;
            border-radius: 1px;
        }

        .site-navbar .navbar-toggle:hover,
        .site-navbar .navbar-toggle:focus {
            background-color: var(--color-accent-dk);
        }

    /* Links del menú */
    .site-navbar .navbar-nav > li > a {
        color: var(--color-white) !important;
        font-weight: 600;
        font-size: 16px;
        padding: 18px 18px;
        display: flex;
        align-items: center;
        gap: 6px;
        border-bottom: 3px solid transparent;
        transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
        letter-spacing: 0.3px;
    }

        .site-navbar .navbar-nav > li > a:hover,
        .site-navbar .navbar-nav > li > a:focus {
            background-color: var(--color-accent) !important;
            color: var(--color-dark) !important;
            border-bottom-color: var(--color-accent-dk);
        }

    .site-navbar .navbar-nav > li.activo > a,
    .site-navbar .navbar-nav > li.active > a {
        background-color: var(--color-accent);
        color: var(--color-dark) !important;
        border-bottom-color: var(--color-accent-dk);
    }

    .site-navbar .navbar-nav > li > a .fa {
        font-size: 13px;
    }

    /* =============================================
           DROPDOWN
        ============================================= */
    .site-navbar .dropdown-menu {
        background-color: var(--color-dropdown);
        border: none;
        border-radius: 0 0 6px 6px;
        border-top: 2px solid var(--color-accent);
        padding: 6px 0;
        min-width: 200px;
        margin-top: 0;
        z-index: 9999 !important;
        /* Animación de entrada */
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        display: block !important;
    }

    /* Activar con hover o clase .open de Bootstrap */
    .site-navbar .dropdown:hover > .dropdown-menu,
    .site-navbar .dropdown.open > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Animación escalonada de ítems */
    .site-navbar .dropdown-menu > li {
        opacity: 0;
        transform: translateX(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .site-navbar .dropdown:hover > .dropdown-menu > li:nth-child(1),
    .site-navbar .dropdown.open > .dropdown-menu > li:nth-child(1) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.05s;
    }

    .site-navbar .dropdown:hover > .dropdown-menu > li:nth-child(2),
    .site-navbar .dropdown.open > .dropdown-menu > li:nth-child(2) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.11s;
    }

    .site-navbar .dropdown:hover > .dropdown-menu > li:nth-child(3),
    .site-navbar .dropdown.open > .dropdown-menu > li:nth-child(3) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.17s;
    }

    .site-navbar .dropdown:hover > .dropdown-menu > li:nth-child(4),
    .site-navbar .dropdown.open > .dropdown-menu > li:nth-child(4) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.23s;
    }

    .site-navbar .dropdown:hover > .dropdown-menu > li:nth-child(5),
    .site-navbar .dropdown.open > .dropdown-menu > li:nth-child(5) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.29s;
    }

    /* Ítems del dropdown */
    .site-navbar .dropdown-menu > li > a {
        color: #e8e8e8 !important;
        padding: 10px 20px;
        font-size: 16px;
        font-weight: 500;
        display: block;
        border-left: 3px solid transparent;
        transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease, border-color 0.2s ease;
    }

        .site-navbar .dropdown-menu > li > a .fa {
            margin-right: 6px;
            color: var(--color-accent);
            font-size: 12px;
        }

        .site-navbar .dropdown-menu > li > a:hover {
            background-color: var(--color-accent) !important;
            color: var(--color-dark) !important;
            padding-left: 28px;
            border-left-color: var(--color-accent-dk);
        }

            .site-navbar .dropdown-menu > li > a:hover .fa {
                color: var(--color-dark);
            }

    /* Divisor */
    .site-navbar .dropdown-menu .divider {
        height: 1px;
        margin: 4px 0;
        background-color: #5a5a59;
    }
/* Asegura que el menú no salte de línea en pantallas grandes */
@media (min-width: 1200px) {
    /* Permitimos que el menú use el 100% del ancho si lo necesita en pantallas grandes */
    .site-navbar .col-sm-10 {
        width: 100% !important;
        margin-left: 0 !important;
        left: 0 !important;
    }
}
/* Optimización específica para pantallas muy anchas (TV 65") */
@media (min-width: 1600px) {
    .site-navbar .navbar-nav > li > a {
        padding: 18px 15px; /* Reducimos ligeramente el padding lateral si es necesario */
        font-size: 16px; /* Mantenemos un tamaño legible pero controlado */
        white-space: nowrap; /* Evita que el texto del botón se rompa en dos líneas */
    }

        

    .site-navbar .col-sm-10 {
        width: 100%; /* Permitimos que use más espacio si es necesario */
        margin-left: 0;
        left: 0;
    }
}

/* Ajustes para pantallas gigantes (TVs / Monitores 4K) */
@media (min-width: 1920px) {
    .site-navbar .navbar-nav > li > a {
        font-size: 20px; /* Aumentamos el tamaño de letra */
        padding: 22px 25px; /* Más espacio para los botones */
    }

    .site-navbar .dropdown-menu {
        min-width: 250px; /* Dropdowns más anchos para mejor lectura */
    }

        .site-navbar .dropdown-menu > li > a {
            font-size: 18px;
            padding: 12px 25px;
        }
}


/* =============================================
           RESPONSIVE — TABLET (768px - 991px)
        ============================================= */
@media (max-width: 991px) and (min-width: 768px) {
    .site-navbar .navbar-nav > li > a {
        padding: 18px 12px;
        font-size: 13px;
    }
}

/* Ajuste en el bloque responsive que ya tienes */
@media (max-width: 991px) {
    .site-navbar .navbar-nav > li > a {
        font-size: 15px !important; /* Un poco más grande para ser legible en TV y tablets */
    }
}

/* Asegura el centrado del menú en pantallas de escritorio */
@media (min-width: 768px) {
    .site-navbar .navbar-collapse {
        text-align: center;
    }

    .site-navbar .navbar-nav {
        display: inline-block;
        float: none;
        vertical-align: top;
    }
}

/* =============================================
           RESPONSIVE — MÓVIL (max 767px)
        ============================================= */
@media (max-width: 767px) {

    /* Logos */
    .header-logos {
        padding: 8px 0;
    }

        .header-logos img {
            max-height: 42px;
        }
	.logo-right {
        display: none !important;
        
    }
	  #imgCentral {
		  margin-left: auto;
		  display: flex;
		  justify-content: flex-end;
		  margin-left: 100px;
	  }
    /* Menú mobile */
    .site-navbar .navbar-collapse {
        border-top: 2px solid var(--color-accent);
        padding: 0;
    }

    .site-navbar .navbar-nav {
        margin: 0;
    }

        .site-navbar .navbar-nav > li > a {
            padding: 13px 18px;
            font-size: 13px;
            border-bottom: 1px solid rgba(255,255,255,0.07);
            border-left: 3px solid transparent;
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .site-navbar .navbar-nav > li > a:hover,
            .site-navbar .navbar-nav > li.activo > a {
                border-left-color: var(--color-accent-dk);
                border-bottom-color: rgba(255,255,255,0.07);
            }

    /* Dropdown en móvil: estático, sin animación flotante */
    .site-navbar .dropdown-menu {
        position: static !important;
        float: none;
        background-color: var(--color-dropdown-hover) !important;
        border-top: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
        padding: 0;
        border-radius: 0;
        min-width: 100%;
        box-shadow: none;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

        .site-navbar .dropdown-menu > li {
            opacity: 1 !important;
            transform: none !important;
        }

            .site-navbar .dropdown-menu > li > a {
                padding: 11px 32px !important;
                font-size: 13px;
                border-left: none !important;
            }

                .site-navbar .dropdown-menu > li > a:hover {
                    padding-left: 38px !important;
                }
}

/* =============================================
           CAROUSEL
        ============================================= */
#myCarousel {
    margin-bottom: 0;
}

    #myCarousel .carousel-inner .item img {
        width: 100%;
        height: auto;
        max-height: none;
        display: block;
        object-fit: contain;
    }

    /* Y para asegurar que el contenedor no corte la imagen */
    #myCarousel .carousel-inner {
        height: auto !important;
    }

    #myCarousel .carousel-control {
        background: none;
        opacity: 0.7;
    }

        #myCarousel .carousel-control:hover {
            opacity: 1;
        }

    #myCarousel .carousel-indicators li {
        border-color: var(--color-accent);
    }

        #myCarousel .carousel-indicators li.active {
            background-color: var(--color-accent);
        }

    #myCarousel .carousel-control:hover span {
        color: #fab800 !important;
        text-shadow: none !important;
        transition: color 0.2s ease;
    }

 /* =============================================
   FOOTER COMPLETO
============================================= */
footer {
    background-color: #fff;
    border-top: 1px solid #ddd;
    margin-top: auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- Barra superior: enlaces servidor público --- */
.footer-top {
    background-color: #2c2c2c;
    padding: 10px 0;
    text-align: center;
}

.footer-top-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px 0;
    letter-spacing: 0.3px;
}

.footer-top-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 24px;
}

    .footer-top-links li a {
        color: #ccc;
        font-size: 13px;
        text-decoration: none;
        transition: color 0.2s;
    }

        .footer-top-links li a:hover {
            color: #fab800;
        }

/* --- Zona central --- */
.footer-mid {
    background-color: #fff;
    padding: 28px 0 20px;
}

/* Redes sociales */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

    .footer-social a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: #2c2c2c;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        text-decoration: none;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

        .footer-social a:hover {
            background-color: #fab800;
            color: #000;
            transform: translateY(-2px);
        }

/* Contacto */
.footer-contact {
    text-align: center;
    margin-bottom: 20px;
}

    .footer-contact p {
        font-size: 13px;
        color: #555;
        margin: 2px 0;
    }

    .footer-contact strong {
        color: #333;
    }

/* Logos */
.footer-logos-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 0;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo-item img {
    max-height: 55px;
    width: auto;
}

/* --- Barra inferior: copyright --- */
.footer-bottom {
    background-color: #2c2c2c;
    padding: 10px 0;
    text-align: center;
}

    .footer-bottom p {
        color: #aaa;
        font-size: 13px;
        margin: 0;
    }

/* --- Responsive móvil --- */
@media (max-width: 767px) {
    .footer-top-links {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }

    .footer-logos-row {
        justify-content: center;
    }

    .footer-logo-item img {
        max-height: 40px;
    }
}

/* =============================================
   VIDEO TUTORIAL — SECCIÓN TECNOLÓGICA
============================================= */
.video-section {
    background: linear-gradient(135deg, #4a4a49 55%, #3d2e00 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

    /* Líneas diagonales de fondo */
    .video-section::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        width: 200%;
        height: 120%;
        background-image: repeating-linear-gradient( 20deg, transparent, transparent 120px, rgba(250,184,0,0.06) 120px, rgba(250,184,0,0.06) 121px );
        pointer-events: none;
    }

    /* Círculo decorativo esquina superior izquierda */
    .video-section::after {
        content: '';
        position: absolute;
        top: -60px;
        left: -60px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        border: 1px solid rgba(250,184,0,0.1);
        pointer-events: none;
    }

/* Círculo decorativo esquina inferior derecha */
.video-section-circle {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(250,184,0,0.1);
    pointer-events: none;
}

/* Puntos LED esquinas */
.video-section-dots {
    position: absolute;
    display: flex;
    gap: 8px;
    pointer-events: none;
}

    .video-section-dots.top-left {
        top: 14px;
        left: 14px;
    }

    .video-section-dots.bottom-right {
        bottom: 14px;
        right: 14px;
    }

    .video-section-dots span {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #fab800;
    }

        .video-section-dots span:nth-child(1) {
            opacity: 0.35;
        }

        .video-section-dots span:nth-child(2) {
            opacity: 0.22;
        }

        .video-section-dots span:nth-child(3) {
            opacity: 0.14;
        }

/* Separador superior con rombo */
.video-section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

    .video-section-divider .line {
        height: 1px;
        width: 60px;
    }

        .video-section-divider .line.left {
            background: linear-gradient(to right, transparent, #fab800);
        }

        .video-section-divider .line.right {
            background: linear-gradient(to left, transparent, #fab800);
        }

    .video-section-divider .diamond {
        width: 6px;
        height: 6px;
        background: #fab800;
        transform: rotate(45deg);
        margin: 0 10px;
    }

    .video-section-divider .label {
        font-family: monospace;
        font-size: 11px;
        color: #fab800;
        letter-spacing: 4px;
        opacity: 0.8;
        margin: 0 10px;
    }

/* Título y subtítulo */
.video-section-title {
    color: #fab800;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 1px;
    margin: 0 0 6px 0;
}

.video-section-subtitle {
    color: #ccc;
    font-size: 14px;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Caja del video */
.video-box {
    background: rgba(0,0,0,0.35);
    padding: 50px 20px;
    border: 1px solid rgba(250,184,0,0.3);
    border-radius: 6px;
    text-align: center;
    box-shadow: inset 0 0 30px rgba(250,184,0,0.04);
}

    .video-box i {
        color: #fab800;
        opacity: 0.85;
        margin-bottom: 14px;
        display: block;
    }

    .video-box p {
        margin: 0;
        font-size: 14px;
        color: #bbb;
        letter-spacing: 0.5px;
    }

/* ===========================================
    Contenedor elegante para el video 
============================================== */
.video-player-container {
    position: relative;
    background: #000;
    border-radius: 8px; /* Bordes redondeados modernos */
    border: 2px solid #444; /* Borde base gris oscuro */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 15px rgba(250, 184, 0, 0.2); /* Sombra con un toque amarillo */
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    /* Efecto cuando el usuario pasa el mouse cerca */
    .video-player-container:hover {
        border-color: #fab800; /* El borde se ilumina en amarillo */
        transform: translateY(-5px); /* Pequeña elevación */
    }

    /* Ajuste del reproductor */
    .video-player-container video {
        display: block;
        outline: none;
        cursor: pointer;
    }
    
/* =============================================
   TÍTULO PRINCIPAL — SECCIÓN
============================================= */
.titulo-section {
    background: linear-gradient(135deg, #4a4a49 55%, #3d2e00 100%);
    padding: 28px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .titulo-section::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        width: 200%;
        height: 120%;
        background-image: repeating-linear-gradient( 20deg, transparent, transparent 120px, rgba(250,184,0,0.06) 120px, rgba(250,184,0,0.06) 121px );
        pointer-events: none;
    }

    .titulo-section h3 {
        font-style: italic;
        font-weight: 600;
        color: #fab800;
        margin: 0;
        font-size: 20px;
        position: relative;
        z-index: 1;
    }


/* =============================================
   BREADCRUMB
============================================= */
.breadcrumb-section {
    background-color: #f7f7f7;
    border-bottom: 2px solid #fab800;
    padding: 8px 0;
}

.breadcrumb-custom {
    background: none;
    margin: 0;
    padding: 4px 0;
    font-size: 13px;
}

    .breadcrumb-custom > li + li::before {
        color: #fab800;
    }

    .breadcrumb-custom a {
        color: #4a4a49;
        font-weight: 600;
    }

        .breadcrumb-custom a:hover {
            color: #fab800;
        }

    .breadcrumb-custom > .active {
        color: #fab800;
    }

/* =============================================
   SECCIONES — FONDOS
============================================= */
.section-dark {
    background: linear-gradient(135deg, #4a4a49 60%, #3a3a38 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

    .section-dark::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 200%;
        height: 100%;
        background-image: repeating-linear-gradient( 20deg, transparent, transparent 120px, rgba(250,184,0,0.04) 120px, rgba(250,184,0,0.04) 121px );
        pointer-events: none;
    }

.section-light {
    background-color: #fff;
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}

.section-accent {
    background: linear-gradient(135deg, #3d2e00 0%, #4a4a49 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

    .section-accent::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 200%;
        height: 100%;
        background-image: repeating-linear-gradient( 20deg, transparent, transparent 120px, rgba(250,184,0,0.05) 120px, rgba(250,184,0,0.05) 121px );
        pointer-events: none;
    }

/* =============================================
   ENCABEZADOS
============================================= */
.section-header-line {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.section-title-light {
    color: #fab800;
    font-weight: 700;
    /*font-size: 22px;*/
    margin: 0 0 8px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(250,184,0,0.3);
}

.section-title-dark {
    color: #4a4a49;
    font-weight: 700;
    /*font-size: 22px;*/
    margin: 0 0 8px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #fab800;
}

/* =============================================
   TEXTOS
============================================= */
.text-light-muted {
    color: #ddd;
    font-size: 15px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.text-dark-muted {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

/* =============================================
   IMÁGENES
============================================= */
.img-placeholder-box {
    position: relative;
    z-index: 1;
}

    .img-placeholder-box img {
        width: 100%;
        border: 3px solid rgba(250,184,0,0.3);
        border-radius: 6px;
    }

.img-icon-placeholder {
    background: rgba(0,0,0,0.15);
    border: 2px dashed rgba(250,184,0,0.3);
    border-radius: 6px;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* =============================================
   TARJETAS EQUIPO
============================================= */
.team-card {
    background: #fff;
    border: 1px solid #eee;
    border-top: 3px solid #fab800;
    border-radius: 0 0 6px 6px;
    padding: 20px 16px;
    margin-bottom: 20px;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    .team-card:hover {
        box-shadow: 0 4px 16px rgba(250,184,0,0.15);
        transform: translateY(-3px);
    }

.team-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #4a4a49;
    color: #fab800;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border: 2px solid #fab800;
}

.team-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.team-role {
    font-size: 13px;
    color: #888;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.team-email {
    font-size: 12px;
    color: #fab800;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s;
}

    .team-email:hover {
        color: #4a4a49;
    }

    .team-email i {
        margin-right: 4px;
    }

/* =============================================
   UBICACIÓN
============================================= */
.ubicacion-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

    .ubicacion-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 0;
        border-bottom: 1px solid rgba(250,184,0,0.15);
        color: #ddd;
        font-size: 14px;
    }

        .ubicacion-list li:last-child {
            border-bottom: none;
        }

        .ubicacion-list li i {
            color: #fab800;
            font-size: 16px;
            margin-top: 2px;
            min-width: 18px;
        }

/* =============================================
   RESPONSIVE MÓVIL
============================================= */
@media (max-width: 767px) {
    .section-dark,
    .section-light,
    .section-accent {
        padding: 30px 0;
    }

    .team-card {
        margin-bottom: 16px;
    }

    .img-placeholder-box {
        margin-top: 20px;
    }

    .img-icon-placeholder {
        padding: 30px 20px;
    }
}


/* =============================================
   DIRECTIVAS
============================================= */
.directiva-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid #fab800;
    border-radius: 0 6px 6px 0;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease;
}

    .directiva-card:hover {
        box-shadow: 0 4px 16px rgba(250,184,0,0.12);
    }

.directiva-badge {
    background-color: #4a4a49;
    color: #fab800;
    font-size: 14px;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 1px;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
}

.directiva-body {
    flex: 1;
}

.directiva-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.5;
}

.directiva-desc {
    font-size: 16px;
    color: #777;
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.directiva-btn {
    display: inline-block;
    background-color: #4a4a49;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

    .directiva-btn:hover {
        background-color: #fab800;
        color: #000 !important;
    }

    .directiva-btn i {
        margin-right: 6px;
    }

/* Móvil */
@media (max-width: 767px) {
    .directiva-card {
        flex-direction: column;
        gap: 12px;
    }

    .directiva-badge {
        min-width: auto;
        align-self: flex-start;
    }
}


.tabs-anio {
    border-bottom: 1px solid #ddd;
}

    .tabs-anio > li > a {
        font-size: 20px;
        border: 1px solid #ddd;
        border-bottom: none;
        margin-right: -1px;
        padding: 10px 18px;
        border-radius: 10px 10px 0 0;
    }

        /* hover + activo */
        .tabs-anio > li > a:hover,
        .tabs-anio > li.active > a,
        .tabs-anio > li.active > a:focus,
        .tabs-anio > li.active > a:hover {
            background: #fab800 !important;
            color: #000 !important;
            border: 1px solid #fab800;
        }


/* =============================================
   INFORMES ESTADÍSTICOS — CONTENIDO TABS
============================================= */
.recent__event {
    background: #fff;
    border: 1px solid #fab800;
    border-left: 6px solid #fab800;
    border-radius: 0 6px 6px 0;
    padding: 16px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
}
    /* contenedor invisible (espacio gris del ejemplo) */
    .recent__event::before {
        content: "";
        position: absolute;
        left: 20px; /* separa del borde */
        top: 12px;
        bottom: 12px;
        width: 4px;
        background: #fab800;
        border-radius: 3px;
    }

    .recent__event:hover {
        box-shadow: 0 4px 16px rgba(250,184,0,0.12);
        transform: translateY(-2px);
    }

/* Imagen de portada */
.event__time img {
    width: 100%;
    border-radius: 4px;
    border: 2px solid #eee;
    transition: border-color 0.2s;
    margin: 0 auto;
    display: block;
}



/* Título del mes */
.event__information h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
}

    .event__information h4 a {
        color: #4a4a49;
        text-decoration: none;
        transition: color 0.2s;
    }

        .event__information h4 a:hover {
            color: #fab800;
        }

/* Texto descriptivo */
.event__information p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
    text-align:justify;
}

/* Separador */
.event__information hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 10px 0;
}

/* Botón de descarga */
.descargar__btn a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #4a4a49;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .descargar__btn a:hover {
        background-color: #fab800;
        color: #000 !important;
    }

    .descargar__btn a i {
        font-size: 14px;
    }

/* Móvil */
@media (max-width: 767px) {
    .recent__event {
        padding: 12px;
    }

    .event__time {
        margin-bottom: 12px;
    }

    .event__information h4 {
        font-size: 14px;
    }
}
/* Usamos un nombre único para evitar conflictos con el menú YO */
.siep-texto-col {
    /* No tocamos el padding lateral aquí para no romper el grid */
    margin-bottom: 0;
}

/* Solo aplicamos el margen cuando las columnas se apilan (móvil) */
@media (max-width: 767px) {
    .siep-texto-col {
        margin-bottom: 30px;
    }
}

/* Creamos un contenedor interno para el espacio, así no afectamos al menú */
.siep-texto-inner {
    padding: 0 20px;
}