﻿:root {
  --mobile-gap: 24px;
  --cream: #fffef0;
  --green-deep: #087c2c;
  --backdrop-extra-width: 32px;
  --content-overlap: clamp(-180px, -24vw, -70px);
  --backdrop-shift: 0px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: #30412e;
}

.site-page {
  min-width: 0;
  background: #c3e593;
}

.site-hero {
  position: relative;
  z-index: 0;
  line-height: 0;
  background: #c3e593;
}
.site-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.site-container {
  width: min(640px, calc(100% - 32px));
  margin: 0 auto;
}
.home-main {
  padding-bottom: 10px;
}
.inner-main {
  padding: 0 0 18px;
}
.middle-area {
  position: relative;
  z-index: 2;
  overflow: visible;
  margin-top: var(--content-overlap);
  background: transparent;
}
.middle-content {
  position: relative;
  z-index: 1;
  isolation: isolate;
}
.middle-content::before {
  position: absolute;
  z-index: -1;
  top: calc(-1 * var(--content-overlap) - 180px + var(--backdrop-shift));
  bottom: -24px;
  left: 50%;
  width: calc(100% + var(--backdrop-extra-width));
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0) 72px,
    rgba(255, 255, 255, 0.08) 122px,
    rgba(255, 255, 255, 0.24) 180px,
    rgba(255, 255, 255, 0.24) 100%
  );
  content: "";
  pointer-events: none;
}
.pattern-stack {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.middle-yinying {
  flex: 1 1 0;
  min-height: 0;
  background: url("../images/bg_yinying.png") center top / 100% auto no-repeat;
  opacity: 0.3;
}
.middle-yinying:nth-child(even) {
  transform: scaleX(-1);
}
.cms-section {
  margin-bottom: 42px;
}
.page-home {
  --activity-shift: 0px;
  --project-shift: 0px;
  --committee-shift: 0px;
  --green-shift: 0px;
  --review-shift: 0px;
}
.page-home .activity-section {
  transform: translateY(var(--activity-shift));
}
.page-home .project-section {
  transform: translateY(var(--project-shift));
}
.page-home .committee-section {
  transform: translateY(var(--committee-shift));
}
.page-home .green-section {
  transform: translateY(var(--green-shift));
}
.page-home .review-section {
  transform: translateY(var(--review-shift));
}
.section-title {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-title img {
  width: min(280px, 62%);
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.project-panel,
.committee-grid,
.green-feature,
.review-panel,
.content-card {
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow:
    0 0 0 2px rgba(91, 165, 54, 0.66),
    0 5px 12px rgba(70, 123, 31, 0.12);
}

.activity-panel {
  position: relative;
  right: 8%;
  width: 113%;
  height: auto;
  aspect-ratio: 1435 / 850;
  margin: 0 auto;
  padding: 0;
  background: url("../images/chnnel_1_swiper_bg.png") center top / 100% 100%
    no-repeat;
  overflow: visible;
}
.activity-panel > .section-title {
  position: absolute;
  z-index: 2;
  top: 9%;
  left: 2%;
  width: 100%;
  height: 22%;
}
.activity-panel > .section-title img {
  width: 56%;
  max-height: 100%;
}
.activity-window {
  position: absolute;
  top: 31%;
  left: 52%;
  width: 58%;
  height: 56%;
  transform: translateX(-50%);
  overflow: hidden;
}
.activity-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.activity-slide {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(109, 175, 125, 0.72);
  background: #e6f4d6;
  box-shadow: 0 4px 9px rgba(34, 81, 41, 0.18);
  color: #fff;
}
.activity-slide.is-prev,
.activity-slide.is-next {
  display: none;
}
.activity-slide.is-active {
  display: block;
  z-index: 2;
}
.activity-track.is-moving-next .activity-slide.is-active {
  animation: activity-enter-next 0.32s ease both;
}
.activity-track.is-moving-prev .activity-slide.is-active {
  animation: activity-enter-prev 0.32s ease both;
}
@keyframes activity-enter-next {
  from {
    opacity: 0;
    transform: translateX(12%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes activity-enter-prev {
  from {
    opacity: 0;
    transform: translateX(-12%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.activity-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.activity-slide span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5px 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 10px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}
.carousel-control {
  position: absolute;
  z-index: 4;
  top: 57%;
  width: 9%;
  aspect-ratio: 1;
  height: auto;
  margin-top: -3.5%;
  border: 0;
  background: url("../images/swiper_btn.png") center / contain no-repeat;
  cursor: pointer;
}
.activity-panel .carousel-prev {
  left: 12%;
}
.activity-panel .carousel-next {
  right: 8%;
  transform: scaleX(-1);
}
.review-panel .carousel-prev {
  left: 2%;
}
.review-panel .carousel-next {
  right: 2%;
  transform: scaleX(-1);
}
.more-link {
  position: absolute;
  right: 6%;
  bottom: 3%;
  left: auto;
  transform: none;
  padding: 4px 13px;
  border-radius: 12px;
  background: var(--green-deep);
  color: #fff;
  font-size: 11px;
}

.project-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
}
.project-tab {
  width: 100%;
  height: 32px;
  border: 0;
  border-radius: 0;
  background: url("../images/chnnel_2_lanmubg_green.png") center/100% 100%
    no-repeat;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
.project-tab.is-active {
  background-image: url("../images/chnnel_2_lanmubg_blue.png");
}
.project-panel {
  display: block;
  padding: 11px;
  background: rgba(255, 255, 236, 0.94);
}
.project-feature {
  padding: 7px;
  background: #e7f4d0;
  border: 1px solid #9bc87c;
}
.project-feature img {
  display: block;
  width: 100%;
  height: 167px;
  object-fit: cover;
}
.project-list-wrap {
  height: 193px;
  margin-top: 9px;
  overflow-y: auto;
  scrollbar-color: #65a948 #e8f4cc;
  scrollbar-width: thin;
}
.project-list {
  display: grid;
  gap: 5px;
}
.project-list-wrap::-webkit-scrollbar {
  width: 6px;
}
.project-list-wrap::-webkit-scrollbar-track {
  border-radius: 6px;
  background: #e8f4cc;
}
.project-list-wrap::-webkit-scrollbar-thumb {
  border: 1px solid #e8f4cc;
  border-radius: 6px;
  background: #65a948;
}
.project-list[hidden] {
  display: none;
}
.project-list li a {
  display: block;
  min-height: 28px;
  padding: 5px 7px;
  border: 1px solid #74b570;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.84);
  color: #375435;
  font-size: 11px;
  line-height: 1.35;
}
.project-list li:hover a,
.project-list li:focus-within a {
  background: #e8f5d0;
  color: var(--green-deep);
}

.committee-intro {
  width: 100%;
  aspect-ratio: 824 / 544;
  margin-bottom: 16px;
  padding: 27% 9% 8%;
  background: url("../images/chnnel_3_xuanshici_bg.png") center/100% 100%
    no-repeat;
  text-align: center;
}
.committee-sign {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: 5px;
  background: var(--green-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.committee-intro p {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 12px;
  font-size: 12px;
  line-height: 1.45;
  text-indent: 2em;
  text-align: left;
}
.committee-intro-span {
  display: inline-block;
  text-indent: 2em;
}
.committee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: max-content;
  align-content: start;
  gap: 12px 7px;
  height: min(680px, 150vw);
  padding: 9px;
  overflow-y: auto;
  background: rgba(252, 255, 236, 0.95);
  scrollbar-color: #65a948 #e8f4cc;
  scrollbar-width: thin;
}
.committee-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 2px 5px;
  overflow: hidden;
  background: transparent;
  text-align: center;
}
.committee-grid figure > img {
  display: block;
  width: 100%;
  aspect-ratio: 257 / 230;
  object-fit: contain;
}
.committee-title {
  position: absolute;
  z-index: 1;
  top: 3px;
  left: 0;
  display: flex;
  align-items: center;
  width: 50%;
  height: auto;
  aspect-ratio: 122 / 40;
  /* padding: 0 5px; */
  display: inline-block;
  text-align: center;
  line-height: 15px;
  background: url("../images/chnnel_3_zhiwei_Title.png") center / 100% 100%
    no-repeat;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.committee-grid figcaption {
  display: grid;
  gap: 3px;
  padding-top: 6px;
  color: #333;
}
.committee-grid figcaption strong {
  font-size: 14px;
  line-height: 1.25;
}
.committee-grid figcaption span {
  font-size: 10px;
  line-height: 1.35;
}

.green-feature {
  position: relative;
  display: block;
  padding: 9px;
  background: #fcffe9;
  overflow: hidden;
}
.green-feature-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.green-feature .green-qrcode {
  position: absolute;
  z-index: 2;
  top: 72.3%;
  left: 49.9%;
  width: 10.5%;
  height: auto;
  transform: translateX(-50%);
  object-fit: contain;
}
.green-feature span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 7px 12px;
  border-radius: 7px;
  background: rgba(6, 112, 43, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.review-panel {
  position: relative;
  height: 150px;
  padding: 8px 30px;
  background: #fbffdc;
  overflow: hidden;
}
.review-window {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.review-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.38s ease;
}
.review-slide {
  display: block;
  box-sizing: border-box;
  min-width: 0;
  flex: 0 0 100%;
  height: 100%;
  padding: 0 4px;
}
.review-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  position: relative;
  z-index: 1;
  min-height: 260px;
  overflow: hidden;
  padding: 48px 12px 112px;
  background: #c3e593;
  color: #365338;
  text-align: center;
  font-size: 12px;
  line-height: 2;
}
.site-footer-image {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: auto;
}
.site-footer p {
  position: relative;
  z-index: 1;
}

.content-card {
  position: relative;
  padding: 34px 18px 26px;
  background: var(--cream);
}
.list-card {
  width: 100%;
  min-height: 0;
  padding: 32px 20px 28px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  background: var(--cream);
  box-shadow:
    0 0 0 2px rgba(91, 165, 54, 0.66),
    0 5px 12px rgba(70, 123, 31, 0.12);
}
.card-decoration {
  position: absolute;
  z-index: 0;
  width: 82px;
  height: 78px;
  background: url("../images/list_detail_bg_top.png") center/contain no-repeat;
  pointer-events: none;
}
.card-decoration-left {
  left: -22px;
  top: -24px;
  transform: scaleX(-1);
}
.card-decoration-right {
  right: -22px;
  top: -24px;
}
.card-heading,
.detail-heading,
.news-list,
.detail-body,
.detail-back {
  position: relative;
  z-index: 1;
}
.card-heading {
  margin-bottom: 17px;
  text-align: center;
}
.heading-mark {
  display: inline-block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #199d35;
  vertical-align: -1px;
  margin-right: 4px;
}
.card-heading h1,
.detail-heading h1 {
  display: inline;
  color: #2d3a2a;
  font-size: 19px;
  font-weight: 700;
}
.card-heading p {
  margin-top: 7px;
  color: #6b7b66;
  font-size: 11px;
}
.news-list {
  display: grid;
  gap: 0;
}
.news-list li {
  display: block;
  position: relative;
  min-height: 48px;
  padding: 9px 2px 9px 15px;
  border-bottom: 1px dashed rgba(70, 133, 54, 0.35);
  font-size: 13px;
  line-height: 1.45;
}
.news-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-deep);
}
.news-list li a {
  display: block;
  color: #40513d;
}
.news-list li time {
  display: block;
  margin-top: 3px;
  color: #7e8c78;
  font-size: 10px;
}
.detail-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
.detail-card::before {
  display: block;
  height: auto;
  aspect-ratio: 1351 / 282;
  background: url("../images/list_detail_bg_top.png") center top / 100% auto
    no-repeat;
  content: "";
}
.detail-content {
  width: 100%;
  min-height: 0;
  margin: -20.87% auto 0;
  padding: 15px 20px 28px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  background: var(--cream);
  box-shadow:
    0 0 0 2px rgba(91, 165, 54, 0.66),
    0 5px 12px rgba(70, 123, 31, 0.12);
}
.detail-body img,
.detail-body video {
  width: auto;
  max-width: 100% !important;
  margin: 0.104167rem auto;
}
.detail-heading {
  /* padding-bottom: 16px; */
  border-bottom: 1px solid rgba(68, 121, 51, 0.3);
  text-align: center;
  line-height: 31px;
}
.detail-heading h1 {
  display: block;
  font-size: 19px;
}
.detail-meta {
  /* margin-top: 8px; */
  color: #7d8c75;
  font-size: 12px;
}
.detail-body {
  padding-top: 18px;
  color: #43533e;
  font-size: 14px;
  line-height: 1.9;
}
.detail-body p {
  margin-bottom: 10px;
}
.detail-image {
  width: 100%;
  margin: 16px auto;
}
.detail-image img {
  display: block;
  width: 100%;
  height: auto;
}
.detail-back {
  margin-top: 17px;
  text-align: center;
}
.detail-back a {
  display: inline-block;
  padding: 7px 17px;
  border-radius: 4px;
  background: var(--green-deep);
  color: #fff;
  font-size: 12px;
}

@media (max-width: 360px) {
  .site-container {
    margin-left: 16px;
    margin-right: 16px;
  }
  .news-list li {
    font-size: 12px;
  }
}