.slide-title,
.slide-meta,
.slider-prev,
.slider-next {
  font-family: "Globo Texto";
}
.news-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.news-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.news-slide {
  flex: 0 0 100%;
  position: relative;
  z-index: 1;
}

.slide-image {
  width: 100%;
  height: calc(80vh - 135px);
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
}

.slide-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 450px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  transition: opacity 0.4s;
  z-index: 2;
}
.slide-content {
  position: absolute;
  bottom: 13%;
  left: 350px;
  right: 20px;
  color: white;
  z-index: 3;
}

.news-slide:hover .slide-image::after {
  opacity: 0.6;
}

.slide-meta {
  font-size: 16px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-title {
  font-size: 40px;
  font-weight: bold;
  max-width: 600px;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 40%;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  font-size: 22px;
  padding: 5px 5px 3px 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.slider-next {
  right: 0;
}
.slider-prev {
  left: 0;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-dots {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dot.active {
  background: white;
}

.news-slider {
  touch-action: pan-y;
}

.news-slide a {
  user-select: none;
}

@media (max-width: 1024px) {
  .slide-image {
    height: calc(80vh - 81px);
  }

  .slide-content {
    bottom: 15%;
    left: 50px;
    right: 20px;
  }

  .slide-title {
    font-size: 38px;
    font-weight: bold;
    max-width: 500px;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  }
}
@media (max-width: 767px) {
  .slide-content {
    bottom: 12%;
    left: 30px;
  }

  .slide-title {
    font-size: 30px;
  }
}
