.m-timeline-container .owl-stage-outer {
    overflow: visible;
  }
  .m-timeline-container .owl-stage-outer:before {
    content: '';
    position: absolute;
    width: 100%;
    height: calc(100% + 40px);
    left: -100%;
    margin-top: -20px;
    margin-left: -10px;
    top: 0;
    z-index: 10;
  }
  .m-timeline-container .owl-nav {
    z-index: 9999;
    position: absolute;
    width: 20%;
    left: 0;
    right: 0;
    margin: auto;
  }
  .m-timeline-container .owl-nav .owl-prev,
  .m-timeline-container .owl-nav .owl-next {
    position: absolute;
    transition: all 0.3s;
    margin-bottom: -55px;
  }
  .m-timeline-container .owl-nav .owl-prev.disabled,
  .m-timeline-container .owl-nav .owl-next.disabled {
    display: none;
  }
  .m-timeline-container .owl-nav .owl-prev {
    transform: rotate(-180deg);
    border-radius: 0 40px 40px 0px;
  }
  .m-timeline-container .owl-nav .owl-next {
    right: 0px;
    border-radius: 0 40px 40px 0;
  }
  .m-timeline-container .owl-nav .owl-next:before,
  .m-timeline-container .owl-nav .owl-prev:before {
    display: block;
    content: '';
    padding: 0 25px;
    width: 14px;
    height: 14px;
    background: url('../../../assets/images/icons/arrow-rigth-dark.svg') no-repeat 17px
      center;
    background-size: contain;
    /* margin-top: 20px; */
    transition: all 0.3s;
  }
  
  .m-timeline-container .owl-dots {
    z-index: 999;
    /* display: flex; */
    display: none;  /* hide dots */
    justify-content: center;
    /* margin-top: -55px; */
    height: 20px;
    position: absolute;
    padding: 0 30px;
    left: 0;
    right: 0;
  }
  
  .m-timeline-container .owl-dots .owl-dot span {
    display: block;
    width: 20px;
    height: 2px;
    margin-top: 6px;
    margin-left: 2px;
    margin-right: 2px;
    background-color: #424242b6;
  }
  
  .m-timeline-container .owl-dots .owl-dot.active span {
    height: 4px;
    margin-top: 5px;
    background: url('./images/dot-active.png') no-repeat 100%;
  }
  
  .m-timeline-container .owl-stage {
    left: 0px;
    /* margin-bottom: 100px; */
  }

  /* animacoes de transição */

  .owl-carousel .animated {
    animation-duration: 1s;
  }

  .fadeOut {
      animation-name: fadeOut;
  }
  @keyframes fadeOut {
      from { opacity: 1; }
      to { opacity: 0; }
  }

  /* Definindo o fade */
.owl-carousel .animated {
  animation-duration: 0.4s !important;
}

.fadeOut {
  animation-name: fadeOut;
}
.fadeIn {
  animation-name: fadeIn;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Estilos do Carousel de Galeria - Mesmo padrão do bloco-abas-carousel */
.galeria-carousel-container {
    position: relative;
    width: 100%;
    height: 140px; /* Ajustado para o tamanho da timeline */
    overflow: hidden;
    border-radius: 8px;
    margin: 0;
}

.galeria-carousel-main {
    position: relative;
    width: 100%;
    height: 100%;
}

.galeria-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.galeria-slide.active {
    opacity: 1;
    visibility: visible;
}

.galeria-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Legenda da imagem */
.galeria-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.4;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    text-align: center;
}

/* Navegação */
.galeria-carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    pointer-events: none;
}

.galeria-nav-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    pointer-events: auto;
    color: #333;
}

.galeria-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.galeria-nav-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(11, 110, 41, 0.5);
}

/* Indicadores */
.galeria-indicators {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.galeria-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

.galeria-indicator.active {
    background: #0AE64C;
    transform: scale(1.2);
}

.galeria-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsividade */
@media (max-width: 768px) {
    .galeria-nav-btn {
        width: 28px;
        height: 28px;
    }
    
    .galeria-indicators {
        bottom: 6px;
    }
    
    .galeria-indicator {
        width: 5px;
        height: 5px;
    }
    
    .galeria-caption {
        padding: 6px 8px;
        font-size: 10px;
    }
}

  @media (max-width: 800px) {
   .m-timeline-container .owl-dots .owl-dot span {
      width: 10px;
    }
  }

  @media (max-width: 1200px) {
    .m-timeline-container .owl-stage-outer {
      overflow: hidden;
    }
    .m-timeline-container .owl-stage-outer:before {
      display: none;
    }
    .m-timeline-container .owl-nav .owl-prev {
      left: 0px;
      transform: rotate(-180deg);
    }
    .m-timeline-container .owl-nav .owl-next {
      right: 0px;
    }
  }
  