.ml-hero-section {
  width: 100%;
  position: relative;
}

.ml-hero-swiper {
  width: 100%;
  position: relative;
  z-index: 100;
}

.ml-hero-slide {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1920/1080;
}

.ml-hero-slide__img-wrap {
  position: absolute;
  inset: 0;
}

.ml-hero-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ml-hero-slide__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
}

.ml-hero-slide__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.18) 72%, transparent 100%);
  padding: 2.5rem 0;
  z-index: 2;
}

@media (min-width: 768px) {
  .ml-hero-slide__overlay {
    padding: 3rem 0;
  }
}

@media (min-width: 992px) {
  .ml-hero-slide__overlay {
    padding: 3.5rem 0;
  }
}

.ml-hero-slide__caption {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  padding-left: 1.25rem;
  line-height: 1.3;
  position: relative;
  max-width: 80%;
}

@media (min-width: 768px) {
  .ml-hero-slide__caption {
    font-size: 2.75rem;
  }
}

.ml-hero-slide__caption p {
  margin: 0;
}

.ml-hero-slide__caption::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, #DF7433, #DA562B, #CC103C);
}

.ml-hero-swiper .swiper-button-prev,
.ml-hero-swiper .swiper-button-next {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  z-index: 120;
  transition: border-color 0.2s, background-color 0.2s;
}

.ml-hero-swiper .swiper-button-prev:hover,
.ml-hero-swiper .swiper-button-next:hover {
  background-color: #fff;
  border-color: #888;
}

.ml-hero-swiper .swiper-button-prev::after,
.ml-hero-swiper .swiper-button-next::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 0;
  background: none;
  background-image: none;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  font-family: inherit;
  font-size: 0;
  color: transparent;
}

.ml-hero-swiper .swiper-button-prev {
  left: max(1.5rem, calc((100% - 1540px) / 2 + 1.5rem));
}

.ml-hero-swiper .swiper-button-next {
  right: max(1.5rem, calc((100% - 1540px) / 2 + 1.5rem));
}

.ml-hero-swiper .swiper-button-prev::after {
  transform: rotate(-135deg) translate(-1px, 1px);
}

.ml-hero-swiper .swiper-button-next::after {
  transform: rotate(45deg) translate(-1px, 1px);
}

.ml-hero-swiper .swiper-button-prev.swiper-button-disabled,
.ml-hero-swiper .swiper-button-next.swiper-button-disabled {
  opacity: 0.35;
}

@media (max-width: 767.98px) {

  .ml-hero-swiper .swiper-button-prev,
  .ml-hero-swiper .swiper-button-next {
    display: none;
  }
}

.ml-hero-controls {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 120;
  pointer-events: auto;
}

@media (min-width: 576px) {
  .ml-hero-controls {
    bottom: 3rem;
  }
}

@media (min-width: 768px) {
  .ml-hero-controls {
    bottom: 3.5rem;
  }
}

.ml-hero-controls__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ml-hero-swiper__pagination {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
}

.ml-hero-swiper__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1px solid #fff;
  opacity: 1;
  transition: background 0.2s, border-color 0.2s;
}

.ml-hero-swiper__pagination .swiper-pagination-bullet-active {
  background: #fff;
  border-color: #fff;
}

.ml-hero-swiper__pause {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}

.ml-hero-swiper__pause:hover {
  background: rgba(255, 255, 255, 0.6);
}

.ml-hero-swiper__pause-icon {
  display: block;
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Crect x='0' y='0' width='3' height='12' fill='white'/%3E%3Crect x='7' y='0' width='3' height='12' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ml-hero-swiper__pause.is-paused .ml-hero-swiper__pause-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpolygon points='1,0 10,6 1,12' fill='white'/%3E%3C/svg%3E");
}

.ml-hero-banner-slide {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1920/1080;
}

.ml-hero-banner-slide__media {
  position: absolute;
  inset: 0;
  background: #fff;
}

.ml-hero-banner-slide__img,
.ml-hero-banner-slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
  opacity: 1;
}

.ml-hero-banner-slide__cover-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
}

.ml-hero-banner-slide__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: none;
  padding: 3.5rem 1rem;
  z-index: 4;
}

.ml-hero-banner-slide__caption-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.ml-hero-banner-slide__title {
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  position: relative;
  max-width: 85%;
  padding-left: 1.5rem;
}

.ml-hero-banner-slide__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, #DF7433, #DA562B, #CC103C);
}

@media (min-width: 576px) {
  .ml-hero-banner-slide__title {
    font-size: 1.6rem;
  }
}

@media (min-width: 768px) {
  .ml-hero-banner-slide__title {
    font-size: 2rem;
  }
}

@media (min-width: 992px) {
  .ml-hero-banner-slide__title {
    color: #fff;
    font-size: 2rem !important;
    max-width: 70%;
  }
}

@media (min-width: 1200px) {
  .ml-hero-banner-slide__title {
    font-size: 2.5rem !important;
  }
}

.ml-hero-banner-slide__title-link {
  color: #000 !important;
  text-decoration: none;
}

.ml-hero-banner-slide__title-link:visited,
.ml-hero-banner-slide__title-link:hover,
.ml-hero-banner-slide__title-link:focus {
  color: #000 !important;
  text-decoration: none;
}

@media (min-width: 992px) {
  .ml-hero-banner-slide__title-link {
    color: #fff !important;
  }

  .ml-hero-banner-slide__title-link:visited,
  .ml-hero-banner-slide__title-link:hover,
  .ml-hero-banner-slide__title-link:focus {
    color: #fff !important;
    text-decoration: none;
  }
}

.ml-hero-banner-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  color: #000 !important;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0;
  border: none;
  background: none;
  text-decoration: none;
  position: relative;
  z-index: 5;
  transition: opacity 0.2s;
  margin-left: 0;
}

@media (min-width: 768px) {
  .ml-hero-banner-slide__cta {
    font-size: 1rem;
  }
}

@media (min-width: 992px) {
  .ml-hero-banner-slide__cta {
    color: #fff !important;
  }
}

.ml-hero-banner-slide__cta::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.2s;
}

@media (min-width: 992px) {
  .ml-hero-banner-slide__cta::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") center/contain no-repeat;
  }
}

.ml-hero-banner-slide__cta:visited,
.ml-hero-banner-slide__cta:hover,
.ml-hero-banner-slide__cta:focus {
  color: #fff !important;
  text-decoration: none;
}

.ml-hero-banner-slide__cta:visited::after,
.ml-hero-banner-slide__cta:hover::after,
.ml-hero-banner-slide__cta:focus::after {
  transform: translateX(2px);
}

.ml-hero-banner-slide--preview {
  aspect-ratio: 16/9;
  max-height: 400px;
}

