/* Header and home banner alignment overrides */
#header .header-top > .container {
  width: 100%;
  max-width: 1440px;
  padding-right: 20px;
  padding-left: 20px;
}

#header .header-top .row::before,
#header .header-top .row::after {
  display: none;
}

#header .header-top .row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-right: 0;
  margin-left: 0;
}

#header .header-top .row > .col-md-7,
#header .header-top .row > .col-md-5 {
  float: none;
  width: auto;
  padding-right: 10px;
  padding-left: 10px;
}

#header .header-top .col-md-7 .widget ul,
#header .header-top .col-md-5 .widget ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
}

#header .header-top .widget ul li {
  flex: 0 0 auto;
  white-space: nowrap;
}

#header .header-top .col-md-5 {
  padding-right: 10px;
}

@media (min-width: 1200px) {
  #header .header-nav .header-nav-wrapper > .container {
    width: 100%;
    max-width: 1760px;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  #header #menuzord {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 100%;
  }

  #header #menuzord > div:first-child {
    flex: 0 0 auto;
  }

  #header #menuzord .menuzord-brand {
    display: flex;
    align-items: center;
    float: none;
    margin: 0 20px 0 0 !important;
  }

  #header #menuzord .menuzord-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    float: none;
    min-width: 0;
  }

  #header #menuzord .menuzord-menu > li {
    display: flex;
    align-items: center;
    float: none;
    flex: 0 0 auto;
  }

  #header #menuzord .menuzord-menu > li > a {
    padding: 22px 9px;
  }

  #header #menuzord .menuzord-menu > li > div {
    margin-right: 6px !important;
  }
}

@media (max-width: 767px) {
  #header .header-top .row::before,
#header .header-top .row::after {
  display: none;
}

#header .header-top .row {
    row-gap: 4px;
    padding: 6px 0;
  }

  #header .header-top .row > .col-md-7,
  #header .header-top .row > .col-md-5 {
    width: 100%;
    padding: 0;
  }

  #header .header-top .col-md-7 .widget ul,
  #header .header-top .col-md-5 .widget ul {
    flex-wrap: wrap;
  }
}

#rev_slider_home .tp-caption[id*="-layer-2"],
#rev_slider_home .tp-caption[id*="-layer-4"] {
  text-align: center !important;
}
/* Full-width, compact yellow navigation bar */
#header .header-nav .header-nav-wrapper {
  background-color: #ffdc00 !important;
}

#header .header-nav .header-nav-wrapper > .container {
  width: 100%;
  max-width: none;
  padding-right: 16px !important;
  padding-left: 16px !important;
  background-color: #ffdc00;
}

#header #menuzord {
  background-color: #ffdc00 !important;
}

@media (min-width: 1200px) {
  #header #menuzord .menuzord-brand img {
    max-height: 52px;
    width: auto;
  }

  #header #menuzord .menuzord-menu > li > a {
    padding: 8px 7px;
    line-height: 1.25;
  }

  #header #menuzord .menuzord-menu > li > div > a.btn {
    padding: 7px 10px;
    font-size: 13px;
    line-height: 1.25;
  }

  #header #menuzord .menuzord-menu > li > div {
    margin-right: 4px !important;
  }
}
/* Cohesive course, people, news and testimonial cards */
#courses_id .products .row.multi-row-clearfix {
  display: flex;
  flex-wrap: wrap;
}

#courses_id .products .row.multi-row-clearfix::before,
#courses_id .products .row.multi-row-clearfix::after {
  display: none;
}

#courses_id .products .row.multi-row-clearfix > [class*="col-"] {
  display: flex;
}

#courses_id .products .product {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(26, 47, 74, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

#courses_id .products .product:hover {
  transform: translateY(-4px);
  border-color: #d4dde8;
  box-shadow: 0 12px 28px rgba(26, 47, 74, 0.14);
}

#courses_id .product .product-thumb {
  overflow: hidden;
  background: #f3f5f7;
}

#courses_id .product .product-thumb img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 250ms ease;
}

#courses_id .product:hover .product-thumb img {
  transform: scale(1.025);
}

