.evento_terminato_text-section {
  max-width: 1150px;
  margin: 0 auto;
  padding: 60px 50px;
  background: white;
  border-radius: 8px;
}
.link-text-p-eventi {
 color: #008bee;
}

.link-text-p-eventi:hover {
 color: #0067b0;
}
.evento_terminato_text-title {
  font-family: Inter, sans-serif;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  margin-block-end: 0px !important;
  margin-block-start: 0px !important;
  color: black;
  padding-bottom: 20px;
}

.evento_terminato_text-content p {
  font-family: Inter, sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  margin-block-start: 0px !important;
  margin-block-end: 0px !important;
  padding-bottom: 25px;
}



/* CAROSELLO PERSONALIZZATO */
.custom-carousel {
  position: relative;
  max-width: 1400px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.custom-carousel-inner {
  display: flex;
  width: 100%;
  max-width: 1400px;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

/* STILI PER I CONTENUTI DELLE SLIDE  */
.hslider-cols-12-slider {
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: row;
  margin: 0px;
}


.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 800px
}

.img-fluid {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  padding-bottom: 30px;
}


.img-fluid2 {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
}

.custom-carousel-controls,
.controls-position-outside {
  position: relative;
  margin-top: 35px !important;
}

/* EFFETTO DI FADE PER LE SLIDE ATTIVO SOLO QUANDO LE ANIMAZIONI SONO ABILITATE */
.custom-carousel-fade .custom-carousel-inner {
  transform: none !important;
  max-width: 1400px;
}

.custom-carousel-fade .custom-carousel-item {
  position: absolute;
  max-width: 1400px;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
}

.custom-carousel-fade .custom-carousel-item.active {
  opacity: 1;
  z-index: 1;
}

/* QUANDO LE ANIMAZIONI SONO DISABILITATE, MANTENIAMO LA STRUTTURA MA SENZA TRANSIZIONI */
.custom-carousel:not(.custom-carousel-fade) .custom-carousel-item {
  display: none;
}

.custom-carousel:not(.custom-carousel-fade) .custom-carousel-item.active {
  display: block;
}

/* PERSONALIZZAZIONE DEGLI INDICATORI */

/* BASE: CONTENITORE DEGLI INDICATORI */
.custom-carousel-controls {
  max-width: 1400px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

/* BASE: INDICATORI */
.custom-carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

/* BASE: INDICATORE NON ATTIVO */
.custom-carousel-indicator.active {
  background-color: #000;
  transform: scale(1.1);
}

/* BASE: EFFETTO HOVER */
.custom-carousel-indicator:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* POSIZIONE IN ALTO */
.controls-position-top {
  bottom: auto;
  top: 20px;
}

/* POSIZIONE A DESTRA */
.controls-position-right {
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  left: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
}

/* POSIZIONE A SINISTRA */
.controls-position-left {
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  right: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
}

/* VARIANTI DI DIMENSIONE */

/* PUNTINI PICCOLI */
.indicator-size-small .custom-carousel-indicator {
  width: 8px;
  height: 8px;
}

/* PUNTINI GRANDI */
.indicator-size-large .custom-carousel-indicator {
  width: 16px;
  height: 16px;
}

/* VARIANTI DI FORMA */

/* QUADRATI */
.indicator-shape-square .custom-carousel-indicator {
  border-radius: 0;
}

/* ARROTONDATI */
.indicator-shape-rounded .custom-carousel-indicator {
  border-radius: 3px;
}

/* RETTANGOLARI */
.indicator-shape-line .custom-carousel-indicator {
  width: 25px;
  height: 4px;
  border-radius: 2px;
}

/* VARIANTI DI COLORE */

/* TEMA CHIARO (SFONDI SCURI) */
.indicator-theme-light .custom-carousel-indicator {
  background-color: rgba(255, 255, 255, 0.5);
}

.indicator-theme-light .custom-carousel-indicator.active {
  background-color: #fff;
}

.indicator-theme-light .custom-carousel-indicator:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* TEMA BLU */
.indicator-theme-blue .custom-carousel-indicator {
  background-color: rgba(0, 123, 255, 0.5);
}

.indicator-theme-blue .custom-carousel-indicator.active {
  background-color: rgb(0, 123, 255);
}

.indicator-theme-blue .custom-carousel-indicator:hover {
  background-color: rgba(0, 123, 255, 0.8);
}

/* TEMA ARANCIONE */
.indicator-theme-orange .custom-carousel-indicator {
  background-color: rgba(255, 102, 0, 0.5);
}

.indicator-theme-orange .custom-carousel-indicator.active {
  background-color: rgb(255, 102, 0);
}

.indicator-theme-orange .custom-carousel-indicator:hover {
  background-color: rgba(255, 102, 0, 0.8);
}

/* EFFETTI SPECIALI */

/* CON BORDO */
.indicator-with-border .custom-carousel-indicator {
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

/* EFFETTO DI CAMBIAMENTO FORMA SULLO STATO ATTIVO  */
.indicator-effect-morph .custom-carousel-indicator {
  border-radius: 50%;
}

.indicator-effect-morph .custom-carousel-indicator.active {
  border-radius: 3px;
}

.btn-blu-evento_terminato_titolo {

  background-color: #AEAEAE;
  border: 0px;
  border-radius: 30px;
  font-family: Inter;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: #fff !important;
  text-align: center;
  margin-bottom: 50px;
  padding: 12px 50px;
}

.btn-blu-evento_terminato_titolo:hover {
  background-color: #AEAEAE;
  cursor: default;
}


.evento_terminato_divider-line-final {
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: #969696;
    margin: 30px auto;
}

/* MEDIA QUERIES */
@media (max-width: 369px) {
  .evento_terminato_text-title {
    font-size: 22px;
    line-height: 28px;
  }
}

@media (min-width: 370px) and (max-width: 820px) {
  .evento_terminato_text-title {
    font-size: 24px;
    line-height: 32px;
  }
}

@media (min-width: 821px) and (max-width: 943px) {
  .evento_terminato_text-title {
    font-size: 27px;
    line-height: 33px;
  }
}

@media (min-width: 944px) and (max-width: 1066px) {
  .evento_terminato_text-title {
    font-size: 28px;
    line-height: 34px;
  }
}

@media (min-width: 1067px) and (max-width: 1080px) {
  .evento_terminato_text-title {
    font-size: 29px;
    line-height: 35px;
  }
}

@media (max-width: 1128px) {
  .evento_terminato_text-content p {
    font-size: 16px;
    line-height: 22px;
  }

  .evento_terminato_text-content p {
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
  }
}

@media (max-width: 369px) {
  .evento_terminato_text-content p {
    line-height: 20px;
    font-size: 14px;
  }
}

@media (max-width: 409px) {
  .evento_terminato_text-section {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (min-width: 410px) and (max-width: 699px) {
  .evento_terminato_text-section {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (min-width: 700px) and (max-width: 870px) {
  .evento_terminato_text-section {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width:699px) {
  .img-fluid {
    width: 100%;
  }
}