/* Backend rich text: use the available width, with independent scrolling per table. */
.detail-prose { padding: 0; overflow-x: visible; font-family: inherit; }
.detail-prose figure { margin: 20px 0 !important; max-width: 100%; }
.detail-prose figure.wp-block-table { width: 100% !important; padding: 0 !important; }
.detail-prose iframe,.detail-prose video { max-width: 100%; }
.detail-prose pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-prose ul,.detail-prose ol { padding-left: 1.5em; margin: 16px 0; }
.detail-prose li + li { margin-top: 6px; }
.pd-summary__intro,.pd-summary__facts dd { overflow-wrap: anywhere; }
.pd-table { width: 100%; max-width: 100%; min-width: 0; margin: 20px 0; }
.pd-table__scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border: 1px solid #dbe3f0; border-radius: 8px; }
.pd-table__scroll:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.pd-table__hint { margin: 0 0 8px !important; color: #64748b; font-size: 13px; line-height: 1.5; }
.pd-table__hint[hidden] { display: none; }
.detail-prose .pd-table table { width: 100% !important; min-width: 100%; max-width: none !important; height: auto !important; margin: 0 !important; border: 0; border-collapse: collapse; table-layout: auto; font-size: 15px; line-height: 1.65; }
.detail-prose .pd-table tr { height: auto !important; }
.detail-prose .pd-table th,.detail-prose .pd-table td { width: auto !important; min-width: 0 !important; height: auto !important; padding: 12px 14px !important; border: 1px solid #dbe3f0 !important; color: #334155; vertical-align: middle !important; text-align: left !important; white-space: normal !important; overflow-wrap: anywhere; word-break: normal; font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; }
.detail-prose .pd-table col { width: auto !important; }
.detail-prose .pd-table p { margin: 0 !important; padding: 0 !important; font-size: inherit !important; line-height: inherit !important; }
.detail-prose .pd-table th,.detail-prose .pd-table thead td { background: #eff5ff !important; color: #173d79; font-weight: 600; }
.detail-prose .pd-table tbody tr:nth-child(even) td { background: #f8fafc; }
.detail-prose .pd-table--pair table { table-layout: fixed; }
.detail-prose .pd-table--pair tr > :first-child { width: 36% !important; font-weight: 600; }
.detail-prose .pd-table--wide table { min-width: var(--pd-table-min-width); }
.detail-prose figure .pd-table { margin: 0; }
@media (max-width: 980px) {
  .detail-prose { font-size: 15px; line-height: 1.8; }
  .detail-prose p { margin: 0 0 14px !important; padding: 0; text-align: left !important; text-indent: 0 !important; }
  .detail-prose p,.detail-prose li,.detail-prose span,.detail-prose font { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; white-space: normal !important; }
  .detail-prose div { min-width: 0 !important; max-width: 100% !important; }
  .detail-prose h2 { font-size: 21px !important; }
  .detail-prose h3 { font-size: 18px !important; }
  .detail-prose h4 { font-size: 16px !important; }
  .detail-prose h2,.detail-prose h3,.detail-prose h4 { margin: 22px 0 12px !important; line-height: 1.5 !important; }
  .detail-prose img { max-width: 100% !important; height: auto !important; margin: 14px auto; }
  .detail-prose figure { margin: 16px 0 !important; }
  .detail-prose .pd-table table { font-size: 14px; line-height: 1.65; }
  .detail-prose .pd-table th,.detail-prose .pd-table td { padding: 10px !important; }
  .detail-prose .pd-table p { margin: 0 !important; }
  .detail-prose .pd-table--pair tr > :first-child { width: 37% !important; }
  .detail-prose > :first-child { margin-top: 0 !important; }
}

/* Imported editor content must stay inside its article/product grid track. */
.detail-prose { width: 100%; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.detail-prose :is(div,section,article,header,footer,aside,figure,p,ul,ol,blockquote,pre,h1,h2,h3,h4,h5,h6) { box-sizing: border-box; max-width: 100% !important; min-width: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
.detail-prose :is(img,video,iframe,svg,canvas) { max-width: 100% !important; }
.article-detail-page .article-main { min-width: 0; grid-template-columns: minmax(0,1fr); }
.article-detail-page .article-main > *,.article-detail-page .article-card,.article-detail-page .article-sidebar { min-width: 0; max-width: 100%; }
.article-detail-page .article-card h1,.article-detail-page .article-summary,.article-detail-page .news-post-nav__title { overflow-wrap: anywhere; }
.article-detail-page .article-card .detail-prose { padding: 0; }
.article-detail-page .article-card .detail-prose :is(th,td) { font-weight: inherit; }
.article-detail-page .article-card .detail-prose .pd-table--pair tr > :first-child,.article-detail-page .article-card .detail-prose :is(th,thead td) { font-weight: 600; }
@media (max-width: 1100px) {
  .article-detail-page .article-layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 980px) {
  .detail-prose { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  .detail-prose :is(div,section,article,header,footer,aside,figure,p,ul,ol,blockquote,pre,h1,h2,h3,h4,h5,h6) { width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
  .detail-prose [style*="position: absolute"],.detail-prose [style*="position:absolute"],.detail-prose [style*="position: fixed"],.detail-prose [style*="position:fixed"] { position: static !important; inset: auto !important; transform: none !important; }
  .detail-prose :is(strong,b,em,i) { font-size: inherit !important; line-height: inherit !important; }
  .article-detail-page .article-detail-section { padding-top: 16px; }
  .article-detail-page .article-card { padding: 18px; }
  .article-detail-page .article-card h1 { font-size: 24px; line-height: 1.45; }
  .article-detail-page .article-summary { font-size: 14px; line-height: 1.75; }
  .article-detail-page .article-card .detail-prose { font-size: 15px; line-height: 1.8; }
}
@media (max-width: 640px) {
  .article-detail-page .article-detail-section > .site-shell { width: calc(100% - 24px); }
  .article-detail-page .article-card { padding: 16px; }
  .article-detail-page .article-card h1 { font-size: 23px; }
}

.detail-prose :is(p,li,span,font) { white-space: normal !important; }
