/* Generated stylesheet (Astro + Tailwind), written again at each Publish: do not edit it here.
   Sources: src/styles/global.css (the variables: colours, fonts, sizes; the base of every page),
   the <style> block of each component in src/components/ (its rules carry [data-astro-cid-…]),
   src/styles/theme.css (the design set in the admin), src/styles/fonts-*.css (the fonts). */

/* Her own CSS (admin, page Design → CSS), from content/theme.json: do not edit here. */
/* Her own CSS, over the ready-made design "White gallery" (page Design → Designs; migrated 2026-11-30 from a
   full copy of design 1): only what differs from it. */
:root {
  --gallery-space: 1.2;
}
.caption-title {
  font-size: 0.9rem !important;
}
.caption-meta,
.caption-series {
  font-size: 0.8rem !important;
  letter-spacing: 0.03em;
}

/* The page of a work (2026-11-27, after a gallery page she likes): the details on the left, the
   image on the right on a very light grey, the title in italics. */
@media (min-width: 881px) {
  .artwork-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) !important;
  }
  .artwork-info {
    order: -1;
  }
}
.artwork-figure {
  background: #f4f4f2 !important;
  padding: clamp(1.25rem, 4vw, 4rem);
}
.artwork-title {
  font-style: italic;
}
html:not([data-script="latin"]) .artwork-title {
  font-style: normal;
} /* no italics in Persian, Chinese, Japanese */

/* The works in the lists (2026-11-27, after the gallery page she likes): each on a square of very
   light grey, whole; the title in italics in Latin-script pages. */
.cell .frame {
  aspect-ratio: 1 / 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #f4f4f2 !important;
  padding: 5%;
}
.cell .frame img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cell .caption {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}
html[data-script="latin"] .caption-title {
  font-style: italic;
}

/* One style of label everywhere (2026-11-27, review of the layout): small spaced capitals, as the
   page titles and the series headings; on the home page the names of its parts too. */
.profile-label {
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
}
.profile-nav a {
  font-size: 0.8rem !important;
  letter-spacing: 0.08em;
}
/* A series heading sits close to its works, not a whole row gap above them. */
.gallery > .group-label {
  margin-bottom: calc(-2rem * var(--gallery-space));
}

/* After the UI review (2026-11-27): captions and the links of the home page darker and a little larger,
   series headings on the works page more marked than the captions. */
.caption-meta,
.caption-series {
  color: #555 !important;
}
.profile-nav a {
  font-size: 0.9rem !important;
  color: #444 !important;
}
.gallery .section-title {
  font-size: 0.85rem !important;
  color: var(--ink) !important;
}
