.carousel-nav {
  background: rgba(43, 142, 85, 0.9);
  color: white;
  border: none;
  padding: 14px 18px;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  opacity: 1;
}

.carousel-nav:hover {
  background: #256f45;
  transform: scale(1.1);
}

.carousel-nav[style*="display: none"] {
  opacity: 0;
  pointer-events: none;
}

.carousel-arrow-container {
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  #noticias-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
  }

  #noticias-carousel > div {
    scroll-snap-align: start;
    flex: 0 0 85%;
    max-width: 85%;
  }

  .styled-pagination {
    display: none !important;
  }

  .carousel-arrow-container {
    position: absolute;
    top: 45%;
    z-index: 5;
  }

  .carousel-arrow-container.left {
    left: 5px;
  }

  .carousel-arrow-container.right {
    right: 5px;
  }

  .carousel-arrow-container:not(.show) {
    display: none !important;
  }
}


