@charset "utf-8";

.banner {
  position: relative;
  width: 100%;
  height: 6rem;
  overflow: hidden;
}

.banner .banner-swiper,
.banner .swiper-wrapper,
.banner .swiper-slide {
  height: 100%;
}

.banner .swiper-slide img {
  width: 100%;
  height: 6rem;
  object-fit: cover;
  display: block;
}

.banner-pagination {
  line-height: 0;
}

.banner-pagination .swiper-pagination-bullet {
  width: 0.06rem;
  height: 0.14rem;
  border-radius: 0.03rem;
  background: #fff;
  opacity: 0.55;
  margin: 0 0.07rem !important;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.banner-pagination .swiper-pagination-bullet-active {
  width: 0.06rem;
  height: 0.24rem;
  background-color: #fff;
  opacity: 1;
}

.banner-search {
  position: absolute;
  top: 2.1rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 9.3rem;
  z-index: 5;
}

.banner-search::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: -0.40rem;
  left: 0;
  background: rgba(0,0,0,.47);
  pointer-events: none;
  z-index: -1;
  border-radius: 6px;
}

.scope-bar {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-end;
  align-items: flex-end;
  height: 0.5rem;
}

.scope-list {
  -webkit-flex: 1;
  flex: 1;
  width: 100%;
  height: 0.5rem;
  background: var(--primary);
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  border-radius: 6px;
}

