/* Arya Academy "Classes" dropdown (see classes-menu.js). Scoped to .aa-cm so it never affects anything else. */
.aa-cm{position:relative;display:inline-flex;align-items:center}
.aa-cm>a{display:inline-flex!important;align-items:center;gap:4px}
.aa-cm-chev{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s;flex:none}
.aa-cm.is-open .aa-cm-chev{transform:rotate(180deg)}
.aa-cm-panel{position:absolute;top:calc(100% + 6px);left:50%;z-index:1200;width:min(600px,92vw);padding:22px 24px 20px;border-radius:22px;background:#fff;
  box-shadow:0 24px 60px rgba(17,25,86,.18),0 2px 8px rgba(17,25,86,.06);text-align:left;
  opacity:0;visibility:hidden;transform:translate(-50%,8px);transition:opacity .18s,transform .18s,visibility .18s;
  font-family:Inter,"Noto Sans Devanagari",system-ui,-apple-system,"Segoe UI",sans-serif}
.aa-cm.is-open .aa-cm-panel{opacity:1;visibility:visible;transform:translate(-50%,0)}
.aa-cm-panel::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
.aa-cm-title{margin:0 0 14px;padding-bottom:14px;border-bottom:1px solid #e9ebf2;color:#111827;font-size:16px;font-weight:700;letter-spacing:-.01em}
.aa-cm-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px}
.aa-cm-panel a.aa-cm-item{display:flex!important;align-items:center;gap:12px;padding:9px 8px!important;border-radius:12px;color:#3c4257!important;text-decoration:none!important;
  font-size:14px!important;font-weight:500!important;white-space:normal!important;border:0!important;background:none!important;-webkit-text-fill-color:currentColor!important}
.aa-cm-panel a.aa-cm-item::after{display:none!important}
.aa-cm-panel a.aa-cm-item:hover,.aa-cm-panel a.aa-cm-item:focus-visible{background:#f3f5fb!important;color:#111827!important}
.aa-cm-item b{display:block;color:#1f2937;font-size:14.5px;font-weight:600;line-height:1.25}
.aa-cm-item small{display:block;margin-top:2px;color:#6b7280;font-size:12.5px;font-weight:400;line-height:1.3}
.aa-cm-ic{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:11px;background:#f3f4f8}
.aa-cm-ic svg{width:20px;height:20px;fill:none;stroke:#22263a;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.aa-cm-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid #e9ebf2;flex-wrap:wrap}
.aa-cm-panel a.aa-cm-book{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:0 28px!important;border-radius:999px;
  background:#4054e8!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:15px!important;font-weight:700!important;text-decoration:none!important;border:0!important;box-shadow:0 8px 20px rgba(64,84,232,.25)}
.aa-cm-panel a.aa-cm-book:hover{background:#2f3fc4!important}
.aa-cm-panel a.aa-cm-book::after,.aa-cm-panel a.aa-cm-all::after{display:none!important}
.aa-cm-panel a.aa-cm-all{color:#4054e8!important;-webkit-text-fill-color:#4054e8!important;font-size:14px!important;font-weight:600!important;text-decoration:none!important;padding:8px 4px!important;border:0!important;background:none!important}
/* Phone menu (nav shown as a vertical list): expand inline under "Classes" */
.aa-cm.is-stacked{display:block;width:100%}
.aa-cm.is-stacked>a{display:flex!important;justify-content:space-between;width:100%}
.aa-cm.is-stacked .aa-cm-panel{position:static;width:auto;transform:none!important;box-shadow:none;padding:4px 0 12px;border-radius:0;display:none;opacity:1;visibility:visible}
.aa-cm.is-stacked.is-open .aa-cm-panel{display:block}
.aa-cm.is-stacked .aa-cm-panel::before,.aa-cm.is-stacked .aa-cm-title{display:none}
.aa-cm.is-stacked .aa-cm-grid{grid-template-columns:1fr;gap:2px}
.aa-cm.is-stacked .aa-cm-panel a.aa-cm-item{border-bottom:0!important;padding:8px 4px!important}
.aa-cm.is-stacked .aa-cm-foot{border-top:0;margin-top:6px;padding-top:0}
@media (max-width:520px){.aa-cm-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.aa-cm-panel,.aa-cm-chev{transition:none}}