@media (max-width: 991.98px) {
  .ml-hero-banner-slide {
    aspect-ratio: unset;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .ml-hero-banner-slide__media {
    position: relative;
    inset: auto;
    aspect-ratio: 16/9;
    flex: none;
    width: 100%;
    overflow: hidden;
  }

  .ml-hero-banner-slide__overlay {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    background: url("../image/home/media-banner-polygon-bg-mob.svg") left top/100% no-repeat;
    height: 300px;
    padding: 25px 0;
    z-index: 5;
  }
}

@media (max-width: 991.98px) and (min-width: 576px) {
  .ml-hero-banner-slide__overlay {
    padding: 30px 0;
  }
}

@media (max-width: 991.98px) {
  .ml-hero-banner-slide__overlay::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 50px;
    background: url("../image/home/media-banner-footer-mob.svg") right top/cover no-repeat;
  }
}

@media (max-width: 991.98px) and (min-width: 576px) {
  .ml-hero-banner-slide__overlay::after {
    height: 90px;
  }
}

@media (max-width: 991.98px) and (min-width: 768px) {
  .ml-hero-banner-slide__overlay::after {
    height: 110px;
  }
}

@media (max-width: 991.98px) {
  .ml-hero-banner-slide__title {
    max-width: 90%;
    font-size: 1.5rem;
    padding-left: 1.25rem;
  }
}

@media (max-width: 991.98px) and (min-width: 576px) {
  .ml-hero-banner-slide__title {
    font-size: 1.6rem;
  }
}

@media (max-width: 991.98px) and (min-width: 768px) {
  .ml-hero-banner-slide__title {
    font-size: 1.8rem;
  }
}

@keyframes hero-caption-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ml-hero-swiper .swiper-slide {
  opacity: 0;
  transition: none;
}

.ml-hero-swiper .swiper-slide-active,
.ml-hero-swiper .swiper-slide-next {
  opacity: 1;
}

@media (max-width: 991.98px) {
  .ml-hero-overlay-stack {
    position: relative;
    z-index: 100;
    height: 250px;
    pointer-events: none;
    background: linear-gradient(180deg, #FFFFFF 38.91%, #AAAAAA 89.59%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 20px));
    margin-bottom: -20px;
  }

  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 0 !important;
    opacity: 0;
    pointer-events: none;
    background: none !important;
  }

  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay::after {
    display: none !important;
  }

  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay.is-active {
    opacity: 1;
    pointer-events: none;
  }

  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay.is-active .ml-hero-banner-slide__caption-wrap,
  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay.is-active .ml-hero-banner-slide__cta {
    pointer-events: auto;
    user-select: text;
  }

  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay .ml-hero-banner-slide__caption-wrap,
  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay .ml-hero-banner-slide__cta {
    pointer-events: none;
  }

  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay.is-entering .ml-hero-banner-slide__caption-wrap {
    animation: hero-caption-enter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
}

@media (min-width: 992px) {
  .ml-hero-overlay-stack {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 101;
    pointer-events: none;
    min-height: 420px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0.18) 65%, transparent 100%);
  }

  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    pointer-events: none;
  }

  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay.is-active {
    opacity: 1;
    pointer-events: none;
  }

  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay.is-active .ml-hero-banner-slide__caption-wrap,
  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay.is-active .ml-hero-banner-slide__cta {
    pointer-events: auto;
    user-select: text;
  }

  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay .ml-hero-banner-slide__caption-wrap,
  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay .ml-hero-banner-slide__cta {
    pointer-events: none;
  }

  .ml-hero-overlay-stack .ml-hero-banner-slide__overlay.is-entering .ml-hero-banner-slide__caption-wrap {
    animation: hero-caption-enter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
}

.ml-content-sections>*+* {
  margin-top: 0;
}

.ml-rankings-section {
  position: relative;
  background: linear-gradient(273.33deg, rgba(25, 23, 99, 0.5) 35.56%, rgba(25, 23, 99, 0) 78.68%), url("../image/frontpage/leading-bg.jpg") 40% center/cover no-repeat #111;
  padding: 10% 0;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .ml-rankings-section {
    min-height: 900px;
  }
}

.ml-rankings-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(50, 10, 5, 0.55) 20%, rgba(50, 10, 5, 0) 67%);
  z-index: 1;
}

@media (max-width: 991.98px) {
  .ml-rankings-section::before {
    background: linear-gradient(273.33deg, rgba(70, 69, 98, 0.5) 35.58%, rgba(25, 23, 99, 0.5) 78.7%);
  }
}

.ml-rankings-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 20.03%, #DF783D 44.34%, #DF783D 69.01%, #CC123C 94.4%);
  clip-path: polygon(50% 40%, 100% 0%, 100% 100%, 20% 100%);
  z-index: 2;
}

@media (max-width: 991.98px) {
  .ml-rankings-section::after {
    margin-top: 200px;
    background: linear-gradient(33deg, rgba(255, 255, 255, 0.9) 0%, #DF783D 44.34%, #DF783D 69.01%, #CC123C 94.4%);
    clip-path: polygon(0% 20%, 100% 0%, 100% 100%, 0% 100%);
  }
}

.ml-rankings-section .container-xxl {
  position: relative;
  z-index: 3;
}

.ml-rankings-section__heading {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}

.ml-rankings-section__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  white-space: pre-line;
}

.ml-rankings-section__inner {
  margin: auto;
  width: min-content;
  max-width: 100%;
}

@media (max-width: 575.98px) {
  .ml-rankings-section__inner {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .ml-rankings-section__inner {
    margin-right: unset;
  }
}

.ml-ranking-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 2rem;
  justify-items: center;
}

@media (max-width: 991.98px) {
  .ml-ranking-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: min-content;
    margin: auto;
  }
}

@media (max-width: 575.98px) {
  .ml-ranking-list {
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: stretch;
    width: 100%;
    margin: auto;
  }
}

