/* Compact desktop dropdown anchored to its menu item. */
@media (min-width:1121px) {
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-group {position:relative;}
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-panel {
    position:absolute;top:100%;inset-inline-start:0;z-index:96;width:260px;
    max-height:calc(100dvh - 130px);overflow-y:auto;overscroll-behavior:contain;
    background:#fffaf7;border:1px solid #e5d9d3;border-radius:10px;
    box-shadow:0 12px 28px rgba(29,13,18,.18);
  }
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links {padding:8px;}
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links>.igis-dropdown {
    display:block;position:static;min-width:0;max-width:none;width:100%;
    margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent!important;
  }
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links>.igis-dropdown>li {margin:0;padding:0;}
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links>.igis-dropdown>li.igis-overview {
    border:0;padding:0;margin:0 0 8px!important;
  }
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links>.igis-dropdown>li>a,
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links>.igis-dropdown>li>details>summary {
    display:flex;min-height:50px;align-items:center;justify-content:space-between;
    width:100%;padding:11px 9px;white-space:normal;border-radius:4px;
    color:#402a26;text-shadow:none;font-size:clamp(13px,1vw,15px);line-height:1.45;
    font-weight:600;background:transparent;
  }
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links>.igis-dropdown>li>a:hover,
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links>.igis-dropdown>li>a:focus-visible {
    color:var(--igis-nav-brand,#731126);background:#f1e8e2;
  }
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links .igis-overview>a {
    color:var(--igis-nav-brand,#731126)!important;
    font-weight:700!important;text-decoration:underline;text-underline-offset:7px;
  }
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-feature {display:none;}
  :is(.igih-root,.igisc-site) .igis-global-header .igis-menu-group:not([open])>.igis-mega-panel {display:none!important;}
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-group[open]>summary {
    text-decoration:underline;text-underline-offset:7px;
  }
  /* If a custom menu has nested subgroups, preserve a compact list in the left column. */
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links .igis-menu-group>.igis-dropdown {
    position:static;max-width:none;min-width:0;box-shadow:none;margin:0 0 6px 12px;padding:4px 8px;
    border:0;border-left:2px solid #e1c9bb;border-radius:0;background:#fffaf7;
  }
}
@media (max-width:1120px) {
  /* Native accordion within the existing mobile navigation drawer. */
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-panel,
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-inner,
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links {display:block;position:static;max-width:none;width:100%;min-height:0;margin:0;}
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-inner {overflow:visible;}
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links {padding:0;}
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-links>.igis-dropdown {
    position:static;min-width:0;max-width:none;box-shadow:none;
    padding:10px 16px;margin:0 0 12px;background:#fff;
  }
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-feature {display:none;}
}
@media (prefers-reduced-motion:reduce) {
  :is(.igih-root,.igisc-site) .igis-global-header .igis-mega-panel * {transition:none!important;}
}
