/* Full product description: one reading layout for every product type (owner, 18 Nov 2026).
   Markup comes from inc/product-description-layout.php: .em26-desc > [.em26-desc__lead] + .em26-desc__section
   (> .em26-desc__head + .em26-desc__body). Lines stay readable (design system: body text up to ~72 characters);
   on a laptop the section heading sits in a side column so the card is filled by structure, not by long lines. */

/* The description containers no longer cap the width themselves: the layout below does. */
html body :is(.woocommerce-Tabs-panel, .em26-resin-section__body) > .em26-desc.em26-desc { max-width: none; width: 100%; }
html body .em26-resin-section__body:has(> .em26-desc) { max-width: none; }
html body .em26-woo-surface--product .woocommerce-tabs .woocommerce-Tabs-panel:has(> .em26-desc) { max-width: none; }

.em26-desc { color: var(--em26-ink); line-height: 1.7; overflow-wrap: break-word; }
.em26-desc > .em26-desc__lead { margin: 0 0 1.5rem; font-size: 1.125em; line-height: 1.6; }
.em26-desc__section + .em26-desc__section { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--em26-line, rgba(22, 53, 61, .14)); }
html body .em26-desc .em26-desc__head.em26-desc__head {
  margin: 0 0 .75rem;
  color: var(--em26-ink);
  font-size: 1.0625rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -.01em;
  text-transform: none;
  text-wrap: balance;
  hyphens: manual;
}
.em26-desc__head :is(b, strong, span) { font-weight: inherit !important; }
.em26-desc__body > :first-child { margin-top: 0; }
.em26-desc__body > :last-child { margin-bottom: 0; }

@media (min-width: 64rem) {
  .em26-desc { font-size: 1.0625rem; }
  .em26-desc > .em26-desc__lead { max-width: 62ch; margin-bottom: 2.25rem; font-size: 1.2em; line-height: 1.55; }
  .em26-desc__section { display: grid; grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 4rem); }
  html body .em26-desc .em26-desc__head.em26-desc__head { grid-column: 1; align-self: start; margin: 0; padding-top: .15rem; font-size: 1rem; }
  .em26-desc__body { grid-column: 2; min-width: 0; }
  .em26-desc__section--untitled > .em26-desc__body { grid-column: 1 / -1; }
  /* Line length applies to running text only; cards, palettes, tables and media keep the full column. */
  .em26-desc__body > :is(p, ul, ol, blockquote, h2, h3, h4, h5, h6) { max-width: 72ch; }
  .em26-desc__body > :not(p, ul, ol, blockquote, h2, h3, h4, h5, h6) { max-width: 100%; }
  .em26-desc__body > ul.em26-desc__cols { max-width: none; columns: 2; column-gap: 3rem; }
  .em26-desc__body > ul.em26-desc__cols > li { break-inside: avoid; }
  /* A description without section headings: one readable column with a lead. */
  .em26-desc--plain .em26-desc__body > :is(p, ul, ol, blockquote) { max-width: 76ch; }
}
