:root {
  --nav-h: 64px;
  --section-gap: 2rem;
  --card-pad: 1.1rem;
}

/* Make sure NO ancestor blocks sticky with overflow */
html,
body {
  overflow-x: clip;
} /* allow vertical scrolling */
.container-xl,
.row,
[class*=col-] {
  overflow: visible;
}

/* Anchor offsets (for in-page links) */
section[id] {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

/* Sections */
.section {
  padding-block: var(--section-gap);
  border-bottom: 1px solid #e9ecef;
}

/* Sticky titles: include -webkit- prefix for iOS */
.sticky-title {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--nav-h) + 0.5rem);
  z-index: 2;
  background: transparent; /* set to #fafafa if you see overlap artifacts */
  will-change: transform; /* helps iOS repaint */
}

.section-title {
  font-size: clamp(1.7rem, 2.8vw, 2rem);
  line-height: 1.2;
  margin: 0;
}

.content-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0.75rem;
  padding: var(--card-pad);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.content-card p {
  margin-bottom: 1rem;
}

.content-card p:last-child {
  margin-bottom: 0;
}

/* open-sans-300 - latin_math_symbols */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/OpenSans/open-sans-v43-latin_math_symbols-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-regular - latin_math_symbols */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/OpenSans/open-sans-v43-latin_math_symbols-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500 - latin_math_symbols */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/OpenSans/open-sans-v43-latin_math_symbols-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin_math_symbols */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/OpenSans/open-sans-v43-latin_math_symbols-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin_math_symbols */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/OpenSans/open-sans-v43-latin_math_symbols-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800 - latin_math_symbols */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/OpenSans/open-sans-v43-latin_math_symbols-800.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* vidaloka-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Vidaloka";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Vidaloka/vidaloka-v18-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
:root {
  --color-denim-blue: #28387c;
  --color-light-blue: #5187bc;
  --color-teal-green: #00a89c;
  --color-orange: #f16526;
  --color-grey: #edf2f4;
  --font-open-sans: "Open Sans", system-ui, sans-serif;
  --font-vidaloka: "Vidaloka", Times New Roman, serif;
}

:root {
  --3-tone-border-image: linear-gradient(
    to right,
    var(--color-light-blue) 33.3%,
    var(--color-teal-green) 33.3%,
    var(--color-teal-green) 66.6%,
    var(--color-orange) 66.6%
  );
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-vidaloka);
  color: var(--color-denim-blue);
}

p, div, a {
  font-family: var(--font-open-sans);
}

nav a {
  font-family: var(--font-vidaloka);
}

.navbar-nav {
  align-items: center;
}
.navbar-nav:first-child {
  flex-grow: 1;
  justify-content: center;
}
.navbar-nav a {
  text-align: center;
  line-height: 1.2;
  color: var(--color-denim-blue);
}
.navbar-nav a.nav-link {
  max-width: 250px;
}
.navbar-nav a:has(.icon-home) .icon-home {
  width: 17px;
  margin-top: -4px;
  fill: var(--color-denim-blue);
}
.navbar-nav a:has(.icon-home) .icon-home:hover {
  fill: var(--color-orange);
}
.navbar-nav a:hover {
  color: var(--color-orange);
}
.navbar-nav .nav-link.active {
  color: var(--color-orange);
}
.navbar-nav .dropdown-toggle {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}
.navbar-nav .dropdown-toggle > div {
  font-family: var(--font-vidaloka);
}

#mainNav {
  justify-content: space-between;
  gap: 10px;
}

.nav-row {
  display: grid;
  grid-template-columns: 0px auto;
  gap: 10px;
  margin: auto 20px;
  width: 100%;
  transition: all 0.5s ease;
  align-items: center;
}
.nav-row .navbar-brand {
  opacity: 0;
  pointer-events: none;
  transition: all 1s ease;
}
.nav-row .navbar-toggler {
  z-index: 10;
  border: none;
  position: relative;
  width: calc(var(--bs-navbar-toggler-padding-x) * 2 + 1.5em);
  height: 1.5em;
  margin-left: auto;
  padding: 0;
  width: 30px;
}
.nav-row .navbar-toggler div.navbar-toggler-icon {
  height: 3px;
  width: 1.5em;
  background-color: var(--color-denim-blue);
  margin-top: -2px;
  background-image: none;
  transition: all 0.5s ease;
}
.nav-row .navbar-toggler div.navbar-toggler-icon::before, .nav-row .navbar-toggler div.navbar-toggler-icon::after {
  content: "";
  background-color: var(--color-denim-blue);
  width: 1.5em;
  height: 3px;
  left: 0;
  position: absolute;
  transition: all 0.5s ease;
}
.nav-row .navbar-toggler div.navbar-toggler-icon::before {
  top: 3px;
}
.nav-row .navbar-toggler div.navbar-toggler-icon::after {
  bottom: 2px;
}
.nav-row .navbar-collapse {
  justify-content: center;
  display: grid;
  grid-template-columns: auto 100px;
}

