/* Keep shared controls within small mobile viewports. */
@media (max-width: 768px) {
  body .mobile-nav { max-width: 100%; }
  body .mobile-nav .lang-dropdown .lang-list { inset-inline-start: 0; inset-inline-end: auto; }
  body #main-content .trust-badges { flex-wrap: wrap; min-width: 0; max-width: 100%; }
  body #main-content .trust-badge { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  body #main-content .trust-badge-text { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  body #main-content .blog-grid-item, body #main-content .blog-card { min-width: 0; }
  body #main-content .product-desc, body #main-content .blog-post-content { min-width: 0; overflow-wrap: anywhere; }
  body #main-content .product-desc table, body #main-content .blog-post-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  body #main-content .product-desc code, body #main-content .blog-post-content code { white-space: normal; overflow-wrap: anywhere; }
  body #main-content .article-video-wrap { width: 100%; max-width: 100%; }
  body #main-content .article-video-wrap iframe { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; }
  body #main-content .buy-grid, body #main-content .buy-card { min-width: 0; }
  body #main-content .buy-duration { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 440px) {
  body #main-content .bnl-grid, body #main-content .blog-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  body .header .header-actions .lang-dropdown { display: none; }
}
