.mbbs-program-document {
  color: #1f2937;
  background: #f8fafc;
  font-family: var(--font-body);
}

.mbbs-program-page {
  display: flow-root;
  background: #f8fafc;
  font-size: 16px;
  line-height: 1.65;
}

.mbbs-hero {
  height: 400px;
  background-image: url("/assets/university/mbbs/reference-inner-banner-bg.jpg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.mbbs-hero__container {
  width: 100%;
  max-width: 1140px;
  min-height: 400px;
  display: flex;
  align-items: center;
  margin-inline: auto;
}

.mbbs-hero__column {
  width: 69.56%;
  min-width: 0;
  display: flex;
  padding: 0;
}

.mbbs-hero__wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.mbbs-hero__heading-widget {
  margin-bottom: 20px;
}

.mbbs-hero__heading-widget h1,
.mbbs-hero__text-widget p {
  width: calc(100% - 50px);
  margin-inline: 0;
}

.mbbs-hero__heading-widget h1 {
  margin-block: 0;
  color: #0f2d7a;
  font: 600 46px / 1.4 var(--font-reference-heading);
}

.mbbs-hero__text-widget p {
  margin-block: 0 1.6em;
  color: #000;
  font: 400 16px / 1.65 var(--font-body);
}

.mbbs-hero__empty-column {
  width: 30.44%;
  min-width: 0;
  min-height: 1px;
  padding: 0;
}

.mbbs-programs {
  margin-block: 60px;
}

.mbbs-programs__container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
}

.mbbs-programs__wrap {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.mbbs-programs__row {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  margin-top: 50px;
}

.mbbs-program-card {
  min-width: 0;
  flex: 0 0 33.333333%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 10px;
  color: #0f2d7a;
  text-align: center;
  cursor: pointer;
}

.mbbs-program-card__image-widget {
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.65;
}

.mbbs-program-card__image-widget img {
  width: 33%;
  max-width: 33%;
  display: inline-block;
  height: auto;
  vertical-align: middle;
}

.mbbs-program-card h2 {
  margin: 0;
  color: #0f2d7a;
  font: 600 19px / 1.3 var(--font-reference-heading);
  text-align: center;
}

.mbbs-program-card:hover h2,
.mbbs-program-card:focus-visible h2 {
  color: var(--brand-primary);
}

.mbbs-program-card:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: -3px;
}

.mbbs-share {
  position: fixed;
  z-index: 55;
  top: 100px;
  right: -10px;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 10px;
  border-radius: 4px;
  background: transparent;
}

.mbbs-share a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
}

