/* ============================================================
   EGATIN — About Study Days (page-specific)
   Builds on aurora.css tokens + about.css (masthead, reveal,
   header wash) + events.css (ev-host card, timeline) +
   research.css (file tray / filter chips reused by the timeline).
   Adds: the intro "what they are" strip and the gallery grid of
   images from recent Study Days (framed with the same coloured
   ring used on the Committee portraits / Event cards).
   ============================================================ */

/* ---- intro facts strip (under the masthead lede) ---- */
.sdfacts{ list-style:none; margin:clamp(1.4rem,2.6vw,1.9rem) 0 0; padding:0;
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.sdfact{ background:var(--panel); padding:clamp(1rem,2vw,1.3rem) clamp(1rem,1.8vw,1.25rem);
  display:flex; flex-direction:column; gap:.3rem; }
.sdfact__k{ font-size:.66rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-deep); }
.sdfact__v{ font-family:var(--font-display); font-weight:600; font-size:clamp(1rem,1.3vw,1.12rem);
  letter-spacing:-.01em; color:var(--ink); line-height:1.25; }
@media (max-width:680px){ .sdfacts{ grid-template-columns:1fr; } }

/* ---- gallery grid ---- */
.sdgal{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:clamp(1.1rem,2.4vw,1.7rem); margin-top:clamp(1.2rem,2.4vw,1.8rem); }
/* Each card links to that year's archive page, so the rule also has to undo
   what a browser does to an anchor. */
.sdgal__item{ margin:0; display:flex; flex-direction:column; gap:.75rem;
  text-decoration:none; color:inherit; }
.sdgal__item:focus-visible{ outline:2px solid var(--accent-deep); outline-offset:6px; border-radius:18px; }

/* framed photo — coloured ring echoes the Committee portraits / Event cards */
.sdgal__frame{ position:relative; background:var(--panel);
  border:2px solid var(--ring, var(--accent)); border-radius:16px; padding:6px;
  transition:border-color .3s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.sdgal__item:hover .sdgal__frame{ transform:translateY(-3px);
  box-shadow:0 22px 46px -30px rgba(20,16,10,.5); }
.sdgal__frame image-slot,
.sdgal__frame img,
.sdgal__frame > div{ display:block; width:100%; aspect-ratio:4/3; border-radius:10px;
  overflow:hidden; outline:1px solid var(--line); outline-offset:-1px; object-fit:cover; }

/* caption: city + country on the left, year on the right */
.sdgal__cap{ display:flex; align-items:flex-start; justify-content:space-between; gap:.7rem; padding:0 .2rem; }
.sdgal__place{ display:flex; flex-direction:column; gap:.1rem; min-width:0; }
.sdgal__city{ font-family:var(--font-display); font-weight:700; font-size:1.06rem;
  letter-spacing:-.012em; color:var(--ink); line-height:1.15; }
.sdgal__country{ font-size:.82rem; color:var(--muted); }
.sdgal__yr{ font-family:var(--font-display); font-weight:700; font-variant-numeric:tabular-nums;
  font-size:.94rem; color:var(--accent-deep); flex:none; padding-top:.12rem;
  display:inline-flex; align-items:center; gap:.4em; }
.sdgal__yr::before{ content:""; width:6px; height:6px; border-radius:50%;
  background:var(--ring, var(--accent)); flex:none; }

/* Tweak: force every ring to gold (mirrors the Committee page control) */
body[data-rings="gold"] .sdgal__frame{ border-color:var(--accent); }
body[data-rings="gold"] .sdgal__yr::before{ background:var(--accent); }
