/* ds-modern.css */

/* 1) Reset */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
img, picture { max-width: 100%; display: block; }
button { font: inherit; }


  :root {
    --bg: #FCFCFE;
    --surface: #FFFFFF;
    --surface-2: #F7F7FB;
    --text: #0E1220;
    --muted: #5B6476;
    --border: #E6E8EF;

    --brand: #A25BFF;
    --brand-2: #6C5CE7;
    --accent: linear-gradient(135deg, #7E33FB 0%, #E85DFF 100%);

    --radius: 14px;
    --shadow: 0 10px 30px rgba(0,0,0,.35);
    --shadow-sm: 0 8px 22px rgba(0,0,0,.25);

    --space-1: .5rem;
    --space-2: .75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;

    --fz-1: clamp(.95rem, .3vw + .85rem, 1.05rem);
    --fz-2: clamp(1.15rem, .5vw + 1rem, 1.35rem);
    --fz-3: clamp(1.5rem, 1vw + 1.1rem, 2rem);
    --fz-4: clamp(2rem, 2vw + 1.2rem, 2.8rem);
    --fz-5: clamp(2.6rem, 3vw + 1.5rem, 3.6rem);

    color-scheme: light;
  }


/* 3) Base */
html { scroll-behavior: smooth; }
body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Noto Sans TC", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

main { flex-grow: 1; }

.gradient-bar.index {
  display: flex;
  justify-content: center;
  margin-top: 35px;
  background: linear-gradient(90deg, rgb(223, 108, 255), rgb(136, 79, 221), rgb(223, 108, 255));
  padding: 16px;
  flex-direction: row;
  align-items: center;
  color: white;
}

.gradient-bar-divider {
  height: 100px;
  width: 1px;
  margin-left: 30px;
  margin-right: 30px;
  border-width: 1px;
  border-style: solid;
  border-color: white;
  border-image: initial;
}

.index-bar-text {
  width: 278px;
} 

.bar-logo {
  font-weight: 900;
  font-size: 50px;
  margin-bottom: 0px;
}
.bar-text-18px {
  font-weight: 700;
  font-size: 25px;
  margin-bottom: 7px;
  line-height: 26px;
}
.bar-text-link {
  font-weight: 500;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: white;
}

/* CONTAINER */
.gradient-bar.index {
  display: flex;
  align-items: center;
  flex-wrap: wrap;                /* allows stacking on small screens */
  gap: 12px 32px;                 /* row-gap | column-gap */
  margin-top: 35px;
  padding: 16px 24px;
  background: linear-gradient(90deg, rgb(223, 108, 255), rgb(136, 79, 221), rgb(223, 108, 255));
  color: #fff;
}

/* LEFT SIDE (LOGO/TITLE) */
.bar-logo {
  font-weight: 900;
  font-size: clamp(28px, 4.5vw, 50px);
  line-height: 1.1;
  margin: 0;
}

/* DIVIDER (vertical on desktop, horizontal on mobile) */
.gradient-bar-divider {
  flex: 0 0 1px;
  width: 1px;
  height: clamp(56px, 10vh, 100px);
  background: currentColor; /* uses white from parent */
  opacity: 0.6;
  /* remove old margins; gap handles spacing */
}

/* RIGHT SIDE (TEXT + LINK) */
.index-bar-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1 1 320px; /* replaces fixed width */
  min-width: 260px;
  max-width: 278px;
}

/* TYPOGRAPHY */
.bar-text-18px {
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 25px);
  line-height: 1.3;
  margin-bottom: 7px;
}

.bar-text-link {
  font-weight: 500;
  font-size: clamp(14px, 1.6vw, 16px);
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #fff;
}

/* RESPONSIVE: stack and center on small screens */
@media (max-width: 768px) {
  .gradient-bar.index {
    justify-content: center;
    text-align: center;
  }

  .bar-logo,
  .index-bar-text {
    flex: 1 1 100%;
    align-items: center;
    text-align: center;
  }

  .gradient-bar-divider {
    flex-basis: 100%;
    width: 100%;
    height: 1px;     /* becomes horizontal rule */
    opacity: 0.4;
  }
}

@media (max-width: 420px) {
  .gradient-bar.index {
    padding: 12px 16px;
    gap: 8px 16px;
  }
}