#siteNav {
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.6666666667);
}

.hero-card-logo {
  transition: all 1s ease;
}

body.scroll #siteNav {
  background-color: white;
  border: solid transparent;
  border-width: 0px 0 2px;
  border-image: var(--3-tone-border-image) 1.75 repeat;
  box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3333333333);
}
body.scroll #siteNav .nav-row {
  grid-template-columns: 240px auto;
}
body.scroll #siteNav .nav-row .nav-item:has(.icon-home) {
  display: none;
}
body.scroll #siteNav .nav-row .navbar-brand {
  opacity: 1;
  pointer-events: initial;
}
body.scroll #siteNav .nav-row .navbar-collapse .navbar-nav:last-child {
  width: 240px;
  justify-content: end;
}
body.scroll .hero-card-logo {
  opacity: 0;
  transform: translate(-70%, -100%) scale(0);
}

@media (max-width: 1550px) {
  body.scroll #siteNav .nav-row .navbar-collapse .navbar-nav:last-child {
    width: auto;
  }
}
@media (max-width: 1400px) {
  .navbar-nav:first-child {
    display: grid;
    grid-template-columns: 30px repeat(7, 1fr);
  }
  .navbar-nav:first-child a.nav-link:not(.dropdown-toggle),
  .navbar-nav:first-child a.nav-link.dropdown-toggle > div:not(.arrow-up) {
    display: flex;
    flex-direction: column;
  }
  body.scroll .navbar-nav:first-child {
    grid-template-columns: repeat(7, 1fr);
  }
}
@media (max-width: 1201px) {
  .hide-when-mobile {
    display: none !important;
  }
  .nav-row .nav-item:has(.icon-home) .icon-home {
    fill: white;
    width: 24px;
  }
  .nav-row .nav-item:has(.icon-home) .icon-home:hover {
    fill: white;
  }
  .nav-row:has(.navbar-collapse.show) .navbar-toggler div.navbar-toggler-icon {
    background-color: transparent;
  }
  .nav-row:has(.navbar-collapse.show) .navbar-toggler div.navbar-toggler-icon::before, .nav-row:has(.navbar-collapse.show) .navbar-toggler div.navbar-toggler-icon::after {
    background-color: white;
  }
  .nav-row:has(.navbar-collapse.show) .navbar-toggler div.navbar-toggler-icon::before {
    rotate: 45deg;
    top: calc(50% - 2px);
  }
  .nav-row:has(.navbar-collapse.show) .navbar-toggler div.navbar-toggler-icon::after {
    rotate: -45deg;
    bottom: calc(50% - 1px);
  }
  .nav-row .navbar-collapse {
    transition: top 1s ease;
    transition-delay: 0;
    position: fixed;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--color-denim-blue);
    grid-template-columns: 1fr;
    grid-template-rows: auto 40px;
    padding: 20px;
    padding-top: 70px;
  }
  .nav-row .navbar-collapse.collapsing {
    transition: none !important;
  }
  .nav-row .navbar-collapse .navbar-nav {
    align-items: start;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child {
    margin: auto;
    width: 100%;
    gap: 12px;
    height: 100%;
    overflow: auto;
    display: flex;
    grid-template-columns: none;
    justify-content: start;
    overflow-x: hidden;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .nav-link {
    color: white;
    font-size: 28px;
    text-align: left;
    max-width: unset;
    display: block;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child a.nav-link:not(.dropdown-toggle),
  .nav-row .navbar-collapse .navbar-nav:first-child a.nav-link.dropdown-toggle > div {
    flex-direction: row;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .nav-item {
    max-width: 95%;
    position: relative;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .nav-item .nav-link {
    word-break: break-word;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .nav-item:has(.dropdown-toggle) {
    max-width: 100%;
    width: 100%;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-toggle {
    justify-content: start;
    width: 100%;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-toggle > .arrow-up + div {
    width: calc(100% - 30px);
    display: block;
    white-space: break-spaces;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-toggle::after {
    position: absolute;
    right: 10px;
    top: calc(50% - 0.15rem);
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-toggle.show::after {
    transform: rotate(180deg);
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-menu {
    padding: 20px 10px 10px;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-menu.menu-dMed {
    width: 100%;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-menu > .container {
    max-width: unset;
    padding: 0;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-menu > .container > .row.my-4 {
    margin: 0 !important;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-menu > .container > .row.my-4 .mb-3:last-child {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-menu > .container > .row.my-4 .mb-3:last-child h3 {
    font-size: 22px;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-menu > .container > .row.my-4 .mb-3:last-child ul li a {
    font-size: 20px;
    line-height: 1.5;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-menu > .container > .row.my-4 .mb-3:last-child ul.ul-2 li a {
    font-size: 18px;
  }
  .nav-row .navbar-collapse .navbar-nav:first-child .dropdown-menu > .container > .row.my-4 .mb-3:last-child ul.ul-2 li p {
    font-size: 15px;
  }
  .nav-row .navbar-collapse .navbar-nav:last-child {
    flex-direction: row;
    align-self: end;
    justify-self: end;
    gap: 20px;
  }
  .nav-row .navbar-collapse .navbar-nav:last-child .nav-link {
    color: white;
    font-size: 20px;
  }
  .nav-row .navbar-collapse .navbar-nav::-webkit-scrollbar {
    width: 4px;
  }
  .nav-row .navbar-collapse .navbar-nav::-webkit-scrollbar-track {
    background-color: var(--color-denim-blue);
  }
  .nav-row .navbar-collapse .navbar-nav::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3333333333);
    border-radius: 10px;
  }
  .nav-row .navbar-collapse:not(.show) {
    top: -100%;
  }
  .nav-row .navbar-collapse.show {
    top: 0;
  }
  body.scroll #siteNav .nav-row .nav-item:has(.icon-home) {
    display: block;
  }
  body.scroll .hero-card-logo {
    transform: translate(-50%, -150%) scale(0);
  }
}
.learn_more_button {
  color: var(--color-orange);
  text-decoration: none;
}
.learn_more_button i {
  width: 20px;
  height: 20px;
  font-size: 12px;
  line-height: 20px;
  background-color: var(--color-orange);
  border-radius: 50%;
  position: relative;
  text-align: center;
  color: white;
  vertical-align: text-bottom;
}

/* --- Hero background --- */
.hero {
  /* change this to your banner image */
  --hero-bg: url("../images/hero_banner_background.jpg");
  position: relative;
  min-height: 500px;
  height: 75svh;
  max-height: 700px;
  background: var(--hero-bg) center/cover no-repeat;
  margin-left: calc(-50vw + 50%); /* extend to full width */
  margin-right: calc(-50vw + 50%);
}

/* optional soft overlay for contrast */
.hero::before {
  content: "";
  /* position: absolute; inset: 0; */
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.35) 45%, rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
}

/* Foreground image container */
.hero-content {
  position: relative; /* sit above overlay */
  z-index: 2;
  min-height: 400px;
  height: calc(75svh - 100px);
  max-height: 600px;
}

/* Foreground image sizing */
.hero-card {
  max-width: 640px; /* cap width on large screens */
  /* position: absolute; */
}

@media (max-width: 576px) {
  .hero-card {
    max-width: 92vw;
  } /* breathe on mobile */
}
#hero_banner {
  z-index: 1000;
}

.hero .hero_title {
  position: absolute;
  bottom: 30%;
  right: 0;
  padding: 5px 20px;
}
.hero .hero_title h1 {
  color: #fff;
}
.hero .hero_title::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-color: var(--color-denim-blue);
  z-index: -1;
  opacity: 0.8;
}

@media only screen and (max-width: 767px) {
  .hero .hero-card img {
    width: 100%;
  }
}
.dropdown-menu {
  position: relative;
  background-color: var(--color-denim-blue);
}
.dropdown-menu .container {
  position: relative;
  max-width: 1200px;
  padding: 20px 30px 40px;
}
.dropdown-menu .row > div:last-child {
  max-width: 650px;
  margin-left: auto;
}
.dropdown-menu .fa-times {
  position: absolute;
  top: 0;
  right: 0;
  color: white;
  font-size: 2rem;
}
.dropdown-menu img {
  width: 100%;
}
.dropdown-menu a {
  text-decoration: none;
}
.dropdown-menu p {
  color: white;
}
.dropdown-menu h2 {
  color: #8ac0ed;
}
.dropdown-menu h3 a, .dropdown-menu ul.ul-1 > li > a {
  color: white;
  text-decoration: none;
}
.dropdown-menu div.items_wrapper:not(last-child) {
  margin-bottom: 30px;
}
.dropdown-menu .ul-1 {
  list-style-type: disc;
}
.dropdown-menu .ul-1 > li > a {
  font-size: 20px;
  line-height: 1.8;
}
.dropdown-menu .ul-1 > li::marker {
  color: var(--color-orange);
}
.dropdown-menu .ul-1 > li a:not([href]):hover {
  color: white;
}
.dropdown-menu .ul-2 {
  list-style-type: disc;
}
.dropdown-menu .ul-2 li a {
  color: var(--color-orange);
  font-family: var(--font-open-sans);
  font-weight: 400;
}
.dropdown-menu .ul-2 li p {
  font-size: 14px;
}
.dropdown-menu .ul-2 li::marker {
  color: var(--color-light-blue);
}
.dropdown-menu .ul-2 li a:not([href]):hover {
  color: var(--color-orange);
}
.dropdown-menu h3 > a i {
  width: 16px;
  height: 16px;
  font-size: 0.6rem;
  line-height: 16px;
  background-color: var(--color-orange);
  border-radius: 50%;
  position: relative;
  text-align: center;
  color: var(--color-denim-blue);
  vertical-align: middle;
  margin-left: 5px;
}
.dropdown-menu h3 > a:not([href]):hover {
  color: white;
}
.dropdown-menu ul li a i {
  font-size: 0.8rem;
  color: var(--color-orange);
  margin-left: 5px;
}
.dropdown-menu.menu-dMed {
  left: -10px;
  top: calc(100% + 0.5rem + 2px);
  width: 380px;
  height: fit-content;
  border: none;
  border-radius: 6px;
  padding: 20px 30px;
}
.dropdown-menu.menu-dMed ul.ul-1 {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dropdown-menu.menu-dMed ul.ul-1 a {
  font-size: 16px;
  font-family: var(--font-open-sans);
  font-weight: 400;
}

.nav-link.dropdown-toggle:has(+ .menu-dMed) .arrow-up {
  top: 100%;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
}
.nav-link.dropdown-toggle .arrow-up {
  display: none;
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 15px solid var(--color-denim-blue);
  bottom: calc(-100% + 7px);
  left: 50%;
  transform: translateX(-50%);
}
.nav-link.dropdown-toggle.show {
  position: relative;
  color: var(--color-orange);
}
.nav-link.dropdown-toggle.show .arrow-up {
  display: unset;
}

@media (max-width: 1400px) {
  .nav-link.dropdown-toggle .arrow-up {
    bottom: calc(-100% + 34px);
  }
}
@media (max-width: 1200px) {
  .nav-link.dropdown-toggle .arrow-up {
    display: none !important;
  }
}
.page_home .hero {
  max-height: 850px;
  height: 100svh;
}
.page_home #section_video {
  position: relative;
}
.page_home #section_video::before {
  content: "";
  width: 90%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3333333333);
  position: absolute;
  bottom: 0;
  left: 5%;
}
.page_home #section_video .scroll-down-hint {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: absolute;
  filter: drop-shadow(2px 2px 1px black);
  place-items: anchor-center;
  z-index: 1001;
  height: 80px;
  width: 100px;
  top: -17%;
  left: 50%;
  transform: translateX(-50%);
}
.page_home #section_video .scroll-down-hint i {
  color: white;
  font-size: 70px;
  height: 20px;
  animation: scroll-down-hint 2s alternate infinite ease-in-out;
}
.page_home #section_video .scroll-down-hint i:last-of-type {
  animation-delay: -300ms;
}
.page_home #section_video .scroll-down-hint p {
  animation-delay: -600ms;
  animation: scroll-down-hint 2s alternate infinite ease-in-out;
  margin-bottom: 0;
  margin-top: 48px;
  color: white;
  letter-spacing: 2px;
  white-space: nowrap;
}
.page_home #section_video .video-background {
  position: absolute;
  top: 0;
  width: 100svw;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-image: linear-gradient(to bottom, #5791cd, var(--color-denim-blue));
  background-position: center center, top left;
  background-repeat: no-repeat, repeat-x;
  z-index: -1;
}
.page_home #section_video .video-background::before {
  background-image: url("../images/home/video_line_pattern.svg");
  content: "";
  width: 100%;
  height: 80px;
  position: absolute;
  top: 0;
  left: 0;
}
.page_home #section_video .video-container {
  z-index: 1001;
  position: relative;
  margin-top: -75px;
  display: flex;
  gap: 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page_home #section_video .video-container .video-content-wrapper {
  border: 1px solid white;
  border-radius: 35px;
  padding: 8px;
}
.page_home #section_video .video-container .video-content-wrapper .video-content {
  position: relative;
  border-radius: 35px;
  overflow: hidden;
  max-width: 1030px;
  aspect-ratio: 16/9;
}
.page_home #section_video .video-container .video-content-wrapper .video-content video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 35px;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.page_home #section_video .video-container .video-content-wrapper .video-content button.thumbnail {
  position: absolute;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.page_home #section_video .video-container .video-content-wrapper .video-content button.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 35px;
  aspect-ratio: 16/9;
}
.page_home #section_video .video-container:has(.aos-animate) + .scroll-down-hint {
  opacity: 0;
  transition: all 0.5s ease;
}
.page_home #section_video .video-container .video-alt {
  text-align: center;
  color: white;
}

