* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0px auto;
  /* 宽度保持不变 */
  /*font-family: "Microsoft YaHei", sans-serif;*/
  font-family: "MyCustomFont", sans-serif;
  color: #333;
  box-shadow: 0 14px 8px rgba(0, 0, 0, 0.2);
}

.content {
  margin: 0px auto;
  max-width: 1200px;
  /* 宽度保持不变 */
  /*font-family: "Microsoft YaHei", sans-serif;*/
  font-family: "MyCustomFont", sans-serif;
  color: #333;
  box-shadow: 0 14px 8px rgba(0, 0, 0, 0.2);
}

a {
  text-decoration: none;
  color: #333;
}

.logo img {
  height: 100px;
  /* 按实际调整 */
}

.lang-switch a {
  margin-left: 10px;
  font-size: 14px;
}

/* 幻灯片容器 - 调整高度 */
.slideshow-section {
  margin: 5px 0px 50px 0px;
  /* max-width: 1200px;*/
  /* 宽度保持不变 */
  padding: 0;
}



.slide {
  display: none;
  /* 保持图片宽度100%，但允许高度自动调整并在容器内裁剪 */
}

.slide img {
  width: 100%;
  /* 高度自动调整，保持宽高比 */
  height: auto;
  /* 关键：确保图片在容器内垂直居中显示，如果图片高度超过容器，则裁剪上下 */
  display: block;
  /* 使用 object-fit 可以更精确地控制图片显示 */
  object-fit: cover;
  /* 覆盖模式，裁剪以填充容器 */
  /* object-position 可以调整图片在容器内的焦点，默认是 center */
  /* object-position: center top; */
  /* 例如，优先显示图片顶部 */
}

.slide-text {
  color: #ffffff;
  font-size: 20px;
  padding: 12px 24px;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.5);
}

