/* =========================
   SUBCATEGORIAS - SEGURO CARD
   ========================= */


.seguro-card{
    text-align: center;
}


.seguro-imglink{
    display: block;
    text-decoration: none !important;
}


.seguro-imgbox{
    display: flex;
    justify-content: center;
    align-items: center;
}


.seguro-icon{
    display: block;
    margin: 0 auto;
    height: 80px;
    width: auto;
    object-fit: contain;
}


.seguro-dot{
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0160ba;
    margin: 14px auto 0 auto;
}



.subcats-wrap .seguro-row{
    row-gap: 28px;
}


.subcats-wrap .seguro-col{
    margin-bottom: 28px;
}


.subcats-wrap .seguro-card{
    min-height: 280px;
    padding: 22px 18px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.subcats-wrap .seguro-imgbox{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 14px 0;
    width: 100%;
}


.subcats-wrap .seguro-icon{
    height: 150px;
    width: auto;
    display: block;
    margin: 0 auto;
}


.subcats-wrap .seguro-card .fntletra1{
    margin-top: 4px;
}

.subcats-wrap .seguro-desc{
    margin-top: 6px;
}


.subcats-wrap .seguro-dot{
    margin-top: 14px;
}

.titulo-filtro-left{
    display: block;
    text-align: left;
    color: #e11d2e;          /* rojo fuerte */
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(0,0,0,.15);
    margin: 0;               /* sin espacio extra */
    padding-left: 10px;      /* pegado a la orilla */
}
.titulo-filtro-center{
    display: block;
    text-align: center;
    color: #e11d2e;          /* rojo fuerte */
    font-size: 46px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(0,0,0,.15);
    margin: 0;               /* sin espacio extra */
    padding-left: 10px;      /* pegado a la orilla */
}

/*///////////////////////////////////////////////////////EVENTOS HTML////////////////////////////////////// */
.eventos-banner {
    background-image: url('../../resources/img/fondo_rombo.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 200px;
    vertical-align: middle;
    padding: 100px;
    text-align: center;
}

.historia-wrap {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 28px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    margin-top: 20px;
}

.evento-card {
    background: #ffffff;
    border-radius: 14px;
    margin: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    border-top: 5px solid #d8232a;
    transition: all .25s ease;
    padding: 0 0 18px 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.evento-contenido{
    display: flex;
    flex-direction: column;
    flex: 1;
}

.evento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}

.evento-link-img {
    display: block;
    text-decoration: none !important;
}

.evento-img{
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    margin-bottom: 15px;
}

.evento-card h3 {
    color: #d8232a;
    font-weight: 800;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 14px;
    padding-left: 24px;
    padding-right: 24px;
    line-height: 1.3;
}

.texto-evento {
    color: #333333;
    font-size: 16px;
    line-height: 1.9;
    padding-left: 24px;
    padding-right: 24px;
    margin: 0 0 8px 0;
}

.marca-roja {
    color: #d8232a;
    font-weight: 700;
}
.noticia-preview{
    min-height: 190px;
    margin-bottom: 6px;
}

.ver-mas-btn{
    display: inline-block;
    padding-left: 24px;
    padding-right: 24px;
    margin-top: auto;
    color: #d8232a !important;
    font-weight: 800;
    text-decoration: none !important;
}

.ver-mas-btn:hover {
    text-decoration: underline !important;
}

.detalle-evento-wrap {
    padding: 10px;
}

.detalle-evento-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;
}

.detalle-evento-titulo {
    color: #d8232a;
    font-size: 30px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.2;
}

.detalle-evento-texto {
    color: #333333;
    font-size: 16px;
    line-height: 1.9;
    white-space: pre-line;
}

.titulo-seccion-evento {
    font-size: 40px;
    font-weight: 800;
    color: #202020;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.titulo-seccion-evento span {
    color: #d8232a;
    border-bottom: 3px solid #d8232a;
    padding-bottom: 4px;
}

.historia-item {
    border-left: 5px solid #d8232a;
    padding-left: 16px;
    margin-bottom: 22px;
    line-height: 1.9;
}

.quienes-wrap {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 28px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    margin-top: 28px;
}

.quienes-titulo {
    color: #d8232a;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 18px;
    display: inline-block;
    border-bottom: 3px solid #d8232a;
    padding-bottom: 4px;
}

@media (max-width: 991px) {
    .evento-img {
        height: 220px;
    }

    .detalle-evento-titulo {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .eventos-banner {
        padding: 70px 20px;
        height: auto;
    }

    .titulo-seccion-evento {
        font-size: 30px;
    }

    .evento-card {
        min-height: auto;
        margin: 0;
    }

    .evento-img {
        height: 190px;
    }

    .evento-card h3 {
        font-size: 20px;
    }

    .historia-wrap,
    .quienes-wrap {
        padding: 20px 18px;
    }

    .detalle-evento-titulo {
        font-size: 22px;
    }
    .evento-contenido {
        padding-bottom: 6px;
    }
    .dlg-evento-scroll .ui-dialog-content{
        max-height: 70vh !important;
        overflow-y: auto !important;
    }
    .comentario-box{
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        padding: 14px;
        background: #fafafa;
    }

    .comentario-head{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-bottom: 6px;
        gap: 8px;
    }

    .comentario-autor{
        font-weight: 700;
        color: #202020;
    }

    .comentario-fecha{
        font-size: 12px;
        color: #777;
    }

    .comentario-body{
        color: #333;
        line-height: 1.5;
        white-space: pre-line;
    }
}