#newsOuterContainer.outer-container {
  border: none;
  background-color: #875fff70;
}

.slider-container {
  border: none;
  overflow: hidden;
  border-radius: 16px;
  border: none;
  background-color: #F5F7FB;
  box-shadow: 0 8px 18px rgba(2, 6, 23, .20);
  margin: 0;
  max-height: none !important;
  opacity: 1;
  transition: none;
  touch-action: pan-y;
}

/* Carosello */
.slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: auto;
}

/* Singola slide */
.slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 16px;
}

/* Immagine contenuta, un po' più compatta */
.slide-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-image img {
  max-width: 100%;
  max-height: 260px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Testo */
.slide-content {
  flex: 1.2;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin: 6px 0 8px;
}

.slide-description {
  font-size: 15px;
  color: #555;
  line-height: 1.55;
}

.slide-date {
  color: #888;
  font-style: italic;
  margin-bottom: 6px;
}

.dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 10px 0 10px;
  max-height: none;
  opacity: 1;
  transition: none;
  width: 100%;
}

.dot {
  width: 14px;
  height: 14px;
  background-color: #4715dd5d;
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.dot:hover {
  transform: scale(1.5);
}

.dot.active {
  background-color: #fffdf7; 
}

#newsOuterContainer.outer-container > h3,
#newsOuterContainer.outer-container > h3 a {
  color: #ffffff;
}


@media (max-width: 768px) {
  .slide {
    flex-direction: column;
    padding: 14px;
  }

  .slide-image img {
    max-height: 250px;
  }

  .slide-title {
    font-size: 18px;
  }

  .slide-description {
    font-size: 14px;
  }
}
