/* -- -- -- -- -- VIGNETTE COMPONENT -- -- -- -- -- */
.vignette {
  background-color: var(--grey);
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
}
.vignette__illustration {
  aspect-ratio: 328/228;
  height: auto;
  width: 100%;
}
.vignette__inside {
  display: flex;
  gap: 2.5vw;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.vignette__inside > .vignette {
  width: 100%;
}
.vignette__inside::-webkit-scrollbar {
  display: none;
}

.vignette__tag {
  color: var(--mColor);
  font-family: var(--ffMSeBoIt);
  font-size: var(--fsLittle);
  line-height: var(--fsCorpsLess);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.vignette .title--vignette {
  font-size: var(--fsCorpsLess);
  line-height: var(--fsCorps);
  margin-bottom: 0.3125rem;
}
.vignette .corps {
  font-size: var(--fsCorpsLess);
  line-height: var(--fsCorpsMore);
}
.vignette__container {
  padding: 3.5vw 16vw 4vw 6vw;
}
.vignette__link {
  align-items: center;
  color: var(--mColor);
  display: flex;
  gap: 0.5rem;
  font-family: var(--ffMXBoIt);
  font-size: var(--fsCorpsLess);
  line-height: var(--fsCorps);
  margin-top: 4vw;
  text-transform: uppercase;
}
.vignette__more {
  aspect-ratio: 1/1;
  height: calc(var(--fsCorpsLess) * 0.85);
  width: calc(var(--fsCorpsLess) * 0.85);
}

/* -- -- -- -- -- VIGNETTEP -- -- -- -- -- */
.vignetteP {
  align-items: center;
  aspect-ratio: 477/269;
  background-image: url(../../img/background/backgroundCard.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  display: flex;
  height: auto;
  width: 81vw;
}
.vignetteP > .imgContainer {
  height: 100%;
  position: relative;
  width: 42.5vw;
}
.vignetteP__illustration {
  bottom: 0;
  height: 120%;
  left: 2.25vw;
  position: absolute;
}
.vignetteP__container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 40%;
}
.vignetteP__divider {
  background-color: var(--white);
  height: 0.1875rem;
  width: 100%;
}
.vignetteP__container > * {
  color: var(--white);
  text-transform: uppercase;
}
.vignetteP__container > .vignetteP__tag {
  font-size: var(--fsCorps);
}
.vignetteP__name {
  font-size: var(--fsSubtitle);
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.vignetteP__postfield {
  font-family: var(--ffMXBo);
  font-size: 0.75rem;
  line-height: 0.75rem;
}
.vignetteP_dismensions {
  font-size: 0.625rem;
  line-height: 0.625rem;
}
.vignetteP__link {
  background-color: var(--white);
  border-radius: 5vw;
  color: var(--sColor);
  font-family: var(--ffMXBoIt);
  font-size: 0.625rem;
  line-height: 0.75rem;
  padding: 0.25rem 1.25rem;
  width: fit-content;
}

@media (min-width: 575.98px) {
  .vignetteP__container {
    width: 30%;
  }
}

@media (min-width: 991.98px) {
  .vignette {
    flex: unset;
    position: relative;
    top: 0;
    transition: top 0.25s ease;
    width: 27vw;
  }
  .vignette:hover {
    top: -1vw;
    transition: top 0.25s ease;
  }
  .vignette__more {
    opacity: 1;
    transform: scale(1);
    transition: all 0.25s ease;
  }
  .vignette:hover .vignette__more {
    opacity: 0;
    transform: scale(0);
    transition: all 0.25s ease;
  }
  .vignette__inside {
    gap: 1vw;
    overflow: visible;
  }
  .vignette__container {
    padding: 2vw;
  }
  .vignette__illustration {
    aspect-ratio: 446 / 310;
  }
  .vignette .title--vignette {
    font-size: 1.0625rem;
    line-height: var(--fsSubtitle);
    margin-bottom: 0.5rem;
  }
  .vignette__container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  /* -- -- -- -- -- VIGNETTEP -- -- -- -- -- */
  .vignetteP {
    position: relative;
    top: 0;
    transition: top 0.25s ease;
    width: 100%;
  }
  .vignetteP:hover {
    top: -1vw;
    transition: top 0.25s ease;
  }
  .vignetteP > .imgContainer {
    width: 20vw;
  }
  .vignetteP__container {
    width: 40%;
  }
  .vignetteP__name {
    font-size: 2rem;
    line-height: 2.375rem;
  }
  .vignetteP__illustration {
    left: 1vw;
  }
}

@media (min-width: 1399.98px) {
  .vignette__link {
    margin-top: 2.5vw;
  }

  /* -- -- -- -- -- VIGNETTEP -- -- -- -- -- */
  .vignetteP > .imgContainer {
    width: 18.5vw;
  }
  .vignetteP__container {
    flex: 0 0 50%;
    padding-right: 7.5%;
    margin-block: 6%;
  }
}

@media (min-width: 1499.98px) {
  .vignetteP__container {
    flex: 0 0 48%;
    margin-right: 2%;
    margin-block: 6%;
  }
  .vignetteP {
    height: 100%;
  }
}

@media (min-width: 1599.98px) {
  /* -- -- -- -- -- VIGNETTEP -- -- -- -- -- */
  .vignetteP > .imgContainer {
    width: 12.5vw;
  }
  .vignetteP__container {
    width: 40%;
  }
}

@media (min-width: 1919.98px) {
  .vignette__link {
    margin-top: 1.5vw;
  }
  .vignette__container {
    padding: 1.0625vw 1.5vw;
  }
  .vignetteP:hover {
    top: -0.5vw;
    transition: top 0.25s ease;
  }
}
