/* ==========================================================================
   Press: magazine shelf under the book, and the flipbook reader (js/flipbook.js)
   ========================================================================== */

/* ---------- Press features: each laid out like the book showcase above ---------- */

.press-shelf {
    max-width: 1200px;
    margin: 0 auto;
}

.press-shelf-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.5px;
    text-align: center;
}

.book-showcase.press-feature {
    margin-top: 0;
}

.press-feature .book-cover {
    cursor: pointer;
}

.press-feature .book-cover img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* The book's call to action is a link; these are buttons that open the reader */
.press-feature .cta-button {
    font-family: inherit;
    cursor: pointer;
}

.press-feature .cta-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .press-shelf-title {
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    .press-shelf-title {
        font-size: 28px;
    }
}

/* ---------- Reader shell ---------- */

html.pr-open,
html.pr-open body {
    overflow: hidden;
}

.pr-reader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    grid-template-rows: 60px minmax(0, 1fr) 64px;
    background: radial-gradient(ellipse 70% 60% at 50% 48%, #1d1a16 0%, #080808 72%);
    color: #F1F4F4;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pr-reader[hidden] {
    display: none;
}

.pr-reader.is-visible {
    opacity: 1;
}

.pr-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.pr-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-tabs {
    display: flex;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.pr-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 5px 14px 5px 5px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #9d9d9d;
    font: 500 14px/1 "Montserrat", sans-serif;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pr-tab img {
    width: 30px;
    height: 38px;
    object-fit: cover;
    border-radius: 2px;
}

.pr-tab:hover {
    color: #fff;
}

.pr-tab[aria-pressed="true"] {
    color: #fff;
    border-color: rgba(231, 175, 62, 0.55);
    background: rgba(231, 175, 62, 0.08);
}

.pr-close,
.pr-nav {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.pr-close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
}

.pr-close:hover,
.pr-nav:hover:not(:disabled) {
    background: rgba(231, 175, 62, 0.16);
    border-color: rgba(231, 175, 62, 0.6);
}

.pr-tab:focus-visible,
.pr-close:focus-visible,
.pr-nav:focus-visible {
    outline: 2px solid #E7AF3E;
    outline-offset: 2px;
}

.pr-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 12px 0;
}

.pr-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 54px;
    height: 54px;
    transform: translateY(-50%);
}

.pr-prev {
    left: 22px;
}

.pr-next {
    right: 22px;
}

.pr-nav:disabled {
    opacity: 0.2;
    cursor: default;
}

.pr-status {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    font-size: 15px;
    color: #bdbdbd;
    letter-spacing: 0.3px;
}

.pr-status[hidden] {
    display: none;
}

.pr-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 0 84px;
    font-size: 13px;
    color: #9a9a9a;
    text-align: center;
}

.pr-count {
    margin: 0;
    font-variant-numeric: tabular-nums;
    color: #d4d4d4;
}

.pr-hint {
    margin: 0;
}

.pr-hint[hidden] {
    display: none;
}

