/* Shared article typography applies equally to migrated HTML and new WP blocks. */
.ms-article-page .page-title { max-width: 960px; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.12; text-transform: none; overflow-wrap: anywhere; }
.ms-article-page .page-description { max-width: 860px; font-size: 18px; line-height: 1.6; }
.ms-article { padding-top: 32px; }
.ms-article__meta { color: #5b5b6d; font-size: 14px; line-height: 1.5; margin-bottom: 24px; }
.ms-article .ms-article__content { font-size: 18px; line-height: 1.8; }
.ms-article__content p { margin: 0 0 1.2em; }
.ms-article .ms-article__content h2, .ms-article .ms-article__content h3 { font-weight: 700; letter-spacing: -.02em; text-transform: none; line-height: 1.3; }
.ms-article .ms-article__content h2 { margin: 1.8em 0 .8em; font-size: clamp(24px, 2.4vw, 32px); }
.ms-article .ms-article__content h3 { margin: 1.6em 0 .7em; font-size: clamp(22px, 2vw, 26px); }
.ms-article .ms-article__content > :first-child, .ms-article .ms-article__content > .ms-migrated-content > :first-child { margin-top: 0; }
.ms-article__content ul, .ms-article__content ol { padding-left: 1.5em; }
.ms-article__content li + li { margin-top: .6em; }
.ms-article__content figure { max-width: 100%; margin: 24px 0; }
.ms-article__content img { display: block; width: auto; max-width: 100%; height: auto; max-height: 520px; object-fit: contain; margin: 24px auto; border-radius: 14px; }
.ms-article__content p:has(> img:first-child), .ms-article__content p:has(> span > img:first-child) { clear: both; }
.ms-article__content figcaption, .ms-article__content [id^="caption-attachment-"] { font-size: 14px; color: #5b5b6d; line-height: 1.5; margin-top: 8px; }
.ms-article__content blockquote { margin: 24px 0; padding: 20px 24px; border-left: 4px solid #ff6900; background: #fff3e9; border-radius: 0 12px 12px 0; }
.ms-article__content hr { border: 0; border-top: 1px solid #e4e5ee; margin: 32px 0; }
.ms-article__content .wp-block-columns { gap: 24px; }
.ms-article__content .wp-block-column { min-width: 0; }
.ms-article__content .woocommerce ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0; }
.ms-article__content .woocommerce ul.products::before, .ms-article__content .woocommerce ul.products::after { content: none; }
.ms-article__content .woocommerce .product__item { width: 100%; min-width: 0; margin: 0; }
.ms-article__content .woocommerce .product__item img { width: 100%; height: 200px; margin: 0; object-fit: contain; }
.ms-article__content .woocommerce .product__item-title { font-size: 18px; line-height: 1.4; }
.ms-article__content .woocommerce .product__item-price { font-size: 18px; }
.ms-article__content .woocommerce .product__item a { text-decoration: none; }
.ms-article__content iframe, .ms-article__content video { max-width: 100%; height: auto; aspect-ratio: 16 / 9; }
.ms-article__content table { display: block; overflow: auto; max-width: 100%; }
.ms-article__more { margin-top: 16px; }
.ms-article__toc { max-height: calc(100dvh - var(--ms-header-offset, 160px) - 190px); overflow: auto; }
.ms-information__nav .ms-article__toc-h3 { padding-left: 24px; }
.ms-article__adjacent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid #e4e5ee; }
.ms-article__adjacent a { padding: 20px; border: 1px solid #e4e5ee; border-radius: 12px; background: #f8f8fc; text-decoration: none; overflow-wrap: anywhere; }
.ms-article__adjacent span { display: block; margin-bottom: 8px; font-size: 14px; color: #5b5b6d; }
.ms-article__adjacent strong { font-size: 17px; line-height: 1.5; color: #0c0545; }
.ms-article__pages { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
/* Blog cards should remain readable without cutting a paragraph mid-line. */
.articles__item-description { height: auto; overflow: visible; opacity: 1; color: #515166; font-size: 16px; line-height: 1.65; }
.articles .articles__item-description p { margin: 0; font-size: inherit; line-height: inherit; letter-spacing: 0; }
.articles__item-link { margin-top: auto; padding-top: 20px; color: #a43a00; }
.articles__item-img img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.articles__item--text .articles__item-category { position: static; align-self: flex-start; }
.articles__item--text .articles__item-date { margin-top: 16px; }
@media(max-width:1023px){
  .ms-article__toc { max-height: none; }
}
@media(max-width:600px){
  .ms-article { padding-top: 24px; }
  .ms-article .ms-article__content { font-size: 16px; line-height: 1.75; }
  .ms-article__adjacent { grid-template-columns: minmax(0, 1fr); }
  .ms-article-page .page-description { font-size: 16px; }
  .ms-article__content .woocommerce ul.products { grid-template-columns: minmax(0, 1fr); }
}
