.home-topic-card {
  padding: 1.02rem 1rem;
  margin-top: 0.9rem;
  margin-bottom: 0.2rem;
  border: 1px solid #cfe6dc;
  box-shadow: 0 12px 24px rgba(22, 88, 63, 0.08);
  background: linear-gradient(160deg, #ffffff, #f7fbf8);
}

.home-topic-card .section-title {
  margin-bottom: 0.8rem;
  font-size: clamp(1.12rem, 0.92rem + 0.65vw, 1.4rem);
  color: #1f2a25;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-topic-card .section-title::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #e9a93e;
  flex: 0 0 0.38rem;
}

.home-topic-wall {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.home-topic-wall li {
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
  padding: 0.62rem 0.66rem;
  border: 1px solid #dcebe4;
  border-radius: 10px;
  background: #fcfffd;
}

.home-topic-wall .topic-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #165c42;
  background: #e8f4ee;
  border-radius: 7px;
  padding: 0.14rem 0.46rem;
  line-height: 1.2;
  width: fit-content;
  text-align: center;
}

.home-topic-wall .topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.33rem;
  font-size: 0.92rem;
  line-height: 1.28;
}

.home-topic-wall .topic-links a {
  margin-right: 0;
  color: #33564a;
  font-weight: 400;
  background: #f4faf7;
  border: 1px solid #dcebe4;
  border-radius: 999px;
  padding: 0.08rem 0.42rem;
  white-space: nowrap;
}

.home-topic-wall .topic-links a:hover {
  color: #11704f;
  border-color: #b7dbcb;
  background: #eaf6f0;
}

.home-latest {
  padding: 0.88rem 0.9rem 0.94rem;
  margin-bottom: 0.15rem;
}

.home-latest .section-title {
  margin-bottom: 0.55rem;
  font-size: clamp(1.06rem, 0.95rem + 0.5vw, 1.32rem);
}

.home-latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.home-latest .xxgt_rem,
.home-latest .zwtc {
  margin: 0;
  border: 1px solid #d7e6de;
  border-radius: 9px;
  background: #ffffff;
  overflow: hidden;
  height: 100%;
}

.home-latest .xxgt {
  height: 100%;
}

