body,
html {
  width: 100%;
  height: 100%;
  font-size: 16px;
}

@media (min-width: 768px) {
  html {
    font-size: 17px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 18px;
  }
}

section {
  scroll-margin-top: 70px;
}

body,
p {
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.48;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  color: #0f253d;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  color: #0f253d;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.3; /* 2.5rem × 1.3 ≈ 3.25rem */
}

h2 {
  font-size: 2rem;
  line-height: 1.25;
}

h3 {
  font-size: 1.75rem;
  line-height: 1.29;
}

h4 {
  font-size: 1.5rem;
  line-height: 1.33;
}

h5 {
  font-size: 1.25rem;
  line-height: 1.3;
}

h6 {
  font-size: 1rem;
  line-height: 1.375;
}

.p-large {
  font-size: 1.125rem;
  line-height: 1.56;
}

.p-small {
  font-size: 0.875rem;
  line-height: 1.71;
}

.li-space-lg li {
  margin-bottom: 0.5rem;
}

a {
  color: #0f253d;
  text-decoration: none;
}

a:hover {
  color: #d1a569;
  text-decoration: none;
}

.py-6 {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

.py-7 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.py-8 {
  padding-top: 7.5rem !important;
  padding-bottom: 7.5rem !important;
}
.mb-6 {
  margin-bottom: 4.5rem !important;
}

.blue {
  color: #0f253d;
}

.bg-gray {
  background-color: #efefef;
}

.bg-blue {
  background-color: #0f253d;
}

button {
  outline: none;
  box-shadow: none;
  border: none;
}
button:focus {
  outline: none;
  box-shadow: none;
}
.btn:focus,
.btn-close:focus {
  box-shadow: none;
  outline: none;
}
.btn-lightblue {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem 2.25rem;
  border-radius: 5px;
  background: #0f324b;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: all 0.3s;
  min-height: 3.8rem;
  white-space: normal;
}

.btn-lightblue:hover {
  background-color: #d1a569;
  color: #ffffff;
  text-decoration: none;
}

.btn-split {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0;
}
.btn-split .btn-text,
.btn-split .btn-icon {
  background-color: #0f253d;
  height: 50px;
  border-radius: 9px;
}
.btn-split .btn-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 1.2rem;
  line-height: 1.2;
}
.btn-split .btn-icon {
  width: 50px;
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.btn-split .btn-icon svg {
  width: 1rem;
  height: 1rem;
  color: #ffffff;
  transition: color 0.3s ease;
}
.btn-split:hover {
  color: #ffffff;
}
.btn-split:hover .btn-icon {
  background-color: #d4a05e;
}

.btn-split-outline .btn-icon svg {
  width: 1rem;
  height: 1rem;
  color: white;
  transition: color 0.3s ease;
}
.btn-split-outline:hover {
  color: #fff;
}
.btn-split-outline:hover .btn-icon {
  background-color: #d4a05e;
}
.btn-split-outline {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: #d4a05e;
  text-decoration: none;
  font-size: 1.2rem;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0;
}
.btn-split-outline .btn-text,
.btn-split-outline .btn-icon {
  background-color: transparent;
  border: 1.5px #d4a05e solid;
  height: 50px;
  border-radius: 9px;
}
.btn-split-outline .btn-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 1.2rem;
  line-height: 1.2;
}
.btn-split-outline .btn-icon {
  width: 50px;
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  margin-left: -1px;
}
.btn-split-outline .btn-icon svg {
  width: 1rem;
  height: 1rem;
  color: #d4a05e;
  transition: color 0.3s ease;
}
.btn-split-outline:hover .btn-icon svg {
  color: #0f253d;
}
.btn-split-outline:hover {
  color: #d4a05e;
}
.btn-split-outline:hover .btn-icon {
  background-color: #d4a05e;
}
.btn-blue {
  background-color: #0f253d;
  color: #ffffff;
  height: 50px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 1.2rem;
  line-height: 1.2;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}
