@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');
/* Original shared header and exam catalogue styles. */
.site-header,.mega-shell{font-family:'Manrope',Arial,sans-serif}
.mega-shell h3{font-family:'Sora','Manrope',Arial,sans-serif}
.site-header,.mega-shell{--blue:#1557f0;--navy:#071b55;--navy-2:#10245d;--line:#dfe7f5;--blue-soft:#eef4ff;--radius-sm:12px;--radius-md:16px;--radius-lg:22px;--shadow-medium:0 18px 45px rgba(19,45,102,.13)}
.nav-link{
  font-family:'Sora','Manrope',Arial,sans-serif;
}
.site-header{
  height:76px;
  position:sticky;
  top:0;
  z-index:80;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid #edf1f7;
}
.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  gap:34px;
}
.main-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:38px;
  height:100%;
}
.nav-link{
  height:100%;
  border:0;
  background:transparent;
  color:#10245d;
  font-size:14px;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:8px;
  position:relative;
  white-space:nowrap;
}
.nav-link::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:var(--orange);
  border-radius:99px 99px 0 0;
  transform:scaleX(0);
  transition:.2s ease;
}
.nav-link.active::after,
.nav-link:hover::after,
.nav-button[aria-expanded="true"]::after{
  transform:scaleX(1);
}
.chevron{
  width:15px;
  height:15px;
  transition:.2s ease;
}
.nav-button[aria-expanded="true"] .chevron{
  transform:rotate(180deg);
}
.login-button{
  height:46px;
  padding:0 18px;
  border-radius:12px;
  border:1.5px solid var(--blue);
  background:#fff;
  color:var(--blue);
  font-weight:700;
  display:flex;
  align-items:center;
  gap:9px;
  white-space:nowrap;
}
.login-button svg{
  width:19px;
  height:19px;
}
.login-button:hover{
  background:var(--blue);
  color:#fff;
}
.mobile-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  margin-left:auto;
}
.mobile-toggle span{
  width:20px;
  height:2px;
  display:block;
  background:#10245d;
  margin:4px auto;
}
.mega-shell{
  position:fixed;
  top:76px;
  left:0;
  right:0;
  z-index:70;
  pointer-events:none;
}
.mega-menu{
  width:min(1220px,calc(100% - 70px));
  margin:0 auto;
  padding:34px;
  background:#fff;
  border:1px solid var(--line);
  border-top:0;
  border-radius:0 0 18px 18px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:34px 38px;
  opacity:0;
  visibility:hidden;
  transform:translateY(-12px);
  transition:.22s ease;
  max-height:calc(100vh - 90px);
  overflow:auto;
  pointer-events:auto;
}
.mega-shell.open .mega-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.mega-section h3{
  margin:0 0 18px;
  color:var(--blue);
  display:flex;
  align-items:flex-start;
  gap:13px;
  font-size:15px;
  line-height:1.28;
  font-weight:800;
  letter-spacing:-.25px;
}
.mega-icon{
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:11px;
  background:#eef4ff;
  display:grid;
  place-items:center;
  font-size:20px;
  line-height:1;
}
.mega-section ul{
  margin:0;
  padding-left:21px;
  color:#11244e;
  font-size:14px;
  line-height:1.55;
}
.mega-section li{
  margin:9px 0;
}
@media(max-width:1180px){
.mega-menu{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:820px){
.site-header{
    height:68px;
  }
.mobile-toggle{
    display:block;
  }
.main-nav{
    display:none;
    position:fixed;
    top:68px;
    left:0;
    right:0;
    height:auto;
    padding:14px 22px 20px;
    background:#fff;
    border-bottom:1px solid var(--line);
    box-shadow:0 18px 35px rgba(19,45,102,.12);
    flex-direction:column;
    align-items:stretch;
    gap:0;
  }
.main-nav.open{
    display:flex;
  }
.nav-link{
    height:48px;
    justify-content:space-between;
  }
.login-button{
    height:42px;
    padding:0 12px;
    font-size:0;
  }
.login-button svg{
    width:21px;
    height:21px;
  }
.mega-shell{
    top:68px;
  }
.mega-menu{
    width:100%;
    border-radius:0;
    grid-template-columns:1fr;
    padding:24px 22px;
    max-height:calc(100vh - 68px);
  }
}
.mega-menu.exam-menu-updated{
  width:min(1360px,calc(100% - 64px));
  grid-template-columns:1.35fr 1.25fr .7fr .7fr;
  gap:34px;
  padding:34px 38px 36px;
}
.exam-menu-updated .mega-section{
  min-width:0;
}
.exam-menu-updated .mega-section h3{
  margin:0 0 18px;
  padding-bottom:13px;
  border-bottom:1px solid #dfe6f2;
  color:#1557f0;
  font-size:18px;
  line-height:1.25;
  letter-spacing:-.35px;
}
.exam-menu-updated .mega-section ul{
  padding-left:18px;
  font-size:13.5px;
  line-height:1.45;
}
.exam-menu-updated .mega-section li{
  margin:8px 0;
}
.exam-menu-updated .mega-section li span{
  color:#1557f0;
  font-weight:800;
  white-space:nowrap;
}
.exam-menu-updated .operator-list{
  columns:2;
  column-gap:32px;
}
.exam-menu-updated .operator-list li{
  break-inside:avoid;
}
.exam-menu-updated .short-section{
  padding:20px 18px;
  border:1px solid #dfe6f2;
  border-radius:15px;
  background:#f8fbff;
  align-self:start;
}
.exam-menu-updated .short-section h3{
  margin-bottom:14px;
}
.exam-menu-updated .short-section ul{
  padding-left:17px;
  font-size:14px;
}
@media(max-width:1180px){
.mega-menu.exam-menu-updated{
    grid-template-columns:1fr 1fr;
  }
.exam-menu-updated .operator-list{
    columns:1;
  }
}
@media(max-width:820px){
.mega-menu.exam-menu-updated{
    width:100%;
    grid-template-columns:1fr;
    padding:24px 22px;
  }
.exam-menu-updated .mega-section h3{
    font-size:17px;
  }
}
.nav-link,
.login-button,
.mega-section h3{
  letter-spacing:-.25px;
}
.menu-card{
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  background:var(--surface);
  box-shadow:var(--shadow-soft);
}
.site-header{
  height:78px;
  border-bottom:1px solid #e8eef8;
}
.main-nav{
  gap:36px;
}
.nav-link{
  color:var(--navy-2);
  font-size:14px;
}
.nav-link::after{
  background:var(--blue);
}
.login-button{
  border-radius:var(--radius-sm);
  border-color:var(--blue);
  color:var(--blue);
}
.mega-shell{
  top:78px;
}
.mega-menu,
.mega-menu.exam-menu-updated{
  width:min(1400px,calc(100% - 72px));
  padding:24px;
  gap:18px;
  background:rgba(255,255,255,.98);
  border:1px solid var(--line);
  border-top:0;
  border-radius:0 0 var(--radius-lg) var(--radius-lg);
  box-shadow:var(--shadow-medium);
}
.mega-menu.exam-menu-updated{
  grid-template-columns:1.35fr 1.2fr .72fr .72fr;
}
.menu-card{
  padding:22px 22px 20px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 8px 22px rgba(44,65,111,.055);
}
.exam-menu-updated .mega-section h3,
.mega-section h3{
  margin:0 0 16px;
  padding:0 0 13px;
  border-bottom:1px solid #e4ebf7;
  color:var(--navy);
  font-size:17px;
  font-weight:800;
  display:flex;
  align-items:center;
}
.exam-menu-updated .mega-section h3::before,
.mega-section h3::before{
  content:"";
  width:8px;
  height:24px;
  border-radius:999px;
  background:var(--blue);
  display:inline-block;
  margin-right:11px;
  flex:0 0 auto;
}
.exam-menu-updated .mega-section ul,
.mega-section ul{
  padding-left:0;
  list-style:none;
  font-size:13.5px;
  line-height:1.48;
  color:#20345f;
}
.exam-menu-updated .mega-section li,
.mega-section li{
  margin:0;
  padding:8px 0 8px 18px;
  position:relative;
  border-bottom:1px solid rgba(223,231,245,.55);
}
.exam-menu-updated .mega-section li:last-child,
.mega-section li:last-child{
  border-bottom:0;
}
.exam-menu-updated .mega-section li::before,
.mega-section li::before{
  content:"";
  position:absolute;
  left:0;
  top:17px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#aac0ff;
}
.exam-menu-updated .mega-section li span{
  display:inline-flex;
  margin-left:5px;
  padding:2px 7px;
  border-radius:999px;
  background:var(--blue-soft);
  color:var(--blue);
  font-weight:800;
  font-size:11px;
  white-space:nowrap;
}
.exam-menu-updated .operator-list{
  columns:2;
  column-gap:24px;
}
.exam-menu-updated .short-section{
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  align-self:start;
}
.exam-menu-updated .short-section ul{
  font-size:14px;
}
@media(max-width:1180px){
.mega-menu.exam-menu-updated{
    grid-template-columns:1fr 1fr;
  }
.exam-menu-updated .operator-list{
    columns:1;
  }
}
@media(max-width:820px){
.site-header{
    height:68px;
  }
.mega-shell{
    top:68px;
  }
.mega-menu,
.mega-menu.exam-menu-updated{
    width:100%;
    grid-template-columns:1fr;
    padding:18px;
    border-radius:0;
    max-height:calc(100vh - 68px);
  }
.menu-card{
    padding:20px;
  }
.exam-menu-updated .mega-section h3,
.mega-section h3{
    font-size:16px;
  }
}
.mega-section li a{color:inherit;text-decoration:none;display:block}
.mega-section li a:hover{color:var(--blue)}
.main-nav .nav-button{appearance:none;-webkit-appearance:none;border:0;background:transparent;margin:0;padding:0;font:inherit;color:inherit;cursor:pointer}
.main-nav .nav-button{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:transparent;
  margin:0;
  padding:0;
  color:#10245d;
  font:inherit;
  cursor:pointer;
}
.mega-shell{
  display:none;
  position:fixed;
  top:76px;
  left:0;
  right:0;
  z-index:70;
  pointer-events:none;
}
.mega-shell.open{display:block;}
.mega-shell.open .mega-menu,
.mega-shell.open #examMegaMenu{
  opacity:1!important;
  visibility:visible!important;
  transform:translateY(0)!important;
  pointer-events:auto!important;
}
.mega-section li a{
  color:inherit;
  text-decoration:none;
  display:block;
}
.mega-section li a:hover{color:var(--blue);}
@media(max-width:820px){
.mega-shell{top:68px;}
}
.site-header .main-nav .nav-link,
.site-header .main-nav .nav-button,
.site-header .account-profile .account-statistics-link{
  font-family:'Sora','Manrope',Arial,sans-serif;
  font-size:14px;
  font-weight:700;
  font-style:normal;
  line-height:1.5;
  letter-spacing:-.25px;
  text-transform:none;
}
.site-header .login-button{font-family:'Manrope',Arial,sans-serif;font-weight:700;line-height:1.5;letter-spacing:-.25px}
.mega-menu.exam-menu-updated{
  width:min(1360px,calc(100% - 64px));
  grid-template-columns:1.35fr 1.2fr .72fr .72fr;
  gap:18px;
  padding:24px;
  background:rgba(255,255,255,.98);
  border:1px solid var(--line);
  border-top:0;
  border-radius:0 0 var(--radius-lg) var(--radius-lg);
  box-shadow:var(--shadow-medium);
}
.mega-menu.exam-menu-updated .mega-section.menu-card{
  padding:22px 22px 20px;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 8px 22px rgba(44,65,111,.055);
  min-width:0;
}
.mega-menu.exam-menu-updated .mega-section h3{
  margin:0 0 16px;
  padding:0 0 13px;
  border-bottom:1px solid #e4ebf7;
  color:var(--navy);
  font-size:17px;
  font-weight:800;
  line-height:1.25;
  display:flex;
  align-items:center;
}
.mega-menu.exam-menu-updated .mega-section h3::before{
  content:"";
  width:8px;
  height:24px;
  border-radius:999px;
  background:var(--blue);
  display:inline-block;
  margin-right:11px;
  flex:0 0 auto;
}
.mega-menu.exam-menu-updated .mega-section ul{
  margin:0;
  padding-left:0;
  list-style:none;
  background:transparent;
  font-size:13.5px;
  line-height:1.48;
  color:#20345f;
}
.mega-menu.exam-menu-updated .mega-section li{
  margin:0;
  padding:8px 0 8px 18px;
  position:relative;
  border-bottom:1px solid rgba(223,231,245,.55);
  break-inside:avoid;
}
.mega-menu.exam-menu-updated .mega-section li:last-child{border-bottom:0;}
.mega-menu.exam-menu-updated .mega-section li::before{
  content:"";
  position:absolute;
  left:0;
  top:17px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#aac0ff;
}
.mega-menu.exam-menu-updated .mega-section a{
  color:#20345f;
  text-decoration:none;
  font-weight:700;
}
.mega-menu.exam-menu-updated .mega-section a:hover{color:var(--blue);}
.mega-menu.exam-menu-updated .operator-list{
  columns:2;
  column-gap:24px;
}
.mega-menu.exam-menu-updated .short-section{
  align-self:start;
}
@media(max-width:1180px){
.mega-menu.exam-menu-updated{grid-template-columns:1fr 1fr;}
.mega-menu.exam-menu-updated .operator-list{columns:1;}
}
@media(max-width:820px){
.mega-menu.exam-menu-updated{
    width:100%;
    grid-template-columns:1fr;
    padding:24px 22px;
  }
}

