/* ========================================================= */
/* ESTILOS PRINCIPAIS DA SEÇÃO DE BANNERS ESTÁTICOS          */
/* ========================================================= */

.static-banners-section {
    padding: 30px 15px;
    background-color: #f7f7f7;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    width: 100%;
}

/* Estilo do Título Opcional */
.rdb-banners-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
}

.static-banners-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    align-items: center; 
    justify-content: center;
    /* As propriedades 'gap' e 'grid-template-columns' são geradas dinamicamente pelo PHP */
}

.static-banner-item a {
    display: block;
    line-height: 0;
}

.static-banner-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover; 
    margin: 0 auto;
}

.static-banner-item img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* ========================================================= */
/* COMPORTAMENTOS DE ROLAGEM (EMBUTIDO VS FIXO) POR TELA     */
/* ========================================================= */

/* Computador (PC) */
@media (min-width: 993px) {
    .rdb-behavior-pc-fixed {
        position: sticky;
        top: 0;
        z-index: 9999;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 992px) {
    .rdb-behavior-tablet-fixed {
        position: sticky;
        top: 0;
        z-index: 9999;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
}

/* Celular (Mobile) */
@media (max-width: 767px) {
    .rdb-behavior-mobile-fixed {
        position: sticky;
        top: 0;
        z-index: 9999;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
}