/* Containers (override Bootstrap widths for a tighter layout) */
.container-xxl { max-width: 1200px; }

/* Links and focus */
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #E85DFF; outline-offset: 2px; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: fixed; left: 1rem; top: 1rem; width: auto; height: auto; padding: .5rem .75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; z-index: 9999; }

/* 4) Header / Nav (glass-style) */
.nav-glass .navbar {
  background: color-mix(in oklab, var(--surface), transparent 30%);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-glass .navbar-brand {
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: var(--fz-2);
  display: flex; align-items: center; gap: .6rem;
}
.brand-mark {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  background: var(--accent); color: #fff; border-radius: 10px; font-weight: 900;
}
.navbar .nav-link {
  padding: .75rem 1rem;
  font-weight: 600;
  color: var(--muted);
}
.navbar .nav-link:hover,
.navbar .nav-link:focus { color: var(--text); }
.navbar .nav-link.active { color: var(--text); position: relative; }
.navbar .nav-link.active::after {
  content:""; position:absolute; left: 1rem; right: 1rem; bottom: .35rem; height: 2px; background: var(--accent); border-radius: 2px;
}
.dropdown-menu.show {
  display: block;
}
.btn-icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
}
.btn-icon:hover { background: var(--surface-2); }

/* 5) Buttons */
.btn {
  font-weight: 700; border-radius: 12px; padding: .7rem 1rem; border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent); color: #fff; border: none; box-shadow: var(--shadow-sm);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  background: transparent; border: 1px solid var(--border); color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); }

/* 6) Hero */
.hero-media {
  position: relative; width: 100%;
  min-height: min(78vh, 760px);
  background-position: center; background-size: cover;
  border-bottom: 1px solid var(--border);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  display: grid; align-content: end;
  min-height: inherit;
  padding: 0;
}
.hero-title { font-size: var(--fz-5); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; }
.hero-subtitle { font-size: var(--fz-2); color: color-mix(in oklab, var(--text), transparent 35%); margin-top: .5rem; }
.hero-cta { display: flex; gap: .75rem; margin-top: 1.25rem; flex-wrap: wrap; }

.hero-media {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 50vh; /* adjust as needed */
}

.hero-media .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none; /* ensures buttons are clickable */
}

.hero-media .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* adjust darkness */
  z-index: 1;
}

.hero-media .hero-content {
  position: relative;
  z-index: 2;
}

/* 7) Promo bar */
.promo {
  padding: .9rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface), transparent 10%);
}
.promo-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem; }
.promo-brand { font-weight: 900; letter-spacing: .08em; background: var(--accent); -webkit-background-clip: text; color: transparent; }
.promo-text { color: var(--muted); }
.promo-link { font-weight: 800; }
@media (max-width: 768px) {
  .promo-inner { grid-template-columns: 1fr; text-align: center; }
}

/* 8) Sections */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-head { text-align: center; margin-bottom: clamp(24px, 4vw, 40px); }
.section-title { font-size: var(--fz-3); font-weight: 900; letter-spacing: -.01em; }
.section-subtitle { font-size: var(--fz-1); color: var(--muted); max-width: 720px; margin: .5rem auto 0; }