@media (max-width: 899px), (max-aspect-ratio: 21/20) {
    .pr-nav {
        top: auto;
        bottom: -58px;
        width: 46px;
        height: 46px;
        transform: none;
    }

    .pr-prev {
        left: 14px;
    }

    .pr-next {
        right: 14px;
    }

    .pr-footer {
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
    }

    .pr-tab {
        font-size: 12px;
        gap: 8px;
        padding-right: 10px;
    }

    .pr-tab img {
        width: 24px;
        height: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pr-reader {
        transition: none;
    }
}

/* ---------- StPageFlip base rules (from page-flip@2.0.7 src/Style/stPageFlip.css) ---------- */

.stf__parent {
    position: relative;
    display: block;
    box-sizing: border-box;
    transform: translateZ(0);
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}

.sft__wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.stf__parent canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.stf__block {
    position: absolute;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    perspective: 2000px;
}

.stf__item {
    display: none;
    position: absolute;
    transform-style: preserve-3d;
}

.stf__outerShadow,
.stf__innerShadow,
.stf__hardShadow,
.stf__hardInnerShadow {
    position: absolute;
    left: 0;
    top: 0;
}

/* ---------- Pages: shared ---------- */

.pr-book-slot,
.pr-measure {
    --fs: clamp(12.5px, calc(var(--u) * 2.75), 16.5px);
    --lab: max(8px, calc(var(--u) * 1.55));
    --f-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --f-sans: 'Jost', 'Century Gothic', 'Montserrat', sans-serif;
    --f-didone: 'Bodoni Moda', Didot, 'Playfair Display', serif;
}

.pr-book-slot {
    position: relative;
    transition: transform 0.6s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.pr-spread.pr-at-cover {
    transform: translateX(-25%);
}

.pr-spread.pr-at-back {
    transform: translateX(25%);
}

@media (prefers-reduced-motion: reduce) {
    .pr-book-slot {
        transition: none;
    }
}

.pr-measure {
    position: absolute;
    top: 0;
    left: -100000px;
    width: var(--pw);
    visibility: hidden;
    pointer-events: none;
}

/* The page element itself belongs to StPageFlip (it sets display and position),
   so all layout lives on the inner .pr-in wrapper. */
.pr-page {
    width: var(--pw);
    height: var(--ph);
    overflow: hidden;
    box-sizing: border-box;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pr-measure .pr-page {
    position: relative;
}

.pr-in {
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.pr-page p,
.pr-page h2,
.pr-page h3,
.pr-page blockquote {
    margin: 0;
}

/* Gutter shading where the two pages of a spread meet */
.pr-spread .pr-left .pr-in::after,
.pr-spread .pr-right .pr-in::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 4;
    width: 9%;
    pointer-events: none;
}

.pr-spread .pr-left .pr-in::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
}

.pr-spread .pr-right .pr-in::after {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
}

/* Cover */
.pr-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pr-cover .pr-in::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(0, 0, 0, 0.32) 0,
        rgba(0, 0, 0, 0) 3%,
        rgba(255, 255, 255, 0.1) 4%,
        rgba(255, 255, 255, 0) 7%);
    pointer-events: none;
}

.pr-single .pr-cover .pr-in::after {
    display: none;
}

/* Opening photo page */
.pr-photo {
    background: var(--photo-bg);
}

.pr-photo-label {
    position: absolute;
    top: calc(var(--u) * 6.5);
    left: calc(var(--u) * 8.5);
    z-index: 2;
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: max(8px, calc(var(--u) * 1.9));
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--photo-label, #fff);
}

.pr-photo-label::before {
    content: '';
    display: block;
    width: calc(var(--u) * 5);
    height: max(2px, calc(var(--u) * 0.45));
    margin-bottom: calc(var(--u) * 2.4);
    background: var(--accent);
}

.pr-photo-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 90%;
    width: auto;
    max-width: none;
    transform: translateX(-50%);
}

.pr-photo--photo .pr-photo-img {
    left: 0;
    width: 100%;
    height: 80%;
    object-fit: cover;
    object-position: 50% 30%;
    transform: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
}

/* Opener: kicker, headline, standfirst, stats */
.pr-opener {
    background: var(--dark);
    color: #fff;
}

.pr-opener .pr-in {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(var(--u) * 8) calc(var(--u) * 8.5) calc(var(--u) * 6);
}

.pr-kicker {
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: calc(var(--u) * 2.1);
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: calc(var(--u) * 2.6) !important;
}

.pr-title {
    font-family: var(--f-sans);
    font-weight: 700;
    font-size: calc(var(--u) * var(--title-size, 9.4));
    line-height: 0.98;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    color: #fff;
}

.pr-title span {
    display: block;
}

.pr-title-accent {
    color: var(--accent);
}

.pr-opener-rule {
    display: block;
    width: calc(var(--u) * 10);
    height: max(2px, calc(var(--u) * 0.45));
    margin: calc(var(--u) * 4) 0;
    background: var(--accent);
}

