.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;
}
.zigzag-section header h3,
.zigzag-section header h4 {
  margin-top: 0;
  margin-bottom: 5px;
}

.zigzag-section header p {
  margin: 0;
}
.zigzag-section + .zigzag-section {
  margin-top: 0 !important;
}

.zigzag-section header {
    margin-bottom: 0 !important;
}

/* Estilos para o layout zigue-zague */
.zigzag-section {
  margin-bottom: 40px !important; /* controla o espaço entre as seções */
  padding-bottom: 0 !important;
}

.zigzag-section .row {
  min-height: auto;
}

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

.zigzag-section img {
  margin-bottom: 0 !important;
}

#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;
}
#slider {
  position: relative;
  overflow: hidden;
}

#slider .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; 
  background: rgba(0, 0, 0, 0.4); 
}
#slider .slider-featured-text {
  position: relative;
  z-index: 3; /* acima do overlay */
}

@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;
    }

    .zigzag-section .row {
        display: block;
    }

    .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;
    }
    #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;
    }
}