/* Compact, keyboard-accessible navigation for Kadam */
.nav{
 display:flex;
 align-items:center;
 gap:6px;
}
.nav>a,
.nav-dropdown>summary{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:7px;
 min-height:44px;
 padding:0 13px;
 border-radius:999px;
 color:#5f726a;
 font-size:13px;
 line-height:1;
 text-decoration:none;
 white-space:nowrap;
 cursor:pointer;
 list-style:none;
 transition:background-color .16s,color .16s;
}
.nav-dropdown>summary::-webkit-details-marker,
.mobile-nav-menu>summary::-webkit-details-marker,
.mobile-nav-group>summary::-webkit-details-marker{display:none}
.nav-dropdown>summary::marker,
.mobile-nav-menu>summary::marker,
.mobile-nav-group>summary::marker{content:""}
.nav>a:hover,
.nav-dropdown>summary:hover,
.nav>a:focus-visible,
.nav-dropdown>summary:focus-visible,
.nav-dropdown>summary.active{
 background:#eaf0e7;
 color:#18352f;
}
.nav>a.active{color:#18352f;font-weight:750}
.nav-dropdown{position:relative}
@media (hover: hover) and (pointer: fine) and (min-width: 741px){
 .nav-dropdown::after{
  content:"";
  position:absolute;
  top:100%;
  left:0;
  z-index:19;
  width:max(100%,240px);
  height:10px;
 }
}
.nav-dropdown-menu{
 display:none;
 position:absolute;
 z-index:20;
 top:calc(100% + 5px);
 left:0;
 display:grid;
 gap:2px;
 min-width:230px;
 padding:6px;
 border:1px solid #dce5dc;
 border-radius:13px;
 background:#fff;
 box-shadow:0 14px 34px #18352f1c;
}
.nav-dropdown[open]>.nav-dropdown-menu{display:grid}
.nav-dropdown-menu a{
 display:flex;
 align-items:center;
 min-height:44px;
 padding:9px 11px;
 border-radius:8px;
 color:#52675d;
 font-size:13px;
 line-height:1.35;
 text-decoration:none;
 white-space:normal;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a.active{background:#eaf0e7;color:#18352f}
.nav-dropdown-menu a.active{font-weight:750}
.mobile-nav{display:none}
@media(min-width:900px){
 .head>.nav{position:absolute;left:50%;transform:translateX(-50%)}
}
@media(max-width:899px) and (min-width:741px){
 .nav{gap:2px}
 .nav>a,.nav-dropdown>summary{padding-inline:9px;font-size:12px}
}
@media(max-width:740px){
 header{overflow:visible}
 .head{height:67px}
 .head>.nav{display:none}
 .mobile-nav{
  position:relative;
  display:block;
  width:min(100% - 30px,1120px);
  margin:0 auto 9px;
  padding:0;
  overflow:visible;
  white-space:normal;
 }
 .mobile-nav-menu{position:relative}
 .mobile-nav-menu>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:44px;
  padding:0 13px;
  border:1px solid #dce5dc;
  border-radius:11px;
  background:#fff;
  color:#18352f;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
  list-style:none;
 }
 .mobile-nav-menu>summary:focus-visible,
 .mobile-nav-menu>summary:hover{outline:2px solid #7a9e8f;outline-offset:2px}
 .mobile-nav-menu[data-active=true]>summary{background:#eaf0e7}
 .mobile-menu-panel{
  position:absolute;
  z-index:30;
  top:calc(100% + 6px);
  left:0;
  right:0;
  display:grid;
  gap:3px;
  max-height:calc(100dvh - 115px);
  overflow:auto;
  padding:8px;
  border:1px solid #dce5dc;
  border-radius:14px;
  background:#fff;
  box-shadow:0 16px 38px #18352f24;
 }
 .mobile-menu-panel>a,
 .mobile-nav-group>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:44px;
  padding:9px 11px;
  border-radius:9px;
  color:#52675d;
  font-size:13px;
  line-height:1.35;
  text-decoration:none;
  cursor:pointer;
  list-style:none;
 }
 .mobile-menu-panel>a:hover,
 .mobile-menu-panel>a:focus-visible,
 .mobile-nav-group>summary:hover,
 .mobile-nav-group>summary:focus-visible,
 .mobile-nav-group>summary.active{
  background:#eaf0e7;
  color:#18352f;
 }
 .mobile-menu-panel>a.active{font-weight:750}
 .mobile-nav-group>summary.active{font-weight:750}
 .mobile-nav-group[open]{padding-bottom:4px}
 .mobile-nav-submenu{
  display:grid;
  gap:2px;
  padding:0 4px 4px 12px;
 }
 .mobile-nav-submenu a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:8px 10px;
  border-radius:8px;
  color:#5f726a;
  font-size:12px;
  line-height:1.35;
  text-decoration:none;
  white-space:normal;
 }
 .mobile-nav-submenu a:hover,
 .mobile-nav-submenu a:focus-visible,
 .mobile-nav-submenu a.active{background:#f1f4ed;color:#18352f}
 .mobile-nav-submenu a.active{font-weight:750}
}
@media(prefers-reduced-motion:reduce){
 .nav>a,.nav-dropdown>summary{transition:none}
}