/* Reading layout for the expanded company history. */
.history-expanded > section { margin-bottom: 66px; }
.history-expanded > section > p:not(.eyebrow) { font-size: 16px; line-height: 1.85; max-width: 68ch; }
.history-expanded h2 { line-height: 1.16; }
.history-expanded h3 { font-size: 27px; line-height: 1.25; margin: 36px 0 18px; }
.keith-heading-copy .story-attribution { font-size: 13px; line-height: 1.7; max-width: 40rem; color: var(--muted); margin-top: 22px; }
.history-expanded .story-illustration { margin: 30px 0 36px; }
.history-expanded .story-illustration img { display: block; width: 100%; height: auto; max-height: 490px; object-fit: contain; }
.history-expanded .story-advert { width: min(100%, 290px); margin: 28px auto 32px; }
.history-expanded .story-advert img { display: block; width: 100%; height: auto; }
.history-expanded figure figcaption { font-size: 12px; line-height: 1.75; }
.history-expanded .story-evidence { margin: 24px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.history-expanded .story-evidence > summary, .story-sources > summary { padding: 16px 0; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink); }
.history-expanded .story-evidence > figure { margin: 20px auto 24px; }
.history-expanded .story-further { display: flex; flex-wrap: wrap; gap: 9px 22px; padding-top: 14px; font-size: 13px !important; }
.history-expanded .story-further a { text-underline-offset: 4px; }
.story-sources { padding: 0 24px; border: 1px solid var(--line); background: var(--paper2); margin: 20px 0 35px; }
.history-expanded .story-sources p, .history-expanded .story-sources li { font-size: 13px; line-height: 1.8; color: var(--muted); }
.story-sources ul { padding-left: 19px; }
.story-sources li { margin-bottom: 13px; }
.story-mobile-chapters { display: none; }
.story-evidence summary:focus-visible, .story-sources summary:focus-visible, .story-mobile-chapters summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (max-width: 1000px) {
  .history-nav { max-height: calc(100vh - 165px); overflow-y: auto; padding-right: 10px; }
}
@media (max-width: 850px) {
  .history-layout { display: block; }
  .history-layout > .history-nav { display: none; }
  .history-body { max-width: 760px; margin-inline: auto; }
  .story-mobile-chapters { display: block; width: calc(100% - 40px); max-width: 760px; margin: 0 auto 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .story-mobile-chapters summary { padding: 16px 0; cursor: pointer; font-size: 14px; font-weight: 600; }
  .story-mobile-chapters nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; padding-bottom: 16px; }
  .story-mobile-chapters a { display: block; padding: 9px 0; font-size: 12px; text-decoration: none; line-height: 1.6; }
}
@media (max-width: 650px) {
  .history-expanded > section { margin-bottom: 46px; scroll-margin-top: 115px; }
  .history-expanded > section > p:not(.eyebrow) { font-size: 15px; line-height: 1.85; }
  .history-expanded h2 { font-size: 33px; }
  .history-expanded h3 { font-size: 25px; }
  .history-expanded .history-photo img { height: auto; max-height: none; object-fit: contain; }
  .history-expanded .story-illustration img { max-height: none; }
  .story-sources { padding-inline: 16px; }
}
@media (max-width: 420px) {
  .story-mobile-chapters nav { grid-template-columns: 1fr; }
}