/* Isolated comparison: Stripe's events gallery, not its global design system. */
.ath-reading { background: #fff; border-top: 1px solid var(--rl-line, #dce9ee); margin-top: 54px; padding: 90px 0 96px; scroll-margin-top: 110px; }
.ath-reading *, .ath-reading *::before, .ath-reading *::after { box-sizing: border-box; }
.ath-reading-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 40px; }
body.ath-resources .ath-reading h2, body.ath-resources .ath-reading .ath-reading-subtitle { font-family: 'Quicksand', sans-serif; font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; margin: 0; }
body.ath-resources .ath-reading .ath-reading-subtitle { color: var(--rl-muted, #617083); max-width: 43ch; }
.ath-reading-controls { display: none; flex-shrink: 0; gap: 8px; }
.ath-reading.is-enhanced .ath-reading-controls { display: flex; }
.ath-reading-controls button { display: grid; place-items: center; border: 0; border-radius: 4px; background: #e9f5f9; color: #0884b8; width: 44px; height: 44px; padding: 12px; transition: background-color .2s; }
.ath-reading-controls button:hover { background: #d4eaf3; }
.ath-reading-controls svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.ath-reading button:focus-visible, .ath-reading a:focus-visible { outline: 3px solid #0884b8; outline-offset: 4px; }
.ath-reading-stage { display: none; position: relative; overflow: hidden; width: 100%; aspect-ratio: 1232 / 460; }
.ath-reading-stage button { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; padding: 0; border: 0; border-radius: 6px; background: #e5f1f5; color: white; text-align: left; transition: none; contain: layout paint; will-change: transform, width; }
.ath-reading-stage button:disabled { cursor: default; opacity: 1; }
.ath-reading-stage button:focus-visible { outline-offset: -4px; z-index: 2; }
.ath-reading-stage img { position: absolute; width: var(--gallery-image-width); height: 100%; max-width: none; object-fit: cover; top: 0; left: 0; pointer-events: none; transition: none; will-change: transform; }
.ath-reading-stage span { position: absolute; bottom: 32px; left: 32px; font-family: 'Quicksand', sans-serif; font-size: clamp(26px, 3vw, 42px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; width: calc(var(--gallery-image-width) - 64px); max-width: none; text-wrap: balance; }
.ath-reading-stage button[data-slot="1"] span, .ath-reading-stage button[data-slot="2"] span, .ath-reading-stage button[data-slot="3"] span, .ath-reading-stage button[data-slot="4"] span, .ath-reading-stage button[data-slot="5"] span, .ath-reading-stage button[data-slot="6"] span { display: none; }
.ath-reading-stage button[data-theme="light"] span, .ath-reading-cover[data-theme="light"] > span { color: #173b50; }
.ath-reading-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ath-reading-item { flex: 0 0 calc(100% - 30px); min-width: 0; scroll-snap-align: start; }
.ath-reading-cover { overflow: hidden; position: relative; border-radius: 6px; aspect-ratio: 336 / 350; background: #ecf6fa; margin-bottom: 24px; }
.ath-reading-cover img { height: 100%; width: 100%; object-fit: cover; object-position: center; }
.ath-reading-cover > span { position: absolute; bottom: 25px; left: 24px; right: 24px; color: #fff; font-family: 'Quicksand', sans-serif; font-size: 31px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.ath-reading-item:nth-child(2) .ath-reading-cover > span, .ath-reading-item:nth-child(4) .ath-reading-cover > span, .ath-reading-item:nth-child(8) .ath-reading-cover > span { color: #173b50; }
.ath-reading-detail { display: grid; align-items: start; gap: 24px; }
.ath-reading-audience { display: block; color: #0884b8; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; line-height: 1.5; margin: 0 0 10px; }
body.ath-resources .ath-reading h3, body.ath-resources .ath-reading .ath-reading-copy p { display: inline; font-family: 'Nunito', sans-serif; font-size: 20px; font-weight: 400; line-height: 1.35; letter-spacing: -.015em; margin: 0; }
body.ath-resources .ath-reading h3 { color: #17223b; font-weight: 700; }
body.ath-resources .ath-reading .ath-reading-copy p { color: #617083; }
.ath-reading-link { display: inline-flex; align-items: center; justify-content: center; justify-self: start; gap: 12px; border: 1px solid #b9d6e2; border-radius: 4px; color: #0884b8; font-size: 15px; line-height: 1.4; padding: 13px 18px; min-height: 48px; max-width: 100%; transition: color .2s, background-color .2s; }
.ath-reading-link:hover { color: #101c3d; background: #f2f9fc; }
.ath-reading-link span { transition: transform .2s; }
.ath-reading-link:hover span { transform: translateX(3px); }
.ath-reading-status { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 640px) {
    .ath-reading.is-enhanced .ath-reading-stage { display: block; margin-bottom: 28px; }
    .ath-reading.is-enhanced .ath-reading-track { display: block; overflow: visible; }
    .ath-reading.is-enhanced .ath-reading-item:not(.is-active) { display: none; }
    .ath-reading.is-enhanced .ath-reading-cover { display: none; }
    .ath-reading-copy { max-width: 790px; }
}
@media (min-width: 940px) { .ath-reading.is-enhanced .ath-reading-detail { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; } }
@media (min-width: 640px) and (max-width: 939px) {
    .ath-reading-header { gap: 25px; }
    body.ath-resources .ath-reading h2, body.ath-resources .ath-reading .ath-reading-subtitle { font-size: 29px; }
    .ath-reading-stage span { bottom: 22px; left: 22px; width: calc(var(--gallery-image-width) - 44px); font-size: 28px; }
}
@media (max-width: 639px) {
    .ath-reading { margin-top: 40px; padding: 60px 0 65px; }
    .ath-reading-header { display: block; margin-bottom: 30px; }
    body.ath-resources .ath-reading h2, body.ath-resources .ath-reading .ath-reading-subtitle { font-size: 27px; line-height: 1.25; }
    .ath-reading-controls { margin-top: 22px; }
    .ath-reading-track { padding: 4px 4px 14px; margin-inline: -4px; }
    .ath-reading-item { flex-basis: calc(100% - 24px); }
    body.ath-resources .ath-reading h3, body.ath-resources .ath-reading .ath-reading-copy p { font-size: 18px; line-height: 1.45; }
    .ath-reading-cover > span { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) { .ath-reading *, .ath-reading *::before, .ath-reading *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 639px) and (prefers-reduced-motion: no-preference) {
    .ath-reading.is-enhanced .ath-reading-cover { transform: scale(var(--gallery-scale, 1)); transform-origin: center; }
    .ath-reading.is-enhanced .ath-reading-detail { opacity: var(--gallery-opacity, 1); }
}
