.banner-revista {
    background-image: url('/assets/images/glasspro/landing\ page.jpg');
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
    background-color: #505050;
    width: 100% !important;
    min-height: 200px !important;
    height: 300px !important;
    display: flex !important;
    align-items: center !important;
}

.imagem-flutuante {
    float: left;
    max-width: 550px !important;
    margin-right: 20px !important;
    margin-bottom: 10px !important;
    height: auto !important;
}

/* Estilos para o layout zigue-zague */
.zigzag-section {
    padding: 40px 0;
}

.zigzag-section .row {
    align-items: flex-start;
    min-height: 400px;
}

.zigzag-section .col-sm-6 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.zigzag-section img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#credenciado_container {
    max-height: 75rem;
    overflow-y: auto;
}

.text-container {
    line-height: 1.5em;
    max-height: 7.5em;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-bottom: 0.5rem;

}

.text-container.expanded {
    max-height: 1000px;
}

.ver-mais {
    display: inline-block;
    color: #B23E7B;
    cursor: pointer;
    font-weight: bold;
}

.ver-mais:hover {
    text-decoration: underline;
    color: #8a2e61;
}
.credenciado-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .banner-revista {
        background-image: url('/assets/images/glasspro/landing\ page\ MOBILE_.jpg');
        background-size: contain !important;
        /* <-- Mostra a imagem inteira */
        background-repeat: no-repeat !important;
        background-position: center top !important;
        height: auto !important;
        min-height: 320px !important;
        padding: 40px 20px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #container-flutuante {
        max-width: 100%;
        margin: 0 auto;
    }

    img.imagem-flutuante {
        float: left;
        width: 100% !important;
        margin-right: 20px;
        margin-bottom: 10px;
        height: auto;
    }

    .zigzag-section .col-sm-12 {
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        /* Inverte ordem: header primeiro, imagem depois */
    }

    .zigzag-section .row {
        display: block;
        /* Remove flex da row */
    }

    /* Resetar floats em mobile */
    .zigzag-section .zigzag-img-left,
    .zigzag-section .zigzag-img-right {
        float: none;
        margin: 0 auto 20px auto;
        display: block;
        max-width: 100%;
        width: 100%;
    }

    #pre-ct23-1,
    #pre-ct23-2,
    #pre-ct23-3 {
        display: none;
    }

    .divider.divider-circle {
        display: block;
        text-align: center;
        margin-top: 20px;
    }

    .divider.divider-circle .toggle-icon {
        font-size: 24px;
        color: #333;
        cursor: pointer;
        text-decoration: none;
    }

    .divider.divider-circle .toggle-icon i {
        transition: transform 0.3s ease;
    }

    .divider.divider-circle .toggle-icon .fa-caret-up {
        transform: rotate(360deg);
    }

    #credenciado_container {
        max-height: none;
        overflow: visible;
    }



}

@media (min-width: 768px) {
    .zigzag-section .row {
        display: block;
    }

    .zigzag-section .col-sm-12 {
        display: block;
        overflow: hidden;
    }

    .zigzag-section .zigzag-img-left {
        float: left;
        margin-right: 30px;
        margin-bottom: 20px;
        max-width: 550px;
        width: 48%;
    }

    .zigzag-section .zigzag-img-right {
        float: right;
        margin-left: 30px;
        margin-bottom: 20px;
        max-width: 550px;
        width: 48%;
    }

    .zigzag-section header {
        text-align: justify;
    }

    .divider.divider-circle {
        display: none !important;
    }

    #pre-ct23-1,
    #pre-ct23-2,
    #pre-ct23-3 {
        display: block !important;
    }
}