.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;
}
.credenciado-item .galeria-imagens .col-md-4,
.credenciado-item .galeria-imagens .col-sm-4 {
  padding-left: 5px; /* Espaço lateral menor */
  padding-right: 5px;
}

.credenciado-item .galeria-imagens figure {
  margin-bottom: 10px; /* Espaço abaixo da imagem menor */
}
.credenciado-item .galeria-imagens img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

.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;
}
.imagens-wrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0; /* Remove qualquer espaço entre os elementos */
  margin: 0; /* Remove margens externas */
  overflow-x: auto;
}

.imagens-wrapper figure {
  flex: 0 0 auto;
  margin: 0; /* Remove margem entre figures */
}

.imagens-wrapper img {
  width: 350px; /* Aumente o tamanho conforme desejar */
  height: auto;
  object-fit: cover;
  display: block;
}

.info-endereco {
  clear: both;
  margin-top: 1rem;
}

.credenciado-item .info-endereco {
  display: block;
  margin-top: 1rem;
}

@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;
  }
  .ver-mais-credenciados {
    margin: 15px auto;
    display: block;
    background: #b23e7b;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    cursor: pointer;
  }
}

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