.ml-ranking-stat {
  background: #fff;
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, #DF7433 5.68%, #DA562B 59.64%, #CC103C 100%) 1;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

@media (max-width: 575.98px) {
  .ml-ranking-stat {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    max-width: 400px;
  }
}

@media (min-width: 576px) {
  .ml-ranking-stat {
    min-width: 220px;
    width: 220px;
    height: 220px;
  }
}

.ml-ranking-stat:nth-child(even) {
  margin-left: auto;
}

@media (min-width: 576px) {
  .ml-ranking-stat:nth-child(even) {
    position: relative;
    top: 40px;
    margin-left: unset;
  }
}

.ml-ranking-stat__number {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(180deg, #DF7433 2.14%, #DA562B 58.13%, #CC103C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  position: relative;
}

.ml-ranking-stat__number::before {
  content: "#";
  font-size: 1.5rem;
  font-weight: 400;
  position: absolute;
  transform: translateX(-100%);
  top: 8px;
  background: linear-gradient(180deg, #DF7433 2.14%, #DA562B 58.13%, #CC103C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 575.98px) {
  .ml-ranking-stat__number {
    flex: 0 0 64px;
    min-width: 64px;
    max-width: 64px;
    font-size: 3rem;
    margin-bottom: 0;
  }
}

.ml-ranking-stat__label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
}

@media (max-width: 575.98px) {
  .ml-ranking-stat__label {
    text-align: left;
    margin-top: 0;
  }
}

.ml-ranking-stat__desc {
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #555;
  line-height: 1.3;
  white-space: pre-line;
}

@media (max-width: 575.98px) {
  .ml-ranking-stat__desc {
    text-align: left;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

.ml-student-sharing-section {
  overflow: hidden;
  position: relative;
}

.ml-student-sharing-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../image/frontpage/student-sharing-bg2.jpg") center top no-repeat;
  background-size: cover;
  opacity: 1;
  z-index: 0;
}

.ml-student-sharing-section::before {
  content: "";
  display: block;
  background: #fff;
  width: 100%;
  height: 60px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
}

.ml-student-layout {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  padding-bottom: 5rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

@media (max-width: 991px) {
  .ml-student-layout {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 4rem;
  }
}

.ml-student-text-col {
  flex: 0 0 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
}

@media (max-width: 991px) {
  .ml-student-text-col {
    flex: none;
    max-width: 100%;
    width: 100%;
    order: 2;
  }
}

.ml-student-photo-col {
  flex: 0 0 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 991px) {
  .ml-student-photo-col {
    flex: none;
    max-width: 100%;
    width: 100%;
    order: 1;
  }
}

.ml-student-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1.5rem;
}

.ml-student-swiper .swiper-wrapper {
  align-items: flex-start;
}

.ml-student-text__quote {
  font-size: 1.5rem;
  line-height: 1.55;
  font-weight: 700;
  background: linear-gradient(90deg, #DF7433 2.14%, #DA562B 58.13%, #CC103C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

@media (max-width: 1199px) {
  .ml-student-text__quote {
    font-size: 1.3rem;
  }
}

@media (max-width: 991px) {
  .ml-student-text__quote {
    font-size: 1.125rem;
  }
}

.ml-student-text__desc-wrap {
  position: relative;
  max-height: 16rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.ml-student-text__desc-wrap.is-truncated {
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.ml-student-text__desc-wrap.is-expanded {
  max-height: none;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.ml-student-text__desc {
  font-size: 1.25rem;
  line-height: 1.55;
  background: linear-gradient(90deg, #DF7433 2.14%, #DA562B 58.13%, #CC103C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 1199px) {
  .ml-student-text__desc {
    font-size: 1.125rem;
  }
}

@media (max-width: 991px) {
  .ml-student-text__desc {
    font-size: 1rem;
  }
}

.ml-student-text__desc p:last-child {
  margin-bottom: 0;
}

.ml-student-text__name {
  font-size: 1.375rem;
  font-weight: 700;
  color: #000;
}

.ml-student-text__degree {
  font-size: 1rem;
  color: #525252;
}

.ml-student-read-more {
  display: none;
  align-items: center;
  border: none;
  padding: 0;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(90deg, #DF7433 2.14%, #DA562B 58.13%, #CC103C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ml-student-read-more:hover {
  opacity: 0.8;
}

.ml-student-photo-outer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 350px;
  height: 350px;
}

.ml-student-photo-outer::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  border-radius: 50%;
  border: 5px solid #e84c0e;
  width: 444px;
  height: 444px;
  clip-path: polygon(80% 20%, 100% 0, 100% 50%, 80% 50%);
  animation: ml-student-inner-circle 20s linear 0s infinite;
}

@media (max-width: 991px) {
  .ml-student-photo-outer {
    width: 265px;
    height: 265px;
  }

  .ml-student-photo-outer::after {
    width: 365px;
    height: 365px;
  }
}

@keyframes ml-student-inner-circle {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.ml-student-photo-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid #CDCDCD;
  width: 440px;
  height: 440px;
}

@media (max-width: 991px) {
  .ml-student-photo-ring {
    width: 365px;
    height: 365px;
  }
}

.ml-student-photo-circle {
  border-radius: 50%;
  overflow: hidden;
  width: 350px;
  height: 350px;
  position: relative;
  z-index: 1;
}

.ml-student-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: opacity 0.35s ease;
}

@media (max-width: 991px) {
  .ml-student-photo-circle {
    width: 265px;
    height: 265px;
  }
}

.ml-student-thumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.ml-student-thumb-swiper {
  width: 216px;
  flex-shrink: 0;
  overflow-x: clip !important;
  overflow-y: visible !important;
}

.ml-student-thumb-slide {
  border-radius: 50%;
  padding: 0 6px;
  position: relative;
  bottom: 0px;
  transition: bottom 1s ease-out 0s;
}

.ml-student-thumb-slide img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: border-color 0.4s ease;
}

.ml-student-thumb-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 6px;
  right: 6px;
  bottom: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.ml-student-thumb-slide.swiper-slide-prev,
.ml-student-thumb-slide.swiper-slide-next+.ml-student-thumb-slide+.ml-student-thumb-slide {
  bottom: 25px;
  transition: bottom 1s ease-out 0s;
}

.ml-student-thumb-slide.swiper-slide-next+.ml-student-thumb-slide+.ml-student-thumb-slide {
  bottom: 25px;
  transition: bottom 1s ease-out 0s;
}

.ml-student-thumb-slide.swiper-slide-active::after {
  opacity: 0;
}

.ml-student-thumb-slide.swiper-slide-active+.ml-student-thumb-slide {
  bottom: -17px;
  transition: bottom 1s ease-out 0s;
}

.ml-student-thumb-slide.swiper-slide-active+.ml-student-thumb-slide+.ml-student-thumb-slide {
  bottom: 0;
}

.ml-student-thumb-prev,
.ml-student-thumb-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: box-shadow 0.2s, opacity 0.2s, transform 0.2s;
}

.ml-student-thumb-prev::after,
.ml-student-thumb-next::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  background: no-repeat center center/contain;
}

.ml-student-thumb-prev:hover,
.ml-student-thumb-next:hover {
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.ml-student-thumb-prev {
  transform: translateY(-100%) rotate(45deg);
  top: 5px;
}

.ml-student-thumb-prev::after {
  background-image: url("../image/icon/swiper-button-prev-orange.svg");
  transform: translate(calc(-50% - 2px), -50%);
}

@media (max-width: 991px) {
  .ml-student-thumb-prev {
    top: -5px;
  }
}

.ml-student-thumb-next {
  transform: translateY(-100%) rotate(-45deg);
  top: 5px;
}

.ml-student-thumb-next::after {
  background-image: url("../image/icon/swiper-button-next-orange.svg");
  transform: translate(calc(-50% + 2px), -50%);
}

@media (max-width: 991px) {
  .ml-student-thumb-next {
    top: -5px;
  }
}

body.page-node-type-homepage-mainland footer {
  position: relative;
}

body.page-node-type-homepage-mainland footer::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(270deg, #DF7433 2.14%, #DA562B 58.13%, #CC103C 100%);
  clip-path: polygon(0 0, 100% 50px, 100% 100%, 0 100%);
  z-index: 0;
}

@media (min-width: 576px) {
  body.page-node-type-homepage-mainland footer::before {
    height: 400px;
  }
}

@media (min-width: 768px) {
  body.page-node-type-homepage-mainland footer::before {
    height: 400px;
  }
}

@media (min-width: 992px) {
  body.page-node-type-homepage-mainland footer::before {
    height: 450px;
  }
}

@media (min-width: 1200px) {
  body.page-node-type-homepage-mainland footer::before {
    height: 500px;
  }
}

.ml-campus-tour-section {
  position: relative;
  padding: 4rem 0 5rem;
}

@media (min-width: 992px) {
  .ml-campus-tour-section {
    padding-top: 5rem;
  }
}

.ml-campus-tour-section>* {
  position: relative;
  z-index: 1;
}

.ml-campus-tour-section__sub {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #000;
  text-align: center;
  margin: 0 0 1.5rem;
  position: relative;
  z-index: 3;
}

.ml-campus-tour-section__media-wrap {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  overflow: visible;
  border-radius: 2px;
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
}

@media (min-width: 768px) {
  .ml-campus-tour-section__media-wrap {
    height: 520px;
  }
}

.ml-campus-tour-section__media-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
  border-radius: 2px;
}

.ml-campus-tour-section__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
}

.ml-campus-tour-section__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem 0.75rem 1.5rem;
  font-family: "Lato", sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  font-style: normal;
  color: #fff;
  opacity: 0.5;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  z-index: 2;
}

.ml-campus-tour-section__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  position: relative;
  z-index: 3;
}

.ml-campus-tour-section__cta:hover .ml-campus-tour-section__cta-icon {
  transform: scale(1.08);
}

.ml-campus-tour-section__cta-icon {
  display: block;
  width: 90px;
  height: 90px;
  transition: transform 0.25s ease;
}

@media (min-width: 768px) {
  .ml-campus-tour-section__cta-icon {
    width: 110px;
    height: 110px;
  }
}

.ml-campus-tour-section__cta-text {
  display: block;
  background: linear-gradient(90deg, #DF7433 2.14%, #DA562B 58.13%, #CC103C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ml-timeline-section {
  position: relative;
  padding: 6rem 0;
  isolation: isolate;
  overflow-x: clip;
}

.ml-timeline-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FFD5A2 15.42%, #FFBCA2 84.17%);
  z-index: -1;
}

.ml-timeline-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #ffffff 16.88%, rgba(0, 0, 0, 0) 76.25%);
  z-index: -1;
}