#section_why_hong_kong .sticky-title > div,
#section_international_organziation .sticky-title > div,
#section_events_and_trainings .sticky-title > div {
  display: flex;
  flex-flow: column;
  gap: 20px;
}

@keyframes scroll-down-hint {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
main section {
  padding-left: 8%;
  padding-right: 8%;
  border-bottom: unset !important;
}

#section_why_hong_kong {
  position: relative;
  padding-top: 60px;
}
#section_why_hong_kong .intro-background {
  position: absolute;
  top: 0;
  width: 100svw;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-denim-blue);
}
#section_why_hong_kong .intro-background::before {
  content: "";
  width: 100%;
  height: 40px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: white;
  border-top-left-radius: 40px;
}
#section_why_hong_kong .intro-background::after {
  content: "";
  width: 100%;
  height: calc(90% - 60px);
  top: 5%;
  left: 0;
  position: absolute;
  background-image: url("../images/home/whk_background_pattern.svg");
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: center;
  opacity: 0.8;
}
#section_why_hong_kong::before {
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background-color: #fff;
}
#section_why_hong_kong h2, #section_why_hong_kong p {
  color: #fff;
}
#section_why_hong_kong h2 {
  transition: color 0.5s ease;
}
#section_why_hong_kong h2.scroll {
  color: var(--color-denim-blue);
}
#section_why_hong_kong p {
  font-size: 18px;
}
#section_why_hong_kong img {
  width: 100%;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
