/* Page Ressources : s'appuie sur style.css (thèmes, nav, polices) */
.panel { padding: 26px 36px 64px; }
.panel .nav { position: relative; inset: auto; top: auto; left: auto; right: auto; }

.page-head { margin-top: clamp(40px, 6vw, 84px); border-top: 1px solid var(--line-strong); padding-top: 18px; }
.page-title {
  margin: 0; font-weight: 700; letter-spacing: -0.05em; line-height: .88;
  font-size: clamp(3.8rem, 12vw, 10.5rem); color: var(--ink);
}
.page-lede { margin-top: clamp(16px, 2.2vw, 26px); max-width: 36ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.4; font-weight: 400; color: var(--ink); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(26px, 3.2vw, 40px); }
.filters[hidden] { display: none; }
.chip {
  font: inherit; font-weight: 500; font-size: .92rem; cursor: pointer;
  padding: 8px 16px; border-radius: var(--r); color: var(--ink);
  background: transparent; border: 1px solid var(--line);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--hero); border-color: var(--ink); }

/* Liste : lignes séparées par des filets, comme un sommaire */
.res-list { margin-top: clamp(22px, 3vw, 34px); max-width: 1040px; border-bottom: 1px solid var(--line-strong); }
.res { position: relative; border-top: 1px solid var(--line-strong); }
.res-link {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: clamp(20px, 2.4vw, 30px) 4px;
  transition: padding-left .2s;
}
.res-link:hover { padding-left: 14px; }
.res-main { min-width: 0; }
.res-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; }
.res-tags li { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.res-tags li:first-child { color: var(--ink); }
.res-title { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.res-desc { margin-top: 10px; max-width: 62ch; color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
.res-go { flex: none; display: flex; align-items: center; gap: 14px; font-weight: 600; }
.res-go-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.res-link:hover .res-go-arrow { background: var(--ink); color: var(--hero); }
.res-actions { position: absolute; right: 4px; bottom: 12px; z-index: 2; display: flex; gap: 18px; }
.res-video, .res-share { font: inherit; font-size: .85rem; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.res-video:hover, .res-share:hover { color: var(--ink); }
.res { scroll-margin-top: 24px; transition: background-color .4s; }
.res.is-target { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.res-empty { margin-top: 28px; color: var(--muted); font-size: 1.05rem; }
.res-empty[hidden] { display: none; }

@media (max-width: 960px) {
  .panel { padding: 18px 18px 28px; }
  .page-head { margin-top: 32px; }
  .res-link { flex-direction: column; align-items: stretch; gap: 14px; }
  .res-link:hover { padding-left: 4px; }
  .res-go { justify-content: flex-end; }
  .res-actions { position: static; margin: 2px 0 14px 4px; }
}