.btn-blue:hover {
  background-color: #d4a05e;
}

.btn-solid-lg {
  display: inline-block;
  padding: 1.625rem 2.625rem 1.625rem 2.625rem;
  border-radius: 9px;
  background-color: #0f253d;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 0;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-solid-lg:hover {
  background-color: #d1a569;
  color: #ffffff;
  text-decoration: none;
}

.btn-outline-reg {
  display: inline-block;
  padding: 1.375rem 2.25rem 1.375rem 2.25rem;
  border: 1px solid #0f253d;
  border-radius: 4px;
  background-color: transparent;
  color: #0f253d;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 0;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline-reg:hover {
  background-color: #0f253d;
  color: #ffffff;
  text-decoration: none;
}

.btn-outline-lg {
  display: inline-block;
  padding: 1.625rem 2.625rem 1.625rem 2.625rem;
  border: 1px solid #0f253d;
  border-radius: 4px;
  background-color: transparent;
  color: #0f253d;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 0;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline-lg:hover {
  background-color: #0f253d;
  color: #ffffff;
  text-decoration: none;
}

.btn-outline-sm {
  display: inline-block;
  padding: 1rem 1.5rem 1rem 1.5rem;
  border: 1px solid #0f253d;
  border-radius: 4px;
  background-color: transparent;
  color: #0f253d;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 0;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline-sm:hover {
  background-color: #0f253d;
  color: #ffffff;
  text-decoration: none;
}

.btn-close {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 30px;
  height: 30px;
  background-color: #d1a569;
  border-radius: 5px;
  opacity: 1;
  z-index: 1050;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23fff' d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1em auto;
  filter: none;
}
.btn-close:hover {
  opacity: 1;
}

.form-group {
  position: relative;
  margin-bottom: 1.25rem;
}
.form-control:focus {
  box-shadow: none !important;
  border-color: inherit;
  outline: none;
}
.form-control::selection {
  color: #fff;
  background: #d1a569;
}

/* Navigation */

.navbar-transparent {
  background-color: transparent !important;
}
.navbar-colored {
  background-color: #0f253d !important;
}

.navbar {
  background-color: #0f253d;
  font-size: 1rem;
  line-height: 1rem;
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.025);
  transition: background-color 0.3s ease;
}

.navbar .navbar-brand {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.navbar .logo-image img {
  height: 80px;
  margin-left: -15px;
}

.navbar .logo-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1rem;
  text-decoration: none;
}

.offcanvas-collapse {
  position: fixed;
  top: 4rem;
  bottom: 0;
  left: 100%;
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  overflow-y: auto;
  visibility: hidden;
  background-color: #0f253d;
  transition: visibility 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out,
    -webkit-transform 0.3s ease-in-out;
}

.offcanvas-collapse.open {
  visibility: visible;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}

.navbar .navbar-nav {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  padding-top: 1.6rem;
  line-height: 2;
}

.navbar .nav-item .nav-link {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  margin-right: 2rem;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.navbar .nav-item .nav-link:active {
  color: #ffffff;
}
.navbar .nav-item.dropdown.show .nav-link,
.navbar .nav-item .nav-link:hover,
.navbar .nav-item .nav-link:focus,
.navbar .nav-item .nav-link.active {
  color: #d1a569;
}

/* Dropdown Menu */
.navbar .dropdown .dropdown-menu {
  animation: fadeDropdown 0.3s ease-in-out;
}

@keyframes fadeDropdown {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.navbar .dropdown-menu {
  border: none;
  background-color: #ffffff;
  border-radius: 0;
}

.navbar .dropdown-item {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  color: #0f253d;
  font-size: 0.875rem;
  line-height: 0.875rem;
  text-decoration: none;
}

.navbar .dropdown-item:hover {
  background-color: #ffffff;
  color: #d1a569;
}
.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}
.dropdown-toggle::after {
  display: none !important;
}
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .navbar .dropdown > .dropdown-toggle:active {
    pointer-events: none;
  }
  .navbar .dropdown.show > .nav-link,
  .navbar .dropdown:hover > .nav-link {
    color: #d1a569;
  }
}