.mbbs-share a[data-mbbs-share="facebook"] { background: #0765fe; }
.mbbs-share a[data-mbbs-share="x"] { background: #2a2a2a; }
.mbbs-share a[data-mbbs-share="linkedin"] { background: #0077b5; }
.mbbs-share a[data-mbbs-share="pinterest"] { background: #cc2329; }
.mbbs-share a[data-mbbs-share="whatsapp"] { background: #55eb4c; }
.mbbs-share a[data-mbbs-share="instagram"] { background: #53beee; }

.mbbs-share img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: cover;
}

.mbbs-share a[data-mbbs-share="more"] {
  color: #fff;
  background: #ed8b19;
  font: 400 34px / 40px Arial, sans-serif;
}

.mbbs-chat {
  position: fixed;
  z-index: 57;
  right: 30px;
  bottom: 92px;
  width: 250px;
  min-height: 90px;
  display: block;
  padding: 28px 16px 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .16);
}

.mbbs-chat[hidden] {
  display: none;
}

.mbbs-chat img {
  position: absolute;
  top: -25px;
  left: 50%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  transform: translateX(-50%);
}

.mbbs-chat p {
  margin: 0;
  color: #1f2937;
  font: 400 16px / 24px var(--font-body);
}

.mbbs-chat__close {
  position: absolute;
  top: 5px;
  right: 7px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #222;
  background: transparent;
  font: 300 21px / 22px Arial, sans-serif;
  cursor: pointer;
}

.mbbs-chat__launcher {
  position: fixed;
  z-index: 57;
  right: 30px;
  bottom: 25px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #3e2bb1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .24);
  cursor: pointer;
}

.mbbs-chat__launcher span {
  position: relative;
  width: 25px;
  height: 20px;
  display: block;
  border: 2px solid #fff;
  border-radius: 3px;
}

.mbbs-chat__launcher span::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: -6px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: #3e2bb1;
  transform: skewY(-35deg);
}

/* Keep the shared header on the same desktop/mobile breakpoint as the reference page. */
@media (min-width: 922px) and (max-width: 1245px) {
  .mbbs-program-document .contact-bar,
  .mbbs-program-document .navbar-wrap {
    display: block;
  }

  .mbbs-program-document .identity-contacts {
    display: flex;
  }

  .mbbs-program-document .contact-bar__inner,
  .mbbs-program-document .identity-row__inner,
  .mbbs-program-document .navbar {
    width: calc(100% - 40px);
  }

  .mbbs-program-document .contact-bar__inner {
    grid-template-columns: 230px minmax(0, 1fr) 120px;
  }

  .mbbs-program-document .identity-row__inner {
    min-height: 82px;
  }

  .mbbs-program-document .identity-contacts {
    min-width: 0;
    flex: 1 1 auto;
  }

  .mbbs-program-document .identity-contacts > a {
    min-width: 0;
  }

  .mbbs-program-document .navbar {
    min-height: 60px;
    height: auto;
  }

  .mbbs-program-document .desktop-nav,
  .mbbs-program-document .desktop-nav__list {
    width: 100%;
  }

  .mbbs-program-document .desktop-nav__list {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .mbbs-program-document .menu-toggle {
    display: none;
  }

  .mbbs-program-document .menu-backdrop,
  .mbbs-program-document .mobile-menu {
    display: none;
  }
}

@media (min-width: 922px) and (max-width: 1024px) {
  .mbbs-program-document .contact-bar {
    min-height: 53.78125px;
  }

  .mbbs-program-document .contact-bar__inner {
    min-height: 52.78125px;
  }
}

@media (max-width: 921px) {
  .mbbs-program-document {
    font-size: 14.592px;
  }

  .mbbs-program-page {
    font-size: 14.592px;
    line-height: 24.0768px;
  }

  .mbbs-hero__text-widget p {
    font-size: 14.592px;
    line-height: 24.0768px;
  }

  .mbbs-program-document .identity-row__inner {
    width: calc(100% - 40px);
    min-height: 80px;
  }

  .mbbs-program-document .menu-toggle {
    width: 42px;
    height: 42px;
    border-color: var(--brand-primary);
    background: var(--brand-primary);
  }

  .mbbs-program-document .menu-toggle > span {
    background: #fff;
  }

  .mbbs-program-document .apply-button--desktop {
    display: none;
  }

  .mbbs-program-document .brand__logo-wrap {
    width: 56px;
    height: 56px;
  }

  .mbbs-program-document .brand__logo {
    width: 55px;
    height: 55px;
  }

  .mbbs-program-document .brand__text {
    display: flex;
  }

  .mbbs-program-document .brand__text strong {
    font-size: 17px;
  }

  .mbbs-program-document .brand__text > span {
    font-size: 8px;
  }

  .mbbs-share {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 0;
  }

  .mbbs-share a {
    width: auto;
    height: 40px;
    flex: 1 1 0;
    border-radius: 20px;
  }
}

@media (max-width: 767px) {
  .mbbs-hero__container {
    flex-wrap: wrap;
  }

  .mbbs-hero__column,
  .mbbs-hero__empty-column {
    flex: 0 0 100%;
    width: 100%;
  }

  .mbbs-hero__empty-column {
    height: 1px;
  }

  .mbbs-programs__row {
    flex-wrap: wrap;
  }

  .mbbs-program-card {
    flex-basis: 100%;
  }

}

@media (max-width: 480px) {
  .mbbs-chat {
    right: 30px;
    width: 235px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mbbs-chat__launcher {
    transition: none;
  }
}