.ml-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(90deg, #DF7433 2.14%, #DA562B 58.13%, #CC103C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
}

.ml-timeline-swiper-wrap {
  position: relative;
}

.ml-timeline-swiper {
  overflow: visible !important;
  counter-reset: timeline-counter;
}

.ml-timeline-swiper .swiper-slide {
  height: auto;
}

.ml-timeline-swiper .swiper-slide:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(0%, -50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(270deg, #9E9E9E 0%, #E0E0E0 62.5%);
  pointer-events: none;
  z-index: 0;
}

.ml-timeline-swiper__controls {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.ml-timeline-swiper__controls::after {
  content: "";
  flex: 1;
}

@media (max-width: 575.98px) {
  .ml-timeline-swiper__controls {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .ml-timeline-swiper__controls::after {
    display: none;
  }
}

.ml-timeline-swiper__pagination {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media (max-width: 575.98px) {
  .ml-timeline-swiper__pagination {
    flex: none;
    justify-content: center;
    padding-bottom: 10px;
  }
}

.ml-timeline-swiper__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1px solid #D64130;
  opacity: 1;
  transition: background 0.2s;
}

.ml-timeline-swiper__pagination .swiper-pagination-bullet-active {
  background: #D64130;
}

.ml-timeline-swiper__nav-row {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ml-timeline-swiper__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s;
}

.ml-timeline-swiper__nav::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}

.ml-timeline-swiper__nav--prev::after {
  transform: rotate(-135deg) translate(-1px, 1px);
}

.ml-timeline-swiper__nav--next::after {
  transform: rotate(45deg) translate(-1px, 1px);
}

.ml-timeline-swiper__nav:hover {
  border-color: #888;
}

.ml-timeline-swiper__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.ml-timeline-card {
  height: 220px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  counter-increment: timeline-counter;
  display: flex;
  flex-direction: column;
  z-index: 1;
  border-top: 0;
  border-left: 0;
  border-right: 5px solid;
  border-bottom: 5px solid;
  border-image: linear-gradient(to bottom, #DF7433, #DA562B, #CC103C) 1;
}

.ml-timeline-card::before {
  content: counter(timeline-counter, decimal-leading-zero);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-family: "Lato", sans-serif;
  font-size: 70px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(0, 0, 0, 0.05);
  pointer-events: none;
  z-index: 0;
}

.ml-timeline-card__top {
  padding: 1.25rem 1rem 1rem;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.ml-timeline-card__year {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: #000;
  margin-bottom: 0.35rem;
}

.ml-timeline-card__date {
  font-size: 1.1rem;
  font-weight: 700;
  color: #DA562B;
  line-height: 1.25;
}

.ml-timeline-card__bottom {
  padding: 0.85rem 1rem;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.ml-timeline-card__label {
  font-family: "Microsoft JhengHei", "Microsoft JhengHei UI", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: #333;
}

.ml-events-section {
  background: #fff;
  padding: 7rem 0;
  overflow-x: clip;
}

@media (max-width: 1199.98px) {
  .ml-events-section {
    padding: 4rem 0;
  }
}

@media (max-width: 767.98px) {
  .ml-events-section {
    padding: 3rem 0 4rem;
  }
}

.ml-events-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}

@media (max-width: 575.98px) {
  .ml-events-tabs {
    gap: 0.5rem 0rem;
  }
}

.ml-events-tabs__item {
  flex-shrink: 0;
}

.ml-events-tabs__btn {
  display: inline-block;
  padding: 0rem 1.5rem;
  border: none;
  border-radius: 50px;
  background: transparent;
  color: #666;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}

.ml-events-tabs__btn:hover {
  color: #d02027;
}

.ml-events-tabs__btn.active {
  background: linear-gradient(90deg, #DF7433 0%, #DA562B 58%, #CC103C 100%);
  color: #fff;
}

.ml-events-tab-content .tab-pane {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.ml-events-tab-content .tab-pane.show.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.ml-events-swiper-wrap {
  position: relative;
}

.ml-events-swiper {
  overflow: visible;
}

.ml-events-swiper .swiper-wrapper {
  align-items: stretch;
}

.ml-events-swiper .swiper-slide {
  height: auto;
}

.ml-event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 350px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.ml-event-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #DF7433 0%, #DA562B 58%, #CC103C 100%);
  z-index: 2;
}

.ml-event-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1rem;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.ml-event-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.75rem;
  color: #000;
}

.ml-event-card__desc {
  font-size: 1rem;
  color: #000;
  line-height: 1.7;
  margin: 0 0 1rem;
  flex: 1;
}

.ml-event-card__card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
}

.ml-event-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #da562b !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  padding-bottom: 0.25rem;
  width: max-content;
}

.ml-event-card__arrow {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url("../image/icon/alink-external-link-orange.svg") center/contain no-repeat;
  flex-shrink: 0;
}

.ml-event-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ml-event-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  transition: transform 0.4s ease;
}

.ml-event-card:hover .ml-event-card__image img {
  transform: scale(1.08);
}

.ml-events-swiper__controls {
  display: flex;
  align-items: center;
  padding-top: 1.5rem;
}

.ml-events-swiper__controls::after {
  content: "";
  flex: 1;
}

@media (max-width: 575.98px) {
  .ml-events-swiper__controls {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .ml-events-swiper__controls::after {
    display: none;
  }
}

.ml-events-swiper__pagination {
  flex: 1;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  position: static;
  width: auto;
}

@media (max-width: 575.98px) {
  .ml-events-swiper__pagination {
    flex: none;
    justify-content: center;
    padding-bottom: 10px;
  }
}

.ml-events-swiper__pagination .swiper-pagination-bullet {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #D64130;
  opacity: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.ml-events-swiper__pagination .swiper-pagination-bullet-active {
  background: #D64130;
}

.ml-events-swiper__nav {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ml-events-swiper__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s;
}

.ml-events-swiper__btn::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}

.ml-events-swiper__btn--prev::after {
  transform: rotate(-135deg) translate(-1px, 1px);
}

.ml-events-swiper__btn--next::after {
  transform: rotate(45deg) translate(-1px, 1px);
}

.ml-events-swiper__btn:hover {
  border-color: #888;
}

.ml-events-swiper__btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.ml-graduate-stories-section {
  overflow-x: clip;
  overflow-y: visible;
  background: #fff;
  padding: 20px 0 150px;
}

.ml-graduate-stories-section .ml-section-title {
  display: none;
}

@media (min-width: 768px) {
  .ml-graduate-stories-section {
    padding: 40px 0 80px;
  }
}

.ml-graduate-swiper {
  overflow: visible !important;
}

.ml-graduate-swiper__pagination {
  position: relative !important;
  bottom: auto !important;
  text-align: left !important;
  width: max-content !important;
  padding: 0;
  top: 170px !important;
  left: 50% !important;
  transform: translateX(-50%);
}

.ml-graduate-swiper__pagination .swiper-pagination-bullet {
  background: transparent;
  border: 1px solid #fff;
  opacity: 1;
  width: 12px;
  height: 12px;
  transition: background 0.2s;
}

.ml-graduate-swiper__pagination .swiper-pagination-bullet-active {
  background: #fff;
}

@media (min-width: 768px) {
  .ml-graduate-swiper__pagination {
    top: auto !important;
    left: 10% !important;
    padding: 1.25rem 0 1.25rem 8%;
  }
}

@media (min-width: 1200px) {
  .ml-graduate-swiper__pagination {
    left: 13% !important;
  }
}

.ml-graduate-swiper__prev,
.ml-graduate-swiper__next {
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  top: 50% !important;
  transform: translateY(-50%);
  transition: background-color 0.2s;
}

.ml-graduate-swiper__prev:hover,
.ml-graduate-swiper__next:hover {
  background-color: #fff;
}

.ml-graduate-swiper__prev::after,
.ml-graduate-swiper__next::after {
  background: none;
  width: auto;
  height: auto;
  margin: 0;
  font-family: swiper-icons;
  font-size: 1.1rem;
  color: #000;
}

.ml-graduate-swiper__prev {
  left: 2% !important;
}

.ml-graduate-swiper__prev::after {
  content: "prev";
}

@media (min-width: 992px) {
  .ml-graduate-swiper__prev {
    left: 7% !important;
  }
}

@media (min-width: 1200px) {
  .ml-graduate-swiper__prev {
    left: 12% !important;
  }
}

.ml-graduate-swiper__next {
  right: 2% !important;
}

.ml-graduate-swiper__next::after {
  content: "next";
}

@media (min-width: 992px) {
  .ml-graduate-swiper__next {
    right: 7.5% !important;
  }
}

@media (min-width: 1200px) {
  .ml-graduate-swiper__next {
    right: 12.5% !important;
  }
}

.ml-grad-slide {
  position: relative;
  transform: scale(0.85) !important;
  transform-origin: center center;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ml-grad-slide__media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

@media (min-width: 576px) {
  .ml-grad-slide__media {
    aspect-ratio: 1338/571;
  }
}

.ml-grad-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  clip-path: polygon(0 0, 100% 0, 97% 95%, 2% 100%);
}

.ml-grad-slide__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  transition: background 0.4s ease;
}

.ml-grad-slide__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-decoration: none;
  color: #fff;
}

.ml-grad-slide__play::after {
  content: "";
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  background: url("../image/icon/icon-play-large-white.svg") center/contain no-repeat;
  flex-shrink: 0;
}

@media (min-width: 576px) {
  .ml-grad-slide__play::after {
    width: 90px;
    height: 90px;
  }
}

@media (min-width: 768px) {
  .ml-grad-slide__play::after {
    width: 120px;
    height: 120px;
  }
}

.ml-grad-slide__play svg {
  display: none;
}

.ml-grad-slide__play::after {
  transition: transform 0.25s ease;
}

.ml-grad-slide__play:hover,
.ml-grad-slide__play:focus {
  color: #fff;
  text-decoration: none;
}

.ml-grad-slide__play:hover::after,
.ml-grad-slide__play:focus::after {
  transform: scale(1.15);
}

.ml-grad-slide.swiper-slide-active {
  transform: scale(1) !important;
}

.ml-grad-slide.swiper-slide-active .ml-grad-slide__bg::after {
  background: rgba(0, 0, 0, 0.22);
}

.ml-grad-slide__category {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #DF7433 2.14%, #DA562B 58.13%, #CC103C 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ml-grad-slide__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #000;
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

@media (min-width: 1200px) {
  .ml-grad-slide__title {
    font-size: 2.25rem;
  }
}

.ml-grad-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  float: right;
  min-width: 150px;
  padding: 9px 20px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #DF7433 0%, #DA562B 31.87%, #CC103C 73.65%, #9F0D43 100%) border-box !important;
  color: #DA562B !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  transition: none;
}

.ml-grad-slide__cta::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url("../image/icon/icon-play-small-orange.svg") center/contain no-repeat;
}