.scope-list li {
  position: relative;
  height: 100%;
  min-width: 1.24rem;
  padding: 0 0.18rem;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.15rem;
  white-space: nowrap;
  border-radius: 0.03rem 0.03rem 0 0;
  cursor: pointer;
  z-index: 1;
  -webkit-transition: background-color 0.25s ease, color 0.25s ease;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.scope-list li a {
  color: inherit;
  font-size: inherit;
  line-height: 1;
  -webkit-transition: color 0.25s ease;
  transition: color 0.25s ease;
}

.scope-list li::after {
  content: "";
  position: absolute;
  bottom: -0.08rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.09rem solid transparent;
  border-right: 0.09rem solid transparent;
  border-top: 0.09rem solid #FFFFFF;
  opacity: 0;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.scope-list li.scope-current,
.scope-list li:hover {
  background: #FFFFFF;
  color: var(--primary);
  font-weight: 700;
  z-index: 2;
}

.scope-tip {
  position: absolute;
  bottom: 0.05rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: 0.08rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01rem;
  white-space: nowrap;
  opacity: 0.85;
  z-index: 2;
}


.scope-list li.scope-current::after,
.scope-list li:hover::after {
  opacity: 1;
}

.search-bar {
  width: 8.75rem;
  height: 0.58rem;
  margin: 0.36rem auto 0;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: stretch;
  align-items: stretch;
  -webkit-animation: searchIn 0.8s ease both;
  animation: searchIn 0.8s ease both;
}

@-webkit-keyframes searchIn {
  from { opacity: 0; -webkit-transform: translateY(0.16rem); transform: translateY(0.16rem); }
  to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes searchIn {
  from { opacity: 0; -webkit-transform: translateY(0.16rem); transform: translateY(0.16rem); }
  to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}

.search-bar form {
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
  background: #FFFFFF;
  border-radius: 0.05rem 0 0 0.05rem;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.14rem;
  padding: 0 0.2rem;
}

.search-bar form.shake {
  -webkit-animation: shake 0.45s ease;
  animation: shake 0.45s ease;
}

@-webkit-keyframes shake {
  0%, 100% { -webkit-transform: translateX(0); transform: translateX(0); }
  25% { -webkit-transform: translateX(-0.07rem); transform: translateX(-0.07rem); }
  75% { -webkit-transform: translateX(0.07rem); transform: translateX(0.07rem); }
}

@keyframes shake {
  0%, 100% { -webkit-transform: translateX(0); transform: translateX(0); }
  25% { -webkit-transform: translateX(-0.07rem); transform: translateX(-0.07rem); }
  75% { -webkit-transform: translateX(0.07rem); transform: translateX(0.07rem); }
}

.search-icon {
  width: 0.22rem;
  height: 0.23rem;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

.search-bar input {
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
  font-size: 0.16rem;
  color: #333333;
}

.search-bar input::placeholder {
  color: #AAAAAA;
}

.search-submit {
  width: 0.86rem;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.16rem;
  letter-spacing: 0.02rem;
  border-radius: 0 0.05rem 0.05rem 0;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.search-submit:hover {
  background: var(--primary-light);
}

.adv-search {
  width: 1.12rem;
  height: 100%;
  margin-left: 0.14rem;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  background: var(--beige);
  color: #A2826D;
  font-size: 0.15rem;
  border-radius: 0.05rem;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.adv-search:hover {
  background: #F5E3C6;
}

.share {
  background: var(--bg-gray);
  padding: 0.6rem 0 0.68rem;
}

.share .section-title {
  margin-bottom: 0.45rem;
}

.share-carousel {
  position: relative;
}

.share-swiper {
  width: 13rem;
  overflow: hidden;
}

.share-swiper .swiper-slide {
  height: auto;
}

.share-grid {
  display: grid;
  display: -ms-grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1.2rem);
  gap: 0.2rem;
}

.share-grid a {
  display: block;
  width: 100%;
  height: 1.2rem;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.07);
}

.share-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  -webkit-transition: transform 0.5s ease;
  transition: transform 0.5s ease;
}

.share-grid a:hover img {
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}

.share-btn {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 0.41rem;
  height: 0.41rem;
  z-index: 6;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.share-btn.prev {
  left: -0.82rem;
  background-image: url('../img/jaintou_left_active.png');
}

.share-btn.next {
  right: -0.82rem;
  background-image: url('../img/jaintou_right_active.png');
}

.share-btn.prev.swiper-button-disabled {
  background-image: url('../img/jaintou_left.png');
}

.share-btn.next.swiper-button-disabled {
  background-image: url('../img/jaintou_right.png');
}

.share-btn.swiper-button-disabled {
  cursor: default;
}

.share-pagination {
  position: static;
  margin-top: 0.5rem;
  line-height: 0;
}

.share-pagination .swiper-pagination-bullet {
  position: relative;
  width: 40px;
  height: 1px;
  border-radius: 0;
  background: #CFCFCF;
  opacity: 1;
  vertical-align: middle;
}

.share-pagination .share-bullet-num {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 1;
  color: #CFCFCF;
}

.share-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
  height: 3px;
}

.share-pagination .swiper-pagination-bullet-active .share-bullet-num {
  color: var(--primary);
}

.resource {
  background: #FFFFFF;
  padding: 0.8rem 0 0.2rem;
}

.resource .section-title {
  margin-bottom: 0.45rem;
}

.resource-list {
  display: -webkit-flex;
  display: flex;
  gap: 0.2rem;
}

.resource-list li {
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
}

.res-card {
  display: block;
  position: relative;
  width: 100%;
  height: 2rem;
  overflow: hidden;
  background: #F5F5F5;
}

.res-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-transition: transform 0.6s ease;
  transition: transform 0.6s ease;
}

.res-card:hover img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.res-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.44rem;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  gap: 0.14rem;
  font-size: 0.14rem;
  letter-spacing: 0.02rem;
  color: #FFFFFF;
  background: url('../img/ztzy_txt_bg.png') no-repeat right center;
  background-size: 100% 100%;
  z-index: 3;
}

.resource-list li:nth-child(3) .res-label {
  color: #E8DCC6;
}

.resource-list li:nth-child(4) .res-label {
  color: #F4E3CB;
}

/* 中国知网卡片：设计稿对应图缺失，用 14.png 蓝色底 + CSS 文字还原 */
.cnki-card {
  background: #0B8BE8;
}

.cnki-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 36%, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 62%);
  z-index: 1;
  pointer-events: none;
}

.cnki-logo {
  position: absolute;
  top: 0.48rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  color: #FFFFFF;
  text-shadow: 0 0.01rem 0.03rem rgba(0, 0, 0, 0.15);
}

.cnki-logo b {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.48rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.02rem;
}

.cnki-logo em {
  font-size: 0.19rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06rem;
  margin-top: 0.04rem;
}

.cnki-logo i {
  font-size: 0.1rem;
  font-style: normal;
  opacity: 0.9;
  margin-top: 0.02rem;
}

.calis {
  background: #FFFFFF;
  padding: 0.62rem 0 0.66rem;
}

.calis a {
  display: block;
  width: 13rem;
  height: 0.9rem;
  overflow: hidden;
  border-radius: 0.02rem;
}

.calis img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-transition: transform 0.6s ease;
  transition: transform 0.6s ease;
}

