.swiper-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.swiper-pagination-custom {
	bottom: 30px !important;
}
.multi-progress-bar {
  width: 40px;
  height: 4px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.multi-progress-bar-inner {
  width: 0%;
  height: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: none;
}
.multi-progress-bar-inner.animating {
  width: 100%;
  transition: width 4s linear;
}
.header-sub-menu {
    transition: 0.5s;
}
.header-sub-menu.active {
    transform: translateY(100%);
}
.accordion-row.open .plus-vertical {
    transform: rotate(90deg);
}
table {
  min-width: 100%;
  border: 3px solid rgba(0,0,0,0);
  overflow: auto;
  margin-bottom: 30px;
}
table td, table th {
  border: 3px solid #f7f7f5; /* semi-transparent border */
}
table td {
  padding: 10px 20px;
}
table tr:not(:first-child) td:first-child {
  background-color: var(--theme-color-pale);
  color: var(--theme-color);
}
table tr:first-child td:not(:first-child) {
  background-color: #fff;
  color: var(--theme-color);
}
table tr:not(:first-child) td:not(:first-child) {
  background-color: #FBFBF9;
}
table td p, table td p {
  font-size: inherit;
  line-height: inherit;
}
.section-content-freetext iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}
.section-content-freetext a {
    color: var(--theme-color);
}
.section-content-freetext img {
	width: revert-layer;
	height: revert-layer;
}
.section-content-freetext .styled-button {
    background-color: var(--theme-color);
	color: #fff;
	display: inline-flex;
}
.mobile-menu-toggle {
    display: flex;
    align-items: center;
}
.mobile-menu-toggle-icon {
  position: relative;
  display: block;
    width: 12px;
    height: 12px;
    margin: 0 auto 0 5px;
}

/* Horizontal line (always visible) */
.mobile-menu-toggle-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Vertical line (forms the +) */
.mobile-menu-toggle-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #000;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.25s ease;
}

/* When active → hide vertical line and keep only horizontal (minus) */
.mobile-menu-list-item.has-children.open .mobile-menu-toggle-icon::after {
  transform: translateX(-50%) scaleY(0); /* hides the vertical bar */
}

.team-table {
  width: 100%;
  border-collapse: collapse;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
}

.team-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  background: #fff;
  align-items: stretch;
      border-radius: 20px;
    overflow: hidden;
}

.team-photo-cell,
.team-info-cell {
  box-sizing: border-box;
  background-color: transparent!important;
          border: none;
}

.team-photo-cell{
  overflow: hidden;
  align-items: center;
  justify-content: center;
  display: flex;
  height: 100%;
  padding: 0;
      align-self: stretch;
}

.section-content-freetext .team-photo-cell img {
	height: 100%;
}

/* Desktop: 2 columns */
@media (min-width: 768px) {
  .team-row {
    align-items: center;
  }
  .team-photo-cell {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .team-info-cell {
    flex: 0 0 75%;
    max-width: 75%;
  }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  .team-photo-cell {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }
  .team-info-cell {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.team-photo {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
}

.team-name {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  color: #333;
}

.team-title {
  margin: 0 0 1rem 0;
  color: #555;
  font-weight: normal;
}

.team-info-cell ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.6;
  color: #444;
}

.team-info-cell li {
  margin-bottom: 0.4rem;
}

/* Optional: subtle hover effect on desktop */
@media (min-width: 768px) {
  .team-row:hover .team-photo {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
  }
}

.side-menu.active {
  height: var(--vhr);
}
body.no-scroll {
  overflow: hidden;
}
.logo-eduhk-image, .logo-site-image {
  width: auto;
}