/* M75.2: compact navigation must remain within viewport on scaled laptop/tablet screens. */
@media (max-width: 1499px) {
  .thte-site-links, .thte-site-contact { display: none !important; }
  .thte-site-menu { display: block !important; }
  .thte-site-header { min-width: 0; }
  .thte-site-menu > nav, .thte-site-menu nav {
    box-sizing: border-box;
    width: min(340px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: min(78dvh, 720px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .thte-site-menu .thte-nav-pair {
    box-sizing: border-box;
    display: flex !important;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    white-space: normal;
    border-bottom: 1px solid #30404b;
  }
  .thte-site-menu .thte-nav-pair > a {
    flex: 1 1 0;
    min-width: 0;
    border-bottom: 0;
    overflow-wrap: anywhere;
  }
  .thte-site-menu .thte-section-dropdown {
    display: block;
    position: static;
    flex: 0 0 44px;
    width: 44px !important;
    min-width: 44px !important;
  }
  .thte-site-menu .thte-section-dropdown > summary {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    min-height: 44px;
    height: 100%;
    padding: 8px !important;
    overflow: visible !important;
    font-size: 0 !important;
    cursor: pointer;
    border-left: 1px solid #30404b;
    list-style: none;
  }
  .thte-site-menu .thte-section-dropdown > summary::after {
    content: '+' !important;
    position: static !important;
    display: block !important;
    font: 600 20px/1 Arial, sans-serif !important;
    color: #e9c47d !important;
  }
  .thte-site-menu .thte-section-dropdown[open] > summary::after { content: '−' !important; }
  .thte-site-menu .thte-section-options {
    box-sizing: border-box;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-shadow: none;
    border: 0;
    border-top: 1px solid #43525b;
    padding: 4px 0 8px 12px;
    background: #152731;
  }
  .thte-site-menu .thte-section-options a {
    box-sizing: border-box;
    display: block !important;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    padding: 10px 14px !important;
  }
}
@media (min-width: 1500px) {
  .thte-site-links { display: flex !important; }
  .thte-site-contact { display: inline-flex !important; }
  .thte-site-menu { display: none !important; }
}