.ml-grad-slide__cta:hover,
.ml-grad-slide__cta:focus {
  background: #DA562B !important;
  border-color: #DA562B !important;
  color: #fff !important;
  text-decoration: none;
}

.ml-grad-slide__cta:hover::before,
.ml-grad-slide__cta:focus::before {
  background-image: url("../image/icon/icon-play-small-white.svg");
}

.ml-graduate-swiper-wrap {
  position: relative;
  z-index: 1;
}

.ml-graduate-caption {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  bottom: -130px;
  right: 3%;
  width: 80%;
  background: #fff;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2509803922);
  border-image: linear-gradient(90deg, #DF7433 5.68%, #DA562B 59.64%, #CC103C 100%) 1;
  border-bottom: 4px solid transparent;
}

@media (min-width: 768px) {
  .ml-graduate-caption {
    position: absolute;
    bottom: -50px;
    right: 8.33%;
    width: 60%;
    margin: 0;
    padding: 1.5rem;
    z-index: 10;
  }
}

@media (min-width: 1200px) {
  .ml-graduate-caption {
    right: 12.96%;
    width: 47%;
    padding: 2rem 2rem;
  }
}

.ml-graduate-caption__rednote {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: block;
}

@media (min-width: 768px) {
  .ml-graduate-caption__rednote {
    top: 1.5rem;
    right: 1.5rem;
    width: 38px;
    height: 38px;
  }
}

@media (min-width: 992px) {
  .ml-graduate-caption__rednote {
    top: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 767.98px) {
  .ml-campus-tour-section {
    min-height: 260px;
  }

  .ml-campus-tour-section__heading {
    font-size: 1.5rem;
  }

  .ml-campus-tour-section__sub {
    font-size: 1.1rem;
  }

  .ml-timeline-card {
    height: 200px;
  }

  .ml-timeline-card__date {
    font-size: 1rem;
  }
}

.ml-important-news-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.ml-important-news-swiper {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.ml-important-news-swiper .swiper-wrapper {
  align-items: stretch;
}

.ml-important-news-slide {
  border-radius: 4px;
  /* padding: 2rem 2rem 1.75rem; */
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-height: 180px;
  text-align: left;
}

@media (min-width: 768px) {
  .ml-important-news-slide {
    /* padding: 0.5rem 3rem 0.5rem; */
    min-height: 180px;
  }
}

.ml-important-news-slide__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

.ml-important-news-slide__body {
  color: #000;
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
}

.ml-important-news-slide__body p {
  margin: 0;
  text-align: left;
}

.ml-important-news-slide__cta {
  display: inline-flex;
  /* align-items: center;
  justify-content: center; */
  padding: 0.3rem 1.25rem;
  border: none;
  border-radius: 50px;
  background: linear-gradient(90deg, #DF7433 0%, #DA562B 58%, #CC103C 100%);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.825rem;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 0.25rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}


.ml-important-news-slide__cta:hover,
.ml-important-news-slide__cta:focus {
  background: #9F0D43;
  color: #fff !important;
  text-decoration: none;
}

.ml-important-news-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 1.25rem;
}

/* .ml-important-news-controls::after {
  content: "";
  flex: 1;
} */

@media (max-width: 575.98px) {
  .ml-important-news-controls {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .ml-important-news-controls::after {
    display: none;
  }
}

.ml-important-news-swiper__pagination {
  position: static;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
}

@media (max-width: 575.98px) {
  .ml-important-news-swiper__pagination {
    flex: none;
    justify-content: center;
    padding-bottom: 10px;
  }
}

.ml-important-news-swiper__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1px solid #D64130;
  opacity: 1;
  transition: background 0.2s;
}

.ml-important-news-swiper__pagination .swiper-pagination-bullet-active {
  background: #D64130;
}

.ml-important-news-nav {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ml-important-news-swiper__prev,
.ml-important-news-swiper__next,
.ml-activity-carousel .swiper-button-prev.ml-activity-swiper__prev,
.ml-activity-carousel .swiper-button-next.ml-activity-swiper__next {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  box-shadow: none;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s;
}

.ml-activity-carousel .swiper-button-prev.ml-activity-swiper__prev,
.ml-activity-carousel .swiper-button-next.ml-activity-swiper__next {
  opacity: 0.8;
}

.ml-important-news-swiper__prev::after,
.ml-important-news-swiper__next::after,
.ml-activity-carousel .swiper-button-prev.ml-activity-swiper__prev::after,
.ml-activity-carousel .swiper-button-next.ml-activity-swiper__next::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 0;
  background: none;
  background-image: none;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}

.ml-important-news-swiper__prev:hover:not(.swiper-button-disabled),
.ml-important-news-swiper__next:hover:not(.swiper-button-disabled),
.ml-activity-carousel .swiper-button-prev.ml-activity-swiper__prev:hover:not(.swiper-button-disabled),
.ml-activity-carousel .swiper-button-next.ml-activity-swiper__next:hover:not(.swiper-button-disabled) {
  border-color: #888;
}

.ml-important-news-swiper__prev.swiper-button-disabled,
.ml-important-news-swiper__next.swiper-button-disabled,
.ml-activity-carousel .swiper-button-prev.ml-activity-swiper__prev.swiper-button-disabled,
.ml-activity-carousel .swiper-button-next.ml-activity-swiper__next.swiper-button-disabled {
  opacity: 0.35;
}

.ml-important-news-swiper__prev::after,
.ml-activity-carousel .swiper-button-prev.ml-activity-swiper__prev::after {
  transform: rotate(-135deg) translate(-1px, 1px);
}

.ml-important-news-swiper__next::after,
.ml-activity-carousel .swiper-button-next.ml-activity-swiper__next::after {
  transform: rotate(45deg) translate(-1px, 1px);
}

/* ML Activity (JUPAS / activity carousel) */
.ml-activity-section {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ml-activity-section .ml-activity-section__inner {
  max-width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  min-width: 0;
}

.ml-activity-section .ml-activity-section__inner h2 {
  text-align: left;
  margin-bottom: 5px !important;
  margin-left: unset;
}

.ml-activity-section__description {
  font-size: 1rem;
  line-height: 1.65;
  color: #333;
  margin-bottom: 20px;
}

.ml-activity-section__description p {
  margin: 0;
}

.ml-activity-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.ml-activity-carousel--single .ml-activity-nav,
.ml-activity-carousel--single .ml-activity-controls {
  display: none;
}

/* Prev/next overlay the 16:9 media; pagination stays in .ml-activity-controls */
.ml-activity-carousel__viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.ml-activity-carousel__viewport .ml-activity-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 clamp(0.5rem, 2.5vw, 1.25rem);
  pointer-events: none;
  z-index: 10;
}

.ml-activity-carousel__viewport .ml-activity-nav button {
  pointer-events: auto;
}

.ml-activity-swiper {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.ml-activity-swiper .swiper-wrapper {
  align-items: stretch;
}

.ml-activity-slide {
  height: auto;
  box-sizing: border-box;
  position: relative;
}

.ml-activity-slide .paragraph__column {
  height: 100%;
}

.ml-activity-item--linked {
  cursor: pointer;
}

.ml-activity-item--linked .paragraph__column {
  cursor: pointer;
}

/* 16:9 media: YouTube embed + 圖片 + 本機影片 */
.ml-activity-slide .youtube-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding-bottom: 0;
  height: auto;
  overflow: hidden;
  background: #000;
}

.ml-activity-slide .youtube-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ml-activity-slide article.media--type-image .field__item,
.ml-activity-slide .field--name-field-media-image .field__item,
.ml-activity-slide article.media--type-video .field__item,
.ml-activity-slide .field--name-field-media-video-file .field__item {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.ml-activity-slide article.media--type-image img,
.ml-activity-slide .field--name-field-media-image img,
.ml-activity-slide article.media--type-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.ml-activity-slide .field--name-field-ml-item-title {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: end;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  z-index: 3;
  isolation: isolate;
  transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  padding: 0 30px 20px 30px;
  line-height: 1.5;
  
}

.ml-activity-slide .field--name-field-ml-item-title::before {
  background-image: linear-gradient(110deg, #DF7433 5.68%, #CC103C 100%);
  clip-path: polygon(0% 0%, 11.11% 80%, 100% 100%, 0% 100%);
  content: '';
  width: 33.33%;
  height: 33.33%;
  position: absolute;
  left: 0;
  bottom: 0px;
  z-index: -1;
  transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

.ml-activity-slide:hover .field--name-field-ml-item-title::before {
  width: 100%;
  height: 100%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.9;
}

.ml-activity-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.ml-activity-swiper__pagination {
  position: static;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.ml-activity-swiper__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1px solid #D64130;
  opacity: 1;
  transition: background 0.2s;
}

.ml-activity-swiper__pagination .swiper-pagination-bullet-active {
  background: #D64130;
}

@media (max-width: 575.98px) {
  .ml-activity-controls {
    justify-content: center;
  }

  .ml-activity-swiper__pagination {
    justify-content: center;
  }
}

/* Mainland Homepage Text-Two column ***********/
.mainland-news-section {
  padding: 100px 20px;
}

/* Below 992px: stack columns; 992px+: 50/50 (override Layout Builder core 40em). */
@media screen and (max-width: 991.98px) {
  .mainland-news-section.layout--twocol-section>.layout__region {
    flex: 0 1 100%;
    max-width: 100%;
  }
}

@media screen and (min-width: 992px) {
  .mainland-news-section.layout--twocol-section>.layout__region {
    min-width: 0;
  }

  .mainland-news-section.layout--twocol-section.layout--twocol-section--50-50>.layout__region--first,
  .mainland-news-section.layout--twocol-section.layout--twocol-section--50-50>.layout__region--second {
    flex: 0 1 50%;
  }
}

.mainland-news-section .ml-important-news-section,
.mainland-news-section .ml-activity-section {
  max-width: 100%;
  width: 100%;
  padding-left: 30px;
}

.mainland-news-section .ml-activity-section {
  padding-left: 0px;
  padding-right: 30px;
}

.mainland-news-section .ml-important-news-section-content {
  background-color: #fff;
  border: #F4F4F4 1px solid;
  box-shadow: 0 8px 10px rgba(0, 0, 0, .1);
  margin-top: calc(var(--font-size-xl) + 23px);
  padding: 50px;
  position: relative;
}

.mainland-news-section .ml-important-news-section-content::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(180deg, #DF7433 5.68%, #DA562B 59.64%, #CC103C 100%);
  left: 0;
  top: 0
}

.mainland-news-section .ml-important-news-section-content h2 {
  text-align: left;
  margin-left: unset;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  body.is-mainland-page h2 {
    font-size: 2.5rem;
  }
}

.nav-tabs {
  border-bottom: none;
}

.ml-colleges-schools-section {
  padding: 3rem 0 2rem;
  overflow-x: clip;
}

.ml-colleges-schools-section .ml-section-title {
  color: #d02027;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.ml-colleges-schools-section__carousel-wrap {
  position: relative;
}

.ml-colleges-schools-section .ml-colleges-swiper {
  overflow: visible;
}

.ml-colleges-schools-section__controls {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.ml-colleges-schools-section__controls::after {
  content: "";
  flex: 1;
}

@media (max-width: 575.98px) {
  .ml-colleges-schools-section__controls {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .ml-colleges-schools-section__controls::after {
    display: none;
  }
}

.ml-colleges-schools-section .ml-colleges-swiper__pagination {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: static;
  width: auto;
}

@media (max-width: 575.98px) {
  .ml-colleges-schools-section .ml-colleges-swiper__pagination {
    flex: none;
    justify-content: center;
    padding-bottom: 10px;
  }
}

.ml-colleges-schools-section .ml-colleges-swiper__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1px solid #D64130;
  opacity: 1;
  transition: background 0.2s;
}

.ml-colleges-schools-section .ml-colleges-swiper__pagination .swiper-pagination-bullet-active {
  background: #D64130;
}

.ml-colleges-schools-section__nav-row {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ml-colleges-swiper__prev,
.ml-colleges-swiper__next {
  width: 44px;
  height: 44px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s;
}

.ml-colleges-swiper__prev::after,
.ml-colleges-swiper__next::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}

.ml-colleges-swiper__prev:hover,
.ml-colleges-swiper__next:hover {
  border-color: #888;
}

.ml-colleges-swiper__prev.swiper-button-disabled,
.ml-colleges-swiper__next.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.ml-colleges-swiper__prev::after {
  transform: rotate(-135deg) translate(-1px, 1px);
}

.ml-colleges-swiper__next::after {
  transform: rotate(45deg) translate(-1px, 1px);
}

.ml-college-card {
  display: block;
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  aspect-ratio: 3/4;
  min-height: 250px;
}

.ml-college-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.ml-college-card:hover {
  text-decoration: none;
}

.ml-college-card:hover::before {
  opacity: 0.85;
}

.ml-college-card:hover .ml-college-card__img {
  transform: scale(1.05);
}

.ml-college-card__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ml-college-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ml-college-card__img--placeholder {
  background: #ccc;
}

.ml-college-card__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  z-index: 2;
  pointer-events: none;
}

@media (min-width: 768px) {
  .ml-college-card__title {
    font-size: 1.25rem;
    padding: 1.25rem 1rem;
  }
}

@media (min-width: 1200px) {
  .ml-college-card__title {
    font-size: 1.375rem;
    padding: 1.5rem 1.25rem;
  }
}

.ml-admission-cards-section {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background-color: #fff;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .ml-admission-cards-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 992px) {
  .ml-admission-cards-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.ml-admission-cards-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FFD5A2 15.42%, #FFBCA2 84.17%);
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

.ml-admission-cards-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #ffffff 16.88%, rgba(0, 0, 0, 0) 76.25%);
  z-index: -1;
}

.node--type-colleges-and-schools .ml-admission-cards-section {
  padding-bottom: 0 !important;
}

.ml-admission-cards-swiper {
  overflow: visible;
}

.ml-admission-cards-swiper__controls {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.ml-admission-cards-swiper__controls::after {
  content: "";
  flex: 1;
}

@media (max-width: 575.98px) {
  .ml-admission-cards-swiper__controls {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .ml-admission-cards-swiper__controls::after {
    display: none;
  }
}

.ml-admission-cards-swiper__pagination {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: static !important;
  bottom: auto !important;
  width: auto !important;
  opacity: 1 !important;
}

@media (max-width: 575.98px) {
  .ml-admission-cards-swiper__pagination {
    flex: none;
    justify-content: center;
    padding-bottom: 10px;
  }
}

.ml-admission-cards-swiper__pagination .swiper-pagination-bullet {
  background: transparent;
  border: 1px solid #D64130;
  opacity: 1;
  width: 10px;
  height: 10px;
  transition: background 0.2s;
}

.ml-admission-cards-swiper__pagination .swiper-pagination-bullet-active {
  background: #D64130;
  opacity: 1;
}

.ml-admission-cards-swiper__nav-row {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ml-admission-cards-swiper__prev,
.ml-admission-cards-swiper__next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.ml-admission-cards-swiper__prev::after,
.ml-admission-cards-swiper__next::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}

.ml-admission-cards-swiper__prev:hover,
.ml-admission-cards-swiper__next:hover {
  border-color: #888;
}

.ml-admission-cards-swiper__prev.swiper-button-disabled,
.ml-admission-cards-swiper__next.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.ml-admission-cards-swiper__prev::after {
  transform: rotate(-135deg) translate(-1px, 1px);
}

.ml-admission-cards-swiper__next::after {
  transform: rotate(45deg) translate(-1px, 1px);
}

.ml-admission-card {
  display: block;
  position: relative;
  overflow: hidden;
  color: inherit;
  background-color: #DA562B;
}

.ml-admission-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 20%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.ml-admission-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 33.33%;
  height: 33.33%;
  background-image: linear-gradient(0deg, #DF7433 5.77%, #DA562B 35.8%, #CC103C 75.14%, #9F0D43 99.97%);
  opacity: 0.9;
  clip-path: polygon(0% 0%, 11.11% 80%, 100% 100%, 0% 100%);
  z-index: 2;
  transition: width 0.5s ease, height 0.5s ease, clip-path 0.5s ease;
  pointer-events: none;
}

.ml-admission-card:hover {
  text-decoration: none;
}

.ml-admission-card:hover::after {
  width: 110%;
  height: 110%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.ml-admission-card:hover .ml-admission-card__img {
  transform: scale(1.05);
}

.ml-admission-card:hover .ml-admission-card__title {
  bottom: 50%;
  transform: translateY(50%);
}

.ml-admission-card__img-wrap {
  display: block;
  line-height: 0;
}

.ml-admission-card__img-wrap .field {
  margin: 0;
}

.ml-admission-card__img,
.ml-admission-card__img-wrap img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ml-admission-card__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  z-index: 4;
  pointer-events: none;
  transition: bottom 0.45s ease, transform 0.45s ease;
}

.ml-admission-card__title span {
  line-height: 1.4;
}

@media (min-width: 576px) {
  .ml-admission-card__title {
    font-size: 1.25rem;
    padding: 24px 20px;
  }
}

@media (min-width: 992px) {
  .ml-admission-card__title {
    font-size: 1.5rem;
    padding: 28px 20px;
  }
}

@media (max-width: 991.98px) {
  .ml-activity-slide .field--name-field-ml-item-title {
    font-size: 20px;
  }

  .mainland-news-section .ml-important-news-section,
  .mainland-news-section .ml-activity-section {
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 50px;
  }

  .mainland-news-section .ml-important-news-section-content {
    padding: 20px 20px 20px 30px;
  }
}

@media (min-width: 1200px) {
  .ml-admission-card__title {
    font-size: 1.625rem;
    padding: 32px 20px;
  }
}

.ml-admission-card--no-image {
  aspect-ratio: 3/2;
}

@keyframes ml-sa-fade-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ml-sa-fade-left {
  from {
    opacity: 0;
    transform: translateX(-48px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ml-sa-fade-right {
  from {
    opacity: 0;
    transform: translateX(48px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ml-sa-scale-in {
  from {
    opacity: 0;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ml-sa-fade-up,
.ml-sa-fade-left,
.ml-sa-fade-right,
.ml-sa-scale-in {
  opacity: 0;
  will-change: opacity, transform;
}

.ml-sa-fade-up.ml-sa-in {
  animation: ml-sa-fade-up 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--ml-sa-delay, 0ms) both;
}

.ml-sa-fade-left.ml-sa-in {
  animation: ml-sa-fade-left 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--ml-sa-delay, 0ms) both;
}

.ml-sa-fade-right.ml-sa-in {
  animation: ml-sa-fade-right 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--ml-sa-delay, 0ms) both;
}

.ml-sa-scale-in.ml-sa-in {
  animation: ml-sa-scale-in 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) var(--ml-sa-delay, 0ms) both;
}

@media (prefers-reduced-motion: reduce) {

  .ml-sa-fade-up,
  .ml-sa-fade-left,
  .ml-sa-fade-right,
  .ml-sa-scale-in {
    opacity: 0;
    transform: none !important;
    transition: opacity 0.3s ease var(--ml-sa-delay, 0ms);
  }

  .ml-sa-fade-up.ml-sa-in,
  .ml-sa-fade-left.ml-sa-in,
  .ml-sa-fade-right.ml-sa-in,
  .ml-sa-scale-in.ml-sa-in {
    animation: none;
    opacity: 1;
  }
}

.ml-rankings-section .ml-ranking-stat__number.ml-sa-fade-up.ml-sa-in {
  animation-duration: 0.8s;
}

.ml-student-sharing-section .ml-student-photo-outer.ml-sa-fade-right.ml-sa-in {
  animation-name: ml-sa-scale-in;
  animation-duration: 0.8s;
}

.ml-graduate-stories-section .ml-graduate-swiper-wrap.ml-sa-fade-up.ml-sa-in {
  animation-duration: 0.9s;
}

/*# sourceMappingURL=custom_mainland_homepage.css.map */