.history {max-width:1120px; padding-block:clamp(2.2rem,5vw,5rem); }
.history figure {margin:0;}
.history p {max-width:77ch;}
.history h1,.history h2,.history h3 {line-height:1.5;}
.history h1 {font-size:clamp(2.15rem,4.6vw,4rem); margin:.25rem 0 .85rem;}
.history h2 {font-size:clamp(1.55rem,2.8vw,2.35rem); margin:0 0 1rem;}
.history h3 {font-size:1.23rem; margin:0 0 .4rem;}
.history figcaption {padding:.55rem 0; font-size:.9rem; color:#405e56;}
.history figure img {display:block;}
.history section,.history aside {scroll-margin-top:2rem;}
.history-lead,.history-founder,.history-study,.history-document,.history-update,.history-entry {display:grid;gap:clamp(1.25rem,3.4vw,3rem);align-items:start;}
.history-lead {grid-template-columns:1fr 1fr;align-items:center;padding-bottom:clamp(2.2rem,5vw,4rem);margin-bottom:2.7rem;border-bottom:1px solid var(--line);}
.history-intro {font-size:1.13rem;}
.history-cover img {border-radius:6px;width:100%;height:auto;}
.history-jumps {display:flex;flex-wrap:wrap;gap:.55rem 1.1rem;margin-top:1.2rem;}
.history-jumps a {font-size:.95rem;font-weight:600;}
.history-entry {grid-template-columns:minmax(98px,15%) 1fr;padding:1.55rem 0 2.25rem;border-top:1px solid var(--line);}
.history-date {display:flex;flex-direction:column;align-items:flex-start;}
.history-date span {font-size:clamp(1.9rem,3.4vw,2.8rem);color:#835735;font-weight:650;line-height:1.25;}
.history-date small {font-size:.85rem;}
.history-story p,.history-study p,.history-update p {margin:.45rem 0 1rem;}
.history-document {grid-template-columns:1fr 1fr;align-items:center;padding:1rem;background:#eef2eb;border-radius:5px;}
.history-document a img {width:100%;border:1px solid #d5dbd4;}
.history-document figcaption a,.history-document strong {display:block;}
.history-document strong {color:var(--ink);}
.history-pair {display:grid;grid-template-columns:1fr 1fr; gap:1rem;}
.history-pair img {width:100%;border-radius:4px;}
.history-research {padding:clamp(1.25rem,4vw,3rem);background:#eaf0e9;border-radius:6px;margin-block:1.2rem 2.7rem;}
.history-study {grid-template-columns:1fr 1.6fr;margin:1.5rem 0;}
.history-study img {width:100%;border-radius:4px;}
.history-study.text-only {grid-template-columns:1fr 1fr;padding-top:1.4rem;border-top:1px solid #c7d3c8;}
.history-update {grid-template-columns:minmax(98px,15%) 1fr;border-block:1px solid var(--line);padding:1.8rem 0;}
.history-founder {grid-template-columns:1fr minmax(120px,180px);align-items:center;padding:2.4rem 0;}
.history-founder h2 small {display:inline-block;font-size:1.05rem;font-weight:450;color:var(--muted);}
.history-book img {width:100%;display:block;box-shadow:var(--lift);}
@media(max-width:720px){
.history-lead,.history-document,.history-study,.history-study.text-only {grid-template-columns:1fr;}
.history-entry,.history-update {grid-template-columns:1fr;gap:.8rem;}
.history-date {flex-direction:row;align-items:center;gap:1rem;}
.history-founder {grid-template-columns:1fr;}
.history-book {max-width:135px;}
.history-pair {gap:.6rem;}
}
.history-profile,.history-topic-block {margin-block:2.4rem 3rem;}
.history-profile p,.history-topic-block>p {max-width:84ch;}
.history-numbers {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(164px,100%),1fr));gap:.8rem;}
.history-numbers div {padding:1rem;background:#e9eee8;border-block-start:3px solid #487067;}
.history-numbers dt {font-size:1.28rem;color:#124942;font-weight:700;}
.history-numbers dd {margin:.4rem 0 0;}
.history-topics-nav {display:flex;flex-wrap:wrap;gap:.65rem 1.3rem;margin-block:1.4rem;}
.history-topics {display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.history-topic {background:white;border:1px solid var(--line);border-radius:5px;overflow:hidden;scroll-margin-top:1.3rem;}
.history-topic img {height:clamp(140px,14vw,195px);width:100%;object-fit:contain;display:block;background:#edf1ef;}
.history-topic div {padding:1rem 1.25rem;}
.history-topic p {margin:.4rem 0 .75rem;}
.history-invocation {font-weight:600;color:var(--pine);}
.history-photo-row {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr));gap:1rem;margin:1.5rem 0;}
.history-photo-row img {width:100%;height:160px;object-fit:contain;background:white;}
@media(max-width:720px){.history-topics {grid-template-columns:1fr;}}
.history-profile-intro {display:flex;align-items:center;gap:1.2rem;}
.history-profile-intro img {width:150px;height:auto;display:block;border-radius:4px;}
@media(max-width:580px){.history-profile-intro {display:block;}.history-profile-intro img {width:100%;max-width:300px;}}
.history-source {max-width:900px;margin:2.8rem auto 0;padding:2rem 0;border-top:1px solid var(--line);}
.history-source .history-original-text {max-width:76ch;font-size:1.08rem;line-height:2.1;margin:1.25rem 0;}
.history-byline {font-size:.94rem;color:#415d57;font-weight:600;}
.history-archive-figures,.history-animal-photos {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr));align-items:start;gap:1rem;margin-block:1rem 1.75rem;}
.history-archive-image,.history-animal-photos figure {border:1px solid var(--line);padding:.6rem;background:#fff;border-radius:5px;}
.history-archive-image img {margin:auto;width:auto;height:auto;max-height:410px;max-width:100%;object-fit:contain;}
.history-archive-image a {display:block;}
.history-archive-image figcaption a {display:inline;}
.history-animal-gallery {margin-block:2.2rem;}
.history-animal-photos img {width:100%;aspect-ratio:4/3;height:auto;object-fit:contain;background:#eef1ec;}
.history-research-page {padding-block:clamp(1.7rem,4vw,3.8rem);}
.history-research-page .history-topic-block {margin:0;}
.history-method {margin-block:2rem;padding:1.1rem 1.4rem;border-inline-start:3px solid #916343;background:#e9efe8;}
.history-archive-image img {max-height:none;max-width:100%;height:auto;}
.history-vet-scan {max-width:700px;margin-inline:auto!important;width:100%;}
.history-vet-scan img {width:100%;height:auto;object-fit:contain;display:block;}
.history .history-source {max-inline-size:46rem;margin-inline:auto}
.history .history-source > :is(h2,p),.history .history-profile-intro p,.history .history-topic p {white-space:normal;word-break:normal;overflow-wrap:break-word}
.history .history-source > .history-original-text {font-size:clamp(1.02rem,.99rem + .25vw,1.15rem);line-height:2.05;inline-size:100%;max-inline-size:none;margin:1.15em 0;text-align:start}
@media(min-width:720px){html[dir=rtl] .history .history-original-text{text-align:justify;text-align-last:start;text-justify:inter-word}}
@media(max-width:719px){html:lang(fa) .history .history-original-text{text-align:start;line-height:1.98}}
.history .history-cover img {object-fit:contain}
