/* =========================================================================
   Myndeo — Blog (articles)
   ========================================================================= */

/* Filtres par catégorie */
.art-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.art-chip {
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-10, rgba(20,20,40,.1));
  background: #fff; color: var(--ink, #16223A); transition: all .14s;
}
.art-chip:hover { border-color: var(--accent, #7C4DFF); color: var(--accent, #7C4DFF); }
.art-chip.active { background: var(--accent, #7C4DFF); border-color: var(--accent, #7C4DFF); color: #fff; }

/* Grille de cartes */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.art-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line-10, rgba(20,20,40,.08));
  border-radius: 18px; overflow: hidden; transition: transform .16s, box-shadow .16s, border-color .16s;
}
.art-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,20,50,.10); border-color: rgba(124,77,255,.35); }

.art-cover {
  aspect-ratio: 16 / 9; background-size: cover; background-position: center;
  background-color: #EEE9FB;
  background-image: linear-gradient(135deg, #EDE7FF 0%, #E4F6FB 100%);
  display: flex; align-items: center; justify-content: center;
}
.art-cover-ph { font-size: 34px; opacity: .5; }

.art-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.art-cat {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent, #7C4DFF); background: rgba(124,77,255,.09); padding: 4px 10px; border-radius: 999px;
}
.art-card h3 { font-family: var(--font-head, 'Space Grotesk', sans-serif); font-size: 19px; line-height: 1.3; margin: 0; }
.art-card .art-body p { color: var(--muted, #5A6A82); font-size: 14.5px; line-height: 1.55; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.art-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted, #5A6A82); font-size: 13px; padding-top: 4px; }
.art-meta--hero { margin-top: 18px; }

/* Couverture pleine largeur sur la page article */
.art-hero-cover {
  width: 100%; aspect-ratio: 16 / 7; max-height: 460px;
  background-size: cover; background-position: center; border-radius: 22px;
  border: 1px solid var(--line-10, rgba(20,20,40,.08));
}

/* Corps d'article : hérite de .term-body, quelques ajustements de lisibilité */
.art-article { max-width: 760px; margin: 0 auto; }

@media (max-width: 560px) {
  .art-grid { grid-template-columns: 1fr; gap: 20px; }
}
