@charset "utf-8";

/* 设计稿基准 1920px，1rem = 100px，版心沿用 common.css 的 13rem */

/* 仅供读屏/语义使用：banner 标题已包含在设计稿切图中 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-banner {
  position: relative;
  height: 3rem;
  background: #A9C1D5 url("../img/list-banner.png") center center / 100% 100% no-repeat;
}

.page-banner__inner {
  position: relative;
  height: 100%;
}

.page-tabs-bar {
  height: 0.5rem;
  background: #EFEFEF;
}

.page-tabs__inner {
  height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}

.page-tabs__home {
  -webkit-flex: 0 0 0.26rem;
  flex: 0 0 0.26rem;
  width: 0.26rem;
  height: 0.5rem;
  background: var(--primary);
  color: #FFFFFF;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 0.13rem;
  line-height: 1.3;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.page-tabs__home:hover {
  background: var(--primary-light);
  color: #FFFFFF;
}

.page-tabs {
  margin-left: 0.24rem;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.6rem;
}

.page-tabs__item {
  position: relative;
  width: 0.6rem;
  height: 0.5rem;
  line-height: 0.5rem;
  text-align: center;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 0.14rem;
  color: #333333;
  cursor: pointer;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.page-tabs__item::after {
  content: "";
  position: absolute;
  left: 0.06rem;
  bottom: 0;
  width: 0.4rem;
  height: 0.04rem;
  background: var(--primary);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.page-tabs__item:hover {
  color: var(--primary);
}

.page-tabs__item.is-active {
  color: var(--primary);
  font-weight: 700;
}

.page-tabs__item.is-active::after {
  opacity: 1;
}

.list-main {
  padding: 0.36rem 0 0.84rem;
  background: #FEFEFE;
}

.list-item {
  border-bottom: 1px solid #E6E6E6;
}

.list-item__link {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  min-height: 1.4rem;
  padding: 0.3rem 0 0.25rem;
}

.list-item__date {
  -webkit-flex: 0 0 0.66rem;
  flex: 0 0 0.66rem;
  width: 0.66rem;
  text-align: right;
  font-family: "Times New Roman", Georgia, "SimSun", serif;
}

.list-item__date .year {
  display: block;
  font-style: normal;
  font-size: 0.14rem;
  line-height: 1;
  color: #B3B3B3;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.list-item__date .day {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.3rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  color: #333333;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.list-item__date .bar {
  display: block;
  width: 0.3rem;
  height: 0.03rem;
  margin: 0.12rem 0 0 auto;
  background: #333333;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.list-item__txt {
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
  margin-left: 0.46rem;
}

.list-item__title {
  font-family: Source Han Sans CN;
  font-size: 0.18rem;
  line-height: 0.22rem;
  color: #000000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.list-item__desc {
  display: -webkit-box;
  margin-top: 0.18rem;
  font-family: Source Han Sans CN;
  font-size: 0.14rem;
  letter-spacing: 0.01rem;
  line-height: 0.22rem;
  color: #666666;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.list-item__link:hover .list-item__date .year,
.list-item__link:hover .list-item__date .day,
.list-item__link:hover .list-item__title {
  color: var(--primary);
}

.list-item__link:hover .list-item__date .bar {
  background: var(--primary);
}

.paging {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  gap: 0.1rem;
  margin-top: 0.82rem;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 0.14rem;
  color: #666666;
}

.paging-btn,
.paging-num,
.paging-jump input {
  height: 0.4rem;
  border: 1px solid #E3E3E3;
  border-radius: 0.02rem;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 0.14rem;
  color: #666666;
  text-align: center;
  -webkit-transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.paging-btn {
  min-width: 0.68rem;
  padding: 0 0.1rem;
  line-height: 0.38rem;
}

.paging-nums {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.1rem;
}

.paging-num {
  min-width: 0.4rem;
  padding: 0 0.06rem;
  line-height: 0.38rem;
}

.paging-num.paging-last {
  min-width: 0.6rem;
}

.paging-btn:hover,
.paging-num:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.paging-num.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.paging-num.is-active:hover {
  color: #FFFFFF;
}

.paging-jump {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.1rem;
  margin-left: 0.34rem;
}

.paging-jump input {
  width: 0.7rem;
  padding: 0 0.04rem;
}

.paging-jump input:focus {
  border-color: var(--primary);
}

.info-main {
  padding: 0.18rem 0 1.64rem;
  background: #FEFEFE;
}

.info-back {
  display: block;
  width: 1rem;
  height: 0.3rem;
  line-height: 0.3rem;
  background: url("../img/矩形5.png") center center / 100% 100% no-repeat;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 0.14rem;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
}

.info-back:hover {
  color: #FFFFFF;
  opacity: 0.9;
}

.article {
  width: 10rem;
  margin: 0 auto;
  padding-top: 0.34rem;
}

.article__title {
  font-family: Source Han Sans CN;
  font-size: 0.24rem;
  font-weight: 500;
  line-height: 0.28rem;
  color: #000000;
  text-align: center;
}

.article__meta {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  gap: 0.2rem;
  margin-top: 0.25rem;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 0.14rem;
  line-height: 0.24rem;
  color: #1A1A1A;
  text-align: center;
}

.article__meta--sub {
  margin-top: 0.04rem;
  color: #999999;
}

.article__divider {
  height: 1px;
  margin: 0.24rem 0 0.43rem;
  background: #DBDBDB;
}

.article__body {
  font-family: "SimSun", "Songti SC", serif;
  font-size: 0.16rem;
  letter-spacing: 0.015rem;
  line-height: 0.28rem;
  color: #333333;
}

.article__body p {
  margin-bottom: 0.28rem;
  text-indent: 2em;
}

.article__figure {
  padding-top: 0.11rem;
  text-align: center;
}

.article__figure img {
  display: block;
  width: 6.77rem;
  height: 4.15rem;
  margin: 0 auto;
}

.article__caption {
  margin-top: 0.11rem;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 0.16rem;
  letter-spacing: 0.01rem;
  line-height: 0.2rem;
  color: #333333;
  text-align: center;
}

.article__body figure + p {
  margin-top: 0.51rem;
}

.article__nav {
  margin-top: 0.75rem;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 0.16rem;
  line-height: 0.28rem;
}

.article__nav-item {
  color: #000000;
}

.article__nav-item.is-prev {
  color: var(--primary-deep);
}

.article__nav-item + .article__nav-item {
  margin-top: 0.20rem;
}

@media (max-width: 800px) {
  .page-banner {
    height: 150px;
    background-size: auto 100%;
    background-position: left center;
  }

  .page-tabs-bar {
    height: 44px;
  }

  .page-tabs__home {
    -webkit-flex: 0 0 26px;
    flex: 0 0 26px;
    width: 26px;
    height: 44px;
    font-size: 12px;
  }

  .page-tabs {
    margin-left: 12px;
    gap: 24px;
  }

  .page-tabs__item {
    width: 40px;
    height: 44px;
    line-height: 44px;
    font-size: 13px;
  }

  .page-tabs__item::after {
    left: 3px;
    width: 40px;
    height: 3px;
  }

  .list-main {
    padding: 16px 0 30px;
  }

  .list-item__link {
    min-height: 0;
    padding: 16px 0;
  }

  .list-item__date {
    -webkit-flex: 0 0 70px;
    flex: 0 0 70px;
    width: 70px;
  }

  .list-item__date .year {
    font-size: 11px;
  }

  .list-item__date .day {
    margin-top: 8px;
    font-size: 24px;
  }

  .list-item__date .bar {
    width: 28px;
    margin-top: 12px;
  }

  .list-item__txt {
    margin-left: 14px;
  }

  .list-item__title {
    font-size: 15px;
    line-height: 22px;
    white-space: normal;
  }

  .list-item__desc {
    margin-top: 8px;
    font-size: 12px;
    line-height: 20px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .paging {
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 24px;
    font-size: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .paging::-webkit-scrollbar {
    display: none;
  }

  .paging-btn,
  .paging-num,
  .paging-jump input {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    height: 32px;
    line-height: 30px;
    font-size: 12px;
  }

  .paging-btn {
    min-width: 58px;
    padding: 0 8px;
  }

  .paging-num {
    min-width: 32px;
    padding: 0 5px;
  }

  .paging-num.paging-last {
    min-width: 50px;
  }

  .paging-jump {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    gap: 6px;
    margin-left: 8px;
    font-size: 12px;
  }

  .paging-jump input {
    width: 48px;
  }

  .info-main {
    padding: 12px 0 30px;
  }

  .info-back {
    width: 90px;
    height: 27px;
    line-height: 27px;
    font-size: 13px;
  }

  .article {
    width: 100%;
    padding-top: 20px;
  }

  .article__title {
    font-size: 18px;
    line-height: 28px;
  }

  .article__meta {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    line-height: 20px;
  }

  .article__divider {
    margin: 16px 0 18px;
  }

  .article__body {
    font-size: 14px;
    line-height: 26px;
  }

  .article__body p {
    margin-bottom: 16px;
    text-indent: 2em;
  }

  .article__figure {
    padding-top: 0;
  }

  .article__figure img {
    width: 100%;
    height: auto;
  }

  .article__caption {
    margin-top: 8px;
    font-size: 12px;
    line-height: 20px;
  }

  .article__body figure + p {
    margin-top: 18px;
  }

  .article__nav {
    margin-top: 24px;
    font-size: 14px;
    line-height: 24px;
  }

  .article__nav-item + .article__nav-item {
    margin-top: 12px;
  }
}

/* ========== 图书馆风景页 tsg_tsgfj.html ========== */
.page-banner--gallery {
  background: #A9C1D5 url("../img/tsgfj.png") center center / 100% 100% no-repeat;
}

.gallery-main {
  padding: 0.2rem 0 0.6rem;
  background: #FEFEFE;
}

.gallery-main .info-back {
  margin-bottom: 0.24rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.32rem 0.36rem;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: 2.84rem;
  overflow: hidden;
  background: #F2F2F2;
}

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

.gallery-item:hover img {
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
}

.gallery-item__caption {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 0.18rem;
  color: #FFFFFF;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.gallery-paging {
  margin-top: 0.4rem;
}

@media (max-width: 800px) {
  .gallery-main {
    padding: 12px 0 24px;
  }

  .gallery-main .info-back {
    width: 74px;
    height: 25px;
    line-height: 25px;
    margin-bottom: 14px;
    font-size: 12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item {
    height: 120px;
  }

  .gallery-item__caption {
    font-size: 12px;
  }

  .gallery-paging {
    margin-top: 18px;
  }
}
