[hidden] { display: none !important; }
.history-wrap { width: min(100% - 2rem, 54rem); margin-inline: auto; }
.history-content { padding-block: 1.5rem 2rem; }
.history-about section + section { margin-top: 2rem; }
.history-hero {
    background: linear-gradient(90deg, rgba(38,40,31,.9), rgba(38,40,31,.55), rgba(38,40,31,.2)),
        linear-gradient(135deg, var(--olive-dark), var(--olive));
}
.history-hero .eyebrow { color: #d6cf9c; }
.history-thumbnails { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.history-thumbnails button {
    box-sizing: border-box; display: grid; place-items: center;
    width: 120px; height: 120px; padding: 2px; border: 0; background: #fff; cursor: pointer;
}
.history-thumbnails button[aria-pressed="true"] { outline: 2px solid var(--olive-dark); }
.history-thumbnails button:focus-visible { outline: 3px solid var(--olive-dark); outline-offset: 3px; }
.history-thumbnails img { display: block; max-width: 116px; max-height: 116px; width: auto; height: auto; }
.history-search { display: flex; flex-wrap: wrap; gap: 1rem; }
.history-search label { flex: 1 1 14rem; }
.history-search input, .history-search select { box-sizing: border-box; display: block; width: 100%; padding: .55rem; font: inherit; margin-top: .2rem; }
.history-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.history-list li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.history-list a { font-size: 1rem; font-weight: bold; }
.history-list p { margin: 0; }
.history-article-header dl { margin: .15rem 0 0; }
.history-article-header { padding-block: .6rem 1rem; border-bottom: 1px solid var(--line); }
.history-article-header h2 { font-size: clamp(1.8rem, 5vw, 2.65rem); line-height: 1.15; margin: 0 0 .55rem; }
.history-article-header dt, .history-article-header dd { display: inline; margin: 0; }
.history-article-header dt { font-weight: 650; }
.history-article-body { max-width: 43rem; margin-top: 1.2rem; overflow-wrap: anywhere; }
.history-article-body img { display: block; max-width: 100%; height: auto; }
.history-article-body figure { margin: 1.2rem 0; }
.history-article-body figcaption { font-size: .95rem; }

.history-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0; list-style: none; }
.history-cards li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.history-cards a { font-family: Georgia, serif; font-size: 1.3rem; font-weight: bold; }
.history-cards p { margin: .35rem 0 0; }
@media (max-width: 38rem) { .history-cards { grid-template-columns: 1fr; } }
