/* Desktop-only safeguards. No styles apply to phones or small tablets. */
@media screen and (min-width: 1024px) {
  html { overflow-x: clip; }
  body { min-width: 0; overflow-x: clip; }
  *, *::before, *::after { box-sizing: border-box; }
  /* Common WordPress/theme page wrappers: only set a sensible maximum width. */
  :where(.site, #page, .site-content, #content, main, #main) { min-width: 0; }
  :where(.container, .site-container, .site-inner, .wrap, .content-container, .main-container, .page-container, .site-header .container, .site-footer .container) {
    max-width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
  }
  :where(.wp-block-columns, .row, .grid, .news-grid, .posts-grid) > * { min-width: 0; }
  :where(.site-header, .site-navigation, .main-navigation, .site-footer) { max-width: 100%; }
  :where(.site-header img, .site-content img, .entry-content img, .wp-block-image img, .site-footer img) {
    max-width: 100%; height: auto;
  }
  :where(.hero, .hero-banner, .hero-slider, .banner, .slideshow) img { max-width: 100%; }
  :where(.entry-title, .card-title, .post-title, .site-title) { overflow-wrap: anywhere; }
}
