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

.bachelors-programs-page {
  background: #f8fafc;
}

.bachelors-hero {
  height: 400px;
  background: #f8fafc;
}

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

.bachelors-hero__column {
  width: 70%;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.bachelors-hero__empty-column {
  width: 30%;
  min-height: 1px;
}

.bachelors-hero__widget {
  padding-right: 50px;
}

.bachelors-hero__widget--heading {
  margin-bottom: 20px;
}

.bachelors-hero h1 {
  margin: 0;
  color: #0f2d7a;
  font: 600 46px / 1.4 var(--font-reference-heading);
}

.bachelors-hero p {
  margin: 0 0 25.6px;
  color: #000;
  font: 400 16px / 1.65 var(--font-body);
}

.bachelors-programs-list {
  margin-block: 60px;
}

.bachelors-programs-list__shell {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding: 10px;
}

.bachelors-program-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 50px;
}

.bachelors-program-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

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

.bachelors-program-card__media {
  display: block;
  width: 33%;
  max-width: 33%;
  height: auto;
  flex: 0 0 auto;
  align-self: center;
  margin: 0 auto 20px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(226, 230, 237, .18);
}

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

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

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

.bachelors-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;
}

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

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

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

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

.bachelors-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);
}

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

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

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

.bachelors-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;
}

.bachelors-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;
}

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

.bachelors-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 this page's shared header layout aligned with the reference breakpoints. */
@media (min-width: 901px) and (max-width: 1245px) {
  .bachelors-programs-document .contact-bar,
  .bachelors-programs-document .navbar-wrap {
    display: block;
  }

  .bachelors-programs-document .identity-contacts {
    display: flex;
  }

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

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

  .bachelors-programs-document .identity-row__inner {
    min-height: 82px;
  }

  .bachelors-programs-document .identity-contacts {
    min-width: 0;
    flex: 1 1 auto;
  }

  .bachelors-programs-document .identity-contacts > a {
    min-width: 0;
  }

  .bachelors-programs-document .navbar {
    min-height: 60px;
    height: auto;
  }

  .bachelors-programs-document .desktop-nav,
  .bachelors-programs-document .desktop-nav__list {
    width: 100%;
  }

  .bachelors-programs-document .desktop-nav__list {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .bachelors-programs-document .menu-toggle {
    display: none;
  }

  .bachelors-programs-document .menu-backdrop,
  .bachelors-programs-document .mobile-menu {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
  .bachelors-programs-document .contact-bar {
    min-height: 53.78125px;
  }

  .bachelors-programs-document .contact-bar__inner {
    min-height: 52.78125px;
  }
}

@media (max-width: 900px) {
  .bachelors-programs-document .identity-row__inner {
    width: calc(100% - 40px);
    min-height: 80px;
  }

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

  .bachelors-programs-document .menu-toggle > span {
    background: #fff;
  }

  .bachelors-programs-document .apply-button--desktop {
    display: none;
  }

  .bachelors-programs-document .brand__logo-wrap {
    width: 56px;
    height: 56px;
  }

  .bachelors-programs-document .brand__logo {
    width: 55px;
    height: 55px;
  }

  .bachelors-programs-document .brand__text {
    display: flex;
  }

  .bachelors-programs-document .brand__text strong {
    font-size: 17px;
  }

  .bachelors-programs-document .brand__text > span {
    font-size: 8px;
  }
}

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

  .bachelors-hero p {
    font-size: 14.592px;
    line-height: 24.0768px;
  }
}

@media (min-width: 922px) {
  .bachelors-hero__widget {
    padding-right: 55px;
  }
}

@media (min-width: 768px) and (max-width: 921px) {
  .bachelors-hero__widget {
    padding-right: 64px;
  }
}

@media (max-width: 767px) {
  .bachelors-hero__shell {
    align-items: flex-start;
  }

  .bachelors-hero__column {
    width: 100%;
    margin-top: 27.6px;
  }

  .bachelors-hero__empty-column {
    display: none;
  }

  .bachelors-program-row {
    grid-template-columns: 1fr;
  }

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

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

  .bachelors-share img {
    width: 40px;
    height: 40px;
  }
}

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

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