/* An open selection from ZERO-BASE, presented as a readable book. */
.cosmos-site .zero-base-excerpts { background: #f3f1eb; color: #142d40; }
.cosmos-site .zero-base-excerpts .eyebrow { color: #766037; }
.excerpt-intro { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(200px,.65fr); align-items: center; gap: 10%; margin-bottom: 64px; }
.excerpt-intro h2 { font-size: clamp(2rem,3.4vw,3.4rem); margin: 22px 0; line-height: 1.65; }
.excerpt-intro .excerpt-lead { font-size: 1.125rem; line-height: 2; color: #1b3b50; }
.excerpt-intro p:not(.eyebrow) { color: #475b69; line-height: 2.1; }
.excerpt-intro .excerpt-author { margin-top: 23px; font-size: .9375rem; color: #243e50; }
.excerpt-author strong { display: inline-block; font-size: 1.125rem; font-weight: 500; margin-left: 12px; }
.excerpt-intro .button { margin-top: 28px; background: #163448; border-color: #163448; color: #faf9f5; }
.excerpt-intro .button:hover { background: #244d64; color: white; }
.excerpt-cover { margin: 0; width: min(100%,285px); justify-self: center; box-shadow: 8px 7px 0 #d5d0c4,11px 10px 0 #e6e0d4,0 24px 60px #18354b24; }
.excerpt-cover img { display: block; width: 100%; height: auto; }
.excerpt-reading-note { font-size: .9375rem; color: #506571; line-height: 1.9; margin: 0 0 22px; }
.zero-base-reader { scroll-margin-top: 112px; }
.excerpt-reader-layout { display: grid; grid-template-columns: minmax(220px,.36fr) minmax(0,1fr); gap: 28px; align-items: start; }
.excerpt-contents { position: sticky; top: 112px; background: #fcfbf7; border: 1px solid #d3d9da; }
.excerpt-contents > summary { padding: 22px 18px; color: #1c3c4e; cursor: pointer; font-size: .9375rem; font-weight: 500; line-height: 1.7; }
.excerpt-contents nav { border-top: 1px solid #d3d9da; padding: 5px 12px; }
.excerpt-contents a { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 3px 10px; align-items: baseline; padding: 13px 9px; border-bottom: 1px solid #e2e3dc; text-decoration: none; }
.excerpt-contents a:last-child { border: 0; }
.excerpt-contents a > .excerpt-index { grid-row: 1 / 3; font: .8125rem var(--en); color: #927342; }
.excerpt-contents a > span:not(.excerpt-index) { font-size: .875rem; line-height: 1.75; }
.excerpt-contents a > small { color: #5b6d77; font-size: .75rem; }
.excerpt-contents a:hover, .excerpt-contents a[aria-current="page"] { background: #eaf0ef; color: #0b4050; }
.excerpt-reading-pane { min-width: 0; scroll-margin-top: 112px; }
.excerpt-toolbar:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 16px; background: #153447; border: 1px solid #526878; border-bottom: 0; }
.excerpt-toolbar button, .excerpt-toolbar select { min-height: 44px; padding: 10px 13px; font: 500 .9375rem/1.4 var(--sans); cursor: pointer; border: 1px solid #89a0ac; border-radius: 4px; background: #22485c; color: #fff; }
.excerpt-toolbar select { max-width: 100%; }
.excerpt-toolbar button:disabled { opacity: .42; cursor: default; }
.excerpt-toolbar button:not(:disabled):hover, .excerpt-toolbar select:hover { background: #315c71; }
.excerpt-toolbar button[aria-pressed="true"] { background: #e8dfcd; color: #163348; border-color: #e8dfcd; }
.excerpt-toolbar .excerpt-mode { margin-left: auto; }
.excerpt-page-info { margin: 0; padding: 14px 20px; display: flex; justify-content: space-between; gap: 20px; background: #e5e9e6; color: #24485c; border-inline: 1px solid #adb9be; font-size: .875rem; line-height: 1.7; }
.excerpt-page-info strong { font-family: var(--en); font-weight: 600; font-variant-numeric: tabular-nums; }
.excerpt-viewport { overflow: auto; max-height: 78svh; padding: 25px 22px 28px; background: #1b3041; border: 1px solid #526878; scrollbar-color: #aebdbf #1b3041; }
.excerpt-page { margin: 0 auto 28px; min-width: 0; scroll-margin-top: 12px; }
.excerpt-page:last-child { margin-bottom: 0; }
.excerpt-page[hidden] { display: none; }
.excerpt-page-visual { margin: 0 auto; max-width: 710px; background: #fff; box-shadow: -4px 0 0 #c7c4ba,-7px 0 0 #e1dfd6,0 20px 45px #0003; }
.excerpt-page-visual img { display: block; width: 100%; height: auto; }
.excerpt-page-visual figcaption { padding: 14px 16px; font-size: .875rem; line-height: 1.8; color: #e3e8e9; background: #122a3a; }
.excerpt-transcript { max-width: 710px; margin: 15px auto 0; background: #fffcf7; color: #243f50; }
.excerpt-transcript > summary { padding: 18px; cursor: pointer; font-weight: 500; }
.excerpt-transcript-content { padding: 34px 38px; font-size: 1.0625rem; line-height: 2.1; }
.excerpt-transcript-content h3 { font-size: 1.6rem; line-height: 1.65; font-weight: 500; color: #143647; margin: 12px 0 14px; }
.excerpt-transcript-content .transcript-kicker { color: #81693f; font-size: .8125rem; letter-spacing: .06em; }
.excerpt-transcript-content .transcript-subtitle { color: #627582; font-size: .9375rem; margin-bottom: 25px; }
.excerpt-transcript-content h4 { margin: 28px 0 18px; padding: 12px 16px; background: #173b50; color: #fff; font-size: 1rem; font-weight: 500; }
.excerpt-transcript-content p { margin-block: 0 20px; overflow-wrap: anywhere; }
.excerpt-transcript-content ul { padding-left: 1.4em; margin: 0 0 24px; }
.excerpt-transcript-content li { padding-left: .15em; margin-bottom: 10px; }
.excerpt-transcript-content li::marker { color: #ac8740; }
.excerpt-transcript-content dl { margin: 0 0 24px; }
.excerpt-transcript-content dl > div { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 16px; padding: 16px; background: #edf1f0; margin-bottom: 8px; }
.excerpt-transcript-content dt { font-size: .9375rem; font-weight: 500; }
.excerpt-transcript-content dd { margin: 0; }
.excerpt-transcript-content .transcript-source { padding-top: 20px; border-top: 1px solid #c9d1d1; font-size: .8125rem; color: #647985; }
.zero-base-reader.is-ready .excerpt-transcript { display: none; }
.zero-base-reader.is-ready .excerpt-transcript > summary { display: none; }
.zero-base-reader.is-text-view .excerpt-transcript { display: block; margin-top: 0; }
.zero-base-reader.is-text-view .excerpt-page-visual { display: none; }
.zero-base-reader.is-zoomed .excerpt-page-visual { width: 1200px; max-width: none; }
.zero-base-excerpts a:focus-visible, .zero-base-excerpts summary:focus-visible { outline: 2px solid #32596b; outline-offset: 4px; }
.excerpt-toolbar :focus-visible, .excerpt-viewport:focus-visible { outline: 3px solid #d8c087; outline-offset: 3px; }
@media (max-width: 980px) {
  .excerpt-reader-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .excerpt-contents { position: static; }
  .excerpt-contents nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
  .excerpt-toolbar .excerpt-mode { margin-left: 8px; }
}
@media (max-width: 740px) {
  .excerpt-intro { grid-template-columns: minmax(0,1fr); gap: 40px; margin-bottom: 42px; }
  .excerpt-intro h2 { font-size: clamp(1.75rem,6.2vw,2.6rem); }
  .excerpt-intro .excerpt-lead { font-size: 1rem; }
  .excerpt-cover { width: min(68%,240px); }
  .excerpt-intro .button { width: 100%; gap: 15px; justify-content: space-between; }
  .excerpt-contents nav { grid-template-columns: minmax(0,1fr); }
  .excerpt-contents > summary { padding: 18px; }
  .excerpt-toolbar:not([hidden]) { gap: 8px; padding: 12px 8px; }
  .excerpt-toolbar button, .excerpt-toolbar select { padding: 10px; font-size: .875rem; }
  .excerpt-toolbar .excerpt-mode { margin-left: 0; }
  .excerpt-toolbar .excerpt-view-tools { display: flex; justify-content: center; gap: 8px; flex-basis: 100%; }
  .excerpt-page-info { padding: 12px 14px; }
  .excerpt-viewport { padding: 15px 10px 18px 15px; max-height: 75svh; }
  .excerpt-transcript-content { padding: 23px 19px; font-size: 1rem; line-height: 2.05; }
  .excerpt-transcript-content h3 { font-size: 1.3rem; }
  .excerpt-transcript-content h4 { padding: 10px 12px; }
  .excerpt-transcript-content dl > div { grid-template-columns: minmax(0,1fr); gap: 6px; padding: 14px; }
}
@media print {
  .excerpt-toolbar, .excerpt-contents { display: none !important; }
  .excerpt-reader-layout { display: block; }
  .excerpt-viewport { overflow: visible; max-height: none; background: none; }
  .excerpt-page { break-inside: avoid; }
}
