/* PSX Insight Sitewide Mobile v1.0.0 — conservative Astra/blog/account pilot.
   Mobile-only. Does not modify stock screeners, dashboards, data, tables, chart sizes or sticky offsets. */
@media (max-width: 767px) {
  body.ast-theme-transparent-header .site-content,
  body.ast-separate-container .site-content { max-width: 100%; }
  .site-content .ast-container, .site-footer .ast-container,
  .ast-header-break-point .ast-primary-header-bar .site-primary-header-wrap {
    box-sizing: border-box; max-width: 100%;
  }
  /* Prevent unusually long titles, links and article content from overflowing. */
  .ast-article-post .entry-title, .ast-article-single .entry-title,
  .ast-archive-description .ast-archive-title, .entry-content p,
  .entry-content blockquote, .entry-content li { overflow-wrap: anywhere; }
  .ast-article-post img, .ast-article-single img,
  .entry-content img, .entry-content video { max-width: 100%; height: auto; }
  .ast-article-post .post-thumb img { max-width: 100%; height: auto; }
  .ast-archive-post .entry-content, .ast-article-post .entry-content { min-width: 0; }
  .entry-content figure, .entry-content .wp-block-image { max-width: 100%; }
  /* Wide editorial content remains readable without clipping. */
  .entry-content .wp-block-table, .entry-content .wp-block-preformatted,
  .entry-content pre { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* Astra's native mobile menu interactions are left unchanged. */
  .ast-header-break-point .site-header .site-branding { min-width: 0; }
  .ast-header-break-point .site-header .custom-logo-link img { max-width: 100%; height: auto; }
  .site-footer .footer-widget-area, .site-footer .ast-footer-widget { min-width: 0; }
  /* Account-area form controls only; no blanket button or table overrides. */
  .woocommerce-account .woocommerce-MyAccount-content,
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce { min-width: 0; max-width: 100%; box-sizing: border-box; }
  .woocommerce-account .woocommerce-MyAccount-content input:not([type=checkbox]):not([type=radio]),
  .woocommerce-account .woocommerce-MyAccount-content select,
  .woocommerce-account .woocommerce-MyAccount-content textarea {
    max-width: 100%; box-sizing: border-box;
  }
  .woocommerce-account .woocommerce-MyAccount-content table {
    display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .entry-content img, .entry-content video { max-width: 100%; height: auto; }
  .entry-content .wp-block-table, .entry-content pre { max-width: 100%; overflow-x: auto; }
}
