/* ============================================================
   Standard-group resource pages.
   Shared by every page under /educationresources/resources/.
   Tokens, header, nav and footer come from assets/site.css.
   ============================================================ */

:root{ --frame:1000px; --gutter:20px; }

.res-hero{padding:96px 0 104px;}
.res-hero h1{
  font-family:var(--face-display);font-weight:400;
  font-size:clamp(2.2rem,4.8vw,60px);
  line-height:1.16;letter-spacing:-.02em;
  margin:22px 0 0;color:var(--ink);
}
.res-hero p.lede{
  margin:28px 0 0;max-width:60ch;
  font-size:18px;line-height:1.55;color:var(--muted-2);
}
.res-hero .back{margin-top:44px;}

.res-body{background:var(--paper-soft);border-top:1px solid var(--line);padding:96px 0 112px;}
.res-statement{
  font-family:var(--face-display);font-weight:400;
  font-size:clamp(2rem,4.4vw,56px);line-height:1.15;letter-spacing:-.02em;
  margin:26px 0 0;color:var(--ink);
}
.res-note{margin:26px 0 0;max-width:66ch;font-size:17px;line-height:1.6;color:var(--muted-2);}

/* ---------- Empty state ---------- */
.res-empty{
  margin:44px 0 0;padding:32px;border:1px dashed var(--line-deep);border-radius:20px;
  font-family:var(--face-serif);font-size:21px;color:var(--muted-light);text-align:center;
}

/* ---------- File list (used once files are added) ---------- */
.res-list{list-style:none;margin:44px 0 0;padding:0;display:grid;gap:14px;}
.res-file{
  display:flex;align-items:center;gap:20px;
  background:var(--white);border:1px solid var(--line);border-radius:18px;padding:22px 26px;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.res-file:hover{
  transform:translateY(-3px);box-shadow:0 16px 32px rgba(83,43,54,.09);
  border-color:rgba(191,77,105,.5);
}
.res-kind{
  flex:none;min-width:58px;text-align:center;
  font-family:var(--face-body);font-weight:700;font-size:11.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--accent);
  border:1px solid var(--accent);border-radius:999px;padding:4px 10px;
}
.res-meta{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;}
.res-name{font-family:var(--face-serif);font-weight:600;font-size:21px;color:var(--ink);line-height:1.25;}
.res-desc{font-size:16px;line-height:1.55;color:var(--muted);}
.res-arrow{
  flex:none;display:flex;width:38px;height:38px;align-items:center;justify-content:center;
  border:1px solid currentColor;border-radius:999px;color:var(--accent);
  transition:transform .2s ease;
}
.res-file:hover .res-arrow{transform:translateY(3px);}

.res-elsewhere{margin:52px 0 0;max-width:70ch;font-size:17px;line-height:1.6;color:var(--muted-2);}

@media (max-width:720px){
  .res-hero{padding:64px 0 72px;}
  .res-body{padding:64px 0 80px;}
  .res-file{flex-wrap:wrap;gap:14px;padding:20px;}
  .res-arrow{margin-left:auto;}
  .res-empty{padding:26px;font-size:18px;}
}
