/*
 * Technical Resources and Evidence — what is specific to a record library page:
 * the head of a single record, its conditions/result pair, its body, and the
 * spacing around the type rail.
 *
 * The record card itself is a shared primitive (assets/css/components.css), and
 * the product grids these pages render are styled by assets/css/shop.css, which
 * functions.php enqueues alongside this sheet.
 */

.aq-record-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--aq-border);
}
.aq-record-head .aq-record-actions { margin: 0; padding: 0; }

.aq-record-body { margin-top: 30px; max-width: 80ch; }

/* The conditions/result pair and the labelled block are shared primitives:
   see assets/css/components.css. */

.aq-page.aq-technical .aq-rail,
.aq-page.aq-evidence .aq-rail { margin-bottom: 22px; }

@media (max-width: 900px) {
  .aq-records { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 680px) {
  .aq-record-head { gap: 14px; }
  .aq-record-block { padding: 16px; }
}
