:root, [data-bs-theme="light"] {
  --bs-body-bg: #efeae0;
  --bs-body-bg-rgb: 239, 234, 224;
  --bs-body-color: #404040;
  --bs-body-font-size: 1.15rem;
  --bs-post-color: #303030;
  --bs-primary: #9e1912;
  --bs-primary-rgb: 158, 25, 18;
  --bs-secondary: #976f33;
  --bs-secondary-rgb: 151, 111, 51;
  --bs-secondary-color: grey;
  --bs-secondary-bg-subtle: #c3af90;
  --bs-link-color: #996633;
  --bs-link-hover-color: #604020;
  --bs-menu-bg: transparent;
  --bs-menu-color: var(--bs-link-color);
  --bs-menu-active-bg: var(--bs-secondary);
  --bs-menu-active-color: #261a0d;
  --bs-menu-hover-bg: var(--bs-menu-bg);
  --bs-menu-hover-color: var(--bs-link-hover-color);
  --bs-heading-color: var(--bs-primary);
  --bs-bg-image-filter: none;
}
[data-bs-theme="dark"] {
  --bs-body-bg: #343a40;
  --bs-body-bg-rgb: 52, 58, 64;
  --bs-body-color: #a0a0a0;
  --bs-post-color: #d0d0d0;
  --bs-primary: #d65d3c;
  --bs-primary-rgb: 214, 93, 60;
  --bs-secondary: #868e96;
  --bs-secondary-rgb: 134, 142, 150;
  --bs-link-color: #00bfff;
  --bs-link-hover-color: #4dd2ff;
  --bs-bg-image-filter: invert(1);
}
:root {
  --bs-border-radius-lg: 0.25rem;
}
@font-face {
  font-family: "ChineseRangedHeading";
  src: url("/assets/fonts/FZ-Mei-Hei-M07S.woff2") format("woff2"), local("FZ Mei Hei M07S"), local("FZ Mei Hei"), local("FZMeiHei-M07S"), local("FangSong"), local("SimSun");
  /*url('/assets/fonts/FZ-Mei-Hei-M07S.woff') format('woff'),
       url('/assets/fonts/FZ-Mei-Hei-M07S.ttf') format('truetype'),*/
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+F900-FAFF, U+FF00-FFEF, U+3000-303F;
  font-display: swap;
}
@font-face {
  font-family: "ChineseRangedBody";
  src: url("/assets/fonts/microsoft-yahei-regular.woff2") format("woff2"), local("Microsoft YaHei"), local("FangSong"), local("SimSun");
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+F900-FAFF, U+FF00-FFEF, U+3000-303F;
  font-display: swap;
}
.font-meihei {
  font-family: "ChineseRangedHeading", "BlinkMacSystemFont", "Avenir Next", Avenir, Candara, Calibri, Segoe, "Segoe UI", Optima, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.font-yahei {
  font-family: "ChineseRangedBody", "BlinkMacSystemFont", "Avenir Next", Avenir, Candara, Calibri, Segoe, "Segoe UI", Optima, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body {
  font-family: "ChineseRangedBody", "BlinkMacSystemFont", "Avenir Next", Avenir, Candara, Calibri, Segoe, "Segoe UI", Optima, "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  margin-top: 26px;
}
h1, h2, h3 {
  font-family: "ChineseRangedHeading", "BlinkMacSystemFont", "Avenir Next", Avenir, Candara, Calibri, Segoe, "Segoe UI", Optima, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.min-vh-75 {
  min-height: 75vh;
}
.full-bg-1 {
  background: url("/assets/images/full-bg-1.jpg") no-repeat top center;
  background-size: cover;
}
.full-head-bg-1 {
  background-image: url("/assets/images/full-bg-1-bo.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1920px auto;
}
.full-bg-2 {
  background: url("/assets/images/full-bg-2.jpg") no-repeat top center;
  background-size: cover;
}
.full-head-bg-2 {
  background-image: url("/assets/images/full-bg-2-bo.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1920px auto;
}
.full-bg-3 {
  background: url("/assets/images/full-bg-3.jpg") no-repeat top center;
  background-size: cover;
}
.full-head-bg-3 {
  background-image: url("/assets/images/full-bg-3-bo.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1920px auto;
}
.full-bg-4 {
  background: url("/assets/images/full-bg-4.jpg") no-repeat top center;
  background-size: cover;
}
.full-head-bg-4 {
  background-image: url("/assets/images/full-bg-4-bo.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1920px auto;
}
.full-bg-5 {
  background: url("/assets/images/full-bg-5.jpg") no-repeat top center;
  background-size: cover;
}
.full-head-bg-5 {
  background-image: url("/assets/images/full-bg-5-bo.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1920px auto;
}
.full-bg-6 {
  background: url("/assets/images/full-bg-6.jpg") no-repeat top center;
  background-size: cover;
}
.full-head-bg-6 {
  background-image: url("/assets/images/full-bg-6-bo.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1920px auto;
}
.full-bg-7 {
  background: url("/assets/images/full-bg-7.jpg") no-repeat top center;
  background-size: cover;
}
.full-head-bg-7 {
  background-image: url("/assets/images/full-bg-7-bo.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1920px auto;
}
.full-bg-8 {
  background: url("/assets/images/full-bg-8.jpg") no-repeat top center;
  background-size: cover;
}
.full-head-bg-8 {
  background-image: url("/assets/images/full-bg-8-bo.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1920px auto;
}
.full-bg-9 {
  background: url("/assets/images/full-bg-9.jpg") no-repeat top center;
  background-size: cover;
}
.full-head-bg-9 {
  background-image: url("/assets/images/full-bg-9-bo.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1920px auto;
}
.full-bg-10 {
  background: url("/assets/images/full-bg-10.jpg") no-repeat top center;
  background-size: cover;
}
.full-head-bg-10 {
  background-image: url("/assets/images/full-bg-10-bo.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1920px auto;
}
.top-bar {
  background: url("/assets/images/top-bar-bg.png") repeat-x center center;
  height: 26px;
  width: 100vw;
  position: fixed;
  top: 0;
  z-index: 1000;
  font-size: 1rem;
}
.top-bar a {
  color: white !important;
  text-decoration: none !important;
}
.navbar-first {
  border-bottom: 1px solid #999;
}
.flex-break {
  flex-basis: 100%;
  height: 0;
}
.navbar-float {
  transition: all 0.3s ease;
  position: fixed;
  top: var(--bs-top-bar-height);
  left: 0;
  right: 0;
  z-index: 999;
}
.navbar-float.sticky {
  background-color: rgba(var(--bs-body-bg-rgb), 0.9);
}
@media (min-width: 768px) {
  .navbar-float.sticky {
    position: fixed;
    top: 26px;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: rgba(var(--bs-body-bg-rgb), 0.9);
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.search-bar {
  display: flex;
  border: 1px solid #ddd;
  background-color: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.search-bar input {
  border: none;
  outline: none;
  padding: 10px 15px;
  font-size: 14px;
  width: 200px;
  background: transparent;
}
.search-bar button {
  border: none;
  background: #f8f9fa;
  cursor: pointer;
  padding: 10px 15px;
  color: #555;
  border-left: 1px solid #ddd;
  transition: background-color 0.2s;
}
.search-bar button:hover {
  background: #e9ecef;
}
.social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background-color: white;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.social-icons a:hover {
  color: #981E1E;
  border-color: #981E1E;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.navbar-nav .nav-item:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: var(--bs-menu-color);
  opacity: 0.5;
  font-weight: bold;
}
.navbar-nav .nav-item {
  position: relative;
  padding-right: 0;
  margin-right: 0.5rem;
  font-weight: normal;
}
.navbar-nav.menu-secondary {
  position: absolute;
  bottom: 0;
}
.navbar-nav.menu-secondary .nav-link-inner {
  color: var(--bs-primary);
}
.navbar-nav .nav-link {
  color: var(--bs-menu-color);
}
.nav-item.hide-if-active.active {
  display: none;
}
.nav-item.active .nav-link-inner {
  border-bottom: 2px solid var(--bs-primary);
  color: var(--bs-primary);
  font-weight: bold;
}
.menu-secondary .nav-item.active .nav-link-inner {
  border-bottom: 0;
}
.nav-item span[lang="zh"] {
  font-size: 0.8rem;
  font-weight: normal;
}
.navbar-nav .nav-item:last-child {
  margin-right: 0;
}
.navbar-nav .nav-item:last-child .nav-link {
  padding-right: 0 !important;
}
ul.menu-has-secondary .nav-item {
  display: none;
}
ul.menu-has-secondary .nav-item.active, ul.menu-has-secondary .nav-item.path-index {
  display: list-item;
}
ul.menu-has-secondary .nav-item.active a {
  color: var(--bs-primary);
}
ul.menu-has-secondary .nav-item.active a span.label-default {
  border-bottom: 0;
}
@media (max-width: 768px) {
  #navbarCollapse {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 1em;
    border-radius: 6px;
  }
  .navbar-nav .nav-item:not(:last-child)::after {
    display: none;
  }
  .navbar-nav.menu-secondary {
    position: relative;
    bottom: auto;
  }
}
.highlight {
  background: var(--bs-primary) url("/assets/images/corner-white.png") no-repeat right top;
  border-radius: 2px;
  color: white;
  margin-top: 15rem !important;
}
.red-bar-bg {
  background: var(--bs-primary) url("/assets/images/red-bar-bg.jpg") repeat center center;
}
.opaque-body-bg {
  background-color: rgba(var(--bs-body-bg-rgb), 0.8) !important;
}
.move-up-4 {
  position: relative;
  top: -1.5rem;
  margin-bottom: -1.5rem !important;
}
.pillars {
  position: relative;
  top: -3rem;
}
@media (min-width: 992px) {
  .pillar {
    position: relative;
  }
  .pillar:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 17%;
    right: 0;
    width: 2px;
    height: 66%;
    background-color: var(--bs-body-color);
  }
}
.pillar-carousel {
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 80px;
}
.pillar-content {
  position: relative;
  transition: transform 0.5s ease-in-out;
  display: flex;
  flex-direction: row;
}
.pillar-text {
  flex-shrink: 0;
  width: auto;
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.pillar-text p {
  margin: 0;
  text-align: left;
  overflow: hidden;
}
.btn-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: #7c140e;
  --bs-btn-hover-border-color: #70120d;
  --bs-btn-active-bg: #70120d;
  --bs-btn-active-border-color: #65100b;
}
.btn-secondary {
  --bs-btn-bg: var(--bs-secondary);
  --bs-btn-border-color: var(--bs-secondary);
  --bs-btn-hover-bg: #7a5a29;
  --bs-btn-hover-border-color: #715326;
  --bs-btn-active-bg: #715326;
  --bs-btn-active-border-color: #674c23;
}
.tile-image {
  margin-bottom: 1rem;
}
.tile {
  padding: 1rem;
  margin-bottom: 1rem;
}
.tile h2 {
  color: white;
}
.tile.arrow-top-66 {
  background-image: url("/assets/images/arrow-down.png");
  background-repeat: no-repeat;
  background-position: calc(66.666% - 12.5px) 0;
  background-size: 25px auto;
}
.tile.arrow-bottom-33 {
  background-image: url("/assets/images/arrow-up.png");
  background-repeat: no-repeat;
  background-position: calc(33.333% - 12.5px) 100%;
  background-size: 25px auto;
}
.tile .tile-image {
  margin-bottom: 0 !important;
}
@media (max-width: 992px) {
  footer {
    text-align: center;
  }
  footer .social-icons {
    justify-content: center;
  }
}
.bottom-bar {
  margin-top: 0.5rem;
  height: 1.5rem;
  background: url("/assets/images/top-bar-bg.png") repeat-x center center;
  height: 26px;
}
.floating-bg-right {
  position: relative;
  overflow: visible;
}
.floating-bg-right::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -50vw;
  bottom: 0;
  background-color: inherit;
  z-index: -1;
  width: 100vw;
}
.floating-bg-left {
  position: relative;
  overflow: visible;
}
.floating-bg-left::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: -50vw;
  bottom: 0;
  background-color: inherit;
  z-index: -1;
  width: 50vw;
}
.breadcrumbs li {
  position: relative;
}
.breadcrumbs li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  font-weight: bold;
}
.breadcrumbs li[lang="zh"] {
  font-size: 0.8rem;
  font-weight: normal;
}
.keywords li {
  margin-right: 0 !important;
}
.page, .article {
  margin-bottom: 3rem;
  font-size: 1.2rem;
  color: #808080;
}
.page p, .article p {
  text-align: justify;
}
.page h1, .article h1 {
  margin-top: 5rem;
  font-size: 2.5rem;
}
.page h1, .page h2, .article h1, .article h2 {
  color: black;
}
.page h2[lang="zh"], .article h2[lang="zh"] {
  font-size: 1.8rem;
}
.page [lang="zh"], .article [lang="zh"] {
  font-size: 1.35rem;
}
.page h1:has(+ h2), .article h1:has(+ h2) {
  line-height: 1;
  margin-bottom: 0;
  font-weight: 600;
}
.page h1 + h2[lang="zh"], .article h1 + h2[lang="zh"] {
  font-weight: normal;
  margin-bottom: 1rem;
}
.page .full-width-image, .article .full-width-image {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 992px) {
  .page .full-width-image, .article .full-width-image {
    left: calc(50% - 0);
  }
}
.page h1 {
  margin-top: 5rem;
}
.article-view h1, .article-view h2, .article-view h2[lang="zh"], .article-view h2.subtitle {
  text-align: center;
}
.article-view h1 + h2 {
  margin-left: auto;
  margin-right: auto;
}
.article-view h2, .event-view h2 {
  margin-bottom: 2rem;
  margin-top: 3rem;
  font-size: 1.75rem !important;
  text-align: left;
}
.article-view h1 + h2, .event-view h1 + h2 {
  margin-top: 0.5rem !important;
  max-width: 75%;
}
.article-view h2.subtitle, .event-view h2.subtitle {
  margin-bottom: 4rem !important;
  font-size: 2rem;
}
.article-view h2[lang="zh"], .event-view h2[lang="zh"] {
  margin-bottom: 5rem !important;
  font-size: 1.8rem;
}
.article-view h3, .event-view h3 {
  margin-top: 2rem;
  font-size: 1.5rem;
}
.article-view h1, .article-view h2, .article-view h3, .article-view h4, .event-view h1, .event-view h2, .event-view h3, .event-view h4 {
  color: black;
}
.article-view p > img, .event-view p > img {
  display: block;
  margin: 2rem auto;
}
@media (min-width: 1200px) {
  .article-view p > img, .event-view p > img {
    max-width: 83%;
  }
}
.article-view figure > img, .event-view figure > img {
  display: block;
}
@media (min-width: 1200px) {
  .article-view figure > img, .event-view figure > img {
    max-width: 83%;
  }
}
.article-view .table-container, .event-view .table-container {
  margin: 2rem auto;
}
@media (min-width: 1200px) {
  .article-view .table-container, .event-view .table-container {
    max-width: 83%;
  }
}
.article-view table, .event-view table {
  min-width: 840px;
  table-layout: fixed;
  font-size: 1rem !important;
}
.article-view table th, .event-view table th {
  text-align: center;
}
.article-view table td, .event-view table td {
  text-align: left;
  background-color: transparent;
  color: var(--bs-body-color) !important;
}
.meta {
  text-align: right;
  font-size: 0.8rem;
  color: var(--bs-secondary-color);
  margin-bottom: 3rem;
}
footer {
  font-size: 1rem;
}
@media (min-width: 992px) {
  footer.page-footer {
    padding-left: 1rem;
  }
}
.text-small {
  font-size: 0.75rem !important;
}
body.article-body header {
  padding-top: 1px;
}
.content-filters {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: sticky;
  top: 2rem;
}
.content-filters .filter-form h5 {
  color: var(--bs-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--bs-primary);
  padding-bottom: 0.5rem;
}
.content-filters .filter-form .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}
.content-filters .filter-form .keywords-checkboxes {
  overflow-y: auto;
  max-height: 250px;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 0.75rem;
  background-color: transparent;
}
.content-filters .filter-form .keywords-checkboxes .form-check {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding-right: 0.5rem;
}
.content-filters .filter-form .keywords-checkboxes .form-check .form-check-input {
  margin-top: 0.125rem;
}
.content-filters .filter-form .keywords-checkboxes .form-check .form-check-label {
  font-size: 0.9rem;
  color: #495057;
  cursor: pointer;
  margin-left: 0.25rem;
}
.content-filters .filter-form .btn {
  font-size: 0.875rem;
  font-weight: 500;
}
.content-filters .filter-form .btn i {
  margin-right: 0.25rem;
}
.content-filters .filter-form .form-control-sm, .content-filters .filter-form .form-select {
  font-size: 0.875rem;
}
.content-filters .filter-form .small {
  font-size: 0.75rem;
  color: #6c757d;
}
@media (max-width: 768px) {
  .content-filters {
    position: static;
    margin-bottom: 1rem;
  }
  .content-filters .keywords-checkboxes {
    max-height: 200px;
  }
}
.text-justify {
  text-align: justify;
}
.ratio-sm {
  position: relative;
  width: 100%;
  height: 0;
}
.ratio-sm > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.ratio-sm.ratio-2x3 {
  padding-top: 150%;
}
.ratio-sm.ratio-3x4 {
  padding-top: 133%;
}
.ratio-sm.ratio-4x3 {
  padding-top: 75%;
}
.ratio-sm.ratio-16x9 {
  padding-top: 56.25%;
}
@media (min-width: 768px) {
  .ratio-md {
    position: relative;
    width: 100%;
    height: 0;
  }
  .ratio-md > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .ratio-md.ratio-2x3 {
    padding-top: 150%;
  }
  .ratio-md.ratio-3x4 {
    padding-top: 133%;
  }
  .ratio-md.ratio-4x3 {
    padding-top: 75%;
  }
  .ratio-md.ratio-16x9 {
    padding-top: 56.25%;
  }
}
.ratio.ratio-2x3 {
  padding-top: 150%;
}
.ratio.ratio-3x4 {
  padding-top: 133%;
}
.ratio-cover > img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}
.text-ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
}
.text-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}
@media (min-width: 992px) {
  .text-clamp-3 {
    -webkit-line-clamp: 3;
    max-height: calc(1.5em * 3);
  }
}
.text-clamp-4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}
@media (min-width: 992px) {
  .text-clamp-4 {
    -webkit-line-clamp: 4;
    max-height: calc(1.5em * 4);
  }
}
blockquote {
  font-size: 1rem !important;
  padding-left: 1rem;
  margin: 3rem 2rem;
  border-left: 2px solid #ccc;
}
blockquote p {
  text-align: left !important;
}
figure.figure-caption {
  font-size: 0.8em !important;
}
.carousel-caption {
  text-shadow: 1px 1px 2px black, -1px -1px 2px black, 1px -1px 2px black, -1px 1px 2px black;
}