/* 9) Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card.lift { transition: transform .2s ease, box-shadow .2s ease; }
.card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media {
  aspect-ratio: 16/10; background-position: center; background-size: cover;
}
.card-body { padding: 1rem; display: grid; gap: .75rem; }
.card-text { color: var(--text); font-size: var(--fz-1); }
.swiper .card-text { height: 107.5px; overflow:hidden; }
.card-link { font-weight: 800; }

/* Chips / badges */
.chip {
  display: inline-block; font-weight: 700; font-size: .85rem;
  padding: .35rem .6rem; border-radius: 999px;
  background: color-mix(in oklab, var(--surface-2), transparent 0%); border: 1px solid var(--border);
}
.chip.dark { background: #000; color: #fff; border-color: #000; }

/* 10) Swiper */
.course-swiper { padding-bottom: 32px; }
.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
}
.course-card .media { height: 200px; overflow: hidden; }
.course-card .media img { width: 100%; height: 100%; object-fit: cover; }
.course-card .content { padding: .9rem; display: grid; gap: .5rem; }
.course-card .badge {
  display: inline-block; font-weight: 800; font-size: .9rem;
  background: var(--accent); color: #fff; padding: .3rem .6rem; border-radius: 8px;
}
.swiper-pagination-bullet { background: #b4b9c9; opacity: 1; }
.swiper-pagination-bullet-active { background: #fff; }

/* 11) Concept section */
.concept { position: relative; }
.concept .lead { font-size: var(--fz-1); }
.concept .white { color: #fff; }
.concept-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.concept-bg {
  position: absolute; inset: auto 0 -20%; height: 40vw; max-height: 440px; z-index: -1;
  background: var(--accent);
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
  /* opacity: 1; */
}

/* Scope to your gallery instance */
.course-gallery-swiper {
  /* Optional: tweak icon color/size via Swiper vars */
  --swiper-navigation-color: #fff;
  --swiper-navigation-size: 20px;
}

/* Circular, opaque, dark buttons */
.course-gallery-swiper .swiper-button-prev,
.course-gallery-swiper .swiper-button-next {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #111;            /* opaque dark */
  color: #fff;                 /* arrow color */
  opacity: 1;                  /* override Swiper’s default */
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}

/* Positioning (optional, adjust to taste) */
.course-gallery-swiper .swiper-button-prev,
.course-gallery-swiper .swiper-button-next {
  top: 50%;
  transform: translateY(-50%);
}
.course-gallery-swiper .swiper-button-prev { left: 14px; }
.course-gallery-swiper .swiper-button-next { right: 14px; }

/* Interactions */
.course-gallery-swiper .swiper-button-prev:hover,
.course-gallery-swiper .swiper-button-next:hover {
  background: #000;
  transform: translateY(-50%) scale(1.04);
}
.course-gallery-swiper .swiper-button-prev:focus-visible,
.course-gallery-swiper .swiper-button-next:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 8px 20px rgba(0,0,0,.25);
}

/* Disabled look */
.course-gallery-swiper .swiper-button-disabled {
  background: #1a1a1a;
  opacity: .38;
  cursor: default;
  box-shadow: none;
}

/* Small screens: slightly smaller buttons */
@media (max-width: 576px) {
  .course-gallery-swiper .swiper-button-prev,
  .course-gallery-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
  }
  .course-gallery-swiper { --swiper-navigation-size: 18px; }
}

/* FAQ SECTION */
.faq { padding: clamp(48px, 7vw, 70px) 0; }

/* 12) Accordion (Bootstrap override) */
.sleek-accordion .accordion-item { border-color: var(--border); background: var(--surface); border-radius: 12px; overflow: hidden; }
.sleek-accordion .accordion-button {
  font-weight: 800; color: var(--text); background: var(--surface);
  padding: 1rem 1.1rem; border-bottom: 1px solid var(--border);
}
.sleek-accordion .accordion-button:not(.collapsed) {
  background: color-mix(in oklab, var(--surface-2), transparent 0%);
  box-shadow: inset 0 -1px 0 var(--border);
}
.sleek-accordion .accordion-button:focus { box-shadow: none; }
.sleek-accordion .accordion-body { color: var(--muted); }

/* 13) Footer */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid; gap: 2rem; align-items: start;
  grid-template-columns: 1.2fr 2fr;
}
.footer-brand .logo { font-size: var(--fz-3); font-weight: 900; letter-spacing: -.02em; }
.footer-brand .muted { color: var(--muted); margin-top: .6rem; }
.footer-brand .strong { font-weight: 800; margin-top: .4rem; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.footer-links .title { font-weight: 800; margin-bottom: .6rem; }
.footer-links a { color: color-mix(in oklab, var(--text), transparent 20%); display: block; padding: .2rem 0; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.divider { border-color: var(--border); margin: 24px 0; }
.footnote { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); }
.inline-links { display: inline-flex; gap: 1rem; }
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footnote { flex-direction: column; text-align: center; }
}

