/* SMM complex dropdown. Standard theme dropdowns remain untouched. */
.nav-menu>li.smm-has-complex-menu{position:relative}
.nav-menu>li>.smm-complex-drop{
  left:50%;
  right:auto;
  width:600px !important;
  max-width:calc(100vw - 24px);
  min-width:0 !important;
  box-sizing:border-box;
  padding:0;
  display:grid;
  grid-template-columns:minmax(0,40%) minmax(0,60%);
  transform:translate(-50%,-8px);
  overflow:hidden;
}
.nav-menu>li:hover>.smm-complex-drop{transform:translate(-50%,0)}
.smm-complex-drop,
.smm-complex-drop *{box-sizing:border-box}
.smm-complex-left,.smm-complex-right{min-width:0;padding:15px 16px 16px}
.smm-complex-left{background:var(--blue-light,#f2f6fa);border-right:1px solid var(--border,#d9e1e8)}
.smm-complex-right{background:var(--white,#fff)}
.smm-complex-column-title{
  margin:0 0 9px;
  color:var(--blue,#0b2b4f);
  font-family:'Montserrat',sans-serif;
  font-size:.68rem;
  line-height:1.3;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.smm-complex-drop .smm-complex-left>a,
.smm-complex-drop .smm-complex-group-links>a{
  display:block;
  padding:8px 9px;
  border-bottom:1px solid rgba(11,43,79,.09);
  color:var(--text2,#33475b);
  text-decoration:none;
  font-size:.79rem;
  line-height:1.35;
  transition:color .15s,background .15s,padding-left .15s;
}
.smm-complex-drop .smm-complex-left>a:last-of-type,
.smm-complex-drop .smm-complex-group-links>a:last-child{border-bottom:none}
.smm-complex-drop .smm-complex-left>a:hover,
.smm-complex-drop .smm-complex-group-links>a:hover{
  color:var(--blue,#0b2b4f);
  background:rgba(255,255,255,.75);
  padding-left:12px;
}
.smm-complex-grouped-layout{
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  gap:0;
  align-items:start;
  min-width:0;
}
.smm-complex-group-list,
.smm-complex-group-panels{min-width:0}
.smm-complex-group-list{border-top:1px solid var(--border,#d9e1e8)}
.smm-complex-group-head{
  display:flex;
  align-items:stretch;
  min-width:0;
  border-bottom:1px solid var(--border,#d9e1e8);
  color:var(--text2,#33475b);
  font-family:'Montserrat',sans-serif;
  font-size:.75rem;
  font-weight:700;
  line-height:1.25;
  transition:color .15s,background .15s;
}
.smm-complex-group-head:hover,
.smm-complex-group-head.is-open{color:var(--blue,#0b2b4f);background:var(--blue-light,#f2f6fa)}
.smm-complex-group-filter{
  flex:1 1 auto;
  min-width:0;
  display:block;
  padding:9px 6px 9px 5px;
  color:var(--text2,#33475b);
  text-decoration:none;
  overflow-wrap:anywhere;
  transform:translateX(-10px);
  transition:color .15s, transform .15s;
}
.smm-complex-group-filter:hover{color:var(--blue,#0b2b4f);text-decoration:none}
.smm-complex-group-head:hover .smm-complex-group-filter,
.smm-complex-group-head.is-open .smm-complex-group-filter{
  color:var(--blue,#0b2b4f) !important;
  transform:translateX(0);
}
.smm-complex-group-toggle{
  flex:0 0 24px;
  width:24px;
  min-width:24px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:var(--blue,#0b2b4f);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font:inherit;
}
.smm-complex-group-toggle:hover{background:rgba(11,43,79,.05)}
.smm-complex-group-icon{display:block;font-size:.95rem;font-weight:500;line-height:1;transition:transform .18s}
.smm-complex-group-head.is-open .smm-complex-group-icon{transform:rotate(45deg)}
.smm-complex-group-panels{
  min-height:40px;
}
.smm-complex-group-links{padding:0;background:#fff}
.smm-complex-group-links[hidden]{display:none !important}
.smm-complex-empty{padding:8px 9px;color:#6b7785;font-size:.78rem;font-style:italic}
.smm-filter-hidden{display:none !important}
@media (max-width:760px){
  .nav-menu>li>.smm-complex-drop{width:560px !important;max-width:calc(100vw - 18px);grid-template-columns:minmax(0,40%) minmax(0,60%)}
  .smm-complex-left,.smm-complex-right{padding:14px}
  .smm-complex-grouped-layout{grid-template-columns:120px minmax(0,1fr);gap:0}
}

/* Responsive complex menu: stacked, tap-driven accordion inside mobile nav. */
@media (max-width:1439px){
  .nav-menu>li>.smm-complex-drop,
  .nav-menu>li:hover>.smm-complex-drop{
    width:100% !important;
    max-width:none !important;
    grid-template-columns:1fr !important;
    transform:none !important;
    overflow:visible;
  }
  .smm-complex-left,.smm-complex-right{padding:14px 18px;}
  .smm-complex-left{border-right:0;border-bottom:1px solid var(--border,#d9e1e8);}
  .smm-complex-column-title{margin-bottom:7px;}
  .smm-complex-drop .smm-complex-left>a,
  .smm-complex-drop .smm-complex-group-links>a{padding:11px 10px;font-size:.82rem;}
  .smm-complex-drop .smm-complex-left>a:hover,
  .smm-complex-drop .smm-complex-group-links>a:hover{padding-left:10px;}
  .smm-complex-grouped-layout{display:block;}
  .smm-complex-group-list{border-top:1px solid var(--border,#d9e1e8);}
  .smm-complex-group-head{min-height:46px;align-items:center;}
  .smm-complex-group-toggle{flex-basis:42px;width:42px;min-width:42px;height:44px;}
  .smm-complex-group-filter{padding:12px 8px 12px 0;transform:none;}
  .smm-complex-group-head:hover .smm-complex-group-filter,
  .smm-complex-group-head.is-open .smm-complex-group-filter{padding-left:8px;transform:none;}
  .smm-complex-group-panels{display:none;min-height:0;}
  .smm-complex-group-list>.smm-complex-group-links{
    margin:0 !important;
    padding:0 0 8px 42px;
    background:#fff;
    border-bottom:1px solid var(--border,#d9e1e8);
  }
  .smm-complex-group-list>.smm-complex-group-links>a{border-bottom:1px solid rgba(11,43,79,.07);}
}


/* v1.20: tablet/mobile submenu controls must never appear on desktop. */
@media (min-width: 1440px) {
  .nav-menu .nav-item-toggle {
    display: none !important;
  }
}


/* SMM 2026-11-20 compact dropdown visibility correction */
@media (max-width:1439px){
  .nav-menu>li>.smm-complex-drop,.nav-menu>li:hover>.smm-complex-drop{display:none;}
  .nav-menu>li.submenu-open>.smm-complex-drop,.nav-menu>li.submenu-open:hover>.smm-complex-drop{display:grid;}
}
