/* ===========================
   CORREÇÕES MOBILE
=========================== */

@media (max-width: 768px) {

    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* HERO */
    .hero-section,
    .hero-section-full-height {
        min-height: auto !important;
        height: auto !important;
    }

    .carousel,
    .carousel-inner,
    .carousel-item {
        height: auto !important;
    }

    .carousel-image {
        position: relative !important;
        height: auto !important;
        max-height: 60vh;
        object-fit: cover;
    }

    .carousel-caption {
        position: relative !important;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.4);
    }

    /* NAVBAR LOGO */
    .navbar-brand img {
        max-width: 140px;
        height: auto;
    }

    /* NEWS / EVENTOS */
    .news-block,
    .news-block-top,
    .news-image {
        width: 100%;
        max-width: 100%;
    }

    .news-image {
        height: auto;
        object-fit: cover;
    }

    /* EVITA COLUNAS FORÇADAS */
    .col-lg-7,
    .col-lg-4,
    .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* REMOVE MARGENS EXAGERADAS */
    .mx-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    

}

/* ===========================
   EVENTOS – IMAGEM PROPORCIONAL
=========================== */

.event-image-wrap,
.news-block-top {
    width: 100%;
    aspect-ratio: 16 / 9;   /* padrão moderno */
    overflow: hidden;
    border-radius: 16px;

}

.event-image,
.news-block-top img {
    width: 100%;
    height: 100%;
    object-fit:unset;      /* mantém proporção */
    display: block;
}


.news-block-two-col-image-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
}

.news-block-two-col-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ===========================
   EVENTO PRINCIPAL (DESTAQUE)
=========================== */

.evento-principal {
    min-height: 100%;
}

.evento-principal .news-block-top {
    aspect-ratio: 21 / 9;      /* MAIS WIDE = destaque */
}

.evento-principal .news-block-top img {
    height: 420px;             /* força presença */
}

.evento-principal .news-block-title h4 {
    font-size: 1.6rem;
}

.evento-principal .news-block-body p {
    font-size: 1rem;
    line-height: 1.6;
}
@media (max-width: 768px) {

    .evento-principal .news-block-top img {
        height: auto;
    }

    .evento-principal .news-block-top {
        aspect-ratio: 4 / 3;
    }

}

