.site-header-v2,
.page-v2 {
  font-family: "Manrope", sans-serif;
}
.page-v2 { font-size: 15px; }

.page-v2 .container,
.site-header-v2 .container {
  max-width: 1180px;
}

.page-v2 .content-section {
  padding-top: 38px;
  padding-bottom: 36px;
}

.page-v2 .programs-section {
  padding-top: 36px;
  padding-bottom: 42px;
}

.page-v2 .contact-section {
  padding-top: 36px;
  padding-bottom: 40px;
}

.page-v2 .hero-copy {
  padding-left: 0;
}

.site-header-v2 { position: sticky; overflow: visible; }
.site-header-v2 .header-top { background: #fff; }
.header-top-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 78px;
  max-width: 1180px;
  position: relative;
  padding-left: 300px;
}
.site-header-v2 .brand {
  align-items: center;
  display: flex;
  width: 285px;
  height: 130px;
  margin: 0;
  position: absolute;
  z-index: 4;
  top: 0;
  left: 12px;
}
.site-header-v2 .brand-mark { display: block; width: 285px; height: 114px; }
.top-actions { display: flex; gap: 10px; margin-left: auto; }
.top-actions .btn {
  align-items: center;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  min-height: 54px;
  padding: 9px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}
.top-actions .btn i { font-size: 21px; }
.btn-doctor-v2 {
  background-color: #7650c9 !important;
  background-image: linear-gradient(135deg, #9c70dc, #7650c9) !important;
  box-shadow: 0 6px 16px rgba(117,80,202,.2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease !important;
}
.btn-doctor-v2:hover,
.btn-doctor-v2:focus,
.btn-doctor-v2:active {
  color: #fff;
  background-color: #7650c9 !important;
  background-image: linear-gradient(135deg, #9c70dc, #7650c9) !important;
  box-shadow: 0 9px 20px rgba(117,80,202,.3);
  filter: brightness(.94);
  transform: translateY(-1px);
}
.btn-doctor-v2 { min-width: 262px; }
.btn-member-v2 { min-width: 145px; background: var(--sbop-navy); }
.btn-member-v2:hover, .btn-member-v2:focus { color: #fff; background: #0d336d; transform: translateY(-1px); }

.main-menu-v2 {
  min-height: 52px;
  border-top: 0;
  background: #fff;
}
.nav-shell { max-width: 1180px; min-height: 52px; position: relative; padding-left: 300px; }
.main-menu-v2 .navbar-collapse { justify-content: flex-end; }
.home-link {
  align-items: center;
  display: inline-flex;
  height: 52px;
  margin-right: 4px;
  padding: 0 8px;
  color: var(--sbop-purple-dark);
  font-size: 18px;
}
.main-menu-v2 .navbar-nav .nav-link {
  align-items: center;
  display: flex;
  height: 52px;
  padding: 0 9px !important;
  color: #17233d;
  font-size: 13px;
  font-weight: 600;
}
.main-menu-v2 .navbar-nav .nav-link.show,
.main-menu-v2 .navbar-nav .nav-link:hover { color: #7351bd; background: #f8f5fc; }
.main-menu-v2 .dropdown-toggle::after { margin-left: 6px; vertical-align: .15em; }
.nav-utility { align-items: center; display: flex; margin-left: 2px; }
.contact-nav-link { padding: 10px 6px; color: #17233d; font-size: 13px; font-weight: 600; }
.contact-nav-link:hover { color: #7351bd; }
.main-menu-v2 .dropdown-menu {
  margin-top: 0;
  border: 1px solid #e9e4f1;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 38px rgba(7,31,70,.14);
}
.mega-dropdown {
  left: 50% !important;
  width: min(760px, calc(100vw - 32px));
  padding: 22px;
  transform: translateX(-50%);
}
.mega-dropdown.menu-institutional {
  width: min(540px, calc(100vw - 32px));
}
.mega-intro {
  align-items: center;
  display: flex;
  gap: 13px;
  margin-bottom: 17px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee9f5;
}
.mega-icon {
  align-items: center;
  display: flex;
  width: 45px;
  height: 45px;
  justify-content: center;
  border-radius: 12px;
  color: #7d58c7;
  background: #f0e9fa;
  font-size: 21px;
}
.mega-intro strong, .mega-intro small { display: block; }
.mega-intro strong { margin-bottom: 2px; color: var(--sbop-navy); font-size: 15px; }
.mega-intro small { color: #727684; font-size: 12px; }
.mega-links { display: grid; gap: 4px 20px; }
.mega-links.cols-2 { grid-template-columns: repeat(2, 1fr); }
.mega-links a {
  padding: 9px 11px;
  border-radius: 7px;
  color: #25314a;
  font-size: 12px;
  font-weight: 600;
}
.mega-links a:hover { color: #704bb8; background: #f7f3fb; }

.mega-education { display: none; grid-template-columns: repeat(3, 1fr); gap: 22px; width: min(860px, calc(100vw - 32px)); }
.mega-education.show { display: grid; }
.mega-education .education-intro { grid-column: 1 / -1; margin-bottom: 0; }
.mega-column { min-width: 0; }
.mega-column + .mega-column { padding-left: 20px; border-left: 1px solid #eee9f5; }
.mega-eyebrow { display: block; margin: 0 0 9px 8px; color: #805dc3; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mega-column > a {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 8px;
  color: #25314a;
}
.mega-column > a:hover { color: #704bb8; background: #f7f3fb; }
.mega-column > a > i { flex: 0 0 20px; color: #815cc8; font-size: 17px; text-align: center; }
.mega-column strong, .mega-column small { display: block; }
.mega-column strong { font-size: 12px; }
.mega-column .mega-copy { min-width: 0; flex: 1 1 auto; }
.academy-lock {
  display: grid;
  width: 30px;
  height: 38px;
  margin-left: auto;
  flex: 0 0 30px;
  place-items: center;
  color: #7c8490;
  font-size: 12px;
  background: #eceff2;
  border: 1px solid #e2e5e9;
  border-radius: 9px;
}
.mega-column .academy-lock i { color: inherit; font-size: inherit; line-height: 1; }
.mega-column > a:hover .academy-lock { color: #626b78; background: #e3e6ea; }
.mega-column small { margin-top: 2px; color: #7a7d87; font-size: 12px; line-height: 1.4; }

.compact-dropdown { min-width: 235px; padding: 9px; }
.compact-dropdown .dropdown-item {
  padding: 9px 11px;
  border-radius: 7px;
  color: #26314a;
  font-size: 12px;
  font-weight: 600;
}
.compact-dropdown .dropdown-item:hover { color: #704bb8; background: #f7f3fb; }
.compact-dropdown i { width: 22px; margin-right: 7px; color: #815cc8; font-size: 15px; }

.page-v2 .hero-pill { font-size: 15px; }
.page-v2 .shortcut { font-size: 12px; }
.page-v2 .section-heading h2 { font-size: 30px; }
.page-v2 .all-link,
.page-v2 .card-link { font-size: 13px; }
.page-v2 .news-content time { font-size: 12px; }
.page-v2 .news-content h3 { font-size: 17px; }
.page-v2 .news-content p { font-size: 14px; }
.page-v2 .news-placeholder { height: 170px; }
.page-v2 .news-photo { display: block; overflow: hidden; }
.page-v2 .news-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.page-v2 .news-card:hover .news-photo img { transform: scale(1.035); }
.page-v2 .program-card h3 { font-size: 17px; }
.page-v2 .program-card p { font-size: 13px; }
.page-v2 .contact-card small { font-size: 13px; }
.page-v2 .contact-card strong { font-size: 17px; }
.page-v2 .contact-card .address { font-size: 13px; }
.page-v2 .site-footer h2 { font-size: 14px; }
.page-v2 .footer-about,
.page-v2 .footer-links a { font-size: 12px; }
.page-v2 .copyright { font-size: 12px; }
.page-v2 .copyright > span { display: block; }
.page-v2 .copyright .footer-credit { margin-top: 5px; }
.page-v2 .copyright a { color: #fff; font-weight: 800; }
.page-v2 .copyright a:hover { color: #cbb4ef; }

.page-v2 .news-card,
.page-v2 .program-card {
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(28, 42, 79, .08);
}

.page-v2 .news-card:hover,
.page-v2 .program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(28, 42, 79, .13);
}

.page-v2 .news-placeholder {
  margin: 10px;
  border-radius: 14px;
}

.page-v2 .news-content {
  min-height: 205px;
  padding: 10px 20px 22px;
}

.page-v2 .program-card {
  padding: 26px 22px 25px;
}

.page-v2 .program-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 15px;
}

.page-v2 .contact-card {
  min-height: 92px;
  padding: 17px 20px;
  border-radius: 16px;
}

.footer-brand-v2 {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  max-width: 390px;
  padding-right: 34px;
}

.footer-symbol {
  flex: 0 0 90px;
  width: 90px;
  height: 100px;
  object-fit: contain;
}

.footer-brand-v2 .footer-about {
  max-width: 248px;
  padding-top: 4px;
  font-size: 13px;
  line-height: 1.7;
}

@media (hover: hover) and (pointer: fine) {
  .page-v2 .program-card,
  .page-v2 .program-card h3,
  .page-v2 .program-card p,
  .page-v2 .program-card .card-link,
  .page-v2 .program-card .program-icon {
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  }

  .page-v2 .program-card:hover {
    border-color: transparent;
    background: linear-gradient(145deg, #9568da, #7048c4);
    box-shadow: 0 14px 30px rgba(112, 72, 196, .28);
  }

  .page-v2 .program-card:hover h3,
  .page-v2 .program-card:hover p,
  .page-v2 .program-card:hover .card-link {
    color: #fff;
  }

  .page-v2 .program-card:hover .program-icon {
    color: #fff;
    background: rgba(255, 255, 255, .16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  }
}

@media (min-width: 992px) {
  .main-menu-v2 .dropdown:hover > .dropdown-menu { display: block; }
  .main-menu-v2 .dropdown:hover > .mega-education { display: grid; }
}

@media (max-width: 991.98px) {
  .site-header-v2 { position: relative !important; }
  .header-top-inner { min-height: 84px; max-width: 930px; padding-left: 12px; }
  .site-header-v2 .brand { position: static; width: auto; height: auto; }
  .site-header-v2 .brand-mark { width: 190px; height: 76px; }
  .main-menu-v2 { min-height: 51px; }
  .nav-shell { min-height: 51px; padding-left: 12px; }
  .menu-label { color: var(--sbop-navy); font-size: 13px; font-weight: 800; text-transform: uppercase; }
  .main-menu-v2 .navbar-toggler { margin-left: auto; }
  .main-menu-v2 .navbar-collapse { max-height: calc(100vh - 150px); overflow-y: auto; padding: 6px 0 15px; }
  .main-menu-v2 .navbar-nav .nav-link { height: auto; min-height: 44px; padding: 10px 4px !important; }
  .main-menu-v2 .dropdown-menu { position: static !important; width: 100%; margin: 0 0 7px; transform: none !important; border-radius: 10px; box-shadow: none; }
  .mega-dropdown { padding: 14px; }
  .mega-education.show { display: block; }
  .mega-column + .mega-column { margin-top: 13px; padding: 13px 0 0; border-top: 1px solid #eee9f5; border-left: 0; }
  .nav-utility { justify-content: space-between; margin-left: 0; padding-top: 8px; border-top: 1px solid #eee9f5; }
}

@media (max-width: 767.98px) {
  .page-v2 .news-placeholder { height: 132px; }
  .header-top-inner { flex-wrap: wrap; padding-top: 7px; padding-bottom: 10px; }
  .site-header-v2 .brand { width: 100%; justify-content: center; }
  .site-header-v2 .brand-mark { width: 210px; height: 84px; }
  .top-actions { display: grid; width: 100%; gap: 5px; margin-left: 0; grid-template-columns: 2.1fr .9fr; }
  .top-actions .btn { min-width: 0; min-height: 48px; padding: 8px 6px; font-size: 12px; }
  .top-actions .btn i { font-size: 15px; }
  .btn-doctor-v2 i,
  .btn-member-v2 i { display: none; }
  .btn-doctor-v2 span { letter-spacing: -.02em; }
  .btn-member-v2 { min-width: 0; }
  .mega-links.cols-2 { grid-template-columns: 1fr; }
  .main-menu-v2 .navbar-collapse { max-height: calc(100vh - 225px); }
  .page-v2 .site-footer {
    padding: 38px 0 32px;
    text-align: center;
  }
  .page-v2 .site-footer .row { --bs-gutter-y: 2rem; }
  .footer-brand-v2 {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    max-width: 350px;
    margin: 0 auto;
    padding-right: 0;
  }
  .footer-symbol {
    flex-basis: 94px;
    width: 84px;
    height: 94px;
  }
  .footer-brand-v2 .footer-about {
    max-width: 340px;
    padding-top: 0;
    text-align: center;
  }
  .page-v2 .site-footer h2 {
    margin-bottom: 15px;
    text-align: center;
  }
  .page-v2 .footer-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
    max-width: 350px;
    margin: 0 auto !important;
  }
  .page-v2 .footer-links li { line-height: 1.45; }
  .page-v2 .socials {
    justify-content: center;
    max-width: 350px;
    margin: 0 auto;
  }
  .page-v2 .copyright {
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
  }
}
