.blog_text-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 50px;
  background: white;
  border-radius: 8px;
  font-family: Inter, 'sans-serif';
}

.blog_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;
}

.blog_text-title2 {
  font-family: Inter, sans-serif;
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  margin-block-end: 0px !important;
  margin-block-start: 0px !important;
  color: black;
  padding-bottom: 20px;
}

.blog_text_subtitle {
  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: 15px;
}

.blog_text_subtitle1 {
  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: 30px;
}

.blog_text_subtitle_primo_paragrafo {
  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: 0px !important;
}

.blog_text_subtitle_primo_paragrafo1 {
  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: 10px !important;
}

.blog_text-content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.blog_text-left {
  flex: 0 0 auto;
}

.blog_text-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog_reverse {
  flex-direction: row-reverse;
  padding-bottom: 30px;
}

.blog_text-column {
  display: flex;
  flex-direction: column;
}

.blog_text-content img {
  width: 100%;
  height: auto;
}

.blog_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: 700px;
  padding-top: 20px;
}

.img-fluid {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.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;
}


.flex_column {
  display: flex;
  gap: 30px;
  max-width: 1000px;
}

.flex_left,
.flex_right {
  flex: 1 1 0;
  /* cresce e si restringe in base allo spazio disponibile */
  max-width: 500px;
  /* larghezza massima della colonna */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* centra contenuti al centro della colonna */
}

.nuovo {
  height: 350px !important;
  text-align: center;
}

.link_acquisto {
  color: #008bee;
  font-size: 18px;
  line-height: 24px;
  margin-block-end: 0px !important;
  margin-block-start: 0px !important;
  font-family: Inter, 'sans-serif';
}

.link_acquisto:hover {
  color: #0067b0;
}

.immagine_banner2 {
    width: 100%;
    padding-bottom: 60px;
}


/* MEDIA QUERIES */
@media (max-width: 369px) {
  .blog_text-title {
    font-size: 22px;
    line-height: 28px;
  }
}

@media (min-width: 370px) and (max-width: 820px) {
  .blog_text-title {
    font-size: 24px;
    line-height: 32px;
  }
}

@media (min-width: 821px) and (max-width: 943px) {
  .blog_text-title {
    font-size: 27px;
    line-height: 33px;
  }
}

@media (min-width: 944px) and (max-width: 1066px) {
  .blog_text-title {
    font-size: 28px;
    line-height: 34px;
  }
}

@media (min-width: 1067px) and (max-width: 1080px) {
  .blog_text-title {
    font-size: 29px;
    line-height: 35px;
  }
}

@media (max-width: 1128px) {

  .blog_text-content p,
  .blog_text_subtitle,
  .blog_text_subtitle1,
  .blog_text_subtitle_primo_paragrafo,
  .blog_text_subtitle_primo_paragrafo1,
  .link_acquisto {
    font-size: 16px;
    line-height: 22px;
  }

  .blog_text-content p,
  .blog_text_subtitle,
  .blog_text_subtitle1,
  .blog_text_subtitle_primo_paragrafo,
  .blog_text_subtitle_primo_paragrafo1,
  .link_acquisto {
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
  }
}

@media (max-width: 369px) {

  .blog_text-content p,
  .blog_text_subtitle,
  .blog_text_subtitle1,
  .blog_text_subtitle_primo_paragrafo,
  .blog_text_subtitle_primo_paragrafo1,
  .link_acquisto {
    line-height: 20px;
    font-size: 14px;
  }
}

@media (max-width: 409px) {
  .blog_text-section {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (min-width: 410px) and (max-width: 699px) {
  .blog_text-section {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (min-width: 700px) and (max-width: 870px) {
  .blog_text-section {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* MEDIA QUERIES PARAGRAFI IN COLONNA */
@media (max-width:699px) {
  .blog_text-content {
    flex-direction: column-reverse;
    align-items: start;
  }

  .blog_text-left,
  .blog_text-right {
    width: 100%;
  }

  .blog_text-left img {
    width: 100%;
    height: auto;
  }

  .blog_text-left {
    flex: 1;
    text-align: center;
  }

  .blog_reverse2 {
    padding-bottom: 30px !important;
  }

  .div_img_verticale {
    text-align: center;
  }

  .img_verticale {
    width: 200px !important;
    height: auto;
  }

  .blog_text_subtitle1 {
    padding-bottom: 10px !important;
  }


}


@media (max-width: 699px) {

  .flex_column {
    flex-direction: column;
  }

  .nuovo {
    height: auto !important;
    max-width: 100% !important;
  }
}

/* Responsive DESCRIZIONE "NELLA CONFEZIONE" */


@media (max-width: 1066px) {
  .blog_text-title2 {
    font-size: 18px;
    line-height: 24px;
  }
}

@media (min-width: 1067px) and (max-width: 1231px) {
  .blog_text-title2 {
    font-size: 20px;
    line-height: 26px;
  }
}

.flex_due_foto {
    display: flex;
    gap: 20px;
    max-width: 1000px;
    width: 100%;
}

/* Colonna sinistra (70%) */
.prima_foto_flex {
    flex: 1 1 50%;
    text-align: center;
}

/* Colonna destra (30%) */
.seconda_foto_flex {
    flex: 1 1 50%;
    text-align: center;
}

/* Immagini */
.prima_foto_flex img,
.seconda_foto_flex img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

@media (max-width: 699px) {

 .flex_due_foto {
        flex-direction: column;
        align-items: center;
    }

    .prima_foto_flex,
    .seconda_foto_flex {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .prima_foto_flex img,
.seconda_foto_flex img { 
  height: auto;
}
}

/* Ancore / indice: il titolo resta sotto la pila header (variabile da js/bm_blog_article_header_offset.js) */
#blocco-editor-elementi h1,
#blocco-editor-elementi h2,
#blocco-editor-elementi h3 {
    scroll-margin-top: var(--st-bm-blog-heading-scroll-margin, 120px);
    scroll-margin-bottom: 0.5em;
}