/* reset */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Microsoft YaHei, Microsoft YaHei, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

ul li {
  display: inline-block;
}

a {
  color: unset;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

img,
a {
  display: inline-block;
}

input,
textarea {
  outline: none;
  border: none;
}

header .search {
  position: relative;
  display: inline-block;
}

header .search form {
  position: relative;
  display: flex;
  align-items: center;
}

header .search input {
  width: 367px;
  height: 40px;
  /* background: #ffffff; */
  background: rgba(255, 255, 255, 0.27);
  border-radius: 31px;
  /* opacity: 0.27; */
  padding: 0 50px 0 38px; /* 右侧留出空间给搜索按钮 */
  border: 1px solid rgba(162, 161, 161, 0.27);
  outline: none;
}

header .search input:focus {
  /* opacity: 1; */
  border-color: #0068b7;
}

header .search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s;
}

header .search button:hover {
  background: rgba(0, 104, 183, 0.1);
}

header .search button img {
  width: 18px;
  height: 18px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

header .search button:hover img {
  opacity: 1;
}

/* .nav ul {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav ul li {
  margin-right: 20px;
}

.nav ul li a {
  text-decoration: none;
  color: #fff;
}

.nav ul li a:hover,
.nav ul li a:active {
  color: #000;
} */

header {
  height: 256px;
  position: relative;
}

header .logo {
  padding-top: 80px;
}

header nav {
  position: relative;
  top: 74px;
}
header nav .nav-list li {
  /* border-right: 1px solid rgba(255, 255, 255, 0.5); */
  line-height: 17px;
  padding: 12px 30px;
  position: relative;
  overflow: visible;
}

header nav .nav-list > li::after {
  content: "";
  display: block;
  width: 1px;
  height: 17px;
  background: #466FFF;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
}
header nav .nav-list li:last-child::after {
  width: 0;
}

header nav .nav-list li a {
  width: 100%;
  text-align: center;
  /* color: rgba(255, 255, 255, 0.89); */
}

header nav .nav-list > li.active > a,
header nav .nav-list > li:hover > a {
  /* color: #0068b7; */
  font-weight: bold;
}
header nav .nav-list li .sub-menu {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  background: #fff;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
  border-top: 3px solid #0068b7;
  padding-top: 3px;
  flex-direction: column;
  display: none;
  z-index: 2;
}
header nav .nav-list li:hover .sub-menu {
  display: flex;
}
header nav .nav-list li .sub-menu li {
  border-right: none;
  padding: 0;
  width: 100%;
  height: 46px;
  text-align: center;
}
header nav .nav-list li .sub-menu li a {
  color: #000;
  font-size: 14px;
  padding: 10px 0;
}
header nav .nav-list li .sub-menu li:hover {
  background: #f6f6f6;
}
header nav .nav-list li .sub-menu li:hover a {
  color: #0068b7;
  font-weight: bold;
}

.link {
  background: #ffffff;
  padding: 15px 0;
}

.link .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.link h2 {
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.link ul {
  display: flex;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  gap: 10px 50px;
}

.link ul li a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1;
}

.link ul li:hover a,
.link ul li:active a {
  color: #0068b7;
}

.footer {
  width: 100%;
  min-height: 194px;
  background-image: url(../images/footer.png);
  background-size: auto 100%;
  color: #fff;
}

.footer .footer-top {
  display: flex;
  padding: 52px 0;
}

.footer .footer-top .footer-top-left {
  width: 550px;
}

.footer .footer-top .footer-top-left img {
  width: 295px;
  height: 41px;
}

.footer .footer-top .footer-top-right {
}

.footer .footer-top .footer-top-right ul {
  display: flex;
  gap: 120px;
}

.footer .footer-top .footer-top-right ul li {
  display: flex;
  flex-direction: column;
}

.footer .footer-top .footer-top-right ul li .footer-top-right-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer .footer-top .footer-top-right ul li .footer-top-right-content {
  font-size: 16px;
}

.footer .copyright {
  font-size: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

body > .content {
  min-height: calc(100vh - 450px);
  /* padding-bottom: 20px; */
}

.data-list {
}
.data-list .data-item {
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px dashed #dddddd;
  overflow: hidden;
}

.data-list .data-item:hover {
  transition: transform 0.3s;
  transform: translateX(10px);
}

.data-list .data-item .item-link {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.data-list .data-item .item-image {
  flex-shrink: 0;
  width: 150px;
  height: 100px;
  overflow: hidden;
  border-radius: 6px;
}

.data-list .data-item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.data-list .data-item:hover .item-image img {
  transform: scale(1.05);
}

.data-list .data-item .item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.data-list .data-item a {
  width: 100%;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.data-list .data-item .data-title {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  line-height: 1;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-list .data-item .data-summary {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.data-list .data-item .date {
  font-size: 12px;
  color: #bcbec0;
  margin-top: auto;
}

.data-list .data-item:hover .data-title {
  color: #0068b7;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .data-list .data-item .item-link {
    flex-direction: column;
    gap: 12px;
  }

  .data-list .data-item .item-image {
    width: 100%;
    height: 200px;
  }

  .data-list .data-item .data-title {
    font-size: 16px;
  }

  .data-list .data-item .data-summary {
    font-size: 13px;
  }
}
.data-list .data-item .tag {
  margin-left: 12px;
}
.tag.pending {
  color: #007bff;
}
.tag.done {
  color: #ff3300;
}

.banner {
  height: auto
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.left-box {
  position: relative;
}
.left-box h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  padding: 14px 20px;
  background: #0068b7;
}
.left-box h3::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 22px;
  margin-right: 20px;
  transform: translateY(4px);
  background: #ffffff;
}
.left-box .left-list {
  padding-left: 42px !important;
  border-left: 8px solid #0068b7;
}
.left-box .left-list li {
  border-bottom: 1px solid #dcdcdc;
}
.left-box .left-list li:hover,
.left-box .left-list li.active {
  border-bottom: 1px solid #0068b7;
}
.left-box .left-list li a {
  width: 100%;
  padding: 15px 0;
  color: #333333;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.left-box .left-list li a .icon {
  display: none;
  width: 5px;
  height: 8px;
}
.left-box .left-list li:hover a,
.left-box .left-list li.active a {
  color: #0068b7;
}

.left-box .left-list li:hover a .icon,
.left-box .left-list li.active a .icon {
  display: inline-block;
}

.breadcrumb {
  font-size: 14px;
  color: #b4b4b4;
  padding: 18px 0;
  border-bottom: 1px solid #dcdcdc;
}
.breadcrumb .label {
  margin-right: 12px;
}
.breadcrumb .possplit {
  position: relative;
  margin: 0 6px;
}
.breadcrumb .possplit::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  background: #e6e6e6;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.breadcrumb a:hover {
  color: #0068b7;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
}
.pagination a {
  min-width: 35px;
  height: 35px;
  line-height: 1;
  text-align: center;
  padding: 8px;
  font-size: 15px;
  border: 1px solid #dcdcdc;
  color: rgba(0, 0, 0, 0.9);
}
.pagination a:hover {
  color: #0068b7;
}
.pagination .ellipsis {
  border: none;
}
.pagination .prev,
.pagination .next {
  padding: 8px 13px;
}

.article {
  padding: 36px 0;
}
.article h1 {
  text-align: center;
  color: #111111;
  font-size: 26px;
  margin-bottom: 22px;
}
.article .article-info {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.4);
}
.article .article-info .info-item .icon {
  width: 16px;
  height: 16px;
}
.article .article-content {
  margin-top: 40px;
}
.article .article-content p {
  font-size: 16px;
  color: #333333;
  line-height: 31px;
  margin-bottom: 28px;
}
.article .article-attachments {
  margin-top: 40px;
  background: #f9f9f9;
}
.article .article-attachments ul li {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dcdcdc;
}
.article .article-attachments ul li:last-child {
  border-bottom: none;
}
.article .article-attachments ul li img {
  width: 15px;
  height: 13px;
  margin-right: 16px;
}
.article .article-attachments ul li a {
  color: #111111;
  font-size: 16px;
}
.article .article-attachments ul li a:hover {
  color: #0068b7;
}

.article .page-nav {
  margin-top: 60px;
}
.article .page-nav a {
  width: 110px;
  height: 42px;
  line-height: 42px;
  border-radius: 20px 20px 20px 20px;
  border: 1px solid #e6e6e6;
  color: #999999;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.article .page-nav a:hover {
  color: #0068b7;
  border-color: #0068b7;
}

.page-empty {
  text-align: center;
  padding: 140px 0;
}
.page-empty img {
  width: 176px;
  height: 150px;
  margin: 20px auto;
}
.page-empty p {
  text-align: center;
  font-size: 14px;
  color: #9195a3;
}

/* 登录相关样式 */
.search-and-login {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-area .login-btn {
  width: 100px;
  height: 40px;
  border-radius: 31px 31px 31px 31px;
  border: 1px solid rgba(77, 75, 75, 0.27);
  color: rgba(77, 75, 75, 0.27);
  font-size: 14px;
  font-weight: 400;
  line-height: 40px;
  text-align: center;
}

.login-area .login-btn:hover {
  color: #0068b7;
  border-color: #0068b7;
}

.user-info {
  position: relative;
}

.user-info .user-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.user-info .user-link:hover {
  background: rgba(0, 104, 183, 0.1);
  color: #0068b7;
}

.user-info .user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info .user-name {
  font-size: 14px;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-info .user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: none;
  min-width: 120px;
  z-index: 1000;
}

.user-info:hover .user-dropdown {
  display: block;
}

.user-info .user-dropdown a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s;
}

.user-info .user-dropdown a:hover {
  background: #f5f5f5;
  color: #0068b7;
}

/* 登录弹窗样式 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#login-modal .modal-dialog {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  max-width: 452px;
  width: 90%;
}

.login-dialog-content {
  padding: 0;
}

.login-dialog-title {
  padding: 20px;
  background: transparent;
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 26px;
  font-weight: 500;
  color: #FFFFFF;
  text-align: center;
}

.btn-close {
  background-image: url(/static/kejiyuan/images/login-close.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: none;
  font-size: 0;
  cursor: pointer;
  color: transparent;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 20px;
  top: 12px;
}

.btn-close:hover {
  color: #000;
}

.login-content {
  padding: 20px;
  text-align: center;
}

.qrcode-wrapper {
  display: inline-block;
}

@media (max-width: 480px) {
  .link .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-top .footer-top-left {
    width: auto !important;
  }

  .footer-top .footer-top-right ul {
    flex-direction: column;
    gap: 20px !important;
  }
}