/* ARTICLES / CONSEILS */
.luxury__advice {
  position: relative;
  padding-block: 6rem;
  z-index: 0;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}
.advice__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: center/cover no-repeat var(--advice-ellipse-url);
  opacity: 0.1;
}
.advice__inner {
  position: relative;
  z-index: 1;
  /* max-width: 105.125rem; */
  margin: 0 auto;
} /* 1682px */

.advice__grid {
  display: flex;
  justify-content: center;
  gap: 2.5rem; /* 40px */
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  width: 100%;
}
.advice__card {
  width: calc(33% - 1.75rem);
  display: flex;
  flex-direction: column;
} /* 532px */
.advice__thumb img {
  width: 100%;
  height: 22.0625rem; /* 353px */
  object-fit: cover;
  border-radius: 1rem; /* 16px */
  display: block;
}
.advice__title {
  margin: 1.5rem 0;
  font: var(--h5-font);
  color: var(--color-text);
}
.advice__excerpt {
  font-size: .9rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}
.advice__link {
  font: var(--h5-font);
  font-size: 0.9rem;
  color: #004c66;
  transition: color 0.2s ease;
  text-decoration: underline;
  margin-top: auto;
}
.advice__link:hover {
  color: #008996;
}
div.center {
  text-align: center;
}

@media (max-width: 768px) {
  .advice__grid {
    flex-wrap: wrap;
  }
  .advice__excerpt{
    margin-bottom: 1rem;
  }
}

/* Overrides page Nos Partenaires */
.partenaires .advice__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  justify-items: stretch;
  align-items: start;
  width: 100%;
}

.partenaires .advice__card {
  max-width: 100%;
  width: 100%;
  margin-bottom: 2rem;
}

.partenaires .advice__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partenaires .advice__grid {
  margin-bottom: 8rem;
}

.partenaires .services__advice .container {
    max-width: 1680px;
    width: 75%;
}

@media (max-width: 1024px) {
  .partenaires .services__advice .container {
      width: 90%;
  }
  .advice__inner div.center {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
  .partenaires .advice__grid {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 22px);
    padding: 0;
  }
}
