/* Native Gutenberg markup, using the accepted DS-10C v4R1 layout and tokens. */
:is(.m1,.m2).reference-home .section-image .image-copy{background:var(--secondary-surface);padding:32px;border-radius:10px}
:is(.m1,.m2) .wp-block-group,:is(.m1,.m2) .wp-block-columns{margin-block:0}
:is(.m1,.m2) .wp-block-group.split{display:grid}
:is(.m1,.m2) .wp-block-group.photo-placeholder{display:flex}
:is(.m1,.m2) .photo-placeholder p{font:500 11px/1.5 Inter,sans-serif;letter-spacing:.04em;margin:0}
:is(.m1,.m2) .routes h3{color:var(--plum)}
:is(.m1,.m2) .wp-block-buttons{margin-top:24px}
:is(.m1,.m2) .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 24px;background:var(--plum);color:#fff;border:0;border-radius:8px;font:600 16px/1.5 Inter,sans-serif;text-decoration:none;box-shadow:none}
:is(.m1,.m2) .wp-block-button__link:hover{background:var(--plum-deep);color:#fff}
:is(.m1,.m2) .photo-placeholder{align-self:center}
:is(.m1,.m2) .section-statement h2{color:var(--plum)}
:is(.m1,.m2) .section-statement .reading{border-left:2px solid var(--sage);padding-left:24px}
:is(.m1,.m2) .section-statement blockquote{border:0;padding:0;margin:0}
:is(.m1,.m2) .section-statement blockquote strong{font-weight:inherit}
:is(.m1,.m2) .process{display:grid;list-style:none;margin:32px 0;padding:0}
:is(.m1,.m2) .process-step{border-top:1px solid var(--border);padding-block:24px}
:is(.m1,.m2) .process-step h3{margin-bottom:16px}
:is(.m1,.m2) .process-step p{max-width:48ch}
:is(.m1,.m2) .offering-value{color:var(--text)}
:is(.m1,.m2) .practical>p{padding-top:16px;border-top:1px solid var(--border)}
:is(.m1,.m2) .disclosures .wp-block-details{margin:0}
:is(.m1,.m2) .disclosures h2{font:500 17px/1.5 Inter,sans-serif;margin:0}
:is(.m1,.m2) .contact-details{margin-top:32px}
@media(min-width:1000px){
 :is(.m1,.m2) .routes h3{font-size:36px;min-height:2.3em}
 :is(.m1,.m2) .process{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:32px}
 :is(.m1,.m2) .process-step{padding-block:32px}
 :is(.m1,.m2) .section-statement .reading{padding-left:32px}
 :is(.m1,.m2) .disclosures h2{font-size:18px}
}

/* M1 R2 prose wrapping; later HVR delta separates both sides of the couples CTA. */
:is(.m1,.m2) p{text-wrap:pretty}
:is(.m1,.m2).reference-couples .contact-panel>.wp-block-buttons{margin-top:var(--wp--preset--spacing--32)}
:is(.m1,.m2).reference-couples .contact-panel>.wp-block-buttons+p{margin-top:var(--wp--preset--spacing--32)}

/* M2 reuses the editorial system; no new tokens or components. */
.m2>.section:last-child>.container{padding-bottom:var(--standard)}
.m2 .contact-panel>.wp-block-buttons+p{margin-top:var(--wp--preset--spacing--16)}

/* Approved photography replaces slot contents; preserve geometry and the complete image. */
:is(.m1,.m2) .photo-placeholder{position:relative}
:is(.m1,.m2) .photo-placeholder>.wp-block-image{position:absolute;inset:0;margin:0;border-radius:inherit}
:is(.m1,.m2) .photo-placeholder>.wp-block-image img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}

/* Human Visual Review R1: only HOME's horizontal P03 presentation slot. */
.reference-home .section-profile .photo-placeholder.portrait{aspect-ratio:3/2}
@media(max-width:999px){
 .reference-home .section-profile .photo-placeholder.portrait{max-width:none}
}

/* Human Visual Review R2: only Zespół's training and clinical-history entries.
   20px reuses the existing desktop lead scale; section headings remain unchanged. */
.page-id-30 .m2>.section:is(:nth-child(3),:nth-child(4)) .reading>h3{
 font-size:20px;line-height:1.3;
 margin-top:var(--wp--preset--spacing--32);margin-bottom:var(--wp--preset--spacing--8)
}

/* HVR R1 v1.3  approved staging patch */
.reference-home .section-contact .contact-panel{border-top:0}
.page-id-29 .section-profile>.container{padding-bottom:var(--wp--preset--spacing--32)}
#ewa-tyka{scroll-margin-top:96px}

/* Approved S01 photo integrated into the second individual-therapy section. */
.m2 .batch-psychotherapy-grid{display:grid;gap:var(--wp--preset--spacing--32);align-items:start}
.m2 .batch-psychotherapy-grid>.reading{max-width:none;margin-inline:0}
.m2 .batch-psychotherapy-photo-figure{aspect-ratio:4/3;margin:0;overflow:hidden;border-radius:12px;background:var(--placeholder)}
.m2 .batch-psychotherapy-photo-figure img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit}
@media(min-width:1000px){
 .m2 .batch-psychotherapy-grid{grid-template-columns:minmax(0,7fr) minmax(280px,5fr);gap:var(--wp--preset--spacing--64)}
 .m2 .batch-psychotherapy-photo-figure{aspect-ratio:5/6}
}
