/* Topics extension: refreshed directory from Topics HTML, detail from Topic inner page PDF. */
.psh-tpx{--tpx-ink:#26201c;--tpx-body:#4d4744;--tpx-cream:#f5f0e6;--tpx-paper:#f3eee5;--tpx-accent:#bb603e;--tpx-sand:#d0b593;box-sizing:border-box;font-family:Archivo,Arial,sans-serif;color:var(--tpx-ink);background:var(--tpx-paper)}
.psh-tpx *, .psh-tpx *::before,.psh-tpx *::after{box-sizing:border-box}
.psh-tpx h1,.psh-tpx h2,.psh-tpx h3,.psh-tpx p{margin:0}
.psh-tpx a{color:inherit;text-decoration:none}
.psh-tpx a:hover{text-decoration:none}
.psh-tpx svg{display:inline-block;vertical-align:middle;flex-shrink:0}
.psh-tpx-archive{width:100%}
.psh-tpx-topic{padding:44px clamp(24px,3vw,48px) 60px;border-bottom:1px solid #d6ccc2}
.psh-tpx-topic+.psh-tpx-topic{padding-top:52px}
.psh-tpx-eyebrow,.psh-tpx-kicker{font-size:13px;line-height:1.5;font-weight:650;letter-spacing:.02em;text-transform:uppercase;color:var(--tpx-accent);margin-bottom:22px!important}
.psh-tpx-topic h2{font-size:clamp(42px,4.45vw,62px);font-weight:720;line-height:1.08;letter-spacing:-.035em;text-transform:uppercase;margin:0 0 27px}
.psh-tpx-topic-description{font-size:21px;line-height:1.6;color:var(--tpx-body);max-width:930px;margin-bottom:22px!important}
.psh-tpx-explore{display:inline-flex;align-items:center;gap:14px;min-height:42px;font-size:17px;font-weight:550;color:var(--wp--preset--color--wine,#692f3b)!important}
.psh-tpx-explore:hover{opacity:.7}
.psh-tpx-reading-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:44px 0 24px;min-height:48px}
.psh-tpx-reading-top p{display:flex;gap:16px;font-size:13px;font-weight:650;text-transform:uppercase;letter-spacing:.03em}
.psh-tpx-reading-top p span{font-weight:400}
.psh-tpx-controls{display:flex;gap:10px}
.psh-tpx-controls button{width:48px;height:48px;border:1px solid #b9adaf;border-radius:50%;display:grid;place-items:center;background:transparent;color:var(--tpx-ink);cursor:pointer}
.psh-tpx-controls button:disabled{opacity:.33;cursor:default}
.psh-tpx-books-track{display:grid;gap:24px}
.psh-tpx-books--carousel .psh-tpx-books-track{grid-auto-flow:column;grid-auto-columns:356px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;padding:0 0 14px}
.psh-tpx-books--grid .psh-tpx-books-track{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}
.psh-tpx-book{min-width:0;scroll-snap-align:start}
.psh-tpx-book a{display:block}
.psh-tpx-cover{height:clamp(290px,31vw,478px);display:flex;flex-direction:column;justify-content:space-between;padding:32px 26px;border-radius:3px;background:#fff8f2;position:relative;overflow:hidden;box-shadow:0 12px 17px -14px #33242f66}
.psh-tpx-cover--wine{background:#b96240;color:#fff8f0}.psh-tpx-cover--paper{background:#fff8f1;color:#27201c}.psh-tpx-cover--olive{background:#7f9479;color:#211b19}.psh-tpx-cover--sand{background:#d1b793;color:#28231d}.psh-tpx-cover--plum{background:#76606d;color:#fff}.psh-tpx-cover--charcoal{background:#272426;color:#fff}.psh-tpx-cover--rust{background:#bb603e;color:#fff}
.psh-tpx-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.psh-tpx-cover-author{font-size:12px;font-weight:650;text-transform:uppercase}
.psh-tpx-cover-title{font-size:clamp(23px,2.3vw,36px);font-weight:850;line-height:1.1;text-transform:uppercase;letter-spacing:-.01em;overflow-wrap:anywhere}
.psh-tpx-cover-year{font-size:12px}
.psh-tpx-book-name{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;font-size:19px;font-weight:750;line-height:1.24;margin:17px 0 7px}
.psh-tpx-book>a:hover .psh-tpx-book-name{text-decoration:underline;text-underline-offset:4px}
.psh-tpx-book>p{font-size:16px;line-height:1.5;color:var(--tpx-body)}
/* Single page: reference PDF has sand hero, 4-column book covers, feature cards and latest 2-column rows. */
.psh-tpx-single{width:100%}
.psh-tpx-hero{background:linear-gradient(100deg,#d7c09e,#c7a985);padding:42px clamp(24px,3vw,48px) 58px}
.psh-tpx-back{display:inline-flex;gap:9px;align-items:center;font-size:15px;font-weight:650;margin-bottom:58px}
.psh-tpx-back:hover,.psh-tpx-bottom-nav a:hover{text-decoration:underline}
.psh-tpx-hero .psh-tpx-kicker{color:#3e2d23;margin-bottom:7px!important}
.psh-tpx-hero h1{font-size:clamp(52px,7.2vw,106px);font-weight:850;line-height:.99;letter-spacing:-.045em;text-transform:uppercase;max-width:1200px;margin:0 0 25px}
.psh-tpx-intro{font-size:21px;line-height:1.45;max-width:950px}
.psh-tpx-detail-section{padding:24px clamp(24px,3vw,48px) 54px}
.psh-tpx-section-label{font-size:13px;font-weight:650;letter-spacing:.035em;text-transform:uppercase;color:var(--tpx-accent);margin-bottom:5px!important}
.psh-tpx-detail-section h2{font-size:clamp(36px,4.1vw,64px);line-height:1.05;font-weight:850;letter-spacing:-.04em;text-transform:uppercase;margin:0 0 16px}
.psh-tpx-section-description{font-size:18px;color:var(--tpx-body);line-height:1.55;margin:0 0 32px!important}
.psh-tpx-books-section{background:#f5f0e6}
.psh-tpx-books--grid .psh-tpx-cover{height:clamp(250px,28vw,390px)}
.psh-tpx-books--grid .psh-tpx-cover-title{font-size:clamp(23px,2.1vw,35px)}
.psh-tpx-timeless{background:#f2ece2}
.psh-tpx-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.psh-tpx-feature{min-width:0}
.psh-tpx-feature-panel{background:#e8dfd1;padding:28px 23px;min-height:280px;display:flex;flex-direction:column}
.psh-tpx-feature-panel p{font-size:12px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:14px}
.psh-tpx-feature-panel h3{font-size:clamp(21px,2vw,30px);line-height:1.15;font-weight:850;text-transform:uppercase;overflow-wrap:anywhere}
.psh-tpx-feature>a>strong{display:flex;justify-content:space-between;gap:10px;margin-top:13px;font-size:20px;line-height:1.3}
.psh-tpx-feature>p{font-size:16px;line-height:1.5;color:var(--tpx-body);margin-top:9px}
.psh-tpx-feature a:hover strong{text-decoration:underline}
.psh-tpx-latest{background:#f5f0e6;padding-bottom:65px}
.psh-tpx-latest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px}
.psh-tpx-latest-item{border-top:1px solid #dbd0c3;padding:25px 0;min-width:0}
.psh-tpx-latest-meta{font-size:12px;font-weight:700;color:var(--tpx-accent);text-transform:uppercase;letter-spacing:.02em;margin-bottom:10px!important}
.psh-tpx-latest-item h3{font-size:22px;font-weight:750;line-height:1.22}
.psh-tpx-latest-item h3 a{display:inline-flex;gap:9px;align-items:flex-start}
.psh-tpx-latest-item h3 a:hover{text-decoration:underline}
.psh-tpx-latest-item>p:last-child{font-size:15px;line-height:1.5;margin-top:11px;color:var(--tpx-body)}
.psh-tpx-bottom-nav{text-align:center;background:#ddd;padding:32px 18px}
.psh-tpx-bottom-nav a{font-size:21px;font-weight:750;display:inline-flex;gap:8px;align-items:center}
/* Gutenberg: same frontend selectors and spacing. */
.editor-styles-wrapper .psh-tpx,.block-editor-block-list__layout .psh-tpx{font-family:Archivo,Arial,sans-serif;max-width:none}
.editor-styles-wrapper .psh-tpx-single{width:100%}
@media(max-width:1000px){.psh-tpx-books--grid .psh-tpx-books-track{grid-template-columns:repeat(3,minmax(0,1fr))}.psh-tpx-feature-grid{gap:16px}}
@media(max-width:800px){.psh-tpx-topic{padding:37px 24px 42px}.psh-tpx-topic+.psh-tpx-topic{padding-top:40px}.psh-tpx-topic h2{font-size:42px}.psh-tpx-topic-description{font-size:19px}.psh-tpx-books--carousel .psh-tpx-books-track{grid-auto-columns:min(310px,80vw);gap:20px}.psh-tpx-cover{height:420px}.psh-tpx-cover-title{font-size:29px}.psh-tpx-controls button{width:42px;height:42px}.psh-tpx-books--grid .psh-tpx-books-track{grid-template-columns:repeat(2,minmax(0,1fr))}.psh-tpx-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.psh-tpx-feature-panel{min-height:240px}.psh-tpx-hero{padding:32px 24px 48px}.psh-tpx-back{margin-bottom:40px}.psh-tpx-intro{font-size:19px}}
@media(max-width:560px){.psh-tpx-books--grid .psh-tpx-books-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.psh-tpx-cover{padding:20px 15px}.psh-tpx-books--grid .psh-tpx-cover{height:260px}.psh-tpx-cover-title,.psh-tpx-books--grid .psh-tpx-cover-title{font-size:21px}.psh-tpx-cover-author,.psh-tpx-cover-year{font-size:10px}.psh-tpx-book-name{font-size:16px}.psh-tpx-book>p{font-size:14px}.psh-tpx-feature-grid,.psh-tpx-latest-grid{grid-template-columns:1fr}.psh-tpx-feature-panel{min-height:210px}.psh-tpx-detail-section{padding:28px 20px 43px}.psh-tpx-hero h1{font-size:clamp(44px,13vw,70px)}.psh-tpx-hero{padding:27px 20px 40px}.psh-tpx-back{margin-bottom:32px}.psh-tpx-intro{font-size:17px}}

/* Original October 2026 Topics archive selectors, extracted from user-approved HTML */
.tp-page{background:var(--hp-paper)}
.tp-topic{padding:44px 28px 60px;border-bottom:1px solid var(--hp-line)}
.tp-topic+.tp-topic{padding-top:52px}
.tp-topic-eyebrow{font-size:13px;line-height:1.5;font-weight:650;letter-spacing:.02em;text-transform:uppercase;color:var(--hp-wine);margin-bottom:22px!important}
.tp-page .tp-topic h2{font-size:62px;font-weight:720;line-height:1.08;letter-spacing:-.035em;text-transform:uppercase;margin-bottom:27px}
.tp-topic-description{font-size:21px;line-height:1.6;color:#514b4e;max-width:930px;margin-bottom:22px!important}
.tp-explore{display:inline-flex;align-items:center;gap:14px;min-height:42px;font-size:17px;line-height:1.4;font-weight:550;color:var(--hp-wine)!important}
.tp-explore span{border-bottom:1px solid currentColor;padding-bottom:4px}
.tp-explore:hover{opacity:.72}
.tp-reading-top{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:44px;margin-bottom:24px;min-height:48px}
.tp-reading-label{display:flex;gap:17px;align-items:center;font-size:13px;font-weight:650;line-height:1.5;text-transform:uppercase;color:#544d50}
.tp-reading-label span{font-weight:400}
.tp-carousel-controls{display:flex;gap:10px;align-items:center}
.tp-carousel-controls button{width:48px;height:48px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid #b9adaf;border-radius:50%;color:var(--hp-ink);background:transparent;cursor:pointer}
.tp-carousel-controls button:hover:not(:disabled){border-color:var(--hp-wine);color:var(--hp-wine);background:#e9e0e3}
.tp-carousel-controls button:disabled{opacity:.32;cursor:default}
.tp-reading-track{display:grid;grid-auto-flow:column;grid-auto-columns:356px;gap:30px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 0 12px;align-items:start}
.tp-reading-track::-webkit-scrollbar{display:none}
.tp-reading-track:focus-visible{outline:3px solid #9d6b7d;outline-offset:6px}
.tp-reading-card{min-width:0;scroll-snap-align:start}
.tp-card-link{display:block}
.tp-cover{height:478px;display:flex;flex-direction:column;justify-content:space-between;padding:36px 32px 32px;border-radius:4px;background:#fffaf5;color:var(--hp-ink);box-shadow:0 12px 17px -14px #33242f66;overflow:hidden}
.tp-cover-wine{background:var(--hp-wine);color:#fff8f7}
.tp-cover-paper{background:#fffaf5;color:var(--hp-ink)}
.tp-cover-rose{background:#d8c9cf;color:#30252b}
.tp-cover-charcoal{background:var(--hp-dark);color:#faf5f1}
.tp-cover-taupe{background:#c7af96;color:#302820}
.tp-cover-plum{background:#76606d;color:#fff9fb}
.tp-cover-byline{font-size:13px;font-weight:600;text-transform:uppercase;line-height:1.4}
.tp-cover-title{display:block;font-size:34px;line-height:1.14;font-weight:730;letter-spacing:-.025em;text-transform:uppercase}
.tp-cover-subtitle{display:block;font-size:17px;line-height:1.42;margin-top:24px}
.tp-cover-year{font-size:13px;line-height:1.4}
.tp-card-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;margin-bottom:11px}
.tp-card-meta span{color:var(--hp-wine);font-size:12px;line-height:1.5;font-weight:600;text-transform:uppercase}
.tp-card-meta svg{color:var(--hp-ink)}
.tp-reading-card h3{font-size:23px;line-height:1.25;font-weight:700;letter-spacing:-.025em}
.tp-card-summary{font-size:17px;line-height:1.55;color:#514b4e;margin-top:14px!important}
.tp-card-link:hover h3{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.tp-card-link:hover .tp-cover{box-shadow:0 13px 20px -12px #33242f77}
.tp-breadcrumb{padding:31px 48px 0;display:flex;gap:12px;align-items:center;color:var(--hp-muted);font-size:14px}
.tp-breadcrumb a{color:var(--hp-wine)}
.tp-detail-hero{padding:51px 48px 49px;border-bottom:1px solid var(--hp-line)}
.tp-detail-hero h1{font-size:62px;line-height:1.1;font-weight:600;letter-spacing:-.035em;margin:20px 0 27px}
.tp-detail-hero>p:last-child{font-size:22px;line-height:1.6;max-width:950px;color:#514b4e}
.tp-detail-reading{padding:4px 48px 60px;border-bottom:1px solid var(--hp-line)}
.tp-detail-reading .tp-reading-top{margin-top:42px}
.tp-detail-resources{padding:56px 48px 65px;display:grid;grid-template-columns:1fr 1fr;gap:70px}
.tp-detail-resources h2{font-size:30px;line-height:1.2;font-weight:600;margin-bottom:26px}
.tp-detail-resource{display:block;border-top:1px solid var(--hp-line);padding:23px 0}
.tp-detail-resource p{font-size:13px;color:var(--hp-muted);margin-bottom:10px}
.tp-detail-resource h3{font-size:22px;line-height:1.3;font-weight:600}
.tp-detail-resource:hover h3{text-decoration:underline;text-underline-offset:5px}
.tp-resource-copy{font-size:18px;line-height:1.6;max-width:590px;color:#514b4e;margin-bottom:20px!important}
.tp-publication{padding:65px 48px 85px;display:grid;grid-template-columns:356px minmax(0,1fr);gap:95px}
.tp-publication h1{font-size:54px;line-height:1.12;letter-spacing:-.03em;font-weight:600;margin:23px 0 27px}
.tp-publication .tp-publication-description{font-size:23px;line-height:1.5;max-width:780px;color:#514b4e;margin-bottom:32px}
.tp-publication-meta{display:flex;gap:28px;border-top:1px solid var(--hp-line);border-bottom:1px solid var(--hp-line);padding:19px 0;margin-bottom:32px;font-size:16px;color:#62565d}
.tp-publication-more{padding:55px 48px 66px;border-top:1px solid var(--hp-line);display:grid;grid-template-columns:1fr 1fr;gap:80px}
.tp-publication-more h2{font-size:30px;font-weight:600;margin-bottom:24px}
.tp-publication-more p{font-size:18px;line-height:1.6;color:#514b4e;margin-bottom:21px}
.tp-publication-links{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
@media (max-width:800px){.tp-topic{padding:37px 24px 42px}
.tp-topic+.tp-topic{padding-top:40px}
.tp-page .tp-topic h2{font-size:42px}
.tp-topic-description{font-size:19px}
.tp-topic-eyebrow{font-size:12px}
.tp-reading-top{margin-top:31px}
.tp-reading-track{grid-auto-columns:min(310px,82vw);gap:20px}
.tp-cover{height:420px;padding:29px 26px}
.tp-cover-title{font-size:29px}
.tp-cover-subtitle{font-size:16px}
.tp-reading-card h3{font-size:21px}
.tp-card-summary{font-size:16px}
.tp-carousel-controls button{width:42px;height:42px}
.tp-breadcrumb{padding:25px 24px 0;font-size:13px;flex-wrap:wrap}
.tp-detail-hero{padding:36px 24px}
.tp-detail-hero h1{font-size:42px}
.tp-detail-hero>p:last-child{font-size:20px}
.tp-detail-reading{padding:0 24px 42px}
.tp-detail-resources{padding:40px 24px;grid-template-columns:1fr;gap:40px}
.tp-publication{padding:40px 24px;grid-template-columns:1fr;gap:38px}
.tp-publication>.tp-cover{max-width:356px}
.tp-publication h1{font-size:42px}
.tp-publication-more{padding:40px 24px;grid-template-columns:1fr;gap:38px}}
/* Scoped compatibility with the existing hybrid design system. */
.psh-tpx.tp-page{background:var(--tp-bg,#f6f2ec);max-width:none}
.psh-tpx.tp-page .tp-topic{scroll-margin-top:40px}
.psh-tpx.tp-page .tp-reading-track{max-width:100%}
.psh-tpx.tp-page .tp-reading-card .tp-cover-title{white-space:normal}
.psh-tpx .psh-tpx-unlinked{cursor:default;color:inherit}
.psh-tpx .psh-tpx-unlinked:hover{text-decoration:none}
.psh-tpx .psh-tpx-unlinked .tp-cover{transform:none}
.psh-tpx .psh-tpx-source-note{font-size:12px;color:#786b63;display:inline-block;margin-top:2px}
.psh-tpx .psh-tpx-source-note:empty{display:none}
/* Preserve section hierarchy even before the editor adds resources. */
.psh-tpx .psh-tpx-empty-list{margin-top:24px;color:#76675d;font-size:15px;font-style:italic}
.psh-tpx-single .psh-tpx-detail-section{display:block}
.psh-tpx-single .psh-tpx-timeless .psh-tpx-feature-grid:empty,.psh-tpx-single .psh-tpx-latest .psh-tpx-latest-grid:empty{display:none}
/* ACF preview is rendered with the same stylesheet and classes as the public page. */
.editor-styles-wrapper .psh-tpx.tp-page,.editor-styles-wrapper .psh-tpx-single{width:100%;max-width:none}

.psh-tpx-cover-subtitle{display:block;font-size:clamp(12px,1vw,16px);line-height:1.35;margin-top:14px;max-width:92%}
.psh-tpx .psh-tpx-newsletter{width:100%}
.psh-tpx-newsletter iframe.psh-substack-embed{max-width:100%;border:0}
@media(max-width:800px){.psh-tpx-newsletter.ap-footer-newsletter{padding-left:24px;padding-right:24px}}

/* v8.1.6: Topics directory is a full-width Gutenberg Page, no longer an archive. */
.wp-block-psh-topics-directory.psh-topics-directory-wrapper,
.psh-topics-directory-wrapper,
.editor-styles-wrapper .psh-topics-directory-wrapper,
.editor-styles-wrapper .psh-tpx-directory-editor{
    width:100%;max-width:none;
}
/* Avoid inheriting paragraph/body widths from generic Gutenberg page wrappers. */
.psh-topics-directory-wrapper > .psh-tpx-archive,
.editor-styles-wrapper .psh-tpx-directory-live-preview .psh-tpx-archive {
    width:100%;max-width:none;
}
.psh-tpx-directory-live-preview{width:100%}
.psh-tpx-directory-live-preview .components-placeholder{min-height:100px}

/* v8.1.7: Native editable Topic pages retain the reference PHP design classes. */
.psh-tpx-native.wp-block-group,.psh-tpx-native .wp-block-group{max-width:none}
.psh-tpx-native :is(.psh-tpx-hero,.psh-tpx-detail-section,.psh-tpx-bottom-nav) > .wp-block-group__inner-container{max-width:none}
.psh-tpx-native .wp-block-group{margin-block-start:0;margin-block-end:0}
.psh-tpx-native .psh-tpx-hero .wp-block-post-title{font-size:clamp(52px,7.2vw,106px);font-weight:850;line-height:.99;letter-spacing:-.045em;text-transform:uppercase;max-width:1200px;margin:0 0 25px}
.psh-tpx-native .psh-tpx-back{margin-bottom:58px;font-size:15px;font-weight:650}
.psh-tpx-native .psh-tpx-back a,.psh-tpx-native .psh-tpx-bottom-nav a{color:inherit;text-decoration:none}
.psh-tpx-native .psh-tpx-back a:hover,.psh-tpx-native .psh-tpx-bottom-nav a:hover{text-decoration:underline}
.psh-tpx-native .psh-tpx-feature-grid,.psh-tpx-native .psh-tpx-latest-grid{max-width:none}
.psh-tpx-native .psh-tpx-feature-panel > :first-child{font-size:12px;line-height:1.5;letter-spacing:.04em;text-transform:uppercase;margin:0 0 14px}
.psh-tpx-native .psh-tpx-feature-panel .wp-block-heading{font-size:clamp(21px,2vw,30px);line-height:1.15;font-weight:850;text-transform:uppercase;margin:0;overflow-wrap:anywhere}
.psh-tpx-native .psh-tpx-feature .psh-tpx-feature-link{font-size:20px;line-height:1.3;font-weight:750;margin:13px 0 0}
.psh-tpx-native .psh-tpx-feature .psh-tpx-feature-link a{color:inherit;text-decoration:none}
.psh-tpx-native .psh-tpx-feature .psh-tpx-feature-link a::after{content:' ↗';font-weight:400}
.psh-tpx-native .psh-tpx-feature .psh-tpx-feature-link a:hover{text-decoration:underline}
.psh-tpx-native .psh-tpx-feature-description{font-size:16px;line-height:1.5;color:var(--tpx-body);margin-top:9px}
.psh-tpx-native .psh-tpx-latest-item .wp-block-heading{font-size:22px;font-weight:750;line-height:1.22;margin:0}
.psh-tpx-native .psh-tpx-latest-item .wp-block-heading a{color:inherit;text-decoration:none}
.psh-tpx-native .psh-tpx-latest-item .wp-block-heading a::after{content:' ↗';font-weight:400}
.psh-tpx-native .psh-tpx-latest-item .wp-block-heading a:hover{text-decoration:underline}
.psh-tpx-native .psh-tpx-latest-item>.wp-block-paragraph:last-child{font-size:15px;line-height:1.5;margin-top:11px;color:var(--tpx-body)}
/* Book layout is a genuine ACF-sourced component: grid (PDF) or optional slideable carousel. */
.psh-tpx-native .psh-topic-books-wrapper{max-width:none;width:100%;margin:0}
.psh-tpx-books--carousel .psh-tpx-books-track{display:grid;grid-auto-flow:column;grid-auto-columns:min(356px,100%);grid-template-columns:none;gap:24px;max-width:1496px;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-inline:contain;padding-bottom:12px}
.psh-tpx-books--carousel .psh-tpx-books-track::-webkit-scrollbar{display:none}
.psh-tpx-books--carousel .psh-tpx-book{scroll-snap-align:start}
.psh-tpx-books--carousel .psh-tpx-book:first-child{margin-left:0}
.psh-tpx-books--carousel .psh-tpx-carousel-header{max-width:1496px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;font-size:13px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}
.psh-tpx-books--carousel.psh-carousel-static .tp-carousel-controls,.psh-tpx-archive .tp-topic.psh-carousel-static .tp-carousel-controls{opacity:.35;pointer-events:none}
.psh-topic-books-editor .psh-tpx-books{width:100%}
.psh-topic-books-editor .psh-tpx-books--carousel .psh-tpx-books-track{max-width:100%}
.editor-styles-wrapper .psh-tpx-native .psh-tpx-feature-grid > .block-editor-block-list__block,
.editor-styles-wrapper .psh-tpx-native .psh-tpx-latest-grid > .block-editor-block-list__block{min-width:0}

@media(max-width:800px){.psh-tpx-books--carousel .psh-tpx-books-track{grid-auto-columns:min(310px,100%);gap:20px}}
@media(max-width:560px){.psh-tpx-books--carousel .psh-tpx-books-track{grid-auto-columns:min(310px,100%)}.psh-tpx-native .psh-tpx-hero .wp-block-post-title{font-size:clamp(44px,13vw,70px)}.psh-tpx-native .psh-tpx-back{margin-bottom:32px}}

/* Keep Gutenberg's nested block-list canvas aligned with the frontend grid layout. */
.editor-styles-wrapper .psh-tpx-native .psh-tpx-feature-grid > .block-editor-inner-blocks > .block-editor-block-list__layout{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px
}
.editor-styles-wrapper .psh-tpx-native .psh-tpx-latest-grid > .block-editor-inner-blocks > .block-editor-block-list__layout{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px
}
.psh-tpx-native .psh-tpx-hero > *, .psh-tpx-native .psh-tpx-detail-section > * {margin-block-start:0}
.psh-tpx-native .psh-tpx-hero > .psh-tpx-back{margin-bottom:58px}
.psh-tpx-native .psh-tpx-hero > .psh-tpx-kicker{margin-bottom:7px}
.psh-tpx-native .psh-tpx-hero > .psh-tpx-intro{margin-top:0}
.psh-tpx-native .psh-tpx-detail-section > .psh-tpx-section-description{margin-bottom:32px}
.psh-tpx-native .psh-tpx-feature-grid > .wp-block-group,.psh-tpx-native .psh-tpx-latest-grid > .wp-block-group{min-width:0}
.psh-topic-books-editor .psh-tpx-book-editor-notice{padding:14px;background:#eee5d9;color:#4d4744}
@media(max-width:1000px){.editor-styles-wrapper .psh-tpx-native .psh-tpx-feature-grid > .block-editor-inner-blocks > .block-editor-block-list__layout{gap:16px}}
@media(max-width:800px){.editor-styles-wrapper .psh-tpx-native .psh-tpx-feature-grid > .block-editor-inner-blocks > .block-editor-block-list__layout{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
 .editor-styles-wrapper .psh-tpx-native .psh-tpx-feature-grid > .block-editor-inner-blocks > .block-editor-block-list__layout,
 .editor-styles-wrapper .psh-tpx-native .psh-tpx-latest-grid > .block-editor-inner-blocks > .block-editor-block-list__layout{grid-template-columns:1fr}
 .psh-tpx-native .psh-tpx-hero > .psh-tpx-back{margin-bottom:32px}
}

/* v8.1.8 reusable Book CPT, native single pages; inherited typography/palette. */
.psh-book-single{background:var(--hp-paper,#f6f2ec);color:var(--hp-ink,#292322)}
.psh-book-back{padding:28px clamp(22px,3vw,48px) 0;font-size:14px}
.psh-book-back a{color:var(--hp-wine,#692e42)}
.psh-book-hero{display:grid;grid-template-columns:minmax(230px,356px) minmax(0,1fr);gap:clamp(28px,6vw,100px);padding:55px clamp(22px,3vw,48px) 65px;align-items:start}
.psh-book-cover .psh-tpx-cover{height:470px}
.psh-book-intro h1{font-family:Archivo,sans-serif;font-weight:750;line-height:1.06;letter-spacing:-.035em;text-transform:uppercase;font-size:clamp(38px,5vw,70px);margin:18px 0 28px}
.psh-book-summary{font-size:clamp(18px,1.6vw,23px);line-height:1.55;max-width:780px}
.psh-book-year{color:var(--hp-wine,#692e42);font-weight:600}
.psh-book-publisher{display:inline-flex;margin-top:20px;color:var(--hp-wine,#692e42);text-decoration:underline;text-underline-offset:5px}
.psh-book-gutenberg{max-width:1050px;margin:auto;padding:35px 35px 95px}
.psh-book-gutenberg h2{font-size:clamp(28px,3.2vw,44px);font-weight:720;text-transform:uppercase;line-height:1.15}
.psh-book-gutenberg p{font-size:19px;line-height:1.7}
@media(max-width:700px){.psh-book-hero{grid-template-columns:1fr;padding-top:30px}.psh-book-cover{max-width:356px}.psh-book-gutenberg{padding:24px 22px 65px}}

/* v8.1.9: Gutenberg directory sections are independently reorderable but share frontend CSS. */
.wp-block-psh-topic-section,.wp-block-psh-topics-newsletter{margin-block-start:0!important;margin-block-end:0!important;max-width:none}
.psh-topic-section-editor,.psh-topic-books-editor,.psh-topics-newsletter-editor{width:100%;max-width:none}
.psh-topic-section-editor .psh-tpx.tp-page{max-width:none;width:100%}
.psh-tpx-single-directory-section .tp-topic{margin:0}
.psh-book-picker-sorted{border-top:1px solid #ddd;padding-top:10px;margin-top:12px}
.psh-book-picker-row{display:flex;gap:6px;align-items:center;justify-content:space-between;margin:8px 0;font-size:12px}
.psh-book-picker-row span{flex:1}
.tp-cover-olive{background:#778b76;color:#181d18}
.tp-cover-sand{background:#ceb397;color:#2b201c}
.tp-cover-rust{background:#bd6247;color:#fff9f5}
@media(max-width:782px){.psh-tpx-single-directory-section .tp-topic{padding-left:20px;padding-right:20px}}

/* Related Topic sections: shared records, global palette and readable editorial rows. */
.psh-tpx-native.psh-topic-connected{--topic-wine:var(--wp--preset--color--wine,#692f3b);--topic-line:var(--wp--preset--color--border,#d5cbc9);--topic-paper:var(--wp--preset--color--paper,#f5f2ed);--tpx-ink:var(--wp--preset--color--ink,#242324);--tpx-body:var(--wp--preset--color--body-text,#514b4e);background:var(--wp--preset--color--white,#fff)}
.psh-topic-connected .psh-tpx-hero{background:var(--wp--preset--color--book-sand,#f0e3ce)}
.psh-topic-connected .psh-tpx-hero .psh-tpx-kicker{color:var(--topic-wine)}
.psh-topic-connected .psh-tpx-intro{max-width:66ch;line-height:1.6;color:var(--tpx-body)}
.psh-topic-connected .psh-tpx-books-section{background:transparent}
.psh-topic-connected .psh-tpx-detail-section{padding:38px clamp(20px,3vw,48px) 0;scroll-margin-top:110px}
.psh-topic-connected .psh-tpx-books-section{padding-bottom:14px}
.psh-topic-connected .psh-tpx-detail-section h2,.psh-topic-materials h2{font-size:clamp(26px,2.6vw,38px);line-height:1.2;font-weight:650;letter-spacing:-.025em;text-transform:none;margin:0}
.psh-topic-connected .psh-tpx-section-label{color:var(--topic-wine)}
.psh-topic-connected .psh-tpx-books-section h2{margin-bottom:14px}
.psh-topic-connected .psh-tpx-section-description{font-size:17px;line-height:1.6;max-width:66ch}
.psh-topic-materials{--topic-wine:var(--wp--preset--color--wine,#692f3b);--topic-line:var(--wp--preset--color--border,#d5cbc9);--topic-paper:var(--wp--preset--color--paper,#f5f2ed);font-family:Archivo,Arial,sans-serif;color:var(--wp--preset--color--ink,#242324);width:100%;max-width:none;box-sizing:border-box}
.psh-topic-materials *{box-sizing:border-box}
.psh-topic-connected .psh-topic-materials,.psh-topic-materials-editor .psh-topic-materials{margin-block:0}
.psh-topic-section-top{display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.psh-topic-materials .psh-topic-browse,.psh-topic-connected .psh-topic-jumps a,.psh-topic-connected .psh-topic-bottom a{color:var(--topic-wine);display:inline-flex;align-items:center;gap:12px;border-bottom:1px solid currentColor;padding:4px 0 7px;text-decoration:none;font-size:14px;line-height:1.5;font-weight:500}
.psh-topic-materials .psh-topic-browse:hover,.psh-topic-connected .psh-topic-jumps a:hover,.psh-topic-connected .psh-topic-bottom a:hover{color:var(--wp--preset--color--wine-dark,#55232e);text-decoration:underline;text-underline-offset:4px}
.psh-topic-materials .psh-topic-section-intro{font-size:17px;line-height:1.6;color:var(--wp--preset--color--body-text,#514b4e);max-width:66ch;margin:0 0 20px}
.psh-topic-material{border-top:1px solid var(--topic-line);display:grid;grid-template-columns:40px minmax(0,1fr);gap:18px;padding:24px 0;margin:0}
.psh-topic-material:last-child{border-bottom:1px solid var(--topic-line)}
.psh-topic-material-icon{display:grid;place-items:center;width:40px;height:46px;background:var(--topic-paper);color:var(--topic-wine);border-radius:3px}
.psh-topic-material-icon svg{width:21px;height:21px}
.psh-topic-material-copy{min-width:0}
.psh-topic-materials .psh-topic-material-meta{font-size:13px;line-height:1.6;color:var(--wp--preset--color--body-text,#514b4e);margin:0 0 7px;overflow-wrap:anywhere}
.psh-topic-material-meta a{color:var(--topic-wine);text-decoration:none}
.psh-topic-material-meta a:hover{text-decoration:underline;text-underline-offset:3px}
.psh-topic-materials h3{font-size:clamp(20px,1.8vw,26px);line-height:1.35;font-weight:500;letter-spacing:-.02em;text-transform:none;margin:0;max-width:55ch;overflow-wrap:anywhere}
.psh-topic-materials h3 a{color:inherit;text-decoration:none}
.psh-topic-materials h3 a:hover{color:var(--topic-wine);text-decoration:underline;text-underline-offset:4px}
.psh-topic-materials h3 a>span[aria-hidden]{font-size:.8em;color:var(--topic-wine);white-space:nowrap}
.psh-topic-materials .psh-topic-material-summary{font-size:16px;line-height:1.65;color:var(--wp--preset--color--body-text,#514b4e);max-width:66ch;margin:10px 0 0}
.psh-topic-relations{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:12px}
.psh-topic-relations>span{font-size:12px;color:var(--wp--preset--color--body-text,#514b4e);margin-right:3px}
.psh-topic-materials .psh-topic-relations a{display:inline-flex;align-items:center;min-height:32px;font-size:13px;line-height:1.5;padding:4px 11px;border:1px solid var(--topic-line);border-radius:99px;background:var(--topic-paper);color:var(--topic-wine);text-decoration:none}
.psh-topic-materials .psh-topic-relations a:hover{border-color:var(--topic-wine);background:var(--wp--preset--color--paper-warm,#eee9e2)}
.psh-topic-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.psh-topic-project{padding:24px;background:var(--topic-paper);border-radius:6px;min-width:0}
.psh-topic-project h3{margin-bottom:12px}
.psh-topic-materials .psh-topic-project p{font-size:16px;line-height:1.65;color:var(--wp--preset--color--body-text,#514b4e);margin:0 0 16px;max-width:55ch}
.psh-topic-jumps{display:flex;flex-wrap:wrap;gap:8px 24px;margin:26px 0 0}
.psh-topic-connected .psh-topic-bottom{background:transparent;text-align:left;padding:40px clamp(20px,3vw,48px) 54px;margin:0}
.psh-topic-connected a:focus-visible,.psh-topic-materials a:focus-visible{outline:2px solid var(--topic-wine);outline-offset:5px}
.psh-topic-materials-editor,.psh-topic-links-editor{width:100%;max-width:none}
.psh-topic-materials-editor .psh-topic-materials{padding:28px 24px 0;background:var(--wp--preset--color--white,#fff)}
.editor-styles-wrapper .psh-topic-links-editor .psh-topic-jumps{padding:0 0 12px}
@media(max-width:650px){.psh-topic-projects{grid-template-columns:1fr}.psh-topic-connected .psh-tpx-detail-section{padding-top:30px}.psh-topic-material{padding:21px 0}.psh-topic-jumps{gap:8px 18px}}
@media(max-width:400px){.psh-topic-material{grid-template-columns:30px minmax(0,1fr);gap:12px}.psh-topic-material-icon{width:30px;height:36px}.psh-topic-material-icon svg{width:18px;height:18px}.psh-topic-materials h3{font-size:19px}.psh-topic-materials .psh-topic-material-meta{font-size:12px}.psh-topic-project{padding:20px}}
@media(pointer:coarse){.psh-topic-materials .psh-topic-browse,.psh-topic-connected .psh-topic-jumps a,.psh-topic-materials .psh-topic-relations a,.psh-topic-connected .psh-topic-bottom a{min-height:44px}.psh-topic-materials h3 a{display:inline-block;padding:4px 0}}

