.a4-sheet { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 210 / 297;
  overflow: hidden; background: var(--paper); color: var(--copy); box-shadow: 0 16px 48px #0004; }
.sheet-content { position: absolute; inset: .8cqw; border: 1.35cqw solid var(--accent);
  padding: 2.0cqw 2.2cqw 1.0cqw; display: flex; flex-direction: column; }
.sheet-header { display: flex; align-items: center; justify-content: center; position: relative;
  min-height: 14.4cqw; margin-bottom: 2.1cqw; padding-right: 14cqw; }
.sheet-heading { margin: 0; color: var(--forest); font: 900 7.5cqw / 1 var(--display-font);
  letter-spacing: -.065em; transform: scaleX(.93); white-space: nowrap; }
.sheet-logo { position: absolute; right: .7cqw; top: -.2cqw; width: 13cqw; height: 13cqw; object-fit: contain; }
.article-frame { border: .35cqw solid var(--frame); padding: 1.55cqw .9cqw 1.5cqw;
  display: flow-root; min-height: 10cqw; }
.article-heading { font: 700 2.73cqw / 1.23 var(--body-font); text-align: center;
  color: var(--red); margin: 0 0 1.6cqw; }
.frame-content { display: flow-root; }
.richtext { font: 400 1.79cqw / 1.20 var(--body-font); text-align: justify; color: var(--copy); }
.richtext p { margin: 0 0 2.03cqw; white-space: pre-line; }
.richtext p:last-child { margin-bottom: 1.3cqw; }
.richtext strong, .richtext b { font-weight: 700; }
.richtext ul, .richtext ol { padding-left: 3.8cqw; margin: .7cqw 0 1.5cqw; }
.richtext h3 { margin: 1cqw 0; font-size: 2.15cqw; }
.richtext blockquote { margin: 1cqw 2cqw; border-left: .4cqw solid var(--frame); padding-left: 1cqw; }
.sheet--dense .richtext { font-size: 1.70cqw; line-height: 1.18; }
.sheet--dense .richtext p { margin-bottom: 1.77cqw; }
.sheet--compact .richtext { font-size: 1.62cqw; line-height: 1.13; }
.sheet--compact .richtext p { margin-bottom: 1.33cqw; }
.sheet-author { clear: both; margin: .4cqw 7cqw 0 0; text-align: right;
  font: 400 1.79cqw / 1.2 var(--body-font); }
.sheet-media { margin-top: 1.8cqw; }
.photo-gallery { display: grid; grid-auto-flow: row; align-items: start; gap: 1.6cqw; }
.photo-gallery--grid { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.photo-gallery--flex { display: flex; justify-content: flex-start; flex-wrap: nowrap; }
.photo-gallery--flex .photo { flex: 0 1 58%; }
.photo-gallery--flex .photo:only-child { flex-basis: 60%; }
.photo-gallery--flex .photo:nth-child(2) { flex-basis: 42%; }
.photo-gallery--flex .photo:not(:only-child) .photo-media { max-height:26cqw; }
.photo-gallery--inline { float: right; width: 59%; margin: .2cqw -2cqw 1.2cqw 2.1cqw; }
.photo { min-width: 0; margin: 0; }
.photo-media { width:100%; aspect-ratio:1.5; display:flex; align-items:center;
  justify-content:center; overflow:hidden; background:#fff; }
.photo-media img { display:block; width:100%; height:100%; object-fit:contain; }
.photo-media[data-fit="width"] img { width:100%; height:auto; max-height:none; }
.photo-media[data-fit="height"] img { height:100%; width:auto; max-width:none; }
.photo-gallery--flex .photo:only-child .photo-media { max-height:46cqw; }
.photo-gallery--grid .photo-media { aspect-ratio:1.3; }
.photo-gallery--inline .photo-media { aspect-ratio:1.36; }
.photo figcaption { margin-top: .35cqw; color: #898989; font: 400 1.07cqw / 1.15 var(--body-font); }
.sheet-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end;
  min-height: 5.5cqw; gap: 2.5cqw; }
.sheet-stamp { min-width:0; max-width:77%; display:flex;
  flex-direction:column; gap:.35cqw; }
.sheet-date { color:#777; font:700 1.62cqw / 1.15 var(--body-font); }
.sheet-document-title { color:#858585; font:400 1.25cqw / 1.1 var(--body-font);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sheet-credit { color:#858585; font:400 1.5cqw / 1.2 var(--body-font); white-space:nowrap; }
@media print {
  .a4-sheet { width: 210mm !important; height: 297mm !important; box-shadow: none; }
}
