/* ============================================================
   GenIAcademy — Ressources (liste + détail)
   (réutilise .articles-list / .article-row / .tag / .read-time)
   ============================================================ */

/* L'article-row devient un lien : on neutralise le style de lien. */
.articles-list .article-row {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.article-summary {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
  max-width: 720px;
}

/* Filtres par type */
.resource-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}
.resource-filter {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: all 0.2s;
}
.resource-filter:hover { color: var(--paper); border-color: rgba(255, 255, 255, 0.25); }
.resource-filter.active {
  color: var(--paper);
  background: var(--terra);
  border-color: var(--terra);
}

.resource-empty {
  color: var(--muted);
  font-style: italic;
  padding: 24px 0;
}

/* --- Page détail / article --- */
.resource-article { max-width: 820px; margin-top: 8px; }
.resource-cover {
  border-radius: 14px; overflow: hidden;
  margin-bottom: 28px; aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #1a0e08 0%, #0a0503 100%);
}
.resource-cover img { width: 100%; height: 100%; object-fit: cover; }
.resource-article .tag { margin-bottom: 14px; }
.resource-title {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 36px; line-height: 1.12; letter-spacing: -0.6px;
  margin-bottom: 18px;
}
.resource-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
  padding-bottom: 24px; margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.resource-meta .dot { opacity: 0.4; }
.resource-summary {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 18px; line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}
.resource-content {
  font-size: 16px; line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}
.resource-content p { margin-bottom: 18px; }