/* 14) Utilities */
.mt-3 { margin-top: .75rem; }
.white { color: #fff; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}



/* -------- Course Page */

.course_page_layout {
  display: grid;
  grid-template-columns: minmax(15rem, 20rem) minmax(100px, 1fr);
  max-width:1750px;
  position: relative;
  margin: auto;
}
#close_course_page_sidebar {
  display:none;
}
#open_course_page_sidebar {
  font-size: 1.5rem;
  position: absolute;
  left: 3px;
  display:none;
}
.course_page_sidebar {
  background-color:rgb(26, 25, 30);
  width:100%;
  max-width:400px;
  transition: width 1s;
}
.course_page_sidebar.hidden {
  width:0;
  min-width:0;
}
.sidebar_content_wrapper {
  display: flex;
  flex-direction: column;
  /* align-items:end; */
  align-items: center;
}
.sidebar_content {
  display:flex;
  flex-direction: column;
  align-items: end;
}
.sidebar_content a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: white;
}
.sidebar_content a.active,
.sidebar_content a:hover {
  color:rgb(114, 63, 172);
}
.course-gallery-swiper  {
  width: 100%;
  max-width: 649px;
  height: 100%;
  margin-left: 0;
  /* padding-left: 10%; */
  /* padding-right: 10%; */
}
#instr-img-wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  aspect-ratio: 1/1;
  max-width: 380px;
  overflow: hidden;
}
#instr-title {
  font-size: 32px;
  font-weight: 900;
}
.pink-slash {
  color: rgb(223, 108, 255);
}
.photo-banner {
  margin-top: 80px;
  width: 100%;
  aspect-ratio: 5.25/1;
  background-position: center;
  background-size: cover;
  min-height: 200px;
}
#course-discount {
  /* padding-left: 10%; */
  /* padding-right: 10%; */
  padding-bottom: 100px;
}
@media screen and (max-width: 1165px) {
  .course_page_layout {
    display:grid;
    grid-template-columns: minmax(100px, 1fr);
  }
  .course_page_sidebar {
    position: absolute;
    height: 100%;
    z-index: 2;
  }
  /*
  .course_page_layout {
    display:grid;
    grid-template-rows: minmax(10rem, auto) minmax(100px, 1fr);
    grid-template-columns: minmax(100px, 1fr);
  }
  .sidebar_content {
    flex-direction: row;
  }
  .sidebar_content_wrapper {
    align-items:start;
  }
  */
  #close_course_page_sidebar {
    display: flex;
    justify-content: end;
  }
  #open_course_page_sidebar {
    display: block;
  }
}

/* -------- Room Rental Page */

#room-cost-section {
  padding-bottom: 100px;
}

/* -------- News Page */

.news-link a {
  display: block;
  text-decoration: none;
  color: black;
  transition: transform .5s;
}
.news-link a:hover {
  transform: scale(1.025);
  /* box-shadow: -10px -10px 10px rgb(0,0,0,0.25); */
  /* transition-duration: .5s; */
}
.news-thumbnail {
  aspect-ratio: 1.73/1;
  background-position: center;
  background-size: cover;
}
.news-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 23px;
}
.news-date {
  font-size: 18px;
}
.news-about {
  font-size: 15px;
}
.news-about.summary {
  display: -webkit-box;
  line-clamp: 6;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* -------- Student Portal Login Pages */

.form-title {
  font-size: 38px;
  font-weight: 700;
}
#submit-btn {
  background: black;
  color: white;
  font-size: 20px;
  font-weight: 700;
  border-radius: 0;
  /* border: 1px solid black; */
  padding: 10px;
  margin-bottom: 10px;
}
#terms-checkbox {
  height: 27px;
  width: 27px;
  margin-right: 7px;
}
.expand-terms.hidden {
  transform: scaleY(-1);
}
#terms {
  font-size: 14px;
  font-weight: 400;
  max-height: 7.75rem;
  overflow:hidden;
}
#terms.hidden {
  font-size: 14px;
  font-weight: 400;
  max-height: none;
}

/* -------- Enrollment Form */

.enrollment-form-title {
  font-size: 32px;
  font-weight: 900;
}
#calender-container {
  margin-bottom: 100px;
}
#booking-confirm-btn {
  text-align: center;
  display: block;
  background: black;
  color: white;
  font-size: 20px;
  font-weight: 700;
  border-radius: 0;
  border: none;
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
  cursor: pointer;
}

/* -------- Enrollment Receipt */

