/* Shared reading scale. Text remains live HTML with locally hosted Polish glyphs. */
:root {
  --text-body: 16px;
  --text-detail: 14px;
  --text-meta: 12px;
  --leading-body: 1.8;
  --heading-section: clamp(24px, 2.2vw, 30px);
  --heading-subsection: clamp(20px, 1.8vw, 24px);
}
/* Main prose uses one size; article readers can still choose a larger size. */
.ed-prose,
.editorial-product .book-short,
.editorial-product .product-rich-content,
.client-knowledge-copy,
.client-personal .ed-prose,
.page-content {
  font-family: 'Open Sans', sans-serif;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  overflow-wrap: anywhere;
}
.ed-prose :is(h2, h3, h4, h5, h6),
.editorial-product .product-rich-content :is(h2, h3, h4, h5, h6) {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.015em;
  margin-block: 1.4em .65em;
  overflow-wrap: anywhere;
}
.ed-prose h2,
.editorial-product .product-rich-content h2 { font-size: var(--heading-section); }
.ed-prose h3,
.editorial-product .product-rich-content h3 { font-size: var(--heading-subsection); }
.ed-prose :is(h4, h5, h6),
.editorial-product .product-rich-content :is(h4, h5, h6) { font-size: 19px; }
.ed-prose :is(p, li, td, th),
.editorial-product .product-rich-content :is(p, li, td, th) { font-size: inherit; }
.editorial-product .product-rich-content :is(ul, ol) { margin-block: 1em 1.5em; }
.editorial-product .product-rich-content li { margin-block: .4em; }
.editorial-product .product-rich-content :is(table, pre) { max-width: 100%; overflow-x: auto; }
.editorial-product .product-rich-content table { display: block; }
.editorial-product .quick-copy h2,
.quick-dialog .quick-copy h2 { font-family: 'Open Sans', sans-serif; font-size: var(--heading-section); line-height: 1.35; }
.home .about-copy p,
.home .book-copy p,
.client-therapy-hero .ed-lead,
.client-cooperation-hero p,
.client-two-cards > article p,
.client-support li,
.client-three-cards p,
.client-first p,
.client-cta p { font-size: var(--text-body); line-height: var(--leading-body); }
.blog-card .blog-excerpt { font-size: 15px; line-height: 1.8; }
.blog-single .blog-article-content { line-height: 1.85; }
.blog-meta,
.blog-card .blog-meta { font-size: var(--text-meta); line-height: 1.65; }
.eyebrow,
.blog-eyebrow,
.card-caption .eyebrow,
.home-blog-featured-meta,
.home-blog-stream-meta,
.home-blog-count { font-size: var(--text-meta); line-height: 1.65; }
.home-blog-stream-title { font-size: 15px; }
/* Keep native controls readable, including mobile browsers that zoom small inputs. */
.contact-form input:not([type=checkbox], [type=hidden]),
.contact-form textarea,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.blog-comments #respond input:not([type=checkbox], [type=hidden], [type=submit]),
.blog-comments #respond textarea,
.client-search input,
.library-search input,
.blog-filters input,
.blog-filters select { font-size: 16px; line-height: 1.5; }
.contact-form label,
.woocommerce form .form-row label,
.blog-comments .comment-form label { font-size: var(--text-detail); line-height: 1.6; }
.contact-form .contact-privacy { font-size: var(--text-detail) !important; line-height: 1.7; }
.contact-preview-note,
.contact-form-bottom > span,
.contact-note p,
.contact-note a,
.client-footer-grid :is(a, li, p) { font-size: var(--text-detail); line-height: 1.7; }
.card-actions .button,
.card-detail,
.pz-comment-composer > summary { font-size: var(--text-detail); }
.card-caption .product-format { font-size: var(--text-meta); }
.pz-save { font-size: 13px; }
.pz-saved-dialog li a small.pz-saved-price { font-size: var(--text-detail); }
.copyright { font-size: var(--text-meta); line-height: 1.7; }
.blog-comments .pz-comment-bubble,
.client-product-reviews .comment-text .description { font-size: var(--text-body); line-height: var(--leading-body); }
.pz-comment-name { font-size: var(--text-detail); }
.pz-comment-date,
.pz-comment-badge,
.blog-comments .pz-comment-context,
.blog-comments .pz-comment-bubble .reply a { font-size: var(--text-meta); }
@media (max-width: 700px) {
  .contact-field-row { gap: 14px; }
  .contact-form-bottom { flex-wrap: wrap; gap: 12px; }
  .contact-form-bottom > span { max-width: none; }
  .home-blog-stream-title { font-size: 14px; }
}
@media print {
  .ed-prose,
  .editorial-product .product-rich-content,
  .page-content { font-size: 11pt; line-height: 1.6; }
}
/* Match the specificity of the older form rules; avoid small mobile input text. */
.contact-page .contact-form input:not([type=checkbox]):not([type=hidden]),
.contact-page .contact-form textarea,
.pz-commerce .woocommerce input.input-text,
.pz-commerce .woocommerce select,
.pz-commerce .woocommerce textarea,
.editorial-product .book-purchase input.qty { font-size: 16px; line-height: 1.5; }
.library-controls select { font-size: 14px; max-width: 100%; }
.home .newsletter-copy p { font-size: var(--text-body); line-height: var(--leading-body); }
.home .newsletter-copy .client-newsletter-status { font-size: var(--text-detail); }
.pz-commerce .woocommerce .pz-checkout-layout input.input-text,
.pz-commerce .woocommerce .pz-checkout-layout select,
.pz-commerce .woocommerce .pz-checkout-layout textarea { font-size: 16px; line-height: 1.5; }
.pz-commerce .woocommerce .pz-checkout-layout .form-row label { font-size: 14px; line-height: 1.5; }
.pz-commerce .woocommerce .woocommerce-privacy-policy-text,
.pz-commerce .woocommerce .woocommerce-info { font-size: 14px; line-height: 1.7; }
/* Transparent client portraits end at a visible frame, including About and Contact. */
img[src*='/assets/images/client/portrait-'] {
  display:block;
  box-sizing:border-box;
  padding:16px 16px 0;
  border:1px solid #e0e4db;
  border-radius:6px;
  background:#f0f2ee;
  object-fit:contain;
  object-position:center bottom;
}