#section_why_hong_kong .row.content-card:after {
  position: relative;
  content: " ";
  top: -10px;
  left: 100px;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
#section_why_hong_kong .col-lg-9 {
  z-index: 101;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 60px;
}
#section_why_hong_kong #section_why_hong_kong_content {
  position: relative;
}
#section_why_hong_kong #section_why_hong_kong_content img {
  position: relative;
  top: 25px;
}
#section_why_hong_kong #section_why_hong_kong_content ul {
  margin-top: 25px;
}
#section_why_hong_kong #section_why_hong_kong_content ul li {
  color: var(--bs-body-color);
  font-weight: 400;
}
#section_why_hong_kong #section_why_hong_kong_content ul li:not(:last-child) {
  margin-bottom: 8px;
}
#section_why_hong_kong #section_why_hong_kong_content ul li h6 {
  color: black;
  font-size: 18px;
  margin: 0;
}
#section_why_hong_kong #section_why_hong_kong_content::after {
  position: absolute;
  content: "";
  top: 0;
  left: 10%;
  width: 90%;
  height: 90%;
  background-color: var(--color-grey);
  z-index: -1;
}

#section_international_organziation {
  position: relative;
  min-height: 600px;
  padding-top: 70px;
  background-image: url("../images/international_organziation_bg.jpg");
  background-repeat: no-repeat;
  background-position: right 100px bottom -5%;
  background-size: auto;
}
#section_international_organziation h3 {
  font-family: var(--font-open-sans);
  font-weight: 700;
  font-size: 21px;
  color: var(--color-teal-green);
}
#section_international_organziation > .row {
  min-height: 450px;
}
#section_international_organziation .content-card {
  display: flex;
}
#section_international_organziation .content-card img {
  width: 100%;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
