/* History content stays in editable WordPress pages. No script is required. */
.ih-history-timeline { margin: 2.5rem 0; }
.ih-history-stage { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 2rem; position: relative; padding: 0 0 2.5rem; }
.ih-history-stage::before { content: ""; position: absolute; left: 9.5rem; top: .65rem; bottom: -.65rem; width: 1px; background: #b8c2bb; }
.ih-history-stage:last-child::before { bottom: 0; }
.ih-history-stage::after { content: ""; position: absolute; left: calc(9.5rem - 4px); top: .55rem; width: 9px; height: 9px; background: #31594a; border-radius: 50%; }
.ih-history-stage .ih-history-date { font-size: 1.22rem; font-weight: 700; color: #31594a; margin: 0; line-height: 1.5; }
.ih-history-stage h2 { margin: 0 0 .8rem; font-size: 1.4rem; line-height: 1.4; }
.ih-history-stage > div { min-width: 0; }
.ih-history-stage p { margin-top: 0; }
.ih-history-timeline a, .ih-history-works a, .ih-history-reader a { text-decoration: underline; text-underline-offset: .15em; }
.ih-history-fragments { font-size: .92rem; padding-left: 1.1rem; margin: 1rem 0 0; }
.ih-history-fragments li { margin: .65rem 0; }
.ih-fragment-note { display: block; font-size: .86rem; color: #46544c; line-height: 1.5; }
.ih-history-works { padding-left: 1.2rem; }
.ih-history-works li { margin: .7rem 0; }
.ih-history-reader { margin: 2.5rem 0; padding-top: 1.5rem; border-top: 1px solid #b8c2bb; overflow-wrap: anywhere; }
.ih-history-source-page { margin: 1.5rem 0; }
.ih-history-source-page img { display: block; width: 100%; height: auto; border: 1px solid #d5dcd7; background: white; }
.ih-history-source-page figcaption { font-size: .9rem; margin-top: .6rem; }
.ih-history-transcript pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: 1rem; line-height: 1.6; }
.ih-history-pdf, .ih-history-transcript { margin: 1rem 0; }
.ih-history-reader summary { cursor: pointer; padding: .7rem; border: 1px solid #b8c2bb; }
.ih-history-pdf object { display: block; width: 100%; max-width: 100%; min-height: 28rem; margin-top: 1rem; }
.ih-history-entry a, .ih-history-return a { text-decoration: underline; }
.ih-history-stage, .ih-history-reader, [id^="history-sor-"], #history-fact-definition { scroll-margin-top: 1rem; }
.ih-history-timeline a:focus-visible, .ih-history-reader a:focus-visible, .ih-history-reader summary:focus-visible { outline: 3px solid #31594a; outline-offset: 3px; }
@media (max-width: 600px) {
    .ih-history-stage { grid-template-columns: minmax(0, 1fr); gap: .5rem; padding-left: 1.3rem; padding-bottom: 2rem; }
    .ih-history-stage::before { left: .25rem; }
    .ih-history-stage::after { left: calc(.25rem - 4px); }
    .ih-history-stage .ih-history-date { font-size: 1.2rem; }
    .ih-history-stage h2 { font-size: 1.25rem; }
}
