/* GENERAL LANDING PAGE */
@media screen and (max-width: 767px) {
  .page-node-landing_page .subtitle-xl {
        font-size: calc(var(--subtitle-m));
  }
}
/* END GENERAL LANDING PAGE */




/* PARAGRAPHS */

/* SLIDER */

.paragraph--type--slider .carousel-item h6.pre-title-s {
    position: relative;
    display: flex;
    align-items: center; /* centra verticalment */
    font-size: 20px;
}
  
.paragraph--type--slider .line-right {
    flex-grow: 1;
    height: 1px;
    background-color: currentColor;
    margin-left: 0.5rem;
    width:62px;
}

.paragraph--type--slider p {
    font-size: 1rem;
}

.paragraph--type--slider .mobile {
    display: none;
}
.paragraph--type--slider .desktop {
    display: flex;
}

.paragraph--type--slider .carousel-indicators .active {
    background: linear-gradient(90.06deg, #F9BA05 0%, #FFCD34 100%);
}

@media screen and (max-width: 768px) {
    .paragraph--type--slider .carousel-item h6.pre-title-s {
        text-align: center;
        margin: auto !important;
    }
    .paragraph--type--slider .line-right {
        display: none;
    }

    .paragraph--type--slider h2 {
        text-align: center;
    }
    .paragraph--type--slider p {
        text-align: center;
    }

    .paragraph--type--slider .mobile {
        display: flex;
    }
    .paragraph--type--slider .desktop {
        display: none;
    }

    .paragraph--type--slider .link {
        text-align: center;
        width: 100%;
        margin: 20px 20px;
    }
    .paragraph--type--slider .link a {
        width: 100%;
    }
}

/* END SLIDER */

/* VIEW */

.list-field-references {

    /*display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    height: 100%;*/

    display: flex;
  gap: 1.25rem; /* equivalent a 20px */
  overflow-x: auto;
  padding-bottom: 1rem; /* opcional, per evitar tallar ombres o borders */
  scroll-snap-type: x mandatory; /* opcional, per fer scroll suau per element */
}

.field-reference {
flex: 0 0 auto; /* evita que s'encongeixin i fa que mantinguin amplada */
  width: 23%; /* 100% / 4 columnes */
  scroll-snap-align: start; /* opcional, per scroll suau */
}

@media (max-width: 992px) {
    .field-reference {
      width: 50%; /* 100% / 2 = 50% */
    }
  }
  
/* Mostra 1 element per pantalla en mòbils */
@media (max-width: 480px) {
    .field-reference {
    width: 100%;
}
}

.formations-own {
    background-color: #FFFFFF;
}

.paragraph--type--view.visualization--formations,
.paragraph--type--view.visualization--resources,
.paragraph--type--view.visualization--scientific_news {
    background-color:  var(--azul-sencondary-0);
}

.paragraph--type--view.visualization--formations_area_terapeutica_user {
    background-color:  var(--azul-sencondary-100);
}


/* END VIEW */

/* text image */

.paragraph--type--text-image .shape-image--right {
    @media screen and (max-width: 767px) {
      margin-bottom: 30px;
      height: auto !important;
    }
    @media screen and (min-width: 767px) {
      margin-right: 30px;
    }
}

@media screen and (max-width: 767px) {
  .paragraph--type--text-image .subtitle-xl {
    font-size: calc(var(--subtitle-s));
  }
}

.paragraph--type--text-image .field-description {
  @media screen and (max-width: 767px) {
      text-align: center;
      font-size: 16px;
   }
}
.paragraph--type--text-image .field-description h3 {
  @media screen and (max-width: 767px) {
      font-size: 16px;
   }
}


/* END Text image */

/* Cards */
.page-node-landing_page .home-t-a {
    padding-bottom: 0px;
}





/* END PARAGRAPHS */