* {
  transition: background-color 0.3s ease, color 0.2s ease;
}
:root {
  --bs-body-bg: #fff;
  --bs-body-color: #212529;
}
[data-bs-theme="dark"] {
  --bs-body-bg: #212529;
  --bs-body-color: #f8f9fa;
}
body {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

#container {
  padding: 0;
}
  #container a:link, a:visited {
    font-family: 'Segoe UI', sans-serif;
    font-size: 18px;
    text-decoration: none;
  }
  #container a:hover {
    text-decoration: underline;
  }

#footer {
  width: 100%;
  background-color: #00468C;
}
  #footer a {
    color: #fff;
  }
  #footer a:link, a:visited {
    font-size: 12px;
    color: #333;
    text-decoration: none;
  }
  #footer a:hover {
    text-decoration: underline;
  }
  #footer .copy {
    padding: 20px 0;
    color: #fff;
    font-size: 12px;
    text-align: center;
    line-height: 18px;
    height: 60px;
  }

.banner {
  background-color: #00468C;
}
  .line {
    height: 4px; 
    width: 100%; 
    background-color: #8C0000;
  }
  .topbar {
    height: 140px; 
    width: 100%;
    background-color: #00468C;
  }
  .header {
    padding: 0;
    background-color: #003366;
  }
  .logo {
    height: 65px;
    margin: 35px 0;
  }

  .top-carousel {
    padding: 0 0 20px;
  }

  .carousel-inner {
    margin: auto;
    height: 360px;
  }
  .carousel-item img {
    padding: 0;
    width: 100%;
    min-height: 360px;
    max-height: 360px;
    object-fit: cover;
  }

.middle-bar {
  height: 240px; 
  width: auto;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
  .middle-img {
    padding: 0 10px;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }

#back-to-top {
  position: fixed;
  color: #fff;
  background-color: rgba(102, 102, 102, 0.3);
  border-radius: 5px;
  bottom: 50px;
  right: 50px;
}
  #back-to-top a {
    color: #fff;
  }
  #back-to-top a:hover {
  color: #fff;
  background-color: rgba(102, 102, 102, 1);
  }
  
.tag-cloud {
  margin: 10px;
  line-height: 2em;
}
  .tag-cloud a {
    margin-top: 15px;
    text-decoration: none; /* 去掉下划线 */
    }
  .tag-cloud .tag {
    font-size: 12px; /* 默认字体大小 */
    background-color: #f0f0f0;
    padding: 0 10px;
    color: #333;
    border-radius: 3px;
    display: inline-block;
  }