#section_international_organziation .content-card .text {
  padding-left: 32px;
  width: calc(50% + 1.3rem);
}

#section_events_and_trainings {
  position: relative;
}
#section_events_and_trainings h2 + p {
  padding-right: 25px;
}
#section_events_and_trainings::before {
  position: absolute;
  content: "";
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: calc(100% + 4rem);
  background-color: var(--color-grey);
  z-index: -1;
}

#section_why_hong_kong {
  padding-bottom: 62px;
}

#section_events_and_trainings {
  padding-top: 132px;
}
#section_events_and_trainings::after {
  position: absolute;
  content: "";
  width: 100vw;
  height: 50px;
  background-color: #fff;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-right-radius: 50px;
}

@media (max-width: 1400px) {
  #section_why_hong_kong #section_why_hong_kong_content ul li:not(:last-child) {
    margin-bottom: 0;
  }
}
@media (max-width: 992px) {
  #section_why_hong_kong .sticky-title,
  #section_international_organziation .sticky-title,
  #section_events_and_trainings .sticky-title {
    margin-top: 0 !important;
  }
  #section_why_hong_kong .sticky-title h2.section-title,
  #section_international_organziation .sticky-title h2.section-title,
  #section_events_and_trainings .sticky-title h2.section-title {
    font-size: 28px;
  }
  #section_why_hong_kong .content-card,
  #section_international_organziation .content-card,
  #section_events_and_trainings .content-card {
    padding: 0;
  }
  #section_why_hong_kong .intro-background::before {
    border-radius: 0;
    background-color: var(--color-grey);
  }
  #section_why_hong_kong #section_why_hong_kong_content::after {
    content: none;
  }
  #section_why_hong_kong #section_why_hong_kong_content img {
    max-height: 250px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
    top: 0;
  }
  #section_why_hong_kong #section_why_hong_kong_content ul li {
    font-family: var(--font-vidaloka);
    font-weight: 300;
    font-size: 20px;
    margin-bottom: 10px;
  }
  #section_why_hong_kong #section_why_hong_kong_content ul li h6 {
    color: white;
  }
  #section_international_organziation {
    background-size: contain;
    background-position: center bottom;
    padding-bottom: 35svw;
  }
  #section_international_organziation > div.row {
    min-height: unset;
    gap: 0px;
  }
  #section_international_organziation > div.row .content-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  #section_international_organziation > div.row .content-card img {
    max-height: 250px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
    top: 0;
  }
  #section_international_organziation > div.row .content-card .text {
    padding: 0;
    width: 100%;
  }
  #section_international_organziation > div.row .content-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  #section_events_and_trainings .sticky-title {
    margin-bottom: 40px;
  }
  #section_events_and_trainings .sticky-title p {
    margin-bottom: 0;
  }
  #section_events_and_trainings .event-card {
    padding-left: 0;
    padding-right: 0;
  }
  #section_events_and_trainings .event-card::after {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  .hero {
    background-position: 48% center;
  }
  .hero .hero-content {
    align-items: start !important;
  }
  .hero .hero-content .hero-card {
    padding-top: 30px;
  }
}
.site-footer {
  background: #fff; /* deep blue from your mock */
  color: var(--color-denim-blue);
  border: solid transparent;
  border-width: 10px 0 0px;
  border-image: var(--3-tone-border-image) 9 repeat;
}

