/* Local compatibility fixes: preserve the downloaded site and its existing visual system. */
html, body { overflow-x: hidden; }
.header-logo .logo__box,
.header-logo .logo__wrap,
.header-logo .crop,
.header-logo .crop__content { overflow: visible !important; }
.header-logo .crop-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  opacity: 1 !important;
}
img, video, iframe { max-width: 100%; }

@media (max-width: 767px) {
  .header__item.main__header { min-height: 60px !important; height: 60px !important; }
  .header__wrap { align-items: center; margin: 0 !important; }
  .header-logo { flex: 0 0 118px !important; width: 118px !important; height: 60px !important; }
  .header-logo .logo__box,
  .header-logo .logo__wrap,
  .header-logo .crop,
  .header-logo .crop__content { width: 118px !important; height: 60px !important; }
  .header-nav { flex: 1 1 auto !important; min-width: 0 !important; overflow: hidden; }
  .header-nav .nav__box,
  .header-nav .s-wrapper,
  .header-nav .navigation__box { width: 100% !important; min-width: 0 !important; }
  .header-nav .nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .header-nav .nav::-webkit-scrollbar { display: none; }
  .header-nav .nav__item { flex: 0 0 auto !important; }
  .header-nav .nav__link { padding: 0 10px !important; font-size: 11px !important; white-space: nowrap; }
  .s-section { overflow: hidden; }
  .s-section .s-wrapper { max-width: 100%; overflow-wrap: anywhere; }
  .section__text, .section__title { max-width: 100%; }
}
