.content-post-reader-layer {
    position: fixed;
    z-index: 10030;
    inset: 0;
    display: grid;
    overflow: hidden;
    padding: 24px;
    place-items: center;
    background: rgba(14, 31, 20, .72);
}
.content-post-reader {
    position: relative;
    width: min(900px, 100%);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 28px;
    color: #1f3526;
    background: #fffdf8;
    box-shadow: 0 34px 90px rgba(0,0,0,.3);
}
.content-post-reader__scroll {
    max-height: calc(100vh - 48px);
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    padding: clamp(30px, 5vw, 58px);
    scrollbar-color: rgba(82, 98, 88, .58) transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    overscroll-behavior: contain;
}
.content-post-reader__scroll::-webkit-scrollbar { width: 6px; }
.content-post-reader__scroll::-webkit-scrollbar-track { background: transparent; }
.content-post-reader__scroll::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(82, 98, 88, .58); }
.content-post-reader__scroll::-webkit-scrollbar-thumb:hover { background: rgba(63, 77, 68, .76); }
.content-post-reader__close {
    position: absolute;
    z-index: 4;
    inset-block-start: 16px;
    inset-inline-end: 16px;
    display: grid;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #24412d;
    background: #e7eedf;
    font-size: 1.5rem;
    cursor: pointer;
}
.content-post-reader__header { max-width: 720px; margin-bottom: 28px; padding-inline-end: 44px; }
.content-post-reader__eyebrow { margin: 0 0 9px; color: #557160; font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.content-post-reader h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; }
.content-post-reader__summary { margin: 18px 0 0; color: #52655a; font-size: 1.1rem; line-height: 1.6; }
.content-post-reader__meta { margin: 14px 0 0; color: #748078; font-size: .88rem; }
.content-post-reader__credit { margin: 8px 0 0; color: #66736a; font-size: .9rem; }
.content-post-reader__video { margin: 0 0 30px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: #17251b; }
.content-post-reader__video iframe { width: 100%; height: 100%; border: 0; }
.content-post-video-placeholder {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    padding: 22px;
    place-items: center;
    border: 0;
    color: #fff;
    background-color: #315b3c;
    background-position: center;
    background-size: cover;
    cursor: pointer;
}
.content-post-video-placeholder::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(rgba(17,35,24,.18),rgba(17,35,24,.42)); pointer-events: none; }
.content-post-video-placeholder__thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.content-post-video-placeholder__thumbnail.is-fallback { box-sizing: border-box; padding: 18%; object-fit: contain; opacity: .68; }
.content-post-video-placeholder__provider { position: absolute; z-index: 2; inset-block-start: 18px; inset-inline-start: 18px; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.58); font-weight: 700; }
.content-post-video-placeholder__play { position: relative; z-index: 2; display: grid; width: 72px; height: 72px; padding-inline-start: 5px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: #24412d; font-size: 1.7rem; box-shadow: 0 12px 32px rgba(0,0,0,.28); }
.content-post-reader__gallery { margin-bottom: 30px; }
.content-post-reader__figure { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: #eef2e9; }
.content-post-reader__figure > img { display: block; width: 100%; max-height: 620px; object-fit: contain; }
.content-post-reader__figure figcaption { padding: 12px 16px; color: #52655a; background: #f3f1e8; font-size: .9rem; }
.content-post-reader__gallery-nav { position: absolute; top: 50%; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; color: #24412d; background: rgba(255,255,255,.9); font-size: 2rem; cursor: pointer; }
.content-post-reader__gallery-nav--prev { inset-inline-start: 14px; }
.content-post-reader__gallery-nav--next { inset-inline-end: 14px; }
.content-post-reader__thumbs { display: flex; gap: 10px; overflow-x: auto; margin-top: 12px; padding-bottom: 4px; }
.content-post-reader__thumbs button { flex: 0 0 82px; height: 62px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: #e8ede3; cursor: pointer; }
.content-post-reader__thumbs button.is-active { border-color: #315b3c; }
.content-post-reader__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.content-post-reader__body { max-width: 740px; white-space: pre-wrap; color: #273c2d; font-size: 1.04rem; line-height: 1.78; }
body.content-post-reader-open { overflow: hidden; }
@media (max-width: 640px) {
    .content-post-reader-layer { padding: 0; place-items: stretch; }
    .content-post-reader { width: 100%; max-height: 100dvh; min-height: 100dvh; border-radius: 0; }
    .content-post-reader__scroll { max-height: 100dvh; min-height: 100dvh; padding: 26px 20px 40px; }
    .content-post-reader__scroll::-webkit-scrollbar { width: 4px; }
    .content-post-reader__close { inset-block-start: 12px; inset-inline-end: 12px; }
    .content-post-reader__video { border-radius: 14px; }
    .content-post-reader__figure { border-radius: 14px; }
    .content-post-video-placeholder__play { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
    .content-post-reader *, .content-post-reader *::before, .content-post-reader *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
