.social-hub {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 32px 20px; */
  margin-top: -20px;
}

.social-hub-header h1 {
  font-size: 1.6rem;
  font-weight: 900;
}

.social-hub-subtitle {
  color: var(--text-2);
  margin-top: 6px;
}

.social-category {
  margin-top: 32px;
}

.social-category-toggle {
  width: 100%;
  background: var(--surface);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow);
}

.social-category-content {
  margin-top: 18px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.social-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-badge {
  background: #ff5722;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}

.social-card-meta {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-card-desc {
  font-size: 14px;
}

.social-embed iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  border: none;
}

.social-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.like-btn {
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.like-btn.is-liked {
  background: #ffe4e4;
  cursor: default;
}

.visit-btn {
  font-weight: 700;
  text-decoration: none;
  color: var(--primary);
}

.social-cta {
  margin-top: 48px;
  text-align: center;
}

.cta-btn {
  background: var(--primary);
  color: #fff;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
}
/* ---------- ACCORDÉON ---------- */
.social-category-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}

.social-category.is-open .social-category-content {
  margin-top: 18px;
}

.social-category-toggle .social-category-arrow {
  margin-left: auto;
  transition: transform .3s ease;
}

.social-category.is-open .social-category-arrow {
  transform: rotate(180deg);
}

/* =========================
   IMAGE COVER NORMALISÉE
========================= */

.social-card-cover {
  width: 100%;
  height: 160px;              /* hauteur uniforme */
  background: #f3f4f6;        /* fond neutre élégant */
  border-radius: 12px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

.social-card-cover img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;

  object-fit: contain;        /* 🔑 TOUTE l’image visible */
}

.social-card-cover img {
  transition: transform 0.25s ease;
}

.social-card:hover .social-card-cover img {
  transform: scale(1.04);
}
