/* Pages Équipe et Articles */

.note { margin: 24px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Équipe : grille ---------- */
.team-section { padding-top: 64px; padding-bottom: 104px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.member {
  text-align: left; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.member:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 16px 36px rgba(14,36,51,.10); }
.member .photo { display: block; width: 100%; height: 280px; object-fit: cover; object-position: 50% 25%; background: var(--soft); }
.photo-empty { display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; background: var(--soft); color: var(--muted); font-size: 14px; }
.member .photo-empty { height: 280px; }
.member .info { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 22px; }
.member .name { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.member .role { color: var(--muted); font-size: 15px; }
.member .more { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--primary); }

/* ---------- Équipe : profil ---------- */
.profile-back { padding-top: 28px; }
.profile { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 24px; padding-bottom: 64px; align-items: flex-start; }
.profile-photo { flex: 0 1 320px; min-width: 0; width: 100%; }
.profile-photo img, .profile-photo .photo-empty { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 24px; background: var(--soft); }
.profile-photo .photo-empty { display: flex; gap: 10px; }
.profile-body { flex: 1 1 480px; min-width: 0; }
.profile-body h1 { font-size: 46px; line-height: 1.1; letter-spacing: -.8px; }
.profile-body .role { margin: 8px 0 0; font-size: 20px; color: var(--primary); font-weight: 600; }
.profile-body .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.profile-body .bio { margin: 24px 0 0; color: var(--text-2); max-width: 38em; }
.profile-body .facts { margin: 26px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 16px; max-width: 32em; }
.profile-body .facts dt { color: var(--muted); }
.profile-body .facts dd { margin: 0; }
.profile-articles { background: var(--white); border-top: 1px solid var(--line); }
.profile-articles .wrap { padding-top: 64px; padding-bottom: 104px; }
.profile-articles h2 { font-size: 32px; letter-spacing: -.5px; }
.profile-articles .article-list { margin-top: 28px; }
.profile-articles .article-row { align-items: baseline; }
.profile-articles .article-row .title { font-size: 20px; }
.profile-articles .empty-note { margin: 20px 0 0; padding: 24px; background: var(--bg); border-radius: 16px; color: var(--text-2); }

/* ---------- Articles : liste ---------- */
.list-section { padding-top: 48px; padding-bottom: 104px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.search {
  flex: 1 1 320px; max-width: 420px; display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: 12px; padding: 0 14px;
}
.search:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.search input { flex: 1; border: 0; outline: none; padding: 13px 0; background: transparent; font-size: 16px; color: var(--ink); }
.count { margin: 0; color: var(--muted); font-size: 15px; }
.filters { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { font-size: 14px; color: var(--muted); min-width: 70px; }
.chips { display: contents; }
.empty { margin-top: 32px; padding: 32px; border-radius: 16px; }
.empty p { margin: 6px 0 0; color: var(--text-2); }
.empty .title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink); }
.empty .btn { margin-top: 16px; }