#booking-receipt {
  border-left: 1.5px solid rgb(228, 226, 226);
  border-right: 1.5px solid rgb(228, 226, 226);
}
.receipt-title {
  font-size: 32px;
  font-weight: 900;
}
.receipt-subtitle {
  font-size: 28px;
  font-weight: 900;
}
.receipt-text {
  font-size: 15px;
  font-weight: 600;
}
.receipt-divider {
  border: 1px solid rgb(228, 226, 226);
  opacity: 1;
  /* margin-top: 35px; */
  /* margin-bottom: 35px; */
}
.card-fee-text {
  font-size: 12px;
  font-weight: 600;
}
.total-cost-text {
  font: 18px;
  font-weight: 800;
}
#payment-disclaimer {
  margin-top: 50px;
  font-size: 11px;
  font-weight: 600;
}
#payment-checkbox {
  height: 17px;
  width: 17px;
}
#booking-receipt button {
  background: black;
  color: white;
  font-size: 20px;
  font-weight: 700;
  border-radius: 0;
  border: none;
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
}
#whatsapp-info {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 400;
}

/* -------- Room Booking Form */

.white-container {
  color: black;
  background: none;
  font-size: 20px;
  font-weight: 700;
  border-radius: 0;
  border: 1px solid black;
  padding: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-bottom: 150px; */
}
.white-container.btn {
  height: 36px;
  font-size: 18px;
  padding: 0;
}
#submit_request_btn {
  background: black;
  color: white;
  font-size: 20px;
  font-weight: 700;
  border-radius: 0;
  /* border: 1px solid black; */
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
}

/* Page Content - End */

.gradient-bar.course {
  /*padding-left: 185px;*/
  background: linear-gradient(90deg, rgb(26, 25, 30), rgb(26, 25, 30), rgb(26, 25, 30), rgb(79, 50, 123), rgb(114, 63, 172), rgb(199, 108, 230));
  height: 135px;
  color: white;
  align-items: center;
  justify-content: center;
  display: flex;
}
.gradient-bar.course div {
  width: min(100%, 1200px);
  margin-left: auto;
  margin-right: auto;
}


.section-title-wrapper {
  margin-bottom: 20px
}
.section-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 15px;
}
.section-title::before {
  content: "";
  width: 14px;
  height: 42px;
  /* margin-right: 17px; */
  background: rgb(223, 108, 255);
}
.section-title p{
  margin: 0;
}
.section-title-subtext {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.09em;
  max-width: 533px;
}

/* -------- */