.pr-dek {
    font-family: var(--f-serif);
    font-size: calc(var(--u) * 3.05);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: calc(var(--u) * 5.5) !important;
}

.pr-stats {
    display: grid;
    grid-template-columns: repeat(var(--stat-count), minmax(0, 1fr));
    padding-top: calc(var(--u) * 3.6);
    margin-bottom: calc(var(--u) * 4.5);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.pr-stat {
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.pr-stat:first-child {
    border-left: 0;
}

.pr-stat strong {
    display: block;
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: calc(var(--u) * 5);
    line-height: 1;
    color: var(--accent);
}

.pr-stat span {
    display: block;
    margin-top: calc(var(--u) * 1.4);
    padding: 0 calc(var(--u) * 0.8);
    font-family: var(--f-sans);
    font-size: calc(var(--u) * 1.4);
    line-height: 1.35;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.pr-byline {
    font-family: var(--f-sans);
    font-size: max(7px, calc(var(--u) * 1.45));
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* Text pages */
.pr-text .pr-in {
    display: flex;
    flex-direction: column;
    padding: calc(var(--u) * 6.5) calc(var(--u) * 8.5) calc(var(--u) * 5.5);
}

.pr-spread .pr-left.pr-text .pr-in {
    padding-right: calc(var(--u) * 10);
}

.pr-spread .pr-right.pr-text .pr-in {
    padding-left: calc(var(--u) * 10);
}

.pr-run,
.pr-foot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-family: var(--f-sans);
    font-size: var(--lab);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.pr-run {
    padding-bottom: calc(var(--u) * 1.8);
    border-bottom: 1px solid var(--hair);
}

.pr-run-mag {
    font-weight: 600;
    color: var(--ink-strong);
}

.pr-run-mag::before {
    content: '';
    display: block;
    width: calc(var(--u) * 4);
    height: max(2px, calc(var(--u) * 0.4));
    margin-bottom: calc(var(--u) * 1.6);
    background: var(--accent);
}

.pr-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding-top: calc(var(--u) * 4.2);
}

.pr-foot {
    padding-top: calc(var(--u) * 1.8);
    border-top: 1px solid var(--hair);
}

.pr-left .pr-foot {
    flex-direction: row-reverse;
}

.pr-folio {
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--ink-strong);
}

.pr-p {
    font-size: var(--fs);
    line-height: 1.55;
    text-indent: 1.4em;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
}

.pr-justify .pr-p {
    text-align: justify;
}

.pr-justify .pr-p.pr-split {
    text-align-last: justify;
}

.pr-p.pr-first,
.pr-p.pr-cont {
    text-indent: 0;
}

.pr-drop::first-letter {
    float: left;
    font-family: var(--f-didone);
    font-weight: 400;
    font-size: calc(var(--fs) * 4.15);
    line-height: 0.8;
    padding: 0.07em 0.08em 0 0;
    color: var(--accent);
}

.pr-h {
    font-family: var(--f-head);
    font-weight: var(--head-weight);
    font-size: calc(var(--fs) * var(--head-scale));
    line-height: 1.3;
    letter-spacing: var(--head-track);
    text-transform: var(--head-case);
    color: var(--head-color);
    margin: calc(var(--fs) * 1.7) 0 calc(var(--fs) * 0.75) !important;
}

.pr-step {
    margin: calc(var(--fs) * 1.7) 0 calc(var(--fs) * 0.75);
}

.pr-step .pr-h {
    margin: calc(var(--fs) * 0.3) 0 0 !important;
}

.pr-body > .pr-h:first-child,
.pr-body > .pr-step:first-child {
    margin-top: 0 !important;
}

.pr-step-n {
    font-family: var(--f-sans);
    font-size: var(--lab);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.pr-step-n span {
    font-family: var(--f-didone);
    font-size: 2.3em;
    letter-spacing: 0;
    margin-right: 0.45em;
    vertical-align: -0.18em;
}

.pr-q {
    margin: calc(var(--fs) * 1.3) calc(var(--u) * 2) !important;
    padding: calc(var(--fs) * 0.95) 0;
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--hair);
    text-align: center;
}

.pr-q p {
    font-family: var(--f-didone);
    font-style: italic;
    font-size: calc(var(--fs) * 1.3);
    line-height: 1.4;
    color: var(--ink-strong);
    text-wrap: balance;
}

.pr-q cite {
    display: block;
    margin-top: calc(var(--fs) * 0.7);
    font-family: var(--f-sans);
    font-style: normal;
    font-size: var(--lab);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.pr-q-mark::before {
    content: '“';
    display: block;
    font-family: var(--f-didone);
    font-size: calc(var(--fs) * 3);
    line-height: 0.62;
    color: var(--accent);
}

/* Pull-quote page, used when the page count needs one more page */
.pr-feature .pr-in {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--u) * 11) calc(var(--u) * 11) calc(var(--u) * 5.5);
}

.pr-feature-mark {
    font-family: var(--f-didone);
    font-size: calc(var(--u) * 24);
    line-height: 0.5;
    height: calc(var(--u) * 10);
    color: var(--accent);
}

.pr-feature-text {
    font-family: var(--f-didone);
    font-style: italic;
    font-size: calc(var(--u) * 6.2);
    line-height: 1.24;
    color: var(--ink-strong);
    text-wrap: balance;
}

.pr-feature-by {
    margin-top: calc(var(--u) * 4) !important;
    font-family: var(--f-sans);
    font-size: var(--lab);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.pr-feature .pr-foot {
    position: absolute;
    left: calc(var(--u) * 8.5);
    right: calc(var(--u) * 8.5);
    bottom: calc(var(--u) * 5.5);
}

/* Closing line */
.pr-closer {
    background: var(--dark);
    color: #fff;
}

.pr-closer .pr-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--u) * 10);
    text-align: center;
}

