/* Shared public-site shell. Brand wrappers provide the visual theme. */
.public-tools-menu { position: relative; }
.public-tools-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; border-radius: 7px; color: var(--text-soft, #52677C); font-size: 14px; font-weight: 600; }
.public-tools-menu summary::-webkit-details-marker { display: none; }
.public-tools-menu[open] summary { color: var(--brand-primary-hover, #3038A8); background: var(--brand-primary-soft, #EEF0FF); }
.public-tools-menu > nav { position: absolute; top: calc(100% + 10px); left: 0; z-index: 110; display: grid; min-width: 220px; padding: 8px; border: 1px solid var(--border, #DDE5EC); border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(16,36,58,.10); }
.public-tools-menu > nav a { min-height: 44px; }
.nav-primary-v3 .public-nav-crosslink { border-left: 1px solid var(--border, #DDE5EC); border-radius: 0; margin-left: 8px; gap: 8px; }
.public-menu-group { margin-bottom: 22px; }
.public-menu-group > p { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--text-soft, #52677C); }
.public-menu-group nav { display: grid; }
.public-menu-group nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 0; font-size: 16px; line-height: 1.5; color: var(--text, #10243A); text-decoration: none; }
.public-menu-group nav a:hover, .public-menu-group nav a[aria-current] { color: var(--brand-primary-hover, #3038A8); }
.public-menu-group nav a span { color: var(--brand-primary, #4353E8); }
.public-menu-secondary { border-top: 1px solid var(--border, #DDE5EC); padding-top: 18px; }
.public-menu-group .public-menu-crosslink { margin-top: 8px; color: var(--brand-primary-hover, #3038A8); font-weight: 600; }
.public-tools-menu summary:focus-visible, .public-menu-group a:focus-visible { outline: 2px solid var(--brand-primary, #4353E8); outline-offset: 4px; }
.nav.nav-v3 {
  height: 74px;
  min-height: 74px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border, #DDE5EC);
  box-shadow: none;
}

.nav-v3 .nav-inner,
body.mdr-home-page .nav-v3 .nav-inner {
  width: min(1480px, calc(100% - 40px));
  max-width: none;
  height: 74px;
  min-height: 74px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-v3 .nav-logo {
  width: 214px;
  min-width: 214px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 214px;
  overflow: visible;
}

.nav-v3 .nav-logo .mdr-brand,
.nav-v3 .nav-logo .mdr-brand img {
  max-width: 100%;
}

.nav-v3 .nav-logo .mdr-brand img {
  width: 200px !important;
  height: auto !important;
}

.nav-v3 .nav-logo .public-logo-vora {
  width: 190px;
  height: 52px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.nav-primary-v3 {
  min-width: 0;
  flex: 0 1 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 3px;
}

.nav-primary-v3 a,
.nav-phone-v3,
.nav-signin-v3,
.nav-apply-v3,
.nav-burger {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-primary-v3 a {
  min-height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  color: var(--text-soft, #52677C);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.nav-primary-v3 a:hover,
.nav-primary-v3 a[aria-current="page"] {
  color: var(--brand-primary-hover, #3038A8);
  background: var(--brand-primary-soft, #EEF0FF);
}

.nav-v3 .nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-phone-v3,
.nav-signin-v3 {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  color: var(--text-soft, #52677C);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.nav-apply-v3,
body.mdr-home-page .nav-apply-v3 {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--brand-primary, #4353E8);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
}

.nav-burger,
body.mdr-home-page .nav-burger {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border, #DDE5EC);
  border-radius: 7px;
  color: var(--text, #10243A);
  background: var(--bg, #F4F7FA);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.nav-burger-lines {
  width: 17px;
  height: 13px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.nav-burger-lines i {
  width: 100%;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

body.nav-drawer-open { overflow: hidden; }

.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(3px);
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.nav-drawer {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 96vw);
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(102%);
  color: var(--text, #10243A);
  background: #fff;
  box-shadow: -22px 0 56px rgba(15, 23, 42, .20);
  transition: transform 300ms cubic-bezier(.32, .72, 0, 1), visibility 0s linear 300ms;
}

body.nav-drawer-open .nav-drawer-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

body.nav-drawer-open .nav-drawer {
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
}

.public-drawer-head {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--border, #DDE5EC);
}

.public-drawer-head img {
  width: 190px;
  height: 50px;
  object-fit: contain;
  object-position: left center;
}

.public-drawer-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border, #DDE5EC);
  border-radius: 7px;
  color: var(--text-soft, #52677C);
  background: var(--bg, #F4F7FA);
  font: 400 26px/1 inherit;
  cursor: pointer;
}

.public-drawer-body { padding: 22px 24px 28px; }
.public-drawer-label {
  margin: 0 0 9px;
  color: var(--text-muted, #65758A);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.public-drawer-links {
  display: grid;
  margin-bottom: 24px;
  border-top: 1px solid var(--border, #DDE5EC);
}

.public-drawer-links a {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border, #DDE5EC);
  color: var(--text, #10243A);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.public-drawer-links a::after { content: "\2192"; color: var(--text-muted, #65758A); }

.public-drawer-cta {
  min-height: 48px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--brand-primary, #4353E8);
  font: 800 14px/1 inherit;
  cursor: pointer;
}

@media (max-width: 1420px) {
  .nav-v3 .nav-inner,
  body.mdr-home-page .nav-v3 .nav-inner { width: min(100% - 32px, 1380px); gap: 12px; }
  .nav-phone-v3 span { display: none; }
  .nav-primary-v3 a { padding-inline: 10px; }
}

@media (max-width: 1280px) {
  .nav-primary-v3 { display: none; }
  .nav-v3 .nav-inner,
  body.mdr-home-page .nav-v3 .nav-inner { width: min(100% - 32px, 1180px); }
}

@media (max-width: 720px) {
  .nav.nav-v3,
  body.mdr-home-page .nav.nav-v3,
  .nav-v3 .nav-inner,
  body.mdr-home-page .nav-v3 .nav-inner {
    height: 66px;
    min-height: 66px;
  }
  .nav-v3 .nav-inner,
  body.mdr-home-page .nav-v3 .nav-inner { width: calc(100% - 28px); gap: 8px; }
  .nav-v3 .nav-logo { width: 166px; min-width: 166px; height: 44px; flex-basis: 166px; }
  .nav-v3 .nav-logo .mdr-brand img { width: 158px !important; }
  .nav-v3 .nav-logo .public-logo-vora { width: 156px; height: 42px; }
  .nav-signin-v3 { display: none; }
  .nav-apply-v3,
  body.mdr-home-page .nav-apply-v3 { min-height: 38px; padding: 0 13px; }
  .nav-burger,
  body.mdr-home-page .nav-burger { min-height: 38px; padding: 0 10px; }
  .nav-burger-lbl { display: none; }
}

@media (max-width: 520px) {
  .nav-apply-v3,
  body.mdr-home-page .nav-apply-v3 { display: none; }
}

@media (max-width: 380px) {
  .nav-phone-v3 { display: none; }
  .nav-v3 .nav-logo { width: 154px; min-width: 154px; flex-basis: 154px; }
  .nav-v3 .nav-logo .public-logo-vora { width: 146px; }
}