#courses_id .product .product-details {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  padding: 16px 18px 18px;
}

#courses_id .product .product-title {
  min-height: 2.8em;
  margin: 0 0 8px;
  color: #24364b;
  line-height: 1.4;
}

#courses_id .product .price {
  margin-top: auto;
  padding: 4px 0 10px;
}

#courses_id .product .btn-add-to-cart-wrapper {
  margin: 4px 0 0;
  background: transparent;
}

#courses_id .product .btn-add-to-cart {
  max-width: 100%;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0.03em;
}

#team .team-members {
  overflow: hidden;
  border: 1px solid #e7ebf0;
  border-bottom: 3px solid #ffdc00;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(26, 47, 74, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#team .team-members:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 47, 74, 0.14);
}

#team .team-members .team-thumb {
  overflow: hidden;
  background: #f3f5f7;
}

#team .team-members .team-thumb > img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  border-radius: 0;
}

#team .team-members .team-details {
  position: relative;
  bottom: auto;
  padding: 18px 16px 16px;
  background: #fff;
}

#team .team-members .team-details h4 {
  color: #24364b;
  line-height: 1.35;
}

#team .team-members .team-details h6 {
  margin-bottom: 0;
  color: #68778a;
}

#news .owl-carousel-3col .item {
  display: flex;
  height: 100%;
  padding: 4px 2px 16px;
}

#news .post {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e7ebf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(26, 47, 74, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#news .post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 47, 74, 0.14);
}

#news .post .entry-header {
  position: relative;
  overflow: hidden;
}

#news .post .post-thumb {
  overflow: hidden;
  background: #f3f5f7;
}

#news .post .post-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 250ms ease;
}

#news .post:hover .post-thumb img {
  transform: scale(1.025);
}

#news .post .entry-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 0;
  background: #fff;
}

#news .post .entry-title,
#news .post .entry-title a {
  display: -webkit-box;
  overflow: hidden;
  color: #24364b !important;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#news .post .entry-content > p {
  display: -webkit-box;
  overflow: hidden;
  color: #68778a;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

#news .post .entry-content > .btn {
  margin: auto 0 0;
  padding: 8px 0;
  color: #07549b;
  font-weight: 700;
}

#news .post .entry-date {
  border-radius: 0 0 8px 0;
  box-shadow: 0 4px 12px rgba(26, 47, 74, 0.16);
}

#news .post .entry-date ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#team .our-team-1 {
  overflow: hidden;
  border: 1px solid #e7ebf0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(26, 47, 74, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#team .our-team-1:hover {
  margin-top: 10px;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 47, 74, 0.14);
}

#team .our-team-1 .figcaption {
  padding: 16px 14px 18px;
  border-top: 3px solid #ffdc00;
}

#team .our-team-1 .figcaption h4 {
  color: #24364b;
  line-height: 1.35;
}

#team .our-team-1 .figcaption h5 {
  color: #68778a;
}

#team .owl-carousel-4col .item {
  padding: 4px 8px 16px;
}

#team .owl-carousel-4col .team-members {
  height: 100%;
}

#team .team-members .team-thumb img {
  object-fit: cover;
}

#team .team-members .team-details > p {
  margin-bottom: 0;
}

#team .team-members .team-details > p a {
  display: inline-block;
  padding-top: 8px;
  color: #07549b;
  font-weight: 700;
}

.bg-silver-deep .box-hover-effect.about-video {
  overflow: hidden;
  border: 1px solid #e7ebf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(26, 47, 74, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.bg-silver-deep .box-hover-effect.about-video:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 47, 74, 0.16);
}

.bg-silver-deep .box-hover-effect.about-video .thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bg-silver-deep .box-hover-effect.about-video .video-button {
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: #07549b;
}

@media (prefers-reduced-motion: reduce) {
  #courses_id .product,
  #courses_id .product .product-thumb img,
  #team .team-members,
  #team .our-team-1,
  #news .post,
  .bg-silver-deep .box-hover-effect.about-video {
    transition: none;
  }
}
/* Teacher profile bibliography spacing */
#team .teacher-profile-bio {
  height: 100%;
}

