/* v54: an uploaded mark never removes the configured name or tagline. */
.gm-brand-identity{display:inline-flex!important;align-items:center;gap:10px;min-width:0;max-width:100%;text-align:left;color:#162e54;}
.gm-brand-identity .gm-brand-identity-mark{display:block!important;width:48px!important;height:48px!important;min-width:48px;max-width:48px!important;object-fit:contain!important;object-position:center!important;flex:0 0 48px;}
.gm-brand-identity-copy{display:flex!important;flex-direction:column;min-width:0;gap:4px;}
.gm-brand-identity-name{display:block!important;font:800 25px/1.12 "Manrope",system-ui,sans-serif;letter-spacing:-.035em;color:#162e54;overflow-wrap:anywhere;}
.gm-brand-identity-accent{color:#9b2046;}
.gm-brand-identity .gm-brand-identity-tagline{display:block!important;margin:0!important;font:600 10px/1.4 "Manrope",system-ui,sans-serif;color:#475569!important;letter-spacing:.04em;text-transform:none!important;overflow-wrap:anywhere;}
.header .grade-brand{flex:0 1 330px;min-width:0;}.gm-footer-brand{display:inline-flex!important;max-width:100%;}.gm-footer-brand .gm-brand-identity-name{font-size:24px;}.mobile-drawer-brand{min-width:0;}.mobile-drawer-head{gap:12px;}.mobile-drawer-close,.header .nav-toggle{flex-shrink:0;}
@media(max-width:680px){.gm-brand-identity{gap:8px;}.gm-brand-identity .gm-brand-identity-mark{width:40px!important;height:40px!important;max-width:40px!important;min-width:40px;flex-basis:40px;}.gm-brand-identity-name{font-size:22px;}.gm-brand-identity .gm-brand-identity-tagline{font-size:9px;letter-spacing:.01em;}.header .grade-brand{flex:1;max-width:calc(100% - 62px);}}
/* Media/rich content from the shared page-card editor. */
.cms-public-card-image{display:block;width:100%;height:180px;object-fit:cover;border-radius:10px;margin-bottom:14px}.cms-public-card-logo{max-width:120px;max-height:68px;object-fit:contain;margin-bottom:12px}.cms-public-card-icon{display:block;width:38px;height:38px;margin-bottom:12px;color:#8b2346}.cms-public-card-icon svg{width:100%;height:100%}.cms-public-card-subtitle{font-weight:650}.item-grid .cms-rich-content{overflow-wrap:anywhere}.item-grid .cms-rich-content :is(h2,h3,h4){font-size:inherit;line-height:1.4;letter-spacing:normal}
/* Beat legacy co-brand media queries that explicitly hid .brand small with !important. */
.header .brand.grade-brand>.gm-brand-identity{display:inline-flex!important;align-items:center!important;gap:10px;white-space:normal!important;max-width:100%!important;min-width:0!important;line-height:normal!important;}
.header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-copy{display:flex!important;min-width:0;white-space:normal!important;}
.header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-name{display:block!important;font-size:25px!important;line-height:1.12!important;white-space:normal!important;}
.header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-tagline{display:block!important;font-size:10px!important;line-height:1.4!important;white-space:normal!important;letter-spacing:.04em!important;}
@media(max-width:680px){.header .brand.grade-brand>.gm-brand-identity{gap:8px!important;}.header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-name{font-size:22px!important;}.header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-tagline{font-size:9px!important;letter-spacing:.01em!important;}}

/* v60 — keep GradeMitra intact and anchor the hamburger to the right on mobile/tablet */
.header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-name{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
.header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-tagline{white-space:nowrap!important;overflow-wrap:normal!important}
@media(max-width:1360px){
 .header .shell.nav-shell{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:10px!important;align-items:center!important}
 .header .grade-brand{grid-column:1!important;grid-row:1!important;max-width:100%!important;min-width:0!important;justify-self:start!important}
 .header .nav-toggle{grid-column:2!important;grid-row:1!important;justify-self:end!important;margin:0!important}
}
@media(max-width:680px){
 .header .shell.nav-shell{grid-template-columns:minmax(0,1fr) 42px!important;padding:7px 12px!important;min-height:66px!important}
 .header .brand.grade-brand>.gm-brand-identity{gap:8px!important;max-width:100%!important}
 .header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-mark{width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;flex-basis:38px!important}
 .header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-name{font-size:19px!important;line-height:1.05!important;letter-spacing:-.03em!important}
 .header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-tagline{display:block!important;font-size:8px!important;line-height:1.2!important;letter-spacing:.01em!important;margin-top:1px!important}
 .header .nav-toggle{width:40px!important;height:40px!important}
}
@media(max-width:360px){
 .header .shell.nav-shell{grid-template-columns:minmax(0,1fr) 38px!important;padding-inline:8px!important;gap:6px!important}
 .header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-mark{width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;flex-basis:34px!important}
 .header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-name{font-size:17px!important}
 .header .brand.grade-brand>.gm-brand-identity .gm-brand-identity-tagline{font-size:7.5px!important}
 .header .nav-toggle{width:38px!important;height:38px!important}
}
