/* Home only. Specificity intentionally survives the shared sheets appended by PHP.
   Documentary images keep their original proportions, without cropping or filters. */
html body.home-edition-page main.home-edition {
  --home-ink: #244c3a;
  --home-muted: #5b624c;
  --home-rule: #b8a574;
  --home-paper: #fffbed;
  padding: clamp(18px, 3vw, 38px);
  color: var(--home-ink);
}
.home-edition-page .home-edition *,
.home-edition-page .home-edition *::before,
.home-edition-page .home-edition *::after { box-sizing: border-box; }
.home-edition-page .home-edition [id] { scroll-margin-top: 24px; }
.home-edition-page .home-edition :is(h1, h2, h3) { text-wrap: balance; }
.home-edition-page .home-edition a { text-underline-offset: .22em; }
.home-edition-page .home-edition :is(a, input, button, summary):focus-visible {
  outline: 3px solid #956820;
  outline-offset: 4px;
}
.home-edition-page .home-edition .ah-eyebrow {
  color: #726039;
  font-size: .75rem;
  letter-spacing: .1em;
}
.home-edition-page .home-edition .ah-small {
  font-size: .875rem;
  color: var(--home-muted);
}
.home-edition-page .home-edition .ah-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  padding: 0 0 20px;
  align-items: center;
}
.home-edition-page .home-edition .ah-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.12;
  color: #194e41;
}
.home-edition-page .home-edition .ah-hero h1 em { color: #61703c; }
.home-edition-page .home-edition .ah-hero-copy > p:not(.ah-eyebrow):not(.ah-small) {
  max-width: 48ch;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.home-edition-page .home-edition .ah-actions {
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  margin: 23px 0 16px;
}
.home-edition-page .home-edition .ah-button {
  min-height: 48px;
  padding: 12px 16px;
  gap: 12px;
}
.home-edition-page .home-edition .ah-cover {
  padding: 10px;
  border-radius: 4px;
  border-top: 3px solid #b99047;
  background: var(--home-paper);
  box-shadow: 3px 4px 0 #d8c99e80;
  overflow: visible;
}
.home-edition-page .home-edition .ah-document-bar {
  padding: 5px 6px 9px;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.home-edition-page .home-edition .ah-cover img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  transform: none;
  filter: none;
}
.home-edition-page .home-edition .ah-cover figcaption { padding: 11px 5px 4px; }
.home-edition-page .home-edition .ah-cover figcaption strong { font-size: 1.125rem; }
.home-edition-page .home-edition .release-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 28px;
  margin: 12px 0 24px;
  padding: 20px 22px;
  border: 1px solid #b8b18a;
  border-left: 3px solid #56754d;
  border-radius: 4px;
  background: #eeecd5;
}
.home-edition-page .home-edition .release-home h2 {
  margin: 6px 0 10px;
  font-size: 1.5rem;
}
.home-edition-page .home-edition .release-home p { margin: 6px 0; }
.home-edition-page .home-edition .release-home .ah-small { margin-bottom: 0; }
.home-edition-page .home-edition .release-home > .ah-button { justify-self: start; }
.home-edition-page .home-edition .release-home:has(> h2) { display: block; }
.home-edition-page .home-edition .release-home > a:not(.ah-button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.home-edition-page .home-edition .home-fresco {
  padding: 22px;
  margin: 22px 0 32px;
  border-radius: 4px;
  box-shadow: 0 3px 0 #d8c99e80;
}
.home-edition-page .home-edition .home-fresco > ol { margin: 20px 0 4px; }
.home-edition-page .home-edition .home-fresco :is(img, .home-fresco-number) { height: 90px; }
.home-edition-page .home-edition .home-fresco strong { font-size: 1.0625rem; }
.home-edition-page .home-edition .home-discoveries { margin: 26px 0 34px; }
.home-edition-page .home-edition .ah-section-head { margin-bottom: 22px; }
.home-edition-page .home-edition .ah-section-head h2,
.home-edition-page .home-edition .home-browse-heading h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin: 6px 0 0;
}
.home-edition-page .home-edition .home-discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.home-edition-page .home-edition .home-discovery { min-width: 0; }
.home-edition-page .home-edition .home-discovery-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 7px;
  background: #e6e5cb;
  border: 1px solid #aa9c70;
  box-shadow: 2px 3px 0 #d8c99e80;
}
.home-edition-page .home-edition .home-discovery-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-edition-page .home-edition .home-discovery-copy { padding-top: 15px; }
.home-edition-page .home-edition .home-document-date {
  margin: 0 0 8px;
  color: #715730;
  font-size: .75rem;
  line-height: 1.6;
}
.home-edition-page .home-edition .home-discovery h3 {
  margin: 0 0 10px;
  font: 400 clamp(1.25rem, 1.8vw, 1.5rem)/1.25 Georgia, serif;
  letter-spacing: -.015em;
}
.home-edition-page .home-edition .home-discovery h3 a { color: var(--home-ink); text-decoration: none; }
.home-edition-page .home-edition .home-discovery h3 a:hover { text-decoration: underline; }
.home-edition-page .home-edition .home-discovery-copy > p:not(.home-document-date):not(.home-credit) {
  font-size: .9375rem;
  line-height: 1.65;
  margin: 0 0 12px;
}
.home-edition-page .home-edition .home-credit {
  border-top: 1px solid #c8bd9880;
  padding-top: 10px;
  margin: 0 0 6px;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--home-muted);
}
.home-edition-page .home-edition .home-read,
.home-edition-page .home-edition .home-related {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: .875rem;
}
.home-edition-page .home-edition .home-read { font-weight: 700; }
.home-edition-page .home-edition .home-browse { border-top: 2px solid var(--home-rule); padding-top: 25px; }
.home-edition-page .home-edition .home-browse-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
}
.home-edition-page .home-edition .ah-search { margin: 0; }
.home-edition-page .home-edition .ah-search > div { flex-wrap: nowrap; }
.home-edition-page .home-edition .ah-search input { flex: 1 1 0; padding: 11px 12px; }
.home-edition-page .home-edition .ah-search button { flex: 0 0 auto; padding: 10px 12px; }
.home-edition-page .home-edition .memory-shortcuts { margin: 20px 0; gap: 22px; }
.home-edition-page .home-edition .memory-shortcuts > a { border-top: 0; padding: 12px 0; }
.home-edition-page .home-edition .memory-shortcuts > a > span { display: none; }
.home-edition-page .home-edition .memory-shortcuts strong { font: 700 .9375rem/1.5 var(--rb-text); }
.home-edition-page .home-edition .memory-shortcuts small { font-size: .8125rem; }
.home-edition-page .home-edition .home-drawer { border-bottom: 1px solid #c7b98e; }
.home-edition-page .home-edition .home-drawer > summary {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px 24px;
  padding: 16px 34px 16px 0;
  min-height: 56px;
  cursor: pointer;
  list-style: none;
  color: var(--home-ink);
}
.home-edition-page .home-edition .home-drawer > summary::-webkit-details-marker { display: none; }
.home-edition-page .home-edition .home-drawer > summary::after {
  content: '+';
  position: absolute;
  right: 5px;
  top: 15px;
  font: 400 1.4rem/1 Georgia, serif;
}
.home-edition-page .home-edition .home-drawer[open] > summary::after { content: '−'; }
.home-edition-page .home-edition .home-drawer > summary > span { font: 400 1.125rem/1.4 Georgia, serif; }
.home-edition-page .home-edition .home-drawer > summary small { font-size: .8125rem; color: var(--home-muted); }
.home-edition-page .home-edition .home-drawer > summary:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.home-edition-page .home-edition .home-drawer[open] > summary { border-bottom: 1px dashed var(--home-rule); }
.home-edition-page .home-edition .home-drawer :is(.ah-collections, .memory-events, .sources-teaser, .memory-films) {
  margin: 0;
  padding: 20px 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.home-edition-page .home-edition .ah-topics { gap: 12px; }
.home-edition-page .home-edition .ah-topics > a { padding: 12px; }
.home-edition-page .home-edition .heritage-source-note { margin: 0; padding: 12px 0; max-width: none; }
.home-edition-page .home-edition .heritage-source-note summary { min-height: 32px; padding: 4px 0; }
.home-edition-page .home-edition .home-stewardship {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  margin-top: 32px;
  padding: 26px;
  background: #e9edda;
  border: 1px solid #aab18a;
  border-top: 3px solid #56754d;
  border-radius: 4px;
}
.home-edition-page .home-edition .home-stewardship > :is(.memory-method, .ah-contribute) {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.home-edition-page .home-edition .home-stewardship h2 { font-size: 1.5rem; margin: 8px 0 12px; }
.home-edition-page .home-edition .home-stewardship p:not(.ah-eyebrow) { font-size: .9375rem; line-height: 1.65; margin: 0 0 14px; }
.home-edition-page .home-edition .memory-method > a { display: inline-flex; align-items: center; min-height: 44px; }
.home-edition-page .home-edition .reborn-community { margin: 26px 0 0; padding: 18px 0 0; border-bottom: 0; }
@media (max-width: 900px) {
  .home-edition-page .home-edition .ah-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 24px; }
  .home-edition-page .home-edition .ah-actions .ah-button { flex: 1 1 200px; }
  .home-edition-page .home-edition .home-discovery-grid { gap: 18px; }
  .home-edition-page .home-edition .home-browse-heading { grid-template-columns: 1fr; gap: 18px; }
  .home-edition-page .home-edition .ah-search { max-width: 520px; width: 100%; }
}
@media (max-width: 700px) {
  html body.home-edition-page main.home-edition { padding: 20px 16px; }
  .home-edition-page .home-edition .release-home { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; }
  .home-edition-page .home-edition .ah-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .home-edition-page .home-edition .ah-hero h1 { font-size: clamp(1.9rem, 6.8vw, 2.7rem); }
  .home-edition-page .home-edition .ah-cover { max-width: 540px; width: 100%; }
  .home-edition-page .home-edition .home-fresco { padding: 18px 14px; margin: 16px 0 28px; }
  .home-edition-page .home-edition .home-discovery-grid { grid-template-columns: 1fr; gap: 26px; }
  .home-edition-page .home-edition .home-discovery { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; }
  .home-edition-page .home-edition .home-discovery-copy { padding-top: 0; }
  .home-edition-page .home-edition .home-discovery h3 { font-size: 1.4rem; }
  .home-edition-page .home-edition .home-drawer > summary { display: block; }
  .home-edition-page .home-edition .home-drawer > summary small { display: block; margin-top: 4px; }
  .home-edition-page .home-edition .home-stewardship { grid-template-columns: 1fr; gap: 24px; padding: 20px 16px; }
  .home-edition-page .home-edition .home-stewardship > .ah-contribute { border-top: 1px solid #b6c19a; padding-top: 20px; }
}
@media (max-width: 480px) {
  .home-edition-page .home-edition .home-discovery { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .home-edition-page .home-edition .home-discovery-image { aspect-ratio: 4 / 3; }
  .home-edition-page .home-edition .ah-search > div { flex-wrap: wrap; }
  .home-edition-page .home-edition .ah-search input { flex-basis: 100%; }
  .home-edition-page .home-edition .ah-search button { flex-basis: 100%; border-left: 0; border-top: 1px solid #a39363; }
}
@media (prefers-reduced-motion: reduce) {
  .home-edition-page .home-edition * { scroll-behavior: auto; animation: none; transition: none; }
}