.dot-container {
  text-align: center;
  padding: 10px 0px 10px 0px;
  background-color: #f6f6f6;
  /* 与页面背景一致 */
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.active,
.dot:hover {
  background-color: #ffa500;
  /* 点的颜色与导航栏呼应 */
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

/* 主体布局：左侧图 + 右侧信息 + 登录 */
.main {
  display: flex;
  padding: 0px 0px 0px 0px;
  background: #ffffff;
  box-shadow: 1px 1px 16px rgba(173, 170, 170, 0.7);
}

.main-left {
  width: 33%;
  text-align: center;
  border: 0px solid #e4e1e1;
  box-sizing: border-box;
  padding-left: 0px;
  border-radius: 2px 2px 2px 2px;
  height: 340px !important; /* 临时测试用 */
  object-fit: cover; /* 可选：保持比例填充 */
}

.main-left img {
  max-width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.swiper {
  width: 100%;
  height: 340px; /* 调整高度 */
  overflow: hidden;
}

.image-container {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.image-container a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.slide-content {
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.slide-content h3 {
  margin: 0;
  font-size: 1.5em;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* 淡入淡出效果需要这个 */
.swiper-slide {
  opacity: 0;
  transition: opacity 600ms ease-in-out;
}

.swiper-slide-active,
.swiper-slide-visible {
  opacity: 1;
}

/* 按钮和分页器颜色 */
.swiper-button-next,
.swiper-button-prev {
  color: white;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.8);
}

.swiper-pagination-bullet-active {
  background: white;
}

.main-mindle {
  width: 45%;
  padding-left: 0px;
  padding-right: 0px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.main-right {
  width: 28%;
  padding-left: 0px;
}
/*
.news-box {
  background: #ffffff;
  padding: 5px;
  margin-bottom: 1px;
  border: 1px solid #ddd;
}
.news-box h3 {
  margin-bottom: 10px;
  padding: 10px, 10px 10px 10px;
  color: #fff;
  font-size: 26px;
}

.news-box_bg {
  background-image: url("nav_bg.png");
  padding: 0px, 10px 10px 10px;
  border-radius: 5px 5px 5px 5px;
}
*/
.news-list {
  padding: 10px, 10px 10px 10px;
}

.news-list li {
  border-bottom: rgb(185, 180, 180) 1px dotted;
  list-style: none;
  margin-bottom: 5px;
  padding: 10px, 10px 10px 10px;
}

.news-box {
  width: calc(100% - 20px);
  background-color: #fff;
  padding: 0px;
  border-radius: 3px;
}
.news-box_bg {
  /*  background-image: url("nav_bg.png");*/
  background-color: #e6492d;
  padding-top: 0px;
  padding-bottom: 0px;
}
.news-box_bg h3 {
  margin-bottom: 15px;
  padding: 5px, 5px 5px 5px;
  color: #fff;
  font-size: 26px;
}

.message-container {
  background-image: url("../../res/img/nav_bg_title.png");
  display: flex;
  justify-content: space-between; /* 水平对齐 */
  align-items: center; /* 垂直居中 */
  color: white;
  padding: 10px 15px; /* 内边距 */
}

.message-title {
  font-size: 24px;
  font-weight: bold;
}

.login-container {
  background-color: white;
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  height: 300px;
  max-height: 300px; /* 防止被内容撑大（关键） */
}
.login-form {
  padding: 10px;
  background-color: white;
  border-radius: 1px;
}
.login-tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.login-title {
  font-size: 26px;
  margin-bottom: 10px;
  color: #fff8f8;
  text-align: center; /* ✅ 让文本内容水平居中 */
  background-color: #f44a23;
  padding-left: 0px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 7px;
  background-image: url("../../res/img/nav_bg_login.png");
  max-height: 50px; /* 防止被内容撑大（关键） */
  min-height: 53.6px; /* 防止被压缩 */
}

.tab {
  padding: 10px 30px 10px 30px;
  font-size: 15px;
  background-color: #f7f4f5;
  color: rgb(228, 11, 11);
  border: none;
  cursor: pointer;
  border-radius: 2px 2px 2px 2px;
}

.tab.active {
  background-color: #e74c3c;
  color: #ffffff;
}

.tab:hover {
  opacity: 0.5;
}

.tab.active:hover {
  opacity: 0.8;
}

.input-field {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid rgb(41, 207, 41);
  border-radius: 3px;
  font-size: 18px;
}

.checkbox-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0px 0;
}

.forgot-password {
  color: #3498db;
  text-decoration: none;
}

.forgot-password:hover {
  opacity: 0.8;
}

.login-button {
  width: 100%;
  padding: 10px;
  background-color: rgb(30, 175, 30);
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  margin: 10px 0;
  font-size: 20px;
}

.login-button:hover {
  opacity: 0.8;
}

.register-link {
  text-align: right;
  color: #3498db;
  margin-top: 5px;
}

.member-center-link {
  text-align: right;
  color: #3498db;
  margin-top: 5px;
}

.member-center-link:hover {
  opacity: 0.8;
}
.register-link:hover {
  opacity: 0.8;
}

.member-links-container {
  display: flex;
  align-items: center;
  gap: 15px; /* 链接之间间距 */
  font-size: 16px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 分隔符 */
.separator {
  color: #ccc;
  font-weight: normal;
}

/* 功能按钮区 */
.func-btns {
  display: flex;
  gap: 12px;
  /* 按钮之间的间距 */
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.button {
  padding: 30px 126px 30px 126px;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 3px;
  font-size: 35px;
  transition: background-color 0.3s;
}

.button:hover {
  opacity: 0.8;
}

.green {
  background-color: #7cb342; /* 可选：作为备用色 */
  background-image: url("../../res/img/comp_bg.png"); /* 替换为你的图片路径 */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.blue {
  background-color: #f5aa6c;
  background-image: url("../../res/img/download_bg.png"); /* 替换为你的图片路径 */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.purple {
  background-color: #f5aa6c;
  background-image: url("../../res/img/adw_bg.png"); /* 替换为你的图片路径 */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* 活动剪影 */
.activity-fg {
  text-align: center;
  margin-bottom: 10px;
  margin-top: 50px;
  padding-top: 10px;
  font-size: 25px;
}

.activity-section {
  text-align: center;
  background-image: url("/res/imag/bg4.png");
}

.activity-list {
  display: flex;
  flex-wrap: wrap;
  height: 50;
  justify-content: center;
}

.activity-list img {
  width: 190px;
  padding: 10px 10px 10px 10px;
  height: 210px;
  margin: 5px 5px 50px 5px;
}

.activity-list_des {
  display: flex;
  flex-wrap: wrap;
  height: 50;
  justify-content: center;
}

.activity-list_des p {
  justify-content: center;
}

/* 相册滚动区域 */
.album-container {
  padding: 20px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: #f25c1c #f1f1f1;
  box-sizing: border-box;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(30, 1, 1, 0.1);
}

.album-container::-webkit-scrollbar {
  height: 8px;
}

.album-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.album-container::-webkit-scrollbar-thumb {
  background-color: #ffa500;
  border-radius: 4px;
}

.album-item {
  display: inline-block;
  width: 300px;
  height: 225px;
  margin-right: 20px;
  vertical-align: top;
  transition: transform 0.3s ease;
  border-radius: 6px 6px 6px 6px;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgb(237, 234, 234);
}
.album-item img {
  width: 100%; /* 图片宽度占满容器 */
  height: 100%; /* 图片高度占满容器 */
  object-fit: cover; /* 铺满容器并保持宽高比 */
  display: block; /* 去除底部空白 */
}
.album-item:last-child {
  margin-right: 0;
}

.album-item:hover {
  transform: scale(1.05);
}

.album-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  object-fit: cover; /* 铺满容器并保持宽高比 */
  display: block; /* 去除底部空白 */
}

.album-title {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #2c3e50;
  white-space: normal;
}

.more-button {
  background-color: #e6492d; /* 橙红色 */
  color: white;
  border: none;
  padding: 0px 0px;
  border-radius: 1px;
  cursor: pointer;
  font-size: 24px;
  transition: background-color 0.3s ease; /* 平滑过渡效果 */
}

.more-button:hover {
  background-color: #e94d31; /* 鼠标悬停时的颜色变化 */
}
.entry-item {
  margin-bottom: 0px;
  display: flex;
  align-items: center;
}

.entry-item:last-child {
  margin-bottom: 0;
}

.entry-thumbnail {
  margin-right: 20px;
}
.entry-header {
  width: 99%;
  height: auto;
  padding-left: 15px;
}
.entry-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.entry-content h2 {
  line-height: 15px;
}

.entry-content h2 a {
  font-size: 20px;
  color: #e6492d;
  text-decoration: none;
  transition: color 0.3s;
}

.entry-content h2 a:hover {
  color: #ae6c36;
}

.entry-meta {
  font-size: 14px;
  color: #ffa500;
  margin-top: 0px;
}

.entry-divider {
  position: relative;
  margin: 16px 0;
  width: 100%;
}

.entry-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 4px,
    #ddd 4px,
    #ddd 8px
  );
}

.image-container {
  width: 100%; /* 宽度根据需要调整 */
  height: 100%; /* 高度根据需要调整 */
  display: block;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.image-container a {
  display: block;
  width: 100%;
  height: 100%;
}

/* 可选：移动端更细的虚线 */
@media (max-width: 768px) {
  .entry-divider {
    margin: 12px 0;
  }

  .entry-divider::before {
    left: 5%;
    right: 5%;
  }
  .main {
    flex-direction: column;
    gap: 10px;
  }

  .main-left,
  .main-mindle,
  .main-right {
    width: 100%;
    flex-basis: auto;
  }

  /* 可选：调整顺序（如果需要重新排序） */
  .main-left {
    order: 1;
  }

  .main-mindle {
    order: 2;
  }

  .main-right {
    order: 3;
  }


  .func-btns {
    flex-direction: column; /* 垂直堆叠 */
    gap: 10px; /* 调整垂直间距 */
    margin: 50px auto; /* 居中显示 */
  }

  .func-btns .button {
    width: 100%; /* 每个按钮占满宽度 */
    font-size: 16px; /* 可选：调整字体大小 */
  }
}
