/* Oxedge 2026-12-03h: mobile-only scaling for the original splash layout.
   Desktop (>=960px) is completely unchanged. Revert: remove this stylesheet link from index.html. */
@media (max-width: 959px) {
  img { max-width: 100%; height: auto; }
  html, body { overflow-x: hidden; }
  .wrapper, header, #slider, #no-slider, #circle-images {
    width: 100% !important;
    max-width: 960px;
    box-sizing: border-box;
  }
  header { padding: 12px 12px 12px 48px; height: auto; }
  /* Keep the CSS background logo (original look), just scale it to the screen. */
  #logo {
    width: 100% !important;
    max-width: 750px;
    height: 0 !important;
    padding-bottom: 23.8667%; /* 179 / 750 */
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin: 0 auto;
  }
  #sm-sticky { top: 12px; }
  #circle-images { height: auto; }
  #images { width: 100%; max-width: 750px; height: auto; min-height: 0; margin: 0 auto; }
  #images img { display: block; width: 100%; max-width: 750px; height: auto; margin: 0 auto; }

  #navigation {
    width: 100% !important;
    height: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    background: #1a1a1a;
  }
  ul.nav-main { display: flex; flex-wrap: wrap; width: 100%; }
  ul.nav-main > li.menu_link {
    background-image: none !important;
    float: none;
    position: static;
    flex: 1 1 33.333%;
    max-width: 33.333%;
    height: auto;
    min-height: 72px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
  }
  ul.nav-main > li.menu_link > a { padding: 6px 0; }
  ul.nav-main > li.menu_link > a img { max-height: 56px; width: auto; }
  ul.nav-sub { visibility: visible; top: 100% !important; left: 0 !important; right: 0; width: auto; box-sizing: border-box; }
  ul.nav-sub li, ul.nav-sub li a { width: auto !important; height: auto; }
  ul.nav-sub li a { font-size: 14px; padding: 10px 8px; }

  .bottom-circle {
    width: 100% !important;
    max-width: 750px;
    height: auto;
    padding: 16px 16px 36px;
    box-sizing: border-box;
    background: linear-gradient(#6cbf5e, #3f8f3c) !important;
    border-radius: 0 0 50% 50% / 0 0 22% 22%;
  }
  .scroll, .no-scroll { width: min(530px, calc(100vw - 32px)) !important; height: 280px; padding: 0; }
  .panel, .panel2 {
    width: min(530px, calc(100vw - 32px)) !important;
    box-sizing: border-box;
    height: 280px;
    overflow-y: auto;
    padding: 16px 12px;
  }
}
@media (max-width: 480px) {
  .scroll, .no-scroll, .panel, .panel2 { height: 300px; }
}

/* Desktop: css/dropdown-menu.css was not loading on the original site (href="dropdown-menu.css" 404'd).
   Pointing it at css/dropdown-menu.css made it override style.css and shrink the icon bar to 51px
   by 950px, clipping About and overlapping the intro text. Restore the style.css icon bar. */
@media (min-width: 960px) {
  #navigation {
    width: 665px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    background: none !important;
    overflow: visible !important;
  }
  #navigation > li,
  #navigation ul.nav-main > li {
    height: 100px !important;
    float: left;
  }
  #navigation > li > a,
  #navigation ul.nav-main > li > a {
    height: auto !important;
    padding: 0 !important;
  }
}