.site-footer a {
  color: var(--color-denim-blue);
  text-decoration: none;
}

.site-footer a:hover {
  opacity: 0.85;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.social a > i {
  font-size: 32px !important;
}

/* .brand-logos img {
      height: 36px;
    } */
@media (max-width: 575.98px) {
  .brand-logos img {
    height: 90px;
  }
}
.event-card {
  padding: var(--card-pad);
  max-width: 500px;
  position: relative;
  padding-top: 0;
  margin-bottom: 70px;
}
.event-card img {
  margin-bottom: 20px;
  max-width: 100%;
}
.event-card span {
  display: flex;
  width: 100%;
  justify-content: right;
}
.event-card h3 {
  line-height: 1.1;
  font-size: 21px;
}
.event-card::after {
  margin-left: var(--card-pad);
  margin-right: var(--card-pad);
  position: absolute;
  content: "";
  width: calc(100% - var(--card-pad) - var(--card-pad));
  height: 1px;
  bottom: -1px;
  left: 0;
  background: var(--3-tone-border-image);
}

body:not(.page_home) .hero {
  padding-top: 80px;
  background-repeat: no-repeat;
}
body:not(.page_home) .hero .hero_title {
  bottom: 5%;
  padding: 12px 30px;
  max-width: 100svw;
}
body:not(.page_home) .hero .hero_title h1 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  font-family: "Times New Roman", Times, serif;
  margin-bottom: 0;
}
body:not(.page_home) .hero .hero-content {
  max-width: unset !important;
}
body:not(.page_home) .hero .hero-content .hero-card {
  width: 50%;
  transform: translateY(max(-7svh, -30px));
}
body:not(.page_home) .hero .hero-content .hero-card .hero-card-logo {
  max-width: 84svw;
  width: 110%;
  min-width: 450px;
}
body:not(.page_home) main {
  margin-top: -80px;
  padding-bottom: 0;
}
body:not(.page_home) main .section.zigzag {
  padding-left: 0;
  padding-right: 0;
  padding-block: 4rem;
}
body:not(.page_home) main .section.zigzag h2.section-title {
  color: var(--color-orange);
  margin-bottom: 0;
}
body:not(.page_home) main .section.zigzag ul.past-mediate-first-events {
  margin-top: 40px;
  list-style-type: none;
  line-height: 1.7;
}
body:not(.page_home) main .section.zigzag img {
  margin-bottom: 16px;
  border-radius: 40px 0 40px 0;
}
body:not(.page_home) main .section.zigzag img.logo {
  max-height: 150px;
}
body:not(.page_home) .intro {
  position: relative;
  padding: 50px 0 70px;
  max-width: 1000px;
  margin: auto;
}
body:not(.page_home) .intro.with-background-element {
  max-width: unset;
  margin: 0;
  background-color: #fff;
}
body:not(.page_home) .intro.with-background-element::after {
  height: 10px;
  z-index: 1;
}
body:not(.page_home) .intro.with-background-element .section-content {
  padding-top: 40px;
  max-width: 1000px;
  margin: auto;
  padding-left: 30px;
  padding-right: 30px;
}
body:not(.page_home) .intro.with-background-element .section-content:has(.section.zigzag) {
  max-width: 1200px;
}
body:not(.page_home) .intro.with-background-element .section-content h4:not(:first-child) {
  margin-top: 40px;
}
body:not(.page_home) .intro h2.section-title {
  margin-bottom: 30px;
}
body:not(.page_home) .intro h4 {
  color: var(--color-teal-green);
  font-family: var(--font-open-sans);
  font-weight: 600;
  letter-spacing: -0.5px;
}
body:not(.page_home) .intro p, body:not(.page_home) .intro li {
  font-size: 16px;
  font-family: var(--font-open-sans);
  font-weight: 400;
}
body:not(.page_home) .intro::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100svw;
  height: 100%;
  z-index: -1;
  background: rgba(255, 255, 255, 0.9019607843);
  border: solid transparent;
  border-width: 10px 0 0px;
  border-image: var(--3-tone-border-image) 9 repeat;
}
body:not(.page_home) h5.breadcrumb {
  justify-content: center;
  text-align: center;
  margin: 0px auto 10px;
  padding: 0px 30px;
  gap: 4px 10px;
}
body:not(.page_home) h5.breadcrumb * {
  color: var(--color-teal-green);
  font-family: var(--font-open-sans);
  font-size: 16px;
  font-weight: 400;
}
body:not(.page_home) h5.breadcrumb div {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}
body:not(.page_home) h5.breadcrumb div a {
  white-space: nowrap;
}