.site-header .container{width:min(1460px,calc(100% - 80px));margin-inline:auto}
.site-header .header-inner{min-height:0;padding-block:0;flex-wrap:nowrap}
.site-header .login-button{font-size:13px;flex-shrink:0}
@media(max-width:820px){.site-header .container{width:calc(100% - 28px)}.site-header .header-inner{gap:12px}.site-header .login-button{font-size:12px;min-height:38px;padding:0 12px}.site-header #adminPanelLink{font-size:11px;padding:0 9px}.site-header:has(#adminPanelLink:not([hidden])){height:auto;min-height:68px}.site-header:has(#adminPanelLink:not([hidden])) .header-inner{min-height:68px;flex-wrap:wrap;padding-block:10px;row-gap:8px}.site-header #adminPanelLink{margin-left:auto}}

.mega-shell{top:var(--home-header-height,78px)}.mega-menu.exam-menu-updated{max-height:calc(100svh - var(--home-header-height,78px) - 12px)}

/* The same responsive navigation is used on every public page. */
.site-header{--header-item-gap:38px}
.site-header .header-inner{gap:var(--header-item-gap)}
.site-header .main-nav{gap:var(--header-item-gap)}
.site-header #loginButton[hidden],.site-header #logoutButton[hidden],.site-header #materialLoginButton[hidden],.site-header #materialLogoutButton[hidden]{display:none!important}
@media(max-width:1180px){
  .site-header{--header-item-gap:16px}
  .site-header .header-inner{gap:var(--header-item-gap)}
  .site-header .mobile-toggle{display:block}
  .site-header .main-nav{display:none;position:fixed;top:var(--site-nav-offset,78px);left:0;right:0;height:auto;padding:14px 22px 20px;background:#fff;border-bottom:1px solid #dfe7f5;box-shadow:0 18px 35px #132d661f;flex-direction:column;align-items:stretch;gap:0}
  .site-header .main-nav.open{display:flex}
  .site-header .main-nav .nav-link{height:48px;justify-content:space-between}
}
@media(max-width:820px){.site-header{--site-nav-offset:68px;--header-item-gap:12px}.site-header .header-inner{gap:var(--header-item-gap)}}
@media(max-width:580px){.site-header{height:auto;min-height:68px}.site-header .header-inner{min-height:68px;flex-wrap:wrap;padding-block:10px;row-gap:8px}}

.exam-menu-backbar{display:none}
@media(max-width:700px){
 .mega-shell{z-index:90;top:var(--home-header-height,68px);bottom:0;overflow-y:auto;overscroll-behavior:contain;background:#f7fbff;padding:0 0 20px}
 .mega-shell .exam-menu-backbar{display:block;position:sticky;top:0;z-index:2;padding:12px 18px;background:#fff;border-bottom:1px solid #dfe7f5}
 .exam-menu-back{display:flex;align-items:center;border:0;border-radius:8px;background:#edf5ff;color:#1557f0;padding:12px 16px;font-family:'Sora','Manrope',Arial,sans-serif;font-size:13px;font-weight:700;cursor:pointer}
 .exam-menu-back:focus-visible{outline:3px solid #ff9b26;outline-offset:3px}
 .mega-shell .mega-menu.exam-menu-updated{position:static;grid-template-columns:1fr;width:100%;max-height:none;overflow:visible;padding:16px 18px;border:0;box-shadow:none;border-radius:0;background:transparent}
}
