@charset "utf-8";
/* CSS Document */
/* =====================================================
   ENCABEZADO - ACTUALIDAD INSTITUCIONAL
   DRTC HUANCAVELICA
   ACTIWEB 2.0
===================================================== */

.drt-actualidad-header {
    width: 100%;
    padding: 25px 15px 30px;
    text-align: center;
}

/* ETIQUETA SUPERIOR */
.drt-actualidad-header__etiqueta {
    display: inline-block;
    margin-bottom: 10px;
    color: #123d75;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 5px;
}

/* LÍNEA DECORATIVA */
.drt-actualidad-header__linea {
    display: block;
    width: 80px;
    height: 3px;
    margin: 0 auto 20px;
    background: #f2b900;
    border-radius: 5px;
}

/* TÍTULO */
.drt-actualidad-header__titulo {
    margin: 0 0 12px;
    color: #123d75;
    font-size: clamp(27px, 3.5vw, 36px);
    font-weight: 800;
    line-height: 1.2;
}

.drt-actualidad-header__titulo span {
    color: #0876d8;
}

/* DESCRIPCIÓN */
.drt-actualidad-header__descripcion {
    max-width: 780px;
    margin: 0 auto;
    color: #64748b;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 575px) {

    .drt-actualidad-header {
        padding: 20px 5px 25px;
    }

    .drt-actualidad-header__etiqueta {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .drt-actualidad-header__linea {
        margin-bottom: 15px;
    }

    .drt-actualidad-header__titulo {
        font-size: 25px;
    }

    .drt-actualidad-header__descripcion {
        font-size: 13px;
        line-height: 1.6;
    }

}

/* =====================================================
   GALERÍA FOTOGRÁFICA - DRTC HUANCAVELICA
   ACTIWEB 2.0
===================================================== */

.drt-galeria {
    width: 100%;
    padding: 15px 0 25px;
}

/* ENCABEZADO */
.drt-galeria__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.drt-galeria__encabezado {
    display: flex;
    align-items: stretch;
    gap: 14px;
    min-width: 0;
}

.drt-galeria__linea {
    display: block;
    flex: 0 0 7px;
    background: #f5bd00;
    border-radius: 5px;
}

.drt-galeria__contenido {
    min-width: 0;
}

.drt-galeria__titulo {
    margin: 0 0 5px;
    color: #123d75;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.2;
}

.drt-galeria__descripcion {
    margin: 0;
    color: #626b7b;
    font-size: 14px;
    line-height: 1.5;
}

.drt-galeria__subrayado {
    display: block;
    width: 95px;
    height: 4px;
    margin-top: 10px;
    background: #0876db;
    border-radius: 5px;
}

/* BOTÓN VER GALERÍA */
.drt-galeria__ver-todo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 11px 17px;
    color: #fff;
    background: linear-gradient(135deg, #0879cf, #064a91);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.drt-galeria__ver-todo span {
    font-size: 23px;
    line-height: 15px;
}

.drt-galeria__ver-todo:hover {
    color: #fff;
    background: #f0ad00;
    transform: translateY(-2px);
}

/* GRID DE ÁLBUMES */
.drt-galeria__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* TARJETA */
.drt-galeria__item {
    display: block;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9edf2;
    border-radius: 15px;
    box-shadow: 0 5px 13px rgba(20, 48, 76, .13);
    text-decoration: none;
    transition: transform .3s ease,
                box-shadow .3s ease;
}

.drt-galeria__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 9px 20px rgba(20, 48, 76, .20);
}

/* IMAGEN */
.drt-galeria__imagen {
    position: relative;
    width: 100%;
    height: 155px;
    overflow: hidden;
    background: #e9eff5;
}

.drt-galeria__imagen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.drt-galeria__item:hover .drt-galeria__imagen img {
    transform: scale(1.06);
}

/* SIN IMAGEN */
.drt-galeria__sin-imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #758399;
    background: linear-gradient(135deg, #edf2f7, #dce6ef);
    font-size: 13px;
}

/* CONTADOR */
.drt-galeria__contador {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    color: #fff;
    background: rgba(12, 39, 70, .85);
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* PIE DEL ÁLBUM */
.drt-galeria__pie {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 55px;
    padding: 10px 12px;
    background: linear-gradient(to bottom, #fff, #f5f7fa);
    border-bottom: 4px solid #f4bd00;
    text-align: center;
}

.drt-galeria__nombre {
    margin: 0;
    color: #123d75;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

/* SIN ÁLBUMES */
.drt-galeria__vacio {
    grid-column: 1 / -1;
    padding: 30px 15px;
    color: #68778a;
    background: #f5f7fa;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

/* TABLETS */
@media (max-width: 991px) {

    .drt-galeria__imagen {
        height: 170px;
    }

}

/* MÓVILES */
@media (max-width: 575px) {

    .drt-galeria {
        padding: 10px 0 20px;
    }

    .drt-galeria__header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .drt-galeria__titulo {
        font-size: 24px;
    }

    .drt-galeria__descripcion {
        font-size: 13px;
    }

    .drt-galeria__ver-todo {
        padding: 9px 14px;
    }

    .drt-galeria__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .drt-galeria__imagen {
        height: 125px;
    }

    .drt-galeria__nombre {
        font-size: 11px;
    }

    .drt-galeria__pie {
        min-height: 53px;
        padding: 8px 5px;
    }

    .drt-galeria__contador {
        top: 7px;
        right: 7px;
        padding: 5px 8px;
        font-size: 10px;
    }

}

/* PANTALLAS MUY PEQUEÑAS */
@media (max-width: 360px) {

    .drt-galeria__grid {
        grid-template-columns: 1fr;
    }

    .drt-galeria__imagen {
        height: 180px;
    }

}

/* FACEBOOK - DRTC HUANCAVELICA */

.drt-facebook {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding: 0;
}

.drt-facebook__iframe {
    display: block;
    width: 500px;
    max-width: 100%;
    height: 850px;
    border: none;
    overflow: hidden;
}

/* MÓVILES */
@media (max-width: 575px) {

    .drt-facebook__iframe {
        width: 100%;
        height: 800px;
    }

}