.about-link {
  padding-left: 30.5px;
  padding-right: 30.5px;
  padding-bottom: 20px;
}
.about-link-thumbnail {
  /* height: 194px; */
  aspect-ratio: 1.58/1;
  /* width: 343px; */
  /* padding-left: 5%; */
  /* padding-right: 5%; */
  background-position: top;
  background-size: cover;
  /* background-repeat: no-repeat; */
}
.black-bar-text {
  color: white;
  font-size: 20px;
  font-weight: 600;
  background: black;
  padding-left: 10px;
  display: inline-block;
  align-self: flex-start;
  /* width: px; */
}
.pink-line {
  border-left: 2px solid rgb(223, 108, 255);
  padding-left: 32px;
}
.text-descriptive {
  font-size: 15px;
  font-weight: 350;
  letter-spacing: 0.09em;
  /* max-width: 533px; */
  line-height: 25px;
}
.text-descriptive-semi {
  font-size: 15px;
  font-weight: 600;
}
.text-descriptive-bold {
  font-size: 20px;
  font-weight: 700;
  /* letter-spacing: 0.09em; */
  /* max-width: 533px; */
  /* line-height: 25px; */
}
.about-link a {
  color: black;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------- Course Page */

.course_page_layout {
  display: grid;
  grid-template-columns: minmax(15rem, 20rem) minmax(100px, 1fr);
  /*max-width:1750px;*/
  position: relative;
}
#close_course_page_sidebar {
  display:none;
}
#open_course_page_sidebar {
  font-size: 1.5rem;
  position: absolute;
  left: -1rem;
  display:none;
}
.course-content section {
  padding-left: 1rem;
  padding-right: 1rem;
}
.course_page_sidebar {
  background-color:rgb(26, 25, 30);
  width:100%;
  max-width:400px;
  transition: width 1s;
}
.course_page_sidebar.hidden {
  width:0;
  min-width:0;
}
.course_page_sidebar.hidden a {
  display: none;
}
.sidebar_content_wrapper {
  display: flex;
  flex-direction: column;
  align-items:center;
}
.sidebar_content {
  display:flex;
  flex-direction: column;
  align-items: end;
}
.sidebar_content a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: white;
}
.sidebar_content a.active,
.sidebar_content a:hover {
  color:rgb(114, 63, 172);
}
.course-gallery-swiper  {
  width: 100%;
  max-width: 649px;
  height: 100%;
  margin-left: 0;
  /* padding-left: 10%; */
  /* padding-right: 10%; */
}
#instr-img-wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  aspect-ratio: 1/1;
  max-width: 380px;
  overflow: hidden;
}
#instr-title {
  font-size: 32px;
  font-weight: 900;
}
.pink-slash {
  color: rgb(223, 108, 255);
}
.photo-banner {
  margin-top: 80px;
  width: 100%;
  aspect-ratio: 5.25/1;
  background-position: center;
  background-size: cover;
  min-height: 200px;
}
#course-discount {
  /* padding-left: 10%; */
  /* padding-right: 10%; */
  padding-bottom: 100px;
}
@media screen and (max-width: 1165px) {
  .course_page_layout {
    display:grid;
    grid-template-columns: minmax(100px, 1fr);
  }
  .course_page_sidebar {
    position: absolute;
    height: 100%;
    z-index: 2;
  }
  /*
  .course_page_layout {
    display:grid;
    grid-template-rows: minmax(10rem, auto) minmax(100px, 1fr);
    grid-template-columns: minmax(100px, 1fr);
  }
  .sidebar_content {
    flex-direction: row;
  }
  .sidebar_content_wrapper {
    align-items:start;
  }
  */
  #close_course_page_sidebar {
    display: flex;
    justify-content: end;
    background: none;
    color: white;
    border: none;
  }
  #open_course_page_sidebar {
    display: block;
  }
  
}

/* -------- Room Rental Page */

#room-cost-section {
  padding-bottom: 100px;
}

/* -------- News Page */

.news-link a {
  display: block;
  text-decoration: none;
  color: black;
  transition: transform .5s;
}
.news-link a:hover {
  transform: scale(1.025);
  /* box-shadow: -10px -10px 10px rgb(0,0,0,0.25); */
  /* transition-duration: .5s; */
}
.news-thumbnail {
  aspect-ratio: 1.73/1;
  background-position: center;
  background-size: cover;
}
.news-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 23px;
}
.news-date {
  font-size: 18px;
}
.news-about {
  font-size: 15px;
}
.news-about.summary {
  display: -webkit-box;
  line-clamp: 6;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* -------- Student Portal Login Pages */

.form-title {
  font-size: 38px;
  font-weight: 700;
}
#submit-btn {
  background: black;
  color: white;
  font-size: 20px;
  font-weight: 700;
  border-radius: 0;
  /* border: 1px solid black; */
  padding: 10px;
  margin-bottom: 10px;
}
#terms-checkbox {
  height: 27px;
  width: 27px;
  margin-right: 7px;
}
.expand-terms.hidden {
  transform: scaleY(-1);
}
#terms {
  font-size: 14px;
  font-weight: 400;
  max-height: 7.75rem;
  overflow:hidden;
}
#terms.hidden {
  font-size: 14px;
  font-weight: 400;
  max-height: none;
}

/* -------- Enrollment Form */

.enrollment-form-title {
  font-size: 32px;
  font-weight: 900;
}
#calender-container {
  margin-bottom: 100px;
}
#booking-confirm-btn {
  text-align: center;
  display: block;
  background: black;
  color: white;
  font-size: 20px;
  font-weight: 700;
  border-radius: 0;
  border: none;
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
  cursor: pointer;
}

/* -------- Enrollment Receipt */