.pr-closer-rule {
    display: block;
    width: calc(var(--u) * 7);
    height: max(2px, calc(var(--u) * 0.4));
    margin-bottom: calc(var(--u) * 6);
    background: var(--accent);
}

.pr-closer-text {
    font-family: var(--f-didone);
    font-style: italic;
    font-size: calc(var(--u) * 5.8);
    line-height: 1.34;
    color: #fff;
    text-wrap: balance;
}

.pr-closer-by {
    margin-top: calc(var(--u) * 5) !important;
    font-family: var(--f-sans);
    font-size: var(--lab);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.pr-closer-mag {
    position: absolute;
    bottom: calc(var(--u) * 5.5);
    left: 0;
    right: 0;
    font-family: var(--f-sans);
    font-size: var(--lab);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* Back cover: house ad for the book */
.pr-back {
    background: radial-gradient(ellipse 80% 60% at 50% 38%, #1d1911 0%, #000 70%);
    color: #F1F4F4;
}

.pr-back .pr-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--u) * 8);
    text-align: center;
}

.pr-back-book {
    width: 38%;
    height: auto;
    margin-bottom: calc(var(--u) * 5.5);
    border-radius: 3px;
    box-shadow: 0 calc(var(--u) * 3) calc(var(--u) * 7) rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(186, 142, 56, 0.3);
}

.pr-back-kicker {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: max(8px, calc(var(--u) * 1.8));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #BA8E38;
}

.pr-back-title {
    margin: calc(var(--u) * 1.5) 0 calc(var(--u) * 1.8) !important;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: calc(var(--u) * 6.8);
    line-height: 1.05;
    color: #E7AF3E;
}

.pr-back-text {
    font-family: 'Montserrat', sans-serif;
    font-size: max(10px, calc(var(--u) * 2.4));
    color: #cfcfcf;
    margin-bottom: calc(var(--u) * 5) !important;
}

