.history-page {
  padding-block : clamp(2rem, 6vw, 5rem);
}
.history-heading, .history-story {
  max-width     : 68ch;
  margin-inline : auto;
  overflow-wrap : anywhere;
}
.history-heading h1 {
  margin-block : 0 1rem;
  font-size    : clamp(2.25rem, 6vw, 4.75rem);
  text-wrap    : balance;
}
.history-intro {
  font-size   : 1.2rem;
  line-height : 1.65;
}
.history-story {
  line-height   : 1.85;
  overflow-wrap : anywhere;
}
.history-story p + p { margin-top: 1.4em; }
.history-album { margin-top: clamp(2.5rem, 6vw, 5rem); }
.history-gallery {
  display               : grid;
  grid-template-columns : repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap                   : clamp(1.5rem, 3vw, 3rem);
  align-items           : start;
}
.history-gallery figure { margin: 0; min-width: 0; }
.history-gallery a { display: block; border-radius: 14px; }
.history-gallery img {
  display       : block;
  width         : 100%;
  height        : auto;
  max-height    : 35rem;
  object-fit    : contain;
  border-radius : 14px;
  background    : var(--lino, #f9f7f2);
}
.history-gallery figcaption {
  padding-top   : .8rem;
  font-size     : .9rem;
  line-height   : 1.6;
  overflow-wrap : anywhere;
}
.history-date { display: block; font-weight: 700; }
.history-gallery a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.history-fallback, .history-preview { padding: .75rem 1rem; border: 1px solid currentColor; }
.history-editor-photos { display: grid; gap: 1.5rem; }
.history-photo-editor {
  padding-block : 1.25rem;
  min-width     : 0;
}
.history-photo-editor + .history-photo-editor { border-top: 1px solid var(--champan, #b8924a); }
#history-editor details { border: 0; padding: 0; margin-block: 1rem; }
#history-editor summary { min-height: 44px; padding-block: .5rem; }
#history-editor button, .history-publication button, .history-retire button { border-radius: var(--radius-control, 999px); }
.history-photo-editor > img { width: min(100%, 20rem); height: auto; border-radius: 10px; }
.history-photo-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.history-photo-actions button { min-height: 44px; }
.history-publication { margin-block: 1.5rem; }
.history-preview { margin-bottom: 2rem; }