/* end of dropdown menu */

.navbar .fa-stack {
  width: 2em;
  margin-right: 0.25rem;
  font-size: 0.75rem;
}

.navbar .fa-stack-2x {
  color: #0f253d;
  transition: all 0.3s ease;
}

.navbar .fa-stack-1x {
  color: #ffffff;
  transition: all 0.3s ease;
}

.navbar .fa-stack:hover .fa-stack-2x {
  color: #ffffff;
}

.navbar .fa-stack:hover .fa-stack-1x {
  color: #0f253d;
}

.navbar .navbar-toggler {
  padding: 0;
  border: none;
  font-size: 1.25rem;
}

/*****************/
/*    Header     */
/*****************/

.header-hero {
  padding: 190px 0 90px;
  position: relative;
  overflow: hidden;
}

.header-hero .block {
  position: relative;
  z-index: 10;
}

.header-hero .block h1 {
  font-size: 2.6rem;
  color: #fff;
  margin-bottom: 1.3rem;
  line-height: 1.2;
  font-weight: 700;
}

.header-hero .block p {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 2.1rem;
}

/* intro */

.intro-section {
  padding: 3rem 0;
}
.intro-section .intro-text {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
}
.intro-section p {
  margin-bottom: 0.5rem;
}

/* index hero */
.hero {
  padding: 175px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .block {
  position: relative;
  z-index: 10;
}

.hero .block h1 {
  font-size: 2.6rem;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.hero .block p {
  color: #fff;
  font-size: 1.14rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 2.1rem;
}

.bg-box {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: #0f253d;
}

.bg-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  animation: breathingZoom 20s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes breathingZoom {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  55% {
    transform: scale(1.1);
    opacity: 1;
  }
}
.overlay {
  overflow: hidden;
}

.overlay:after {
  content: "";
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  --size: 800px;
  --speed: 5s;
  --easing: cubic-bezier(0.8, 0.2, 0.2, 0.8);
  width: var(--size);
  height: var(--size);
  filter: blur(calc(var(--size) / 5));
  background-image: linear-gradient(#4377ef, #7befd0);
  animation: rotate var(--speed) var(--easing) alternate infinite;
  border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* insights */

.insights-section {
  padding: 5rem 0;
}

/*feature*/

.feature-section {
  padding: 7rem 0;
  background: linear-gradient(
    to bottom,
    transparent 25%,
    #efefef 25%,
    #efefef 75%,
    transparent 75%
  );
  background-attachment: fixed;
  background-size: 100% 100%;
  overflow: hidden;
}
.feature-section h2 {
  padding-bottom: 0.6rem;
}
.feature-section .image-container {
  overflow: hidden;
  border-radius: 8px;
}

.feature-section .image-container img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-section .image-container:hover img {
  transform: scale(1.05);
}
.feature-article {
  margin-bottom: 6rem;
}
.feature-article:last-child {
  margin-bottom: 0rem;
}

/* research&opinion */
.research-section {
  padding: 5rem 0 2rem 0;
}

/* card */
.card-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 60px;
}
.card-grid {
  max-width: 1200px;
  margin: 0 auto;

  position: relative;
  padding-bottom: 50px;
  overflow: hidden;
  z-index: 1;
  transform: translateZ(0);
}

/* Swiper Slide  */
.swiper-slide {
  box-sizing: border-box;
}

.custom-card {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  height: 400px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: box-shadow 0.3s ease;
}

/* 覆蓋層樣式 */
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(15, 37, 61, 0.9);
  color: #ffffff;
  padding: 25px;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.3s ease-out;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
}

.card-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-overlay h3 a {
  color: #ffffff;
  text-decoration: none;
}
.card-overlay h3 a:hover {
  color: #ffffff;
}
.card-overlay .date {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.8rem;
}

/* 隱藏的內文樣式 */
.card-overlay .card-text-hidden {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.5;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  display: none;
  transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.card-overlay .btn-split-outline {
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out, border-color 0.3s ease-out;

  position: absolute;
  bottom: 25px;
  left: 25px;
}

.custom-card:hover .card-overlay {
  height: 100%;
  border-radius: 8px;
}

.custom-card:hover .card-overlay .card-text-hidden {
  opacity: 1;
  max-height: 8em;
  transition-delay: 0.2s;
  display: -webkit-box;
}

.custom-card:hover .card-overlay .btn-split-outline {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.2s;
  position: absolute;
}
/* Swiper Pagination Dots Styling */
.swiper-pagination {
  position: absolute !important;
  bottom: 0px;
  left: 0;
  width: 100%;
  text-align: center;
}

.swiper-pagination-bullet {
  background: #0f253d;
  opacity: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 10px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #d1a569;
  opacity: 1;

  box-shadow: 0 0 0 5px #f8f9fa, 0 0 0 6px #e0b980;
}

@media (max-width: 767.98px) {
  .custom-card {
    height: 350px;
  }

  .card-overlay .date {
    font-size: 0.8rem;
  }

  .card-overlay .card-text-hidden {
    font-size: 0.85rem;
  }
  .custom-card:hover .card-overlay .card-text-hidden {
    max-height: 6em;
  }

  .card-overlay .btn-custom {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}

.video-section {
  padding: 0 0 3rem 0;
}

.video-swiper {
  padding-bottom: 0px;
}

.video-custom-card {
  background-color: #efefef;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: auto;
}

.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
  background-color: #0f253d;
}

.video-thumbnail-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.video-play-overlay:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.video-play-overlay i {
  color: #ffffff;
  font-size: 1rem;
  border-radius: 8px;
  padding: 15px;

  background-color: rgba(209, 165, 105, 0.7);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.video-play-overlay:hover i {
  transform: scale(1.1);
  background-color: #d1a569;
}

.video-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.video-content .category {
  font-size: 0.8rem;
  color: #0f253d;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.video-content .category span {
  border-bottom: 1px solid #0f253d;
}
.video-content h3 {
  font-size: 1.1rem;
  font-family: "Schibsted Grotesk", sans-serif;
  font-weight: 600;
  color: #0f253d;
  transition: color 0.3s ease;
  cursor: pointer;
  margin-bottom: 10px;
  line-height: 1.2;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-content h3 a {
  color: inherit;
  text-decoration: none;
}
.video-content h3 a:hover {
  color: #d1a569;
}

.video-content .meta-info {
  font-size: 0.8rem;
  color: #0f253d;
  margin-top: auto;
}

.video-swiper + .swiper-pagination {
  bottom: -40px;
}
.video-swiper + .swiper-pagination .swiper-pagination-bullet {
  background: #0f253d;
}

.video-swiper + .swiper-pagination .swiper-pagination-bullet-active {
  background: #d1a569;
  opacity: 1;
  box-shadow: 0 0 0 5px #f8f9fa, 0 0 0 6px #e0b980;
}

/* Modal 影片播放器樣式 */
.video-modal .modal-content,
.image-modal .modal-content {
  background-color: transparent;
  border-radius: 0px;
  border: none;
}
.video-modal .modal-header,
.image-modal .modal-header {
  border-bottom: none;
  padding: 0;
}

.video-modal .modal-body,
.image-modal .modal-body {
  display: flex;
  flex-direction: row;
  padding: 0;
  border-radius: 0;
}

.video-modal .modal-video-col,
.image-modal .modal-image-col {
  flex: 1;
  padding: 0;
}
.video-modal .video-description-col,
.image-modal .image-description-col {
  background-color: #0f4669;
  color: #ffffff;
  padding: 2rem;
  margin-left: 1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-basis: 35%;
  min-width: 250px;
  box-sizing: border-box;
  flex-grow: 0;
  flex-shrink: 0;
}

.video-modal .embed-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9  */
  height: 0;
  overflow: hidden;
  border-radius: 0;
}
.video-modal .embed-responsive iframe,
.video-modal .embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-modal-date,
.image-modal-sub {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 1rem;
}
.video-modal-title,
.image-modal-title {
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #ffffff;
}
.video-modal-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff;
    flex-grow: 1;
    max-height: 185px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1em;
}

@media (max-width: 991.98px) {
  .video-modal .modal-body,
  .image-modal .modal-body {
    flex-direction: column;
    padding: 0;
  }

  .video-modal .modal-video-col,
  .image-modal .modal-image-col {
    order: 1;
    width: 100%;
    flex-basis: auto;
  }
  .video-modal .video-description-col,
  .image-modal .image-description-col {
    order: 2;
    width: 100%;
    padding: 1.5rem;
    flex-basis: auto;
    border-radius: 8px;
    margin: 1rem 0 0 0;
    flex-grow: 1;
  }
}
@media (max-width: 575.98px) {
  .video-modal .video-description-col h2,
  .image-modal .image-description-col h2 {
    font-size: 1.2rem;
  }
  .video-modal .video-description-col p,
  .video-modal .video-description-col .video-modal-date,
  .image-modal .image-description-col p,
  .image-modal .image-description-col .image-modal-sub {
    font-size: 0.85rem;
  }
}

/* International Projects */
.projects-section {
  padding: 2rem 0 4rem 0;
}

.projects-swiper {
  padding-bottom: 60px;
  padding-left: 80px;
  padding-right: 80px;
}

@media (max-width: 767.98px) {
  .projects-swiper {
    padding-left: 40px;
    padding-right: 40px;
  }
  .projects-section h2 {
    padding-left: 30px;
  }
  .projects-section .container {
    padding: 0;
  }
}

.project-card {
  background-color: #0f253d;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;

  width: 300px;
  height: 380px;
  flex-shrink: 0;
  margin: 0;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  box-sizing: border-box;
  transform: translateZ(0);
}

.project-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(15, 37, 61, 0.9);
  color: #ffffff;
  padding: 20px;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out, opacity 0.3s ease-out;
  border-radius: 0 0 8px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
}
.project-card:hover .project-image-overlay {
  height: 50%;
  opacity: 1;
}

.project-image-overlay h3 {
  font-family: "Schibsted Grotesk", sans-serif;
  color: #ffffff;
  font-weight: 400;
  font-size: 1.1rem;

  line-height: 1.3;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-image-overlay p {
  color: #ffffff;
  font-size: 0.85rem;
  line-height: 1.3;
  opacity: 0.9;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.projects-swiper .swiper-slide-active {
  transform: scale(1);
  z-index: 2;
  opacity: 1;
}

.projects-swiper .swiper-slide-prev,
.projects-swiper .swiper-slide-next {
  transform: scale(0.85);
  z-index: 1;
}

.projects-swiper
  .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(
    .swiper-slide-next
  ) {
  opacity: 0.8;
  transform: scale(0.85);
  z-index: 0;
}

.projects-swiper .swiper-slide {
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.projects-swiper + .swiper-pagination {
  bottom: -40px;
}
.projects-swiper + .swiper-pagination .swiper-pagination-bullet {
  background: #0f253d;
}

.projects-swiper + .swiper-pagination .swiper-pagination-bullet-active {
  background: #d1a569;
  opacity: 1;
  box-shadow: 0 0 0 5px #f8f9fa, 0 0 0 6px #e0b980;
}

.image-modal .modal-image-col img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.image-modal-description-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffff;
  flex-grow: 1;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
}

/*******************/
/*     Contact    */
/*******************/

.split .area-1 {
  padding-top: 9.25rem;
  padding-bottom: 9.75rem;
}

.split .area-2 {
  position: relative;
  overflow: hidden;
  height: 430px;
}

.split .area-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/contact.jpg") center center no-repeat;
  background-size: cover;
  transition: transform 0.5s ease;
  z-index: 0;
}

.split .area-2:hover::before {
  transform: scale(1.05);
}

.split h2 {
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.split p {
  color: #ffffff;
  margin-bottom: 2.25rem;
}

@media (min-width: 992px) {
  .split {
    display: flex;
  }
}

.contact-modal .modal-content {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.contact-modal .modal-header {
  border-bottom: none;
  padding: 20px 20px 0 20px;
  position: relative;
}

.contact-modal .modal-body {
  padding: 20px 40px 40px 40px;
}

.contact-modal h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-modal .intro-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-modal .form-label {
  font-size: 0.9rem;
  font-weight: bold;
  color: #0f253d;
  margin-bottom: 0.5rem;
}

.contact-modal .form-control,
.contact-modal .form-select {
  border-radius: 5px;
  border: 1px solid #0f253d;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  box-shadow: none;
}
.contact-modal .form-control:focus {
  border-color: #d1a569;
}

/* Bootstrap 驗證回饋顏色 */
.form-control.is-valid {
  border-color: #28a745;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.1-1.4 1.1-.9l1.1 1.4 3.4-3.8c.6-.63 1.6-.2 1.2.7z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.form-control.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.contact-modal textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
.contact-modal input::placeholder,
textarea::placeholder {
  color: #0f253d;
}

.recaptcha-placeholder {
  border: 1px solid #ced4da;
  background-color: #f0f0f0;
  height: 78px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  color: #6c757d;
  border-radius: 5px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.modal-backdrop.fade.show {
  background-color: rgba(15, 37, 61, 1);
}

@media (max-width: 767.98px) {
  .contact-modal .modal-body {
    padding: 20px;
  }
  .contact-modal h2 {
    font-size: 1.75rem;
  }
  .contact-modal .intro-text {
    font-size: 0.9rem;
  }
}

/******************/
/*     Footer     */
/******************/

.footer {
  color: #0f253d;
  padding: 4rem 0;
  font-size: 0.9rem;
  width: 100%;
}
.footer .footer-col {
  /*margin-bottom: 2rem;*/
  align-items: center;
  justify-content: center;
}

.footer-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0;
}

.footer p {
  line-height: 1.6;
}

.footer a {
  color: #0f253d;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer a:hover {
  /* color: #d1a569; */
}

/* Footer Logo */

.footer-logo img {
  max-height: 70px;
  margin-bottom: 1.5rem;
}

/* 訂閱表單 */
.subscribe-form {
  border-left: 1px solid #0f253d;
  padding-left: 3rem;
}
.subscribe-form p {
  font-size: 0.9rem;
}
.subscribe-form .input-group {
  max-width: 350px;
  margin-bottom: 1rem;
}
.subscribe-form .input-group ::placeholder {
  color: #ffffff;
}
.subscribe-form .form-control {
  color: #ffffff;
  border-radius: 8px;
  border: none;
  background-color: #c9caca;
  height: calc(2em + 1rem + 2px);
  padding: 0.375rem 1rem;
  -webkit-appearance: none;
}

.subscribe-form .btn-subscribe {
  background-color: #0f253d;
  color: #ffffff;
  font-weight: bold;
  border-color: #0f253d;
  border-radius: 8px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  min-height: 3rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.btn-subscribe {
  background-color: #d1a569;
  border-color: #d1a569;
  color: #ffffff;
}
.btn-subscribe:hover {
  background-color: #d1a569 !important;
  border-color: #d1a569 !important;
  color: #ffffff !important;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: end;
}
.footer-nav ul li {
  margin-bottom: 0.8rem;
  margin-left: 1rem;
}

.social-icons .btn {
  width: 40px;
  height: 40px;
  border-radius: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  text-decoration: none;
  color: #0f253d;
  background-color: transparent;
  border-color: #0f253d;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.social-icons .btn:hover {
  background-color: #0f253d;
  border-color: #0f253d;
  color: #efefef;
}
.social-icons .btn + .btn {
  margin-left: 0.75rem;
}

.copyright {
  padding-top: 2rem;

  text-align: left;
  font-size: 0.8rem;
  text-align: left;
}

@media (max-width: 991.98px) {
  .subscribe-form {
    border-left: none;
    padding-left: 0;
  }
  .footer-col {
    text-align: center;
    /*margin-bottom: 2.5rem;*/
  }
  .footer-col:last-child {
    margin-bottom: 0;
  }
  .footer-logo {
    text-align: center;
  }
  .subscribe-form .input-group {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 1.5rem;
  }
  .footer-nav ul li {
    margin-bottom: 0.5rem;
  }
  .social-icons {
    margin-top: 1.5rem;
  }
  .copyright {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .footer {
    padding: 2.7rem 0 2rem 0;
  }
  .footer-title {
    font-size: 1.2rem;
  }
  .footer-logo img {
    max-height: 56px;
    margin-bottom: 0;
  }
  .footer .footer-col {
    text-align: left;
    justify-content: left;
    margin-bottom: 1.5rem;
  }
  .subscribe-form p {
    font-size: 0.9rem;
  }
  .subscribe-form .input-group {
    max-width: 100%;
    margin-bottom: 2rem;
  }
  .footer-nav ul {
    justify-content: left;
  }
  .footer-nav ul li {
    margin-left: 3px;
  }
  .copyright {
    text-align: left;
    padding-top: 0;
  }
}

/* Cookie */
.cookie-consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0f253d;
  color: #ffffff;
  padding: 1.5rem 1rem;
  z-index: 1070;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-consent-bar .cookie-text {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
  text-align: left;
}

.cookie-consent-bar .cookie-text a {
  color: #d1a569;
  text-decoration: underline;
}
.cookie-consent-bar .cookie-text a:hover {
  color: #e0b980;
}

.cookie-consent-bar .cookie-buttons {
  display: flex;
  flex-shrink: 0;
  margin-left: 2rem;
  gap: 0.8rem;
}

/* Cookie 按鈕樣式 */
.btn-cookie-accept {
  background-color: #d1a569;
  color: #0f253d;
  border: 1px solid #d1a569;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-cookie-accept:hover {
  background-color: #e0b980;
  border-color: #e0b980;
  color: #0f253d;
}

.btn-cookie-refuse {
  background-color: transparent;
  color: #d1a569;
  border: 1px solid #d1a569;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-cookie-refuse:hover {
  background-color: #d1a569;
  color: #0f253d;
}
.btn-cookie-close {
  position: absolute;
  top: 3px;
  right: 4px;
  background-color: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1;
  padding: 0.25rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 1071;
}
.btn-cookie-close:hover {
  color: #d1a569;
  opacity: 0.8;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 200px;
  }
  .cookie-consent-bar {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  .cookie-consent-bar .cookie-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  .cookie-consent-bar .cookie-buttons {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    gap: 0.5rem;
  }
  .cookie-consent-bar .btn-cookie-accept,
  .cookie-consent-bar .btn-cookie-refuse {
    width: 100%;
    font-size: 0.8rem;
    padding: 0.7rem 1rem;
  }
}

/*************************/
/*     Media Queries     */
/*************************/
@media (max-width: 1200px) {
  .btn-lightblue {
    min-height: 5.1rem;
  }
}

@media (max-width: 991px) {
  .btn-close {
    top: 0;
    right: 0;
  }
  .navbar .dropdown-menu {
    background-color: #0f253d;
  }
  .navbar .dropdown-item {
    color: #ffffff;
    font-size: 1rem;
  }
  .navbar .nav-item .nav-link {
    font-size: 1.1rem;
    font-weight: 600;
  }
  .navbar .dropdown-item:hover {
    background-color: #0f253d;
  }

  .overlay:after {
    --size: 600px;
  }
  .feature-section .image-container {
    margin-bottom: 1.5rem;
  }
  .video-section {
    padding: 2rem 0 4rem 0;
  }
}

@media (max-width: 575px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }
  .navbar {
    padding: 0px;
  }
  .navbar .logo-image img {
    height: 66px;
    margin-left: -13px;
  }
  .hero {
    padding: 7rem 0 4rem 0;
    min-height: 85vh;
  }
  .hero .block h1 {
    font-size: 2.6rem;
  }
  .hero .block p {
    font-size: 1rem;
  }
  .header-hero {
    padding: 6rem 0 4rem 0;
    height: 50vh;
  }
  .header-hero .block h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
  }
  .header-hero .block p {
    font-size: 1.1rem;
  }
  .intro-section {
    padding: 2rem 0;
  }
  .intro-section .intro-text {
    font-size: 1.5rem;
    line-height: 1.5;
  }
  .overlay:after {
    --size: 500px;
  }
  .btn-lightblue {
    min-height: 4.8rem;
  }
  .feature-section {
    padding: 0 0 3rem 0;
    background: none;
  }
  .feature-section .container {
    padding: 0;
  }
  .feature-section .image-container {
    border-radius: 0px;
  }
  .feature-text {
    padding: 0 30px;
  }
  .research-section {
    padding: 2rem 0 0 0;
  }
  .feature-article {
    margin-bottom: 3rem;
  }
}

@media (max-width: 412px) {
  .navbar .logo-image img {
    height: 60px;
  }
  .hero .block h1 {
    font-size: 2.2rem;
  }
  .header-hero .block h1 {
    font-size: 2.2rem;
  }
}
/* Min-width 768px */
@media (min-width: 768px) {

  /* Contact */
  .form-1 .list-unstyled li {
    display: inline-block;
    margin-right: 1rem;
  }
  /* end of contact */

}
/* end of min-width 768px */

/* Min-width 992px */
@media (min-width: 992px) {
  /* Navigation */
  .navbar {
    padding-top: 1.75rem;
    background-color: transparent;
    box-shadow: none;
    transition: all 0.3s;
  }

  .navbar.top-nav-collapse {
    padding-top: 0.5rem;
    padding-bottom: 0rem;
    background-color: #0f253d;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.025);
  }

  .offcanvas-collapse {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    width: auto;
    padding-right: 0;
    padding-left: 0;
    background-color: transparent;
    overflow-y: visible;
    visibility: visible;
  }

  .offcanvas-collapse.open {
    -webkit-transform: none;
    transform: none;
  }

  .navbar .navbar-nav {
    margin-top: 0.05rem;
    margin-bottom: 0;
  }

  .navbar .nav-item .nav-link {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .navbar .dropdown-menu {
    border-top: #d1a569 3px solid;
    padding-top: 0.75rem;
    padding-bottom: 0.875rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  }

  /* end of navigation */



  /* Details */
  .split {
    height: 786px;
  }

  .split .area-1 {
    height: 100%;
    width: 50%;
    display: inline-block;
  }

  .split .area-2 {
    height: 100%;
    width: 50%;
    display: inline-block;
    padding-bottom: 0;
    vertical-align: top;
  }

  .split .text-container {
    width: 400px;
    margin-left: 3rem;
  }
  /* end of details */
}
/* end of min-width 992px */

/* Min-width 1200px */
@media (min-width: 1200px) {
  /* General Styles */
  .container {
    max-width: 1140px;
  }
  /* end of general styles */


  /* Details */
  .split {
    height: 708px;
  }

  .split .text-container {
    width: 450px;
    margin-left: 6rem;
  }
  /* end of details */
}
/* end of min-width 1200px */
