/* Product descriptions are composed from live CMS HTML, not frozen copies. */
.editorial-product .book-description {max-width:1200px;margin-inline:auto;padding-block:48px}
.editorial-product .description-heading {padding-bottom:28px;margin-bottom:32px;border-bottom:1px solid #e7e7e5}
.editorial-product .product-rich-content.pz-product-story {font-size:16px;line-height:1.8;color:#303332;overflow-wrap:break-word}
.editorial-product .pz-product-story :is(div,section,article,header,figure) {min-width:0;box-sizing:border-box}
.editorial-product .pz-product-story :is(h2,h3,h4) {font-family:'Open Sans',sans-serif;font-style:normal;font-weight:600;letter-spacing:-.025em;line-height:1.35;margin:0 0 20px;color:#191c1b;text-wrap:pretty}
.editorial-product .pz-product-story h2 {font-size:clamp(24px,2.4vw,32px);max-width:27ch}
.editorial-product .pz-product-story h3 {font-size:21px;max-width:34ch}
.editorial-product .pz-product-story :is(h2,h3) :is(span,em) {font:inherit;color:inherit}
.editorial-product .pz-product-story p {margin:0 0 18px;max-width:72ch}
.editorial-product .pz-product-story :is(ul,ol) {margin:18px 0 24px;padding-left:22px;max-width:70ch}
.editorial-product .pz-product-story li {margin:8px 0;padding-left:3px}
.editorial-product .pz-product-story li::marker {color:var(--accent)}
.editorial-product .pz-product-story .story-section {padding-block:48px;border-bottom:1px solid #e9e9e6;scroll-margin-top:110px}
.editorial-product .pz-product-story .story-section:last-of-type {border:0}
.editorial-product .pz-product-story .story-kicker {color:var(--accent);font-size:12px;font-weight:600;letter-spacing:.11em;line-height:1.7;margin-bottom:14px;text-transform:uppercase;max-width:none}
.editorial-product .pz-product-story .story-caption {font-size:12px;color:#6d706e;display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;padding:16px 0;line-height:1.7}
.editorial-product .pz-product-story footer {font-size:12px;color:#70736f;margin-top:24px}
.editorial-product .pz-product-story .story-intro {padding:24px 0 36px}
.editorial-product .pz-product-story .story-intro h2 {max-width:30ch}
.editorial-product .pz-product-story .story-intro-layout,.editorial-product .pz-product-story .story-split {display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:40px}
.editorial-product .pz-product-story .story-intro-visual {align-self:center}
.editorial-product .pz-product-story .story-intro-copy>div:has(>a) {display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:20px}
.editorial-product .pz-product-story .story-split+.story-facts {margin-top:30px}
.editorial-product .pz-product-story .story-facts {display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;margin:28px 0 0;padding:24px;background:#f5f6f4;border-radius:8px}
.editorial-product .pz-product-story .story-facts>div {font-size:12px;line-height:1.7}
.editorial-product .pz-product-story .story-facts :is(strong,b) {display:block;font-size:17px;font-weight:600;color:#242824;margin-bottom:4px}
.editorial-product .pz-product-story .story-facts span {display:block;font-size:12px;color:#656a65;letter-spacing:.02em}
.editorial-product .pz-product-story .story-card-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}
.editorial-product .pz-product-story .story-card {padding:26px;border:1px solid #e3e6e1;border-radius:8px;background:#fff}
.editorial-product .pz-product-story .story-card>span:first-child {display:block;font-size:12px;letter-spacing:.06em;color:#666;margin-bottom:12px}
.editorial-product .pz-product-story .story-card p:last-child {margin-bottom:0}
.editorial-product .pz-product-story .story-card:has(img) {padding:0 24px 24px;overflow:hidden}
.editorial-product .pz-product-story .story-card-media {margin:0 -24px 24px;max-width:none}
.editorial-product .pz-product-story .story-card-media img {height:310px;width:100%;object-fit:contain;background:#f4f5f2;padding:24px}
.editorial-product .pz-product-story [id$='publikacje'] .story-card-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.editorial-product .pz-product-story .story-media {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px;align-items:center;background:#f5f6f3;border-radius:8px;overflow:hidden;margin:0 0 24px;padding:20px}
.editorial-product .pz-product-story .story-media :is(div,table,tbody,tr,td) {min-width:0;max-width:100%;padding:0;border:0;background:none;margin:0}
.editorial-product .pz-product-story .story-media :is(table,tbody,tr,td) {display:contents}
.editorial-product .pz-product-story .story-media :is(div,a):not(:has(p)) {display:contents}
.editorial-product .pz-product-story img {display:block;max-width:100%;width:auto;height:auto;margin:0 auto 24px;border-radius:4px}
.editorial-product .pz-product-story .story-media img {width:100%;height:360px;object-fit:contain;margin:0;box-shadow:none}
.editorial-product .pz-product-story .story-media p {font-size:12px;text-align:center;margin:8px 0 0}
.editorial-product .pz-product-story .story-testimonials img {height:auto;max-height:600px;object-fit:contain}
.editorial-product .pz-product-story .story-testimonials h3 {margin-top:32px}
.editorial-product .pz-product-story .story-faq-layout {display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.5fr);gap:48px;align-items:start}
.editorial-product .pz-product-story .story-faq-heading h2 {max-width:15ch}
.editorial-product .pz-product-story .story-faq-heading p {font-size:14px}
.editorial-product .pz-product-story .story-details {border:1px solid #e1e4df;border-radius:7px;margin:0 0 12px;background:#fff;overflow:hidden}
.editorial-product .pz-product-story summary {display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;list-style:none;padding:20px 22px;font-size:16px;font-weight:600;line-height:1.6;color:#242824;transition:background .2s,color .2s}
.editorial-product .pz-product-story summary::-webkit-details-marker {display:none}
.editorial-product .pz-product-story summary::marker {content:''}
.editorial-product .pz-product-story summary .icon-tabler {width:20px;height:20px;flex:0 0 20px;transition:transform .25s;color:var(--accent)}
.editorial-product .pz-product-story summary:hover {background:#f5f6f3}
.editorial-product .pz-product-story details[open]>summary {background:#f5f6f3}
.editorial-product .pz-product-story details[open]>summary .icon-tabler {transform:rotate(180deg)}
.editorial-product .pz-product-story details>:not(summary) {margin:18px 22px;max-width:70ch}
.editorial-product .pz-product-story details img {max-width:calc(100% - 44px)}
.editorial-product .pz-product-story .story-buy {display:inline-flex;align-items:center;justify-content:center;white-space:normal;text-align:center;font-size:14px;line-height:1.6;min-height:48px;padding:13px 23px;color:#fff;background:var(--accent);border:1px solid var(--accent);border-radius:5px;text-decoration:none;transition:background .2s,transform .2s}
.editorial-product .pz-product-story .story-buy:hover {background:var(--accent-hover);border-color:var(--accent-hover);color:white;transform:translateY(-2px)}
.editorial-product .pz-product-story .story-sample {display:inline-flex;align-items:center;min-height:46px;padding:10px 20px;border:1px solid #d7dbd4;border-radius:5px;font-size:14px;text-decoration:none}
.editorial-product .pz-product-story :is(a,summary):focus-visible {outline:2px solid var(--accent);outline-offset:4px}
.editorial-product .pz-product-story .story-offer {background:#f6f7f4;padding:32px;border-radius:8px;margin-top:36px;border:1px solid #e2e5de}
.editorial-product .pz-product-story .story-price {font-size:34px;font-weight:600;line-height:1.4;color:#191c1b;display:flex;align-items:baseline;gap:8px;margin:20px 0 8px}
.editorial-product .pz-product-story .story-price small {font-size:18px}
.editorial-product .pz-product-story .story-old-price {font-size:16px;color:#72766e;text-decoration:line-through;font-weight:400}
.editorial-product .pz-product-story .content-gallery {margin-top:32px}
@media(max-width:850px){
 .editorial-product .pz-product-story .story-intro-layout,.editorial-product .pz-product-story .story-split {grid-template-columns:1fr;gap:24px}
 .editorial-product .pz-product-story .story-faq-layout {grid-template-columns:1fr;gap:16px}
 .editorial-product .pz-product-story .story-faq-heading h2 {max-width:none}
 .editorial-product .pz-product-story .story-intro-visual {max-width:600px;width:100%;justify-self:center}
}
@media(max-width:600px){
 .editorial-product .book-description {padding-block:28px}
 .editorial-product .pz-product-story .story-section {padding-block:32px}
 .editorial-product .pz-product-story .story-card-grid {grid-template-columns:1fr;gap:16px}
 .editorial-product .pz-product-story .story-card {padding:20px}
 .editorial-product .pz-product-story .story-card:has(img) {padding:0 20px 20px}
 .editorial-product .pz-product-story .story-card-media {margin:0 -20px 20px}
 .editorial-product .pz-product-story .story-offer {padding:20px}
 .editorial-product .pz-product-story .story-facts {padding:18px;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .editorial-product .pz-product-story .story-media {padding:16px;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr))}
 .editorial-product .pz-product-story .story-media img {height:240px}
 .editorial-product .pz-product-story summary {padding:17px 16px;font-size:15px;gap:12px}
 .editorial-product .pz-product-story details>:not(summary) {margin:16px;font-size:15px}
}
@media(prefers-reduced-motion:reduce){.editorial-product .pz-product-story *{transition:none!important;scroll-behavior:auto}}
/* Book covers share a frame height, while all artwork stays fully visible. */
.editorial-product .pz-product-story .story-media {display:block}
.editorial-product .pz-product-story .story-media .story-media-images {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:center}
.editorial-product .pz-product-story .story-media[data-images='1'] .story-media-images {grid-template-columns:1fr}
.editorial-product .pz-product-story .story-media[data-images='3'] .story-media-images {grid-template-columns:repeat(3,minmax(0,1fr))}
.editorial-product .pz-product-story .story-media figure {margin:0;min-width:0}
.editorial-product .pz-product-story .story-card-media {display:flex;justify-content:center;align-items:center;background:#f5f6f3;min-height:310px}
.editorial-product .pz-product-story .story-card-media>img {display:block;margin:0;width:100%;height:310px;object-fit:contain;padding:22px;box-sizing:border-box}
.editorial-product .pz-product-story .story-card>.story-card-media+p {margin-top:24px}
.editorial-product .pz-product-story .story-media[data-images='3'] img {height:280px}
.editorial-product .pz-product-story .story-intro .story-split {margin-top:28px}
.editorial-product .pz-product-story .story-intro .story-split {align-items:center}
@media(max-width:600px){
 .editorial-product .pz-product-story .story-media[data-images='3'] img {height:170px}
 .editorial-product .pz-product-story .story-media .story-media-images {gap:8px}
 .editorial-product .pz-product-story .story-card-media,.editorial-product .pz-product-story .story-card-media>img {min-height:280px;height:280px}
}

.editorial-product .pz-product-story .story-details summary:focus-visible {outline-offset:-4px}
.editorial-product .pz-product-story .story-card .story-card-media img {height:310px}
@media(max-width:600px){.editorial-product .pz-product-story .story-card .story-card-media img {height:280px}}

.editorial-product .pz-product-story details:not([open])>summary>.story-label-open,
.editorial-product .pz-product-story details[open]>summary>.story-label-closed {display:none}
.editorial-product .pz-product-story .story-image-details>summary {display:grid;grid-template-columns:56px minmax(0,1fr) 20px;gap:16px}
.editorial-product .pz-product-story .story-image-details>summary>img {width:56px;max-width:56px;height:74px;object-fit:contain;margin:0}
.editorial-product .pz-product-story .story-image-details>summary>.icon-tabler {justify-self:end}
.editorial-product .pz-product-story .story-sample {margin:0 12px 12px 0}
/* Authentic quotes: text cards maintained once in the publication-opinions editor. */
.editorial-product .pz-product-story .pz-quote-group {margin-top:30px}
.editorial-product .pz-product-story .pz-quote-group>h3 {margin:0 0 20px}
.editorial-product .pz-product-story .pz-quote-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.editorial-product .pz-product-story .pz-publication-quote {padding:26px;border:1px solid #e1e5df;border-radius:8px;background:#fff;box-shadow:0 8px 30px #18271904}
.editorial-product .pz-product-story .pz-quote-head {display:flex;align-items:center;gap:12px;margin:0 0 22px}
.editorial-product .pz-product-story .pz-quote-mark {display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:6px;background:#f5f6f3;color:var(--accent)}
.editorial-product .pz-product-story .pz-quote-mark svg {width:21px;height:21px}
.editorial-product .pz-product-story .pz-quote-head>div {min-width:0;flex:1}
.editorial-product .pz-product-story .pz-quote-head strong {display:block;font-size:15px;font-weight:600;line-height:1.5}
.editorial-product .pz-product-story .pz-quote-date {display:block;font-size:12px;color:#74786f;margin-top:3px}
.editorial-product .pz-product-story .pz-quote-rating {display:flex;align-items:center;gap:5px;flex:0 0 auto;font-size:12px;color:#535c50;white-space:nowrap}
.editorial-product .pz-product-story .pz-quote-rating svg {width:16px;height:16px;color:var(--accent)}
.editorial-product .pz-product-story .pz-quote-body,.editorial-product .pz-product-story .pz-quote-excerpt {font-size:15px;line-height:1.85}
.editorial-product .pz-product-story .pz-quote-body p:last-child {margin-bottom:0}
.editorial-product .pz-product-story .pz-quote-more {margin:0;border:0;border-radius:0;background:none;overflow:hidden}
.editorial-product .pz-product-story .pz-quote-more>summary {justify-content:flex-start;gap:10px;padding:8px 0;font-size:13px;min-height:40px;color:var(--accent);background:none}
.editorial-product .pz-product-story .pz-quote-more>summary:hover {background:none;color:var(--accent-hover)}
.editorial-product .pz-product-story .pz-quote-more>summary>.icon-tabler {width:17px;height:17px;flex-basis:17px}
.editorial-product .pz-product-story .pz-quote-more>.pz-quote-body {margin:0 0 14px;max-width:none}
.editorial-product .pz-product-story .pz-quote-more:not([open]) .pz-quote-hide,.editorial-product .pz-product-story .pz-quote-more[open] .pz-quote-show {display:none}
.editorial-product .pz-product-story .pz-publication-quote:has(.pz-quote-more[open])>.pz-quote-excerpt {display:none}
.editorial-product .pz-product-story .pz-publication-quote>.pz-quote-source {font-size:11px;line-height:1.7;color:#73796f;margin:20px 0 0;padding-top:16px;border-top:1px solid #eceee9}
.editorial-product .pz-product-story .pz-quote-source a {color:inherit}
.editorial-product .pz-product-story .pz-quote-edit {display:inline-block;margin-left:12px;color:var(--accent)!important}
/* A transparent portrait finishes at the edge of its own frame, never in mid-air. */
.editorial-product .pz-product-story .story-portrait-frame {display:flex!important;justify-content:center;align-items:flex-end;height:360px;max-width:100%;padding:18px 12px 0!important;background:#f0f2ee!important;border:1px solid #e0e4db!important;border-radius:6px;overflow:hidden}
.editorial-product .pz-product-story .story-portrait-frame img.story-author-cutout {display:block;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center bottom;margin:0;padding:0;border-radius:0}
@media(max-width:600px){
 .editorial-product .pz-product-story .pz-quote-grid {grid-template-columns:1fr;gap:16px}
 .editorial-product .pz-product-story .pz-publication-quote {padding:20px}
 .editorial-product .pz-product-story .pz-quote-head {flex-wrap:wrap;gap:10px;margin-bottom:18px}
 .editorial-product .pz-product-story .pz-quote-head>div {min-width:135px}
 .editorial-product .pz-product-story .pz-quote-rating {margin-left:auto}
 .editorial-product .pz-product-story .story-portrait-frame {height:260px;padding:14px 8px 0!important}
}
/* Text sections fill the available page with meaningful, balanced groups. */
.editorial-product .pz-product-story :is(.story-narrative,.story-editorial-copy) {padding-block:40px}
.editorial-product .pz-product-story .story-narrative>.story-copy-heading h2,
.editorial-product .pz-product-story .story-narrative .story-copy-heading h2 {max-width:48ch;margin-bottom:28px}
.editorial-product .pz-product-story .story-situations {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:24px}
.editorial-product .pz-product-story .story-situations>p {max-width:none;margin:0;padding:22px 24px;border:1px solid #e3e6e0;border-radius:7px;line-height:1.8}
.editorial-product .pz-product-story .story-narrative-summary {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;padding:28px;background:#f5f6f3;border-radius:7px}
.editorial-product .pz-product-story .story-summary-copy p {max-width:none}
.editorial-product .pz-product-story .story-summary-copy p:last-child {margin-bottom:0}
.editorial-product .pz-product-story .story-summary-action {min-width:0;margin:0}
.editorial-product .pz-product-story .story-summary-action .button,
.editorial-product .pz-product-story a.story-summary-action {max-width:240px}
.editorial-product .pz-product-story .story-copy-layout {display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);align-items:start;gap:48px}
.editorial-product .pz-product-story .story-copy-layout h2 {max-width:none;font-size:clamp(24px,2.2vw,30px)}
.editorial-product .pz-product-story .story-copy-body>p {max-width:none}
.editorial-product .pz-product-story .story-copy-body>:last-child {margin-bottom:0}
.editorial-product .pz-product-story .story-copy-lead {font-size:24px;font-weight:600;line-height:1.5;max-width:none}
.editorial-product .pz-product-story .story-closing {padding:28px;margin-top:30px;border:1px solid #e3e6e0;border-radius:7px;background:#f5f6f3}
.editorial-product .pz-product-story .story-closing .story-copy-layout {grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:32px}
.editorial-product .pz-product-story .story-closing .story-copy-heading h2 {font-size:clamp(23px,2.1vw,28px);max-width:42ch;margin:0}
.editorial-product .pz-product-story .story-closing .story-copy-body {max-width:300px}
/* Clip cover artwork inside its frame; let text and expanded answers grow naturally. */
.editorial-product .pz-product-story .story-card-grid {align-items:start}
.editorial-product .pz-product-story .story-card:has(img) {overflow:visible}
.editorial-product .pz-product-story .story-card-media {overflow:hidden;border-radius:7px 7px 0 0}
.editorial-product .pz-product-story .story-details {overflow:visible}
.editorial-product .pz-product-story .story-details>summary {border-radius:6px}
@media(max-width:850px){
 .editorial-product .pz-product-story .story-copy-layout {gap:28px}
 .editorial-product .pz-product-story .story-narrative-summary {grid-template-columns:1fr;gap:20px}
}
@media(max-width:650px){
 .editorial-product .pz-product-story .story-situations,
 .editorial-product .pz-product-story .story-copy-layout,
 .editorial-product .pz-product-story .story-closing .story-copy-layout {grid-template-columns:1fr;gap:16px}
 .editorial-product .pz-product-story :is(.story-narrative,.story-editorial-copy) {padding-block:28px}
 .editorial-product .pz-product-story .story-situations>p {padding:18px}
 .editorial-product .pz-product-story .story-narrative-summary {padding:20px}
 .editorial-product .pz-product-story .story-closing {padding:22px;margin-top:24px}
 .editorial-product .pz-product-story .story-narrative .story-copy-heading h2 {margin-bottom:24px}
}
.editorial-product .pz-product-story .story-section.story-closing {border:1px solid #e3e6e0}
.editorial-product .pz-product-story .story-details[open] {max-height:none}
.editorial-product .pz-product-story .story-details>summary {white-space:normal;overflow-wrap:anywhere}
.editorial-product .pz-product-story .story-details>summary>span {min-width:0}
.editorial-product .pz-product-story .story-card .story-details {margin-top:18px}
.editorial-product .pz-product-story .story-card .story-details>summary {padding:14px 16px;gap:12px;min-height:48px;align-items:center}
.editorial-product .pz-product-story .story-card .story-details>:not(summary) {margin:16px;max-width:none;font-size:15px;line-height:1.8}
/* A small closed thumbnail becomes a full, readable page when opened. */
.editorial-product .pz-product-story .story-image-details[open]>.story-media .story-media-images {display:block}
.editorial-product .pz-product-story .story-image-details[open]>.story-media img,
.editorial-product .pz-product-story .story-image-details[open]>.story-preview-body img {width:100%;height:auto;max-height:none;object-fit:contain}
.editorial-product .pz-product-story .story-section:has(.story-card-grid) h2 {max-width:46ch}
.editorial-product .pz-product-story .story-image-details[open]>img {width:calc(100% - 44px);max-width:calc(100% - 44px);height:auto;max-height:none}
@media(max-width:600px){.editorial-product .pz-product-story .story-image-details[open]>img {width:calc(100% - 32px);max-width:calc(100% - 32px)}}
/* Standalone page previews have a heading above them, without an empty side column. */
.editorial-product .pz-product-story .story-split:has(>details.story-image-details) {grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;--preview-gutter:44px}
.editorial-product .pz-product-story .story-split>details.story-image-details {width:100%;margin:0}
.editorial-product .pz-product-story .story-split>details.story-image-details[open]>img {width:min(780px,calc(100% - var(--preview-gutter)));max-width:calc(100% - var(--preview-gutter));margin-inline:auto}
.editorial-product .pz-product-story .story-split>details.story-image-details .story-preview-body img {max-width:780px;margin-inline:auto}
@media(max-width:600px){.editorial-product .pz-product-story .story-split:has(>details.story-image-details) {--preview-gutter:32px}}