.calis a:hover img {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

.notice {
  position: relative;
  width: 100%;
  height: 6rem;
  background: url("../img/bj.png") center center / cover no-repeat;
}

.notice-inner {
  height: 100%;
  padding-top: 0.95rem;
  display: -webkit-flex;
  display: flex;
  position: relative;
}

.notice-side {
  width: 1.35rem;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

.notice-side h2 {
  font-size: 0.28rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02rem;
  white-space: nowrap;
}

.double-line {
  display: block;
  width: 1.2rem;
  height: 6px;
  margin-top: 0.1rem;
  border-top: 1px solid var(--primary);
  border-bottom: 2px solid var(--primary);
}

.notice-tabs {
  margin-top: 0.42rem;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  gap: 0.24rem;
}

.notice-tabs li {
  width: 0.82rem;
  height: 0.42rem;
  line-height: 0.42rem;
  text-align: center;
  font-size: 0.15rem;
  color: #666666;
  background: #FFFFFF;
  border-radius: 0.06rem;
  cursor: pointer;
  box-shadow: 0 0.02rem 0.06rem rgba(0, 0, 0, 0.06);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.notice-tabs li:hover {
  color: var(--primary);
}

.notice-tabs li.active {
  background: #9F0416;
  color: #FFFFFF;
  font-weight: 700;
}

.notice-more {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.08rem;
  margin: 0.5rem 0 0 0.18rem;
  padding: 0.04rem 0.1rem;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 0.02rem;
  font-size: 0.12rem;
  color: #999999;
  height: 0.34rem;
}

.notice-more:hover {
  color: var(--primary);
}

.notice-more img {
  width: 0.19rem;
  height: 0.1rem;
}

.notice-content {
  width: 5.02rem;
  margin-left: 0.3rem;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

.notice-panel {
  display: none;
}

.notice-panel.active {
  display: block;
  -webkit-animation: fadeIn 0.45s ease both;
  animation: fadeIn 0.45s ease both;
}

@-webkit-keyframes fadeIn {
  from { opacity: 0; -webkit-transform: translateY(0.08rem); transform: translateY(0.08rem); }
  to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; -webkit-transform: translateY(0.08rem); transform: translateY(0.08rem); }
  to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}

.notice-item {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  height: 0.72rem;
  padding: 0 0.18rem;
  border-bottom: 1px dashed #E6D2C8;
  font-size: 0.14rem;
  color: #666666;
}

.notice-item .date {
  width: 0.62rem;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  line-height: 1.15;
}

.notice-item .date b {
  font-size: 0.2rem;
  font-weight: 400;
  color: #8C8C8C;
}

.notice-item .date i {
  font-size: 0.11rem;
  font-style: normal;
  color: #B0A8A4;
}

.notice-item .text {
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
  padding-left: 0.18rem;
  border-left: 1px solid #E3D5CC;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-item:hover .text {
  color: var(--primary);
}

.notice-item.featured {
  background: #A70213;
  border-bottom: none;
  border-radius: 0.02rem;
  color: #FFFFFF;
}

.notice-item.featured .date b,
.notice-item.featured .date i {
  color: #FFFFFF;
}

.notice-item.featured .text {
  border-left-color: rgba(255, 255, 255, 0.55);
  color: #FFFFFF;
}

.notice-item.featured:hover .text {
  color: #FFFFFF;
  opacity: 0.85;
}

.notice-pic {
  width: 5.7rem;
  height: 3.58rem;
  margin-left: 0.6rem;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  overflow: hidden;
  background: #E8E0DA;
}

.notice-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-transition: transform 0.8s ease;
  transition: transform 0.8s ease;
}

.notice-pic:hover img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.gallery {
  background: #FFFFFF;
  padding: 0.8rem 0 0.9rem;
}

.gallery .section-title {
  margin-bottom: 0.42rem;
}

.gallery-swiper {
  width: 13rem;
  overflow: hidden;
}

.collage {
  display: grid;
  display: -ms-grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 2.29rem 2.29rem;
  gap: 0.04rem;
  height: 4.62rem;
}

.collage .cell {
  display: block;
  overflow: hidden;
  background: #F0F0F0;
}

.collage .cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-transition: transform 0.8s ease;
  transition: transform 0.8s ease;
}

.collage .cell:hover img {
  -webkit-transform: scale(1.08);
  transform: scale(1.08);
}

.collage .cell-main {
  grid-row: span 2;
}

.gallery-more-wrap {
  margin-top: 0.3rem;
  text-align: center;
  line-height: 0;
}

.gallery-more {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.1rem;
  padding: 0.12rem 0.15rem;
  border-radius: 0.06rem;
  font-size: 0.14rem;
  line-height: 1;
  color: #B3B3B3;
  background: #EEEEEE;
  -webkit-transition: color 0.3s ease, background-color 0.3s ease;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.gallery-more::after {
  content: '';
  width: 0.19rem;
  height: 0.1rem;
  background: url('../img/jiantou4.png') no-repeat;
}

.gallery-more:hover {
  background: var(--primary);
  color: #FFFFFF;
}

@media (max-width: 800px) {
  .banner {
    height: auto;
  }

  .banner .banner-swiper,
  .banner .swiper-wrapper,
  .banner .swiper-slide {
    height: 220px;
  }

  .banner .swiper-slide img {
    height: 220px;
  }

  .banner-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 10px;
    border-radius: 3px;
  }

  .banner-pagination .swiper-pagination-bullet-active {
    height: 14px;
  }

  .banner-search {
    position: static;
    -webkit-transform: none;
    transform: none;
    width: 100%;
    padding: 16px;
    background: #ede8e8;
  }

  .banner-search::before {
    display: none;
  }

  .scope-bar {
    height: 38px;
  }

  .scope-list {
    height: 34px;
  }

  .scope-list li {
    min-width: 0;
    padding: 0 6px;
    font-size: 11px;
  }

.scope-tip {
    bottom: 3px;
    font-size: 7px;
  }

  .scope-list li::after {
    bottom: -6px;
    border-left-width: 6px;
    border-right-width: 6px;
    border-top-width: 6px;
  }

  .search-bar {
    width: 100%;
    height: 44px;
    margin-top: 12px;
    -webkit-animation: none;
    animation: none;
  }

  .search-bar form {
    padding: 0 10px;
    gap: 8px;
  }

  .search-icon {
    width: 16px;
    height: 17px;
  }

  .search-bar input {
    font-size: 13px;
  }

  .search-submit {
    width: 62px;
    font-size: 13px;
  }

  .adv-search {
    width: 72px;
    margin-left: 8px;
    font-size: 11px;
  }

  .share {
    padding: 26px 0;
  }

  .share .section-title,
  .resource .section-title,
  .gallery .section-title {
    margin-bottom: 18px;
  }

  .share-swiper {
    width: 100%;
  }

  .share-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 70px);
    gap: 10px;
  }

  .share-grid a {
    height: 70px;
  }

  .share-btn {
    display: none;
  }

  .share-pagination {
    margin-top: 24px;
  }

  .share-pagination .swiper-pagination-bullet {
    width: 18px;
    height: 2px;
  }

  .share-pagination .share-bullet-num {
    font-size: 10px;
    bottom: 5px;
  }

  .calis {
    padding: 20px 0;
  }

  .calis a {
    width: 100%;
    height: 34px;
  }

  .resource {
    padding: 26px 0;
  }

  .resource-list {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
  }

  .resource-list li {
    width: calc(50% - 5px);
    -webkit-flex: none;
    flex: none;
  }

  .res-card {
    height: 120px;
  }

  .res-label {
    height: 28px;
    font-size: 11px;
    gap: 6px;
  }

  .cnki-logo {
    top: 22px;
  }

  .cnki-logo b {
    font-size: 26px;
  }

  .cnki-logo em {
    font-size: 12px;
  }

  .cnki-logo i {
    font-size: 8px;
  }

  .notice {
    height: auto;
    padding: 26px 0 30px;
  }

  .notice-inner {
    padding-top: 0;
    -webkit-flex-direction: column;
    flex-direction: column;
  }

  .notice-side {
    width: 100%;
  }

  .notice-side h2 {
    font-size: 20px;
  }

  .double-line {
    width: 90px;
    margin-top: 8px;
  }

  .notice-tabs {
    -webkit-flex-direction: row;
    flex-direction: row;
    gap: 10px;
    margin-top: 16px;
  }

  .notice-tabs li {
    width: 62px;
    height: 32px;
    line-height: 32px;
    font-size: 13px;
  }

  .notice-more {
    margin: 14px 0 0 8px;
  }

  .notice-content {
    width: 100%;
    margin: 16px 0 0;
  }

  .notice-item {
    height: 60px;
    padding: 0 8px;
    font-size: 12px;
  }

  .notice-item .date {
    width: 48px;
  }

  .notice-item .date b {
    font-size: 15px;
  }

  .notice-item .date i {
    font-size: 9px;
  }

  .notice-item .text {
    padding-left: 10px;
  }

  .notice-pic {
    width: 100%;
    height: 170px;
    margin: 18px 0 0;
  }

  .gallery {
    padding: 26px 0;
  }

  .gallery-swiper {
    width: 100%;
  }

  .collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 110px);
    gap: 4px;
    height: auto;
  }

  .collage .cell-main {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-more-wrap {
    margin-top: 16px;
  }

  .gallery-more {
    gap: 6px;
    padding: 8px 22px;
    font-size: 13px;
  }

  .gallery-more::after {
    width: 6px;
    height: 6px;
  }
}
