/* ========================================== */
/* SECTION: BANNERS INFORMATIVOS              */
/* ========================================== */

#banners-informativos {
    width: 100%;
    padding: 0;
    background-color: #FFFFFF;
}

.banners-informativos-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(32px, 6vw, 72px) 40px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banners-informativos-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 1136px;
    align-items: center;
}

.banners-informativos-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    width: 100%;
}

.banners-info-item {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--ICO-Gris-transparente, #EAEAEA);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banners-info-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.banners-info-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.banners-info-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mini-banner {
    max-width: 550px;
    aspect-ratio: 550 / 330;
    justify-self: center;
}

.large-banner {
    width: 100%;
    max-width: 1136px;
    aspect-ratio: 1136 / 330;
}

/* Border bottom worked before */
.banners-informativos-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: clamp(32px, 6vw, 72px);
    right: clamp(32px, 6vw, 72px);
    height: 1px;
    background-color: #EAEAEA;
}

/* ========================================== */
/* RESPONSIVE - MOBILE                        */
/* ========================================== */

@media (max-width: 1024px) {

    .banners-informativos-container {
        margin: 0px 24px 0px;
        padding: 0 0 32px;
        width: auto;
        max-width: none;
        position: relative;
    }

    .banners-informativos-grid {
        gap: 32px;
    }

    .banners-informativos-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mini-banner,
    .large-banner {
        width: 100%;
        min-width: 327px;
        max-width: 548px;
        aspect-ratio: 327 / 196;
        margin: 0 auto;
    }
}

@media (max-width: 450px) {
    .banners-info-item img {
        width: 327px !important;
        height: 196px !important;
    }

    .mini-banner,
    .large-banner {
        width: 327px;
        height: 196px;
    }
}