#team .teacher-profile-bio__content {
  padding: 28px 32px 24px;
}

#team .teacher-profile-bio__content h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #24364b;
  line-height: 1.4;
}

#team .teacher-profile-bio__content h6 {
  margin-bottom: 0;
  color: #68778a;
}

#team .teacher-profile-bio__bibliography {
  margin: 16px 0 0;
  padding: 0;
  color: #5f6e80;
  text-align: justify;
  line-height: 1.65;
  list-style: none;
}

#team .teacher-profile-bio__bibliography i {
  display: block;
  margin: 0 0 7px;
  font-style: italic;
}

#team .teacher-profile-bio__bibliography br {
  display: none;
}

@media (max-width: 767px) {
  #team .teacher-profile-bio__content {
    padding: 22px 20px;
  }
}
/* Graduate directory cards */
#employment > .container > .row:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

#employment > .container > .row:last-child > [class*="col-"] {
  display: flex;
}

#employment .graduate-card {
  display: grid;
  grid-template-columns: minmax(150px, 36%) minmax(0, 1fr);
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid #e3e9f0;
  border-bottom: 3px solid #ffdc00;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(26, 47, 74, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#employment .graduate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(26, 47, 74, 0.14);
}

#employment .graduate-card__image {
  min-height: 100%;
  overflow: hidden;
  background: #f1f4f7;
}

#employment .graduate-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center top;
}

#employment .graduate-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 26px 22px;
}

#employment .graduate-card__name {
  margin: 0 0 8px;
  color: #24364b;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#employment .graduate-card__course {
  margin: 0 0 16px;
  color: #68778a;
  font-size: 14px;
  line-height: 1.5;
}

#employment .graduate-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
}

#employment .graduate-card__metrics p {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: #68778a;
  font-size: 12px;
  line-height: 1.4;
}

#employment .graduate-card__metrics strong {
  margin-top: 3px;
  color: #24364b;
  font-size: 15px;
}

#employment .graduate-card__date {
  margin: 14px 0 0;
  color: #68778a;
  font-size: 13px;
}

#employment .graduate-card__description {
  margin: 10px 0 0;
  color: #68778a;
  font-size: 13px;
  line-height: 1.6;
}

#employment .graduate-card__button {
  margin: auto 0 0;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 13px;
}

@media (max-width: 767px) {
  #employment .graduate-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  #employment .graduate-card__image img {
    height: auto;
    min-height: 0;
    max-height: 300px;
    aspect-ratio: 16 / 10;
    object-position: center 30%;
  }

  #employment .graduate-card__content {
    padding: 20px;
  }

  #employment .graduate-card__button {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #employment .graduate-card {
    transition: none;
  }
}
/* Consistent teacher card image frames and profile actions */
#team .owl-carousel-4col .item {
  display: flex;
  height: 100%;
}

#team .owl-carousel-4col .team-members {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

#team .owl-carousel-4col .team-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

#team .owl-carousel-4col .team-thumb > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

#team .owl-carousel-4col .team-details {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  padding: 16px 16px 18px;
  text-align: center;
}

#team .owl-carousel-4col .team-details h4 {
  margin: 0 0 8px;
}

#team .owl-carousel-4col .team-details h6 {
  margin: 0;
}

#team .owl-carousel-4col .team-details .team-profile-action {
  margin: auto 0 0;
  padding-top: 14px;
}

#team .owl-carousel-4col .team-profile-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 6px;
  background: #07549b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

#team .owl-carousel-4col .team-profile-button,
#team .owl-carousel-4col .team-profile-button:visited {
  color: #fff !important;
}

#team .owl-carousel-4col .team-profile-button:hover,
#team .owl-carousel-4col .team-profile-button:focus {
  transform: translateY(-1px);
  background: #063f75;
  color: #fff !important;
  text-decoration: none;
}

#team .owl-carousel-4col .team-profile-button:focus-visible {
  outline: 3px solid #ffdc00;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  #team .owl-carousel-4col .team-profile-button {
    transition: none;
  }
}