/* ===== Marques Partenaires (shortcode) ===== */

.cc-marques-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* gap: clamp(18px, 2.4vw, 34px); */
  gap: clamp(18px, 4vw, 60px);
  align-items: start;
  margin: 0;
}

.cc-marques-card {
  background: transparent; /* design très clean */
}

.cc-marques-media {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f5f3;
}

.cc-marques-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* rendu régulier */
  object-fit: cover;
}

.cc-marques-img--placeholder {
  aspect-ratio: 4 / 3;
}

.cc-marques-body {
  padding-top: 14px;
  display: flex;
  flex-direction: column;

}

.cc-marques-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.72);
}

.cc-marques-desc p {
  text-align: center;
  margin: 0 0 10px;
}
.cc-marques-desc p:last-child {
  margin-bottom: 0;
}

.cc-marques-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.78);
  text-align: center;
  margin: auto;
  margin-top: 15px;

}

.cc-marques-link::after {
  content: "→";
  transition: transform 0.18s ease;
}


.cc-marques-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cc-marques-link:hover::after {
  transform: translateX(3px);
  text-underline-offset: 4px;
  text-decoration: none !important;

}


/* Responsive */
@media (max-width: 980px) {
  .cc-marques-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cc-marques-grid {
    grid-template-columns: 1fr;
  }
}
