html {
  box-sizing: border-box;
  background-image: url(../images/actualite/bg-mobile.jpg);
  background-size: cover;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

:root {
  font-size: calc(1vw + 1vh + 0.5vmin);
}

body {
  font-size: 1rem;
  line-height: 1.6;
  font-family: "nulshock";
}

h1,
h2,
h3 {
  text-align: center;
}

h3 {
  color: white;
}

button {
  cursor: pointer;
  border: unset;
  background: unset;
}

.content-wrapper {
  margin: 8rem 1rem 0 1rem;
}

.outlined-title {
  color: transparent;
  -webkit-text-stroke: 1.5px white;
  margin: 1em auto;
  font-size: 2rem;
}

.hidden {
  display: none;
}

/* NOUVEAUTE */

.nouveaute {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 8px;
}

.nouveaute-title {
  position: relative;
}

.divider {
  object-fit: contain;
  margin-block: 1rem;
  width: 100%;
}

.small,
.medium,
.large {
  position: absolute;
  transform: translate(-50%, -50%);
}
.small {
  top: -20%;
  left: 40%;
  width: 7%;
}

.medium {
  top: 120%;
  left: 60%;
  width: 10%;
}

.large {
  top: 50%;
  left: 50%;
  width: 20%;
}

.nouveaute-card__wrapper {
  position: relative;
  isolation: isolate;
  clip-path: polygon(
    0% 12px,
    12px 0%,
    100% 0%,
    100% 100%,
    12px 100%,
    0% calc(100% - 12px)
  );
  padding: 2px;
  background: transparent;
  width: 100%;
}

.nouveaute-card__wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(to right, white 6%, transparent 100%);
  clip-path: inherit;
  border-radius: 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 0;
  pointer-events: none;
}

.nouveaute-card__wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: white;
  clip-path: polygon(
    0% 0px,
    15px 0%,
    0px 15px,
    0% 0px,
    0% calc(100% - 15px),
    0px 100%,
    16px calc(100% - 0px),
    0% calc(100% - 15px)
  );
  pointer-events: none;
}

.nouveaute-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas:
    "date logo1 logo3 text logo4"
    "date logo2 logo3 text logo4";
  column-gap: 0.5rem;
  align-items: center;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.8) 64%,
    transparent 100%
  );
  padding: 6px 8px;
  clip-path: inherit;
  grid-template-columns: auto 2rem auto 1fr auto;
}

.nouveaute-card__date {
  grid-area: date;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.61),
    rgb(255 255 255 / 27%)
  );
  backdrop-filter: blur(5px);
  color: white;
  font-family: montserrat;
  padding: 4px;
  width: 68px;
  line-height: 1.4;
}

.nouveaute-card__date .day {
  font-size: 0.5rem;
  font-weight: 400;
}

.nouveaute-card__date .month {
  font-size: 0.6rem;
  font-weight: 400;
}

.nouveaute-card__date .number {
  font-size: 1.5rem;
  font-weight: bold;
}

.nouveaute-card__img1 {
  grid-area: logo1;
  width: 1.5rem;
  aspect-ratio: 1/1;
  object-fit: contain;
  position: relative;
  display: flex;
  align-items: end;
}

.nouveaute-card__img1 img {
  width: 100%;
  object-fit: contain;
  z-index: 2;
}

.nouveaute-card__img1-number {
  position: absolute;
  top: 1px;
  left: 4px;
  z-index: 1;
  color: white;
  font-size: 0.8rem;
}

.nouveaute-card__img1-version {
  z-index: 1;
  color: white;
  font-size: 0.7rem;
}

.nouveaute-card__img2 {
  grid-area: logo2;
  width: 1.5rem;
  aspect-ratio: 1/1;
  object-fit: contain;
  align-self: start;
}

.nouveaute-card__img3 {
  grid-area: logo3;
  width: 2.5rem;
  object-fit: contain;
}

.nouveaute-card__img4 {
  grid-area: logo4;
  width: 40px;
  object-fit: contain;
}

.nouveaute-card__text {
  grid-area: text;
  font-size: 0.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

@media (min-width: 480px) {
}

@media (min-width: 768px) {
}

@media (min-width: 1024px) {
}

@media (min-width: 1280px) {
}

@media (min-width: 1536px) {
}

@media (min-width: 1920px) {
}
