@charset "UTF-8";
html body {
  font-family: graphik, sans-serif;
  font-size: 16px;
}

body::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 0;
  height: 0;
}

*:not(input):not(textarea) {
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.navbar {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0;
  height: 52px;
}
.navbar #frmLanguage button {
  color: hsl(207, 29%, 26%);
}
.navbar .navbar-end .navbar-item {
  margin-left: 50px;
}
.navbar .navbar-item,
.navbar .navbar-link {
  color: hsl(207, 29%, 26%);
}
.navbar .logo img {
  max-width: 90px;
  height: auto;
  margin-left: 15px;
}
.navbar .navbar-item,
.navbar .language {
  margin-right: 15px;
}
.navbar .navbar-item.is-active {
  color: rgb(46, 89, 167);
  font-weight: 600;
}
.navbar .navbar-dropdown {
  background-color: rgba(255, 255, 255, 0.8);
}
.navbar .navbar-dropdown a {
  margin-left: 0 !important;
}
.navbar .navbar-dropdown a:hover {
  background-color: rgba(200, 200, 200, 0.8);
}

#main-container {
  min-height: 100vh;
  display: flex;
  flex-flow: column nowrap;
}

#content {
  flex: 1;
  transform: translate3d(0, 0, 0);
  overflow: hidden;
  padding-bottom: 80px;
}
#content .project-summary {
  margin: 15px;
  color: rgb(115, 117, 120);
}
#content .project-summary .title {
  font-size: 12px;
  font-weight: bold;
  color: rgb(47, 68, 85);
}
#content .video {
  margin-top: 10px;
  margin-bottom: 10px;
}
#content .video .row {
  display: flex;
}
#content .video .row .heading {
  width: 120px;
}
#content .video .row .title {
  font-size: 12px;
  font-weight: bold;
  color: rgb(47, 68, 85);
}
#content .homepage .swiper-container {
  height: calc((100vw - 30px) / 2.1);
}
#content .banner-caption {
  margin-top: 1rem;
}
#content .swiper-container {
  width: calc(100vw - 30px);
  height: calc((100vw - 30px) / 2.3);
}
#content .swiper-container .swiper-slide {
  transform: translate3d(0, 0, 0);
  background-size: cover;
}
#content .swiper-container .swiper-slide:after {
  content: "";
  z-index: 3;
  position: absolute;
  width: 100%;
  height: 120px;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.8) 100%);
}
#content .swiper-container .swiper-slide .caption {
  position: absolute;
  bottom: 15px;
  margin-left: 15px;
  color: white;
  font-size: 1.4rem;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
  padding: 10px 10px;
  z-index: 4;
}
#content .swiper-container .swiper-pagination-bullet {
  opacity: 0.9;
  background-color: #d4dfe6;
}
#content .swiper-container .swiper-pagination-bullet-active {
  background: #0080ff;
}

.is-link {
  cursor: pointer;
}

.masonry {
  margin: 0 15px;
}
.masonry .item .caption {
  font-size: 12px;
  font-weight: bold;
  color: rgb(47, 68, 85);
  height: 36px;
  vertical-align: top;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
  -webkit-box-orient: vertical;
}

.modal .modal-content {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  width: 100vw;
  height: 100vh;
}
.modal .modal-content .btn-navi {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}
.modal .modal-content .btn-navi svg {
  width: 50px;
  height: 50px;
  fill: white;
}
.modal .modal-content .btn-navi svg:hover {
  cursor: pointer;
}
.modal .modal-content .btn-navi.left {
  left: 5px;
  display: none;
}
.modal .modal-content .btn-navi.right {
  right: 5px;
  display: none;
}
.modal .modal-content .image {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  width: 100%;
  height: 100%;
}

#aboutPageContainer {
  min-height: 600px;
  padding-top: 2rem;
}
#aboutPageContainer .column.left {
  padding: 0 1.5rem;
}
#aboutPageContainer .column.left .section-title {
  font-weight: 600;
  margin-bottom: 1.5rem;
}
#aboutPageContainer .column.left p {
  margin-bottom: 1rem;
}
#aboutPageContainer .column.right {
  padding: 0 1.5rem;
}
#aboutPageContainer .column.right .section-title {
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
#aboutPageContainer .column.right p {
  margin-bottom: 0.2rem;
  font-size: 14px;
}
#aboutPageContainer .column.right p:first-child {
  margin-bottom: 1.5rem;
}
#aboutPageContainer .column.right img {
  max-width: 200px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

#main-container {
  padding-bottom: 0;
}

/* 如果使用了 Bulma 的 .footer 类，可能需要覆盖一些默认样式 */
.footer.fixed-footer {
  padding: 1rem;
  margin: 0;
}

.motions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 95%;
}
@media (max-width: 768px) {
  .motions-grid {
    grid-template-columns: 1fr;
  }
}