#booking-receipt {
  border-left: 1.5px solid rgb(228, 226, 226);
  border-right: 1.5px solid rgb(228, 226, 226);
}
.receipt-title {
  font-size: 32px;
  font-weight: 900;
}
.receipt-subtitle {
  font-size: 28px;
  font-weight: 900;
}
.receipt-text {
  font-size: 15px;
  font-weight: 600;
}
.receipt-divider {
  border: 1px solid rgb(228, 226, 226);
  opacity: 1;
  /* margin-top: 35px; */
  /* margin-bottom: 35px; */
}
.card-fee-text {
  font-size: 12px;
  font-weight: 600;
}
.total-cost-text {
  font: 18px;
  font-weight: 800;
}
#payment-disclaimer {
  margin-top: 50px;
  font-size: 11px;
  font-weight: 600;
}
#payment-checkbox {
  height: 17px;
  width: 17px;
}
#booking-receipt button {
  background: black;
  color: white;
  font-size: 20px;
  font-weight: 700;
  border-radius: 0;
  border: none;
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
}
#whatsapp-info {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 400;
}

/* -------- Room Booking Form */

.white-container {
  color: black;
  background: none;
  font-size: 20px;
  font-weight: 700;
  border-radius: 0;
  border: 1px solid black;
  padding: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-bottom: 150px; */
}
.white-container.btn {
  height: 36px;
  font-size: 18px;
  padding: 0;
}
#submit_request_btn {
  background: black;
  color: white;
  font-size: 20px;
  font-weight: 700;
  border-radius: 0;
  /* border: 1px solid black; */
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
}

/* Page Content - End */


/* Hide when the [hidden] attribute is present */
.dropdown-content[hidden] { display: none !important; }

/* Rotate the caret when open */
.custom-dropdown .caret { transition: transform .2s ease; }
.custom-dropdown.open .caret { transform: rotate(180deg); }

:root {
    --news-text: #111827;
    --news-muted: #6B7280;
    --news-accent: #DF6CFF;
    --news-bg: #ffffff;
    --news-radius: 14px;
    --news-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  }

  /* Hero image */
  #news-links .news-hero {
    background-size: cover;
    background-position: center;
    border-radius: var(--news-radius);
    aspect-ratio: 2 / 1;
    box-shadow: var(--news-shadow);
  }

  /* Text container */
  #news-links .news-info {
    color: black;
    max-width: 72ch;
    /* margin: 24px; */
    padding: clamp(16px, 3vw, 28px);
  }

  /* Title */
  #news-links .news-title {
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .2px;
    margin: 0 0 .25rem;
    font-size: clamp(16px, 3vw, 28px);
  }

  /* Date */
  #news-links .news-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--news-muted);
    font-size: clamp(12px, 1.2vw, 14px);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 1rem;
  }
  #news-links .news-date::before { content: "📅"; }

  /* Body copy */
  #news-links .news-about {
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.8;
    letter-spacing: 0.01em;
    word-break: break-word;
  }
  #news-links .news-about p { margin: 0 0 0.5em; }
  #news-links .news-about h2,
  #news-links .news-about h3 {
    margin: 1.25em 0 .5em;
    font-weight: 800;
    line-height: 1.3;
  }
  #news-links .news-about ul,
  #news-links .news-about ol { padding-left: 1.25rem; margin: 0 0 1em; }
  #news-links .news-about img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(17,24,39,.08);
    margin: 1rem 0;
  }
  #news-links .news-about a {
    color: var(--news-text);
    text-decoration: underline;
    text-decoration-color: var(--news-accent);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
  }
  #news-links .news-about blockquote {
    margin: 1.25rem 0;
    padding: .75rem 1rem;
    border-left: 4px solid var(--news-accent);
    background: #faf5ff;
    border-radius: 8px;
    color: #4b5563;
  }

  /* Better Traditional Chinese font stack & spacing */
  #news-links .news-info :lang(zh),
  #news-links .news-info :lang(zh-Hant) {
    font-family: "Noto Sans TC", "PingFang TC", "Heiti TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
    letter-spacing: 0.02em;
  }

  /* Dark mode */
  @media (prefers-color-scheme: dark) {
    :root {
      --news-text: #e5e7eb;
      --news-muted: #9ca3af;
      --news-bg: #111827;
      --news-shadow: 0 8px 24px rgba(0,0,0,.4);
    }
    #news-links .news-about a { color: #fff; }
    #news-links .news-about blockquote { background: #1f2937; color: #d1d5db; }