/* ==========================================================================
   HALL VIII · IIT KANPUR  -  archive.css  (hec-archive.html only)

   Loaded after styles.css (tokens, .people / .card / .sel / .srch) and gallery.css
   (page heading, breadcrumbs, album cards, toolbar), so this file only adds what
   is specific to the HEC archive.

   01. Session cards (typographic cover used when a session has no group photo)
   02. Toolbar with filters
   03. Session posts (photos from resources/hec/<session>/)
   ========================================================================== */

/* 01. SESSION CARDS ------------------------------------------------------- */
.a-cover {
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  color: var(--on);
  background: linear-gradient(135deg, var(--acc), var(--v));
}
.a-year {
  font: 700 clamp(34px, 5vw, 46px) / 1 var(--d);
  letter-spacing: -0.03em;
}
.a-note {
  font: 500 12px var(--m);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* 02. TOOLBAR ------------------------------------------------------------- */
#asel {
  margin: 0;
  flex: 1;
  justify-content: flex-end;
}
@media (max-width: 700px) {
  #asel {
    justify-content: flex-start;
  }
  #asel .srch {
    max-width: none;
    margin-left: 0;
  }
}

/* 03. SESSION POSTS ------------------------------------------------------- */
.a-posts {
  margin: 40px 0 72px;
}
.a-posts h2 {
  margin: 0 0 14px;
  font: 700 22px var(--d);
}
.a-posts h2::after {
  content: none;
}
.a-posts .g-grid {
  margin-bottom: 0;
}
