@charset "UTF-8";
.cm-navbar .navbar-nav .nav-link {
  font-size: 18px;
  padding-left: 16px;
  padding-right: 16px;
  color: #212529;
}
.cm-navbar .navbar-nav .nav-link.active {
  color: #9F8766;
}

.navbar-nav-scroll {
  max-width: 100%;
  height: 2.5rem;
  /*margin-top: .25rem;*/
  overflow: hidden;
}

.navbar-nav-scroll .navbar-nav {
  /*padding-bottom: 2rem;*/
  overflow-x: auto;
  white-space: nowrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  -webkit-overflow-scrolling: touch;
}

.cm-hidden {
  display: none;
}

.cm-pointer {
  cursor: pointer;
}

.cm-ff-yh {
  font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", serif;
}

.cm-block-head-bottom {
  border-bottom: solid 2px;
  border-color: #007bff;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.cm-trans-bottom {
  width: 100%;
  bottom: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.4);
}

.cm-media-img {
  max-width: 180px;
  max-height: 120px;
}

@media screen and (max-width: 767px) {
  .cm-media-img {
    max-width: 120px;
    max-height: 80px;
  }
}
.cm-link {
  color: #212529;
}
.cm-link:hover {
  color: #7B684E;
}

/* Category links in article lists */
.media-body .float-left a {
  color: #7B684E !important;
}
.media-body .float-left a:hover {
  color: #5e4f3b !important;
}

.es-highlight em {
  color: #dc3545;
  font-style: normal;
}

/* Article Content Responsive Images */
.article-content img {
  max-width: 100%;
  height: auto !important;
}

/* Checkbox and Radio active color */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  accent-color: #7B684E !important;
}

/* Bootstrap Custom Checkbox/Radio override just in case */
.custom-control-input:checked ~ .custom-control-label::before {
  border-color: #7B684E !important;
  background-color: #7B684E !important;
}

/* Breadcrumb links */
nav[aria-label="breadcrumb"] a {
  color: #7B684E !important;
}
nav[aria-label="breadcrumb"] a:hover {
  color: #5e4f3b !important;
}

/* Override Bootstrap primary button color */
.btn-primary, nav[aria-label="breadcrumb"] a.btn-primary {
  background-color: #7B684E !important;
  border-color: #7B684E !important;
  color: #fff !important;
}

/* Pagination Active State */
.page-item.active .page-link {
  background-color: #7B684E !important;
  border-color: #7B684E !important;
  color: #fff !important;
}

/* Pagination Link Color */
.page-link {
  color: #7B684E !important;
}
.page-link:hover {
  color: #5e4f3b !important;
}

/* H5 Link Color (e.g. Message Board Title) */
h5 a, .h5 a {
  color: #7B684E !important;
}
h5 a:hover, .h5 a:hover {
  color: #5e4f3b !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active,
nav[aria-label="breadcrumb"] a.btn-primary:hover {
  background-color: #5e4f3b !important;
  border-color: #5e4f3b !important;
  color: #fff !important;
}

/* Footer Styles from style.css */
/* Sticky Footer Setup */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.footer {
    background: #222;
    color: #ccc;
    padding: 50px 0 30px;
    font-size: 14px;
    border-top: none;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.footer-left {
    flex: 0 0 auto;
}

.footer-site-url {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
}

.footer-hotline {
    color: #fff;
}

.hotline-title {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 5px;
}

.hotline-number {
    font-size: 28px;
    color: #fff;
    font-family: sans-serif;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 40px;
}

.qr-group {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.qr-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
}

.qr-box {
    width: 90px;
    height: 90px;
    background: #fff;
    padding: 5px;
    margin-bottom: 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-box img {
    width: 100%;
    height: 100%;
}

.qr-item p {
    font-size: 12px;
    color: #aaa;
    line-height: 1.4;
    white-space: nowrap;
}

/* Logo Item specific styles */
.qr-item.logo-item {
    width: auto;
    margin: 0 10px;
    justify-content: center;
    height: 90px; /* Align with QR box height */
}

.logo-box {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-box img {
    height: 50px; /* Adjust based on actual logo aspect ratio */
    width: auto;
    max-width: 180px;
}

.footer-right {
    flex: 0 0 auto;
    align-self: flex-start;
    position: absolute;
    top: 0;
    right: 0;
}

/* Back to Top Button */
.back-top-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.back-top-btn:hover {
    background: #444;
    border-color: #777;
}

.arrow-up {
    width: 10px;
    height: 10px;
    border-top: 2px solid #888;
    border-left: 2px solid #888;
    transform: rotate(45deg);
    margin-top: 4px;
}

/* Copyright Bar */
.copyright-bar {
    text-align: center;
    color: #888;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 10px;
    color: #666;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copyright-text {
    display: flex;
    gap: 20px;
    color: #888;
}

.icp-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.icp-link:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        position: static;
    }

    .footer-right {
        position: static;
        margin-top: 20px;
        align-self: center;
    }

    .footer-center {
        margin: 30px 0;
    }

    .qr-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .qr-item.logo-item {
        margin-bottom: 0;
        width: 100%;
        height: auto;
        margin: 20px 0;
    }
}

@media (max-width: 768px) {
    /* Footer Mobile */
    .footer {
        padding: 30px 0;
    }
    .footer-content {
        gap: 30px;
    }
    .qr-group {
        gap: 10px;
        justify-content: center;
    }
    .qr-item {
        width: 80px;
    }
    .qr-box {
        width: 70px;
        height: 70px;
    }
    .qr-item.logo-item {
        height: 70px;
    }
    .hotline-number {
        font-size: 24px;
    }
}