/* Static-site layout fixes (2026-11-19).
   Root cause: footer icon-list widget 1ec09ef9 is width/max-width: 118.751%
   with no tablet/mobile override, so the document grows wider than the
   viewport and main content no longer appears full-width. */

@media (max-width: 1024px) {
  .elementor-130 .elementor-element.elementor-element-1ec09ef9 {
    width: 100% !important;
    max-width: 100% !important;
    --container-widget-width: 100%;
  }
}

/* Don't let media stretch the page on small screens */
@media (max-width: 767px) {
  img, video, iframe {
    max-width: 100%;
    height: auto;
  }
}

/* News listing + blog posts: center featured and in-content images.
   Header/footer logo is logo4.png (not wp-post-image / wp-image-*), so it is left alone. */
body.single-post img[class*="wp-image-"],
body.single-post img.wp-post-image,
body.single-post .elementor-widget-theme-post-featured-image img,
body.single-post .elementor-widget-theme-post-content img,
body.single-post .entry-content img,
body.page-id-101 img.wp-post-image,
body.page-id-101 .elementor-widget-image img:not([src*="logo4"]),
body.category-tin-tuc img.wp-post-image,
body.category-tin-tuc img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}
