/**
 * Color palette ordered by color field according to AFNOR X08-010.
 * Color shades are ordered from lightest (100) to darkest (200).
 * @source https://fr.wikipedia.org/wiki/Champ_chromatique#Recensement_des_champs_chromatiques
 * @source https://adobe.design/stories/design-for-scale/naming-colors-in-design-systems
 */
/**
 * Breakpoints
 */
/**
 * Layout sizes
 */
.expertises .expertises__title {
  display: flex;
  align-items: center;
}
.expertises .expertises__title::before {
  content: "";
  mask-image: url(../assets/svg/irena-monogram.svg);
  -webkit-mask-image: url(../assets/svg/irena-monogram.svg);
  background-color: #c3623f;
  display: inline-block;
  min-width: 1.2rem;
  min-height: 1.2rem;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: contain;
  -webkit-mask-size: contain;
  vertical-align: middle;
  margin-right: 0.8rem;
}

.expertises {
  background-color: #003057;
  position: relative;
  z-index: 1;
}
.expertises__wrapper {
  padding-top: 6rem;
  padding-bottom: 6rem;
  color: #ffffff;
}
.expertises .expertises__title {
  margin-bottom: 2rem;
}
.expertises .expertises__title::before {
  min-width: 2.2rem;
  min-height: 2.2rem;
}
.expertises__text {
  margin-bottom: 4rem;
}
.expertises__slider {
  position: relative;
}
.expertises .swiper-wrapper {
  margin-bottom: 4.4rem;
}
.expertises .expertises__button-prev,
.expertises .expertises__button-next {
  color: rgba(195, 98, 63, 0.94);
  font-size: 4.4rem;
  position: absolute;
  top: 50%;
  z-index: 1;
  cursor: pointer;
}
.expertises .expertises__button-prev {
  left: 1rem;
}
.expertises .expertises__button-next {
  right: 1rem;
}

.expertise-case {
  padding: 2rem;
  background-color: #0B395E;
  box-sizing: border-box;
}
.expertise-case .expertise-case__title {
  margin-bottom: 2rem;
}
.expertise-case__excerpt {
  margin-bottom: 2rem;
}
.expertise-case__thumbnail {
  margin-bottom: 2rem;
  height: 22rem;
}
.expertise-case__thumbnail img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  max-height: 100%;
}

@media screen and (max-width: 899px) {
  .expertises__wrapper {
    max-width: 156.4rem;
    width: 100%;
    padding-right: 4rem;
    padding-left: 4rem;
    margin-right: auto;
    margin-left: auto;
  }
  .expertises .swiper-pagination-progressbar {
    top: unset;
    bottom: 0;
    background-color: rgba(11, 57, 94, 0.9);
    z-index: 1;
  }
  .expertises .swiper-pagination-progressbar-fill {
    background-color: #ffffff;
  }
  .expertise-case__excerpt {
    margin-bottom: 2rem;
  }
}
@media screen and (min-width: 900px) {
  .expertises .expertises__button-prev,
  .expertises .expertises__button-next {
    display: none;
  }
  .expertises .expertises__title,
  .expertises .expertises__text {
    max-width: 156.4rem;
    width: 100%;
    padding-right: 4rem;
    padding-left: 4rem;
    margin-right: auto;
    margin-left: auto;
  }
  .expertises__slider {
    margin-left: max((100% - 156.4rem) / 2 + 4rem, 4rem);
  }
  .expertises .expertises__pagination {
    display: flex;
    position: relative;
    height: auto;
    margin-bottom: 7.2rem;
    bottom: unset;
    top: unset;
    background: none;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 156.4rem;
    padding-right: 4rem;
  }
  .expertises .expertises__pagination .swiper-pagination-bullet {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    height: auto;
    border-radius: 2px;
    border: 1px solid #ffffff;
    box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    color: #ffffff;
    background-color: transparent;
    opacity: 1;
    cursor: pointer;
    transition: background-color 300ms ease-in-out, color 300ms ease-in-out;
  }
  .expertises .expertises__pagination .swiper-pagination-bullet-active {
    color: #003057;
    background-color: #ffffff;
  }
  @supports not (scroll-behavior: auto) {
    .expertises .expertises__pagination .swiper-pagination-bullet {
      margin-bottom: 2rem;
    }
    .expertises .expertises__pagination .swiper-pagination-bullet:not(:last-child) {
      margin-right: 2rem;
    }
  }
  .expertise-case {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .expertise-case__link {
    max-width: -moz-max-content;
    max-width: max-content;
  }
}