/* Reading features on the front page. */
.reader-home { --reader-ink: #123448; --reader-teal: #07565b; --reader-gold: #e9b354; --reader-line: #cfdad6; }
.reader-home .reader-deck { position: relative; margin: 26px 0 0; background: #123e43; color: #fff; overflow: hidden; border-radius: 5px; }
.reader-stage { display: grid; isolation: isolate; }
.reader-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); min-width: 0; }
.reader-slide[data-active="false"] { visibility: hidden; opacity: 0; pointer-events: none; }
.reader-copy { min-width: 0; padding: clamp(28px,3.5vw,55px) clamp(24px,3.5vw,54px) 88px; align-self: center; }
.reader-home .reader-kicker, .reader-home .reader-card-topic { font: 700 0.76rem/1.4 Arial,sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.reader-home .reader-kicker { display: flex; align-items: center; gap: .7em; margin: 0 0 1.05rem; color: #f1c77f; }
.reader-kicker::before { content: ""; width: 1.6em; height: 2px; background: currentColor; }
.reader-home .reader-copy h2 { font: 600 clamp(2rem,3.4vw,3.2rem)/1.06 Georgia,serif; letter-spacing: -.032em; color: white; margin: 0 0 1rem; text-wrap: balance; }
.reader-home .reader-copy h2 a, .reader-home .reader-open { color: white; text-decoration: none; }
.reader-copy h2 a:hover, .reader-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.reader-home .reader-summary { font: 400 clamp(.96rem,1.25vw,1.1rem)/1.55 Arial,sans-serif; color: #e4efeb; max-width: 45ch; margin: 0 0 1.1rem; }
.reader-home .reader-open { display: inline-flex; gap: .7em; align-items: center; border-bottom: 1px solid #e9b354; padding: .28rem 0; font: 700 .94rem/1.35 Arial,sans-serif; }
.reader-open span { color: #f1c77f; }
.reader-visual { min-width: 0; position: relative; background: #f7f5ed; min-height: 320px; }
.reader-visual img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.reader-visual.is-photo img { object-fit: cover; }
.reader-controls[hidden], .reader-fallback[hidden] { display: none !important; }
.reader-controls { position: absolute; inset: auto auto 21px clamp(24px,3.5vw,54px); max-width: calc(47% - 60px); display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #fff; }
.reader-controls button { appearance: none; box-sizing: border-box; cursor: pointer; background: transparent; color: #fff; border: 0; font: 600 .81rem/1 Arial,sans-serif; margin: 0; padding: 0; }
.reader-pagers { display:flex; align-items:center; }
.reader-controls [data-reader-go] { width: 24px; height: 36px; display: grid; place-items: center; }
.reader-controls [data-reader-go]::before { content: ""; display: block; width: 15px; height: 3px; border-radius: 2px; background: #829d9c; }
.reader-controls [data-reader-go][aria-current="true"]::before { background: #ffd48e; }
.reader-count { font: 600 .73rem/1.2 Arial,sans-serif; font-variant-numeric: tabular-nums; padding: 0 .55em 0 .25em; white-space: nowrap; }
.reader-controls .reader-arrow { display: grid; place-items: center; border: 1px solid #87a5a4; border-radius: 50%; width: 35px; height: 35px; font-size: 1.25rem; }
.reader-controls .reader-play { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 6px; }
.reader-play-icon { width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid #f2cf90; }
.reader-play[data-playing="true"] .reader-play-icon { width: 7px; height: 9px; border: 0; border-left: 2px solid #f2cf90; border-right: 2px solid #f2cf90; }
.reader-controls .reader-arrow:hover { background: #24595b; }
.reader-controls button:focus-visible, .reader-copy a:focus-visible, .reader-fallback a:focus-visible { outline: 3px solid #ffd48e; outline-offset: 2px; }
.reader-fallback { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; padding: .85rem 1.5rem; border-top: 1px solid #628382; }
.reader-home .reader-fallback a { color: #fff; font-size: .9rem; }
.reader-deck[data-reader-ready="true"] { touch-action: pan-y pinch-zoom; }
@media(prefers-reduced-motion:no-preference) {
  .reader-deck[data-reader-ready="true"] .reader-slide[data-active="true"] { animation: reader-dissolve .24s ease-out; }
  @keyframes reader-dissolve { from {opacity:.68;} to {opacity:1;} }
}
.reader-shelf { margin: 2.35rem 0 1.9rem; }
.reader-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.5rem; padding-bottom: .85rem; border-bottom: 2px solid var(--reader-ink); margin: 0 0 1.2rem; }
.reader-home .reader-section-head h2 { font: 600 clamp(1.75rem,2.7vw,2.4rem)/1.15 Georgia,serif; letter-spacing: -.025em; margin: 0; color: var(--reader-ink); }
.reader-section-head a, .reader-shortlist a { font: 700 .9rem/1.4 Arial,sans-serif; color: var(--reader-teal); text-decoration: none; }
.reader-section-head a:hover, .reader-shortlist a:hover { text-decoration: underline; }
.reader-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2vw,30px); }
.reader-card { min-width: 0; }
.reader-card-art { display: block; background: #f7f6f0; border: 1px solid #e1e5df; border-radius: 3px; overflow: hidden; }
.reader-card-art img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain; }
.reader-card-body { padding: 1rem 0 0; }
.reader-home .reader-card-topic { color: #25656b; margin: 0 0 .4rem; font-size:.69rem; }
.reader-card h3 { font: 600 clamp(1.25rem,1.75vw,1.6rem)/1.2 Georgia,serif; letter-spacing:-.018em; margin:0 0 .55rem; }
.reader-card h3 a { color: var(--reader-ink); text-decoration: none; }
.reader-card-body > p:last-child { font: 400 .94rem/1.5 Arial,sans-serif; color: #455e66; margin: 0; }
.reader-shortlist { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: #eef5f2; border-block: 1px solid var(--reader-line); }
.reader-shortlist a { display:flex; justify-content:space-between; align-items:center; gap:.6em; padding: 1.05rem; border-right:1px solid var(--reader-line); }
.reader-shortlist a:last-child { border: 0; }
@media (min-width:761px) and (max-width: 950px) {
  .reader-home .reader-copy { padding-left: 24px; padding-right: 24px; }
  .reader-controls { left: 24px; max-width:calc(47% - 35px); gap: 4px; }
  .reader-pagers [data-reader-go] { width:24px; }
}
@media (max-width:760px) {
  .reader-home .reader-deck { margin-top: 16px; }
  .reader-slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .reader-visual { order: -1; aspect-ratio: 3/2; min-height: 0; width: 100%; }
  .reader-home .reader-copy { padding: 1.4rem 1.3rem 1rem; align-self: start; }
  .reader-home .reader-kicker { font-size: .67rem; margin-bottom: .65rem; }
  .reader-home .reader-copy h2 { font-size: clamp(1.75rem,6vw,2.4rem); margin-bottom: .65rem; }
  .reader-home .reader-summary { margin-bottom: .65rem; font-size: .95rem; }
  .reader-controls { position: static; max-width: none; gap: 5px; padding: 0 1.3rem 1.1rem; }
  .reader-controls .reader-arrow { width: 38px; height: 38px; }
  .reader-controls .reader-play { min-height: 38px; }
  .reader-shelf { margin: 1.6rem 0; }
  .reader-section-head { margin-bottom: .2rem; }
  .reader-cards { display: block; }
  .reader-card { display:grid; grid-template-columns: minmax(84px,30%) minmax(0,1fr); align-items:center; gap: 1rem; padding: 1rem 0; border-bottom:1px solid var(--reader-line); }
  .reader-card-body { padding:0; }
  .reader-card-body > p:last-child { font-size:.88rem; }
  .reader-shortlist { grid-template-columns: 1fr 1fr; }
  .reader-shortlist a { padding:.8rem; }
  .reader-shortlist a:nth-child(2) { border-right:0; }
  .reader-shortlist a:nth-child(n+3) { border-top:1px solid var(--reader-line); }
}
@media(max-width:360px) {
  .reader-controls { padding-inline: .85rem; gap: 3px; }
  .reader-pagers [data-reader-go] { width:24px; }
  .reader-count { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); padding:0; white-space:nowrap; }
  .reader-card { grid-template-columns: 72px minmax(0,1fr); gap: .75rem; }
}