.home-latest .xxgt_title,
.home-latest .zwtc_title {
  padding: 0.46rem 0.62rem;
  border-bottom: 1px solid #e3ede8;
  background: #fbfdfc;
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.home-latest .xxgt_title span,
.home-latest .zwtc_title span {
  order: 1;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  font-size: clamp(1.06rem, 0.98rem + 0.3vw, 1.22rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1f2a25;
  padding-left: 0.48rem;
  border-left: 4px solid #e45a5a;
}

.home-latest .xxgt_title .module-title-link,
.home-latest .zwtc_title .module-title-link {
  color: #1f2a25;
}

.home-latest .xxgt_title .module-title-link:hover,
.home-latest .zwtc_title .module-title-link:hover {
  color: #1b6d4a;
  text-decoration: underline;
}

.home-latest .xxgt_title ul,
.home-latest .zwtc_title ul {
  order: 2;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0 0.36rem;
  font-size: 0.72rem;
  max-width: 55%;
  white-space: nowrap;
  overflow: hidden;
}

.home-latest .xxgt_title li,
.home-latest .zwtc_title li {
  color: #8ea19a;
  line-height: 1.45;
  flex: 0 0 auto;
}

.home-latest .xxgt_title li a,
.home-latest .zwtc_title li a {
  color: #80948a;
}

.home-latest .xxgt_title li a:hover,
.home-latest .zwtc_title li a:hover {
  color: #208158;
  text-decoration: underline;
}

.home-latest .xxgt_b,
.home-latest .zwtc_b {
  padding: 0.14rem 0.64rem 0.52rem;
}

.home-latest .xxgt_b ul,
.home-latest .zwtc_b ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 1;
}

.home-latest .xxgt_b li,
.home-latest .zwtc_b li {
  break-inside: avoid;
  display: flex;
  align-items: center;
  gap: 0.34rem;
  border-bottom: 1px dashed #e2ece7;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.home-latest .xxgt_b li:last-child,
.home-latest .zwtc_b li:last-child {
  border-bottom: 0;
}

.home-latest .xxgt_b li:nth-child(n + 9),
.home-latest .zwtc_b li:nth-child(n + 9) {
  display: none;
}

.home-latest .xxgt_b li::before,
.home-latest .zwtc_b li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  flex: 0 0 0.62rem;
  border-radius: 2px;
  background: linear-gradient(180deg, #4d89ff, #285cbd);
  opacity: 0.92;
}

.home-latest .xxgt_b a,
.home-latest .zwtc_b a {
  flex: 1;
  min-width: 0;
  color: #1c6045;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-latest .xxgt_b a:hover,
.home-latest .zwtc_b a:hover {
  color: #118252;
  text-decoration: underline;
}

.home-latest .remen {
  display: none;
}

@media (max-width: 1140px) {
  .home-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-latest {
    padding: 0.72rem 0.66rem 0.74rem;
    margin-bottom: 0.05rem;
  }

  .home-latest .section-title {
    margin-bottom: 0.42rem;
    font-size: 1rem;
  }

  .home-latest-grid {
    grid-template-columns: 1fr;
    gap: 0.52rem;
  }

  .home-latest .xxgt_title,
  .home-latest .zwtc_title {
    padding: 0.38rem 0.52rem;
    align-items: center;
    flex-direction: row;
    gap: 0.24rem;
  }

  .home-topic-wall li {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 0.34rem;
    padding: 0.3rem 0;
    border: 0;
    border-bottom: 1px dashed #deebe4;
    border-radius: 0;
    background: transparent;
  }

  .home-topic-wall li:last-child {
    border-bottom: 0;
  }

  .home-topic-card {
    margin-top: 0.62rem;
    padding: 0.72rem 0.64rem;
  }

  .home-topic-card .section-title {
    margin-bottom: 0.46rem;
    font-size: 1rem;
  }

  .home-topic-wall {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }

  .home-topic-wall .topic-label {
    font-size: 0.78rem;
    width: 100%;
    padding: 0.16rem 0.3rem;
    border-radius: 6px;
  }

  .home-topic-wall .topic-links {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.22rem;
    padding-bottom: 0.04rem;
    font-size: 0.82rem;
  }

  .home-topic-wall .topic-links::-webkit-scrollbar {
    display: none;
  }

  .home-topic-wall .topic-links a {
    font-size: 0.82rem;
    padding: 0.06rem 0.34rem;
  }

  .home-topic-wall li:nth-child(n + 7) {
    display: none;
  }

  .home-topic-wall li:nth-child(9) {
    display: grid !important;
  }

  .home-latest-grid {
    grid-template-columns: 1fr;
  }

  .home-latest .xxgt_title ul,
  .home-latest .zwtc_title ul {
    display: none;
  }

  .home-latest .xxgt_title span,
  .home-latest .zwtc_title span {
    font-size: 1rem;
    padding-left: 0.36rem;
    border-left-width: 3px;
  }

  .home-latest .xxgt_b,
  .home-latest .zwtc_b {
    padding: 0.06rem 0.52rem 0.36rem;
  }

  .home-latest .xxgt_b li,
  .home-latest .zwtc_b li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    gap: 0.3rem;
  }

  .home-latest .xxgt_b li:nth-child(n + 7),
  .home-latest .zwtc_b li:nth-child(n + 7) {
    display: none;
  }

  .home-latest .xxgt_b li::before,
  .home-latest .zwtc_b li::before {
    width: 0.5rem;
    height: 0.5rem;
    flex-basis: 0.5rem;
  }
}

@media (max-width: 1080px) {
  .home-topic-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-topic-wall {
    grid-template-columns: 1fr;
  }
}

.home-hot-essay {
  padding: 0.84rem 0.86rem 0.9rem;
  margin-top: 0.82rem;
  margin-bottom: 0.12rem;
}

.home-hot-essay .section-title {
  margin-bottom: 0.52rem;
  font-size: clamp(1.04rem, 0.95rem + 0.4vw, 1.26rem);
}

.home-hot-essay .hot-essay-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 1.1rem;
  row-gap: 0;
}

.home-hot-essay .hot-essay-list li {
  padding: 0.24rem 0.04rem;
  font-size: 0.9rem;
  line-height: 1.36;
  border-bottom-color: #e2ece7;
}

.home-hot-essay .hot-essay-list li:nth-child(n + 41) {
  display: none;
}

.home-hot-essay .hot-essay-list a {
  font-weight: 400;
  color: #245f49;
}

.home-hot-essay .hot-essay-list a:hover {
  color: #148052;
}

@media (max-width: 1080px) {
  .home-hot-essay .hot-essay-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.92rem;
  }
}

@media (max-width: 900px) {
  .home-hot-essay {
    margin-top: 0.62rem;
    padding: 0.7rem 0.64rem 0.72rem;
  }

  .home-hot-essay .hot-essay-flow {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .home-hot-essay .hot-essay-list li {
    padding: 0.18rem 0;
    font-size: 0.86rem;
  }

  .home-hot-essay .hot-essay-list li:nth-child(n + 17) {
    display: none;
  }
}

@media (min-width: 1260px) {
  .home-latest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
