/* Responsive compatibility layer — preserves the existing desktop design. */
html, body { width: 100%; max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }
img, video, canvas, svg { max-width: 100%; }
iframe { max-width: 100%; }

@media (max-width: 1023px) {
  html, body { min-width: 0 !important; overflow-x: hidden !important; }
  body { width: 100% !important; }
  [style*="min-width: 1024px"], [style*="min-width:1024px"],
  [style*="min-width: 1023px"], [style*="min-width:1023px"] {
    min-width: 0 !important;
  }
  [style*="width: 1024px"], [style*="width:1024px"],
  [style*="width: 1023px"], [style*="width:1023px"] {
    width: 100% !important;
    max-width: 100% !important;
  }
  [style*="max-width: 1024px"], [style*="max-width:1024px"],
  [style*="max-width: 1023px"], [style*="max-width:1023px"] {
    max-width: 100% !important;
  }
  table { max-width: 100%; }
  .overflow-x-auto { max-width: 100%; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .slider-container { height: auto !important; min-height: 620px; }
  .slider-arrow { z-index: 60; }
  .slide { min-height: 620px; }
  .slide-2-content-left, .slide-4-content-left { transform: none !important; }
  .slide-8-background, .slide-7-background { min-height: 220px; }
  .container, [class*="container"] { max-width: 100%; }
  .grid { min-width: 0 !important; }
  pre, code { max-width: 100%; overflow-x: auto; }
}

@media (max-width: 480px) {
  .slider-container { min-height: 680px; }
  .slide { min-height: 680px; }
  .slider-arrow { width: 38px; height: 38px; }
}
