/* =========================================================
   DOCUMENTS PAGE — same vintage poster theme as the main
   site, but the thumbnails are portrait PDF pages, so they
   keep their own aspect ratio instead of the product cards'
   9:16 crop.
   ========================================================= */

.documentsIntro {
  text-align: center;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Document cards — inherit the vintage card look from styles.css */
.docCard {
  cursor: pointer;
}

/* Thumbnails keep the PDF page ratio (no stretching, no cropping).
   The whole page is shown on a cream mat, like a framed print.
   Specificity + !important so the product-card 9:16 crop rule
   (.card:not(.heroProduct) img) and the mobile overrides can't win. */
.card.docCard img {
  aspect-ratio: 3 / 4 !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  background-color: var(--paper-light);
  border-bottom: 1px solid var(--ink);
  padding: 10px;
  box-sizing: border-box;
  display: block;
}

.docCard .productInfo {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

/* Page count on the chin */
.docPages {
  color: var(--gold);
  opacity: 0.75;
  font-family: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  font-size: 15px;
  font-weight: 500;
}

/* "Open PDF" button — same gold call-to-action as More Info */
.openPdfBtn {
  background-color: var(--gold);
  background-image: none;
  color: var(--green);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.openPdfBtn:hover {
  background-color: var(--green);
  background-image: var(--paper-texture);
  background-size: 1500px;
  background-blend-mode: multiply;
  color: var(--gold);
}

/* Active nav item on this page */
nav a.active {
  color: #f0e0a8;
  font-weight: 600;
}

/* Mobile: the base rule above already wins with !important, so the
   PDF ratio is kept there too — nothing extra needed. */