.pr-back-cta {
    display: inline-block;
    padding: calc(var(--u) * 2) calc(var(--u) * 4.5);
    border-radius: 999px;
    background: #E7AF3E;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: max(10px, calc(var(--u) * 2.2));
    text-decoration: none;
}

.pr-back-cta:hover {
    background: #f1bf55;
}

.pr-back-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.pr-back-site {
    position: absolute;
    bottom: calc(var(--u) * 5);
    left: 0;
    right: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--lab);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #6d6d6d;
}

/* Fallback when the page-turn library cannot load: a swipeable strip */
.pr-fallback {
    display: flex;
    gap: 16px;
    max-width: 100vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 12px;
}

.pr-fallback .pr-page {
    position: relative;
    flex: 0 0 auto;
    scroll-snap-align: center;
}

/* ---------- Themes ---------- */

.pr-theme-boss {
    --paper: #F4F2EE;
    --ink: #2A2D33;
    --ink-strong: #15181D;
    --muted: #9A9186;
    --hair: #D8D1C5;
    --accent: #ED2E24;
    --dark: #0E1117;
    --photo-bg: radial-gradient(ellipse 80% 62% at 50% 34%, #2b3346 0%, #141925 58%, #0b0e14 100%);
    --f-head: var(--f-sans);
    --head-weight: 700;
    --head-scale: 0.98;
    --head-track: 0.12em;
    --head-case: uppercase;
    --head-color: var(--accent);
    --title-size: 9.6;
}

.pr-theme-luxlife {
    --paper: #F6F1E7;
    --ink: #2E2A25;
    --ink-strong: #1A1714;
    --muted: #A3927A;
    --hair: #E2D8C6;
    --accent: #B38A3A;
    --dark: #0D0D0D;
    --photo-bg: #111;
    --photo-label: #C9A04B;
    --f-head: var(--f-sans);
    --head-weight: 600;
    --head-scale: 0.98;
    --head-track: 0.14em;
    --head-case: uppercase;
    --head-color: var(--accent);
    --title-size: 8.1;
}

.pr-theme-luxlife .pr-opener .pr-title-accent,
.pr-theme-luxlife .pr-kicker,
.pr-theme-luxlife .pr-stat strong {
    color: #C9A04B;
}

.pr-theme-resident {
    --paper: #3B3E43;
    --ink: #D9D5CC;
    --ink-strong: #F3F0E8;
    --muted: #8E8A82;
    --hair: rgba(255, 255, 255, 0.14);
    --accent: #C9A45C;
    --dark: #26282C;
    --photo-bg: radial-gradient(ellipse 78% 62% at 50% 38%, #a69886 0%, #7e7063 46%, #4d443b 100%);
    --f-head: var(--f-didone);
    --head-weight: 400;
    --head-scale: 1.5;
    --head-track: 0.005em;
    --head-case: none;
    --head-color: var(--ink-strong);
    --title-size: 9.4;
}

.pr-theme-resident .pr-page:not(.pr-cover):not(.pr-back):not(.pr-photo) {
    background: linear-gradient(180deg, #43464b 0%, #36393d 100%);
}

.pr-theme-resident .pr-opener {
    background: linear-gradient(180deg, #2b2d31 0%, #1f2124 100%) !important;
}

.pr-theme-resident .pr-title {
    font-family: var(--f-didone);
    font-weight: 400;
    text-transform: none;
    letter-spacing: -0.01em;
    line-height: 1.02;
}

.pr-theme-resident .pr-title-accent {
    font-style: italic;
}

.pr-theme-resident .pr-h::after {
    content: '';
    display: block;
    width: 2.2em;
    height: 1px;
    margin-top: 0.45em;
    background: var(--accent);
}

.pr-theme-resident .pr-q {
    border: 0;
    border-left: 2px solid var(--accent);
    padding: 0.1em 0 0.1em 1.2em;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left;
}

.pr-theme-resident .pr-q-mark::before {
    display: none;
}

.pr-theme-resident .pr-q p {
    color: var(--ink-strong);
}