@media (max-width: 1400px) {
  body:not(.page_home) .hero {
    padding-top: 90px;
    padding-left: 24px;
    padding-right: 24px;
  }
  body:not(.page_home) main {
    margin-top: -90px;
  }
  body:not(.page_home) main .section.zigzag {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 992px) {
  body:not(.page_home) main .section.zigzag {
    padding-block: 2rem;
    padding-left: 0px;
    padding-right: 0px;
  }
  body:not(.page_home) main .section.zigzag .sticky-title {
    padding: 0px 24px;
  }
}
@media (max-width: 768px) {
  body:not(.page_home) .hero .hero-content .hero-card {
    width: 100%;
    transform: none;
    max-height: 60%;
    height: 60%;
  }
  body:not(.page_home) .hero .hero-content .hero-card .hero-card-logo {
    min-width: unset;
    width: 100%;
    margin-top: 10px;
    height: 100%;
    max-width: unset;
  }
  body:not(.page_home) .hero .hero_title {
    bottom: 3%;
  }
  body:not(.page_home) .intro.with-background-element .section-content {
    padding: 20px 15px;
  }
  body:not(.page_home) h5.breadcrumb {
    flex-direction: column;
  }
  body:not(.page_home) h5.breadcrumb div {
    padding-left: calc(var(--order) * 18px);
  }
}
@media (max-width: 400px) {
  body:not(.page_home) h5.breadcrumb div a {
    white-space: normal;
    text-align: left;
  }
}
body.page_why_hong_kong .fixed-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100svw;
  height: auto;
  z-index: -1;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
body.page_why_hong_kong .fixed-background img {
  object-position: center;
  min-width: 100%;
}
body.page_why_hong_kong .hero {
  background: none;
  min-height: 600px;
  height: unset;
  max-height: unset;
}
body.page_why_hong_kong .hero .hero_title h1 {
  white-space: normal;
  word-break: break-word;
}
body.page_why_hong_kong main {
  padding-bottom: 0;
}
body.page_why_hong_kong main .intro h5.breadcrumb {
  padding: 0;
  flex-direction: row;
}
body.page_why_hong_kong main .intro p {
  font-size: 18px;
}
body.page_why_hong_kong section.section {
  background-color: rgba(255, 255, 255, 0.9019607843);
}
body.page_why_hong_kong section.section > div {
  max-width: 1200px;
  margin: auto;
}
body.page_why_hong_kong section.section.zigzag:last-of-type {
  padding-bottom: 10rem;
}
body.page_why_hong_kong section.section img {
  width: 100%;
  height: auto;
}

@media (max-width: 992px) {
  .page_why_hong_kong section.section.zigzag:first-of-type {
    padding-top: 0 !important;
  }
}
.page_iomed .hero {
  background-image: url("../images/IOMed/bg.jpg");
  background-repeat: no-repeat;
  background-size: max(1440px, 100svw) auto;
  background-position: center 45%;
}
.page_iomed main .intro {
  background: url("../images/IOMed/IOMed.svg"), url("../images/IOMed/IOMed_logo.svg");
  background-size: 800px auto, 10% auto;
  background-position: calc((100svw - 1980px) / 2) 25%, 95% center;
  background-repeat: no-repeat, no-repeat;
}
.page_iomed main .intro .section-content h2.section-title {
  max-width: 800px;
  margin: auto;
  margin-bottom: 30px;
  text-align: center;
}
.page_iomed main .intro .section-content p {
  width: 60%;
  margin-left: auto;
}

@media (max-width: 1500px) {
  .page_iomed main .intro .section-content p {
    width: auto;
    margin-left: 35%;
  }
}
@media (max-width: 1400px) {
  .page_iomed main .intro {
    --side-width: calc((100svw - 1000px) / 2);
    background-size: 800px auto, 140px auto;
    background-position: calc((100svw - 1980px) / 2) 25%, calc(100svw - 180px) center;
  }
  .page_iomed main .intro .section-content p {
    margin-right: calc(200px - var(--side-width));
  }
}
@media (max-width: 1000px) {
  .page_iomed main .intro {
    --side-width: calc((100svw - 1000px) / 2);
    background-size: 100% auto, 150px auto;
    background-position: left bottom, 95% calc(100% - 5svw);
  }
  .page_iomed main .intro .section-content {
    padding-top: 60px !important;
    padding-bottom: 80svw !important;
  }
  .page_iomed main .intro .section-content h2.section-title {
    font-size: 28px;
  }
  .page_iomed main .intro .section-content p {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  .page_iomed .hero {
    background-position: 35% bottom;
  }
}
@media (max-width: 576px) {
  .page_iomed main .intro .section-content h2.section-title {
    text-align: left;
  }
}
body.page_dMed .hero {
  background-image: url("../images/deepening_mediation_culture/bg.jpg");
  background-size: max(1440px, 100svw) auto;
  background-position: center 55%;
}
body.page_dMed .hero .hero_title {
  top: 0px;
  bottom: unset;
}
body.page_dMed .hero .hero-content .hero-card {
  transform: translateY(0px);
}
body.page_dMed main .intro {
  background: url("../images/deepening_mediation_culture/pattern.gif");
  background-size: 800px auto;
  background-position: bottom right;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  body.page_dMed .hero {
    background-position: 70% 60%;
  }
  body.page_dMed .hero .hero_title {
    top: 65%;
  }
}
body.page_resources .hero {
  background-image: url("../images/resources/hero_bg.jpg");
  background-size: max(1440px, 100svw) auto;
  background-position: center top;
}
body.page_resources .section-content > div.resource-block:not(:last-of-type) {
  margin-bottom: 80px;
  margin-top: 40px;
}
body.page_resources .section-content h4 {
  font-size: 18px;
  margin-bottom: 14px;
}
body.page_resources .section-content ul {
  list-style-type: none;
  padding-left: 0;
}
body.page_resources .section-content ul li {
  line-height: 1.7;
}
body.page_resources .section-content ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}
body.page_resources .section-content ul li a > div {
  font-family: var(--font-vidaloka);
  color: black;
  font-size: 20px;
}
body.page_resources .section-content ul li a > div span {
  font-family: var(--font-open-sans);
  font-size: 14px;
}
body.page_resources .section-content ul li a::after {
  --size: 14px;
  content: "\f285";
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: 400 !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  color: white;
  background: var(--color-orange);
  min-width: var(--size);
  min-height: var(--size);
  max-width: var(--size);
  max-height: var(--size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
body.page_resources .section-content ul li a:has(span) {
  align-items: baseline;
}
body.page_resources .section-content .wallpaper-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
body.page_resources .section-content .wallpaper-download .preview img {
  border: 2px solid var(--color-teal-green);
}

body.page_events .hero {
  background-image: url("../images/events/hero_bg.jpg");
  background-size: max(1440px, 100svw) auto;
  background-position: center top;
}
body.page_events h5.breadcrumb > div:nth-child(4) > a {
  white-space: break-spaces;
  text-align: left;
}

body.page_about .hero {
  background-image: url("../images/about/hero_bg.jpg");
  background-size: max(1440px, 100svw) auto;
  background-position: center top;
}

.content-card {
  background-color: transparent;
  border: unset;
  border-radius: unset;
  box-shadow: unset;
  padding-top: 0;
}

/** bullet */
ul li::marker {
  color: var(--color-orange);
}

p {
  font-weight: 400;
}

.orange {
  color: var(--color-orange) !important;
}

span.orange, a {
  color: var(--color-orange);
  text-decoration: none;
}

p.click-only a[href],
li.click-only a[href] {
  display: flex;
  align-items: center;
  gap: 6px;
}

p.click-only a[href]::after,
li.click-only a[href]::after {
  content: "\f285";
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: 400 !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  color: white;
  background: var(--color-orange);
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/** fix sticky offset */
.sticky-title {
  top: calc(var(--nav-h) + 40px + 0.5rem);
}

@media (max-width: 992px) {
  .sticky-title {
    position: relative;
    top: 0 !important;
  }
}
span.whitespace-nowrap {
  white-space: nowrap;
}

.hide-min-768 {
  display: none;
}

.hide-max-768 {
  display: initial;
}

@media (max-width: 768px) {
  .hide-max-768 {
    display: none;
  }
  .hide-min-768 {
    display: initial;
  }
}
section img {
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
}/*# sourceMappingURL=main.css.map */