@media (max-width: 1400px) {
  #tab-1 .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 5px;
    margin-bottom: 10px;
  }
  #tab-1 .item__description p {
    width: 100%;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 992px;
  }
    /*轮播图*/
  .hero__content {
    height: 280px;
    padding: 0;
  }
  .hero__title {
    padding: 0;
    margin: 0;
    width: 580px;
    height: 24px;
    font-family: Ubuntu, Ubuntu;
    font-weight: 400;
    font-size: 32px;
    color: #FFFFFF;
    line-height: 22px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }
  .hero__text {
    margin-bottom: 10px;
    margin-top: 10px;
    width: 510px;
    font-family: Open Sans, Open Sans;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 22px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    /* 实现换行和行数限制 */
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 确保最小高度以显示文本 */
    min-height: 66px;
  }
  .hero__category {
    width: 442px;
    height: 23px;
    font-family: Open Sans, Open Sans;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 22px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }
  .hero__actions {
    display: none;
  }

  /* 第一个模块 */
  #first__section {
    height: 439px;
    margin-top: -25px;
  }
  #first__section .item {
    width: 216px;
  }
  #first__section .item__img {
    height: 300px;
    width: 100%;
  }
  #first__section .item--carousel .item__cover {
    height: 300px;
    width: 100%;
  }

  #first__section .item__content {
    padding: 0;
    margin: 0;
  }

  #first__section .item--carousel .item__title a {
    width: 216px;
    height: 54px;
    font-family: Roboto, Roboto;
    font-weight: 400;
    font-size: 18px;
    color: #333333;
    line-height: 27px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 54px;
    word-wrap: break-word; /* 确保长单词也能正确换行 */
    word-break: keep-all; /* 在合适的位置换行，保持单词完整 */
    hyphens: auto; /* 自动添加连字符 */
  }

  #first__section .item--carousel .item__category {
    width: 216px;
    height: 14px;
    font-family: Roboto, Roboto;
    font-weight: 400;
    font-size: 14px;
    color: #999999;
    line-height: 14px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }
  #first__section .item--carousel .item__tags {
    width: 100%;
    justify-content: flex-start;
    gap: 3px;
  }
  #first__section .item--carousel .item__tag {
    font-family: Roboto, Roboto;
    font-weight: 400;
    font-size: 11px;
    color: #999999;
    line-height: 11px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  /*第二个模块*/
  #second-title {
    margin-bottom: 0;
    margin-top: 45px;
  }
  #tab-1 .item__row {
    flex-direction: row;
    height: 241px;
    width: 95%;
  }
  #tab-1 .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 5px;
  }

  #tab-1 .item--list {
    margin-bottom: 5px;
  }

  #tab-1 .item__cover-wrapper {
    flex: 0 0 180px;
  }
  #tab-1 .item__cover {
    width: 166px;
  }

  #tab-1 .item__cover img {
    height: 100%;
    object-fit: cover;
  }

  #tab-1 .item__content {
    padding: 0;
    flex: 1;
    margin: 0;
  }

  #tab-1 .item__title {
    width: 714px;
    height: 20px;
    font-family: Ubuntu, Ubuntu;
    font-weight: 400;
    font-size: 18px;
    color: #333333;
    line-height: 26px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 0;
  }

  #tab-1 .item__title a {
    width: 714px;
    height: 20px;
    font-family: Ubuntu, Ubuntu;
    font-weight: 400;
    font-size: 18px;
    color: #333333;
    line-height: 26px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 0;
  }


  #tab-1 .item__meta {
    margin-bottom: 0;
    gap: 8px;
  }

  #tab-1 .item__author {
    width: 714px;
    height: 14px;
    font-family: Ubuntu, Ubuntu;
    font-weight: 400;
    font-size: 12px;
    color: #999999;
    line-height: 14px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin: 10px 0;
  }
  #tab-1 .item__description {
    margin: 0;
    flex-grow: 0;
  }
  #tab-1 .item__description p {
    width: 100%;
    height: 84px;
    font-family: Ubuntu, Ubuntu;
    font-weight: 400;
    font-size: 16px;
    color: #666666;
    line-height: 21px;
    text-align: justify;
    font-style: normal;
    text-transform: none;
  }

  #tab-1 .item__category {
    font-size: 12px;
    margin-bottom: 0;
  }

  #tab-1 .item__tags {
    margin-top: 12px;
    margin-bottom: 0;
  }
  #tab-1 .item__tag {
    font-family: Roboto, Roboto;
  }

  #tab-1 .item__stats {
    margin-top: 6px;
    margin-right: auto; /* 将元素推到最右边 */
    justify-content: flex-end; /* 内容右对齐 */
    width: fit-content; /* 让容器宽度适应内容 */
  }
  #tab-1 .item__stat svg {
    width: 12px;
    height: 12px;
  }
  #tab-1 .item--carousel .item__content {
    padding: 10px 0 0;
  }

  #tab-1 .item--carousel .item__title {
    font-size: 14px;
    margin-bottom: 5px;
    text-align: center;
  }

  #tab-1 .item--carousel .item__title a {
    color: #333333 !important;
  }

  #tab-1 .item--carousel .item__category {
    font-size: 12px;
    text-align: center;
    margin-bottom: 0;
  }

  #tab-1 .item--carousel .item__category a {
    margin: 0 3px;
  }

  #tab-1 .item--carousel .item__title a {
    width: 96px;
    height: 30px;
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 400;
    font-size: 12px;
    color: #333333;
    line-height: 14px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  #tab-1 .item--carousel .item__category {
    width: 96px;
    height: 16px;
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 400;
    font-size: 9px;
    color: #333333;
    line-height: 16px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }
  #tab-1 .splide--content .splide__pagination__page {
    margin-top: -30px;
  }

  #tab-1 .section__carousel .splide__slide {
    padding: 0 5px;
  }

  #tab-1 .item--carousel {
    margin-bottom: 5px;
  }

  #tab-1 .item--carousel .item__cover {
    height: 134px;
  }

  #tab-1 .section__title--carousel {
    margin-bottom: 0px;
    font-size: 16px;
  }

  /* 标签移动端样式 */
  #tab-1 .item--carousel .item__tags {
    justify-content: center;
    margin-bottom: 8px;
    height: 18px;
  }

  #tab-1 .category-list {
    gap: 6px;
    padding-bottom: 8px;
  }

  #tab-1 .category-item {
    padding: 5px 10px;
    font-size: 11px;
  }

  /* 统计信息移动端样式 */
  #tab-1 .item__stats {
    margin-top: 6px;
  }

  #tab-1 .item--carousel .item__stats {
    margin-top: 4px;
  }

  #tab-1 .item--carousel .item__stat {
    font-size: 10px;
  }

  #tab-1 .item--carousel .item__stat svg {
    width: 10px;
    height: 10px;
  }

  #tab-1 .content__title {
    margin-top: 0;
    margin-bottom: -10px;
    font-size: 16px;
  }


  #view-more-btn {
    display: flex;
    margin: 25px auto -30px;
    height: 48px;
    background: #9E6DFC;
    box-shadow: none;
  }
  #view-more-btn img{
    width: 400px;
    height: 66px;
    background: #9E6DFC;
    border-radius: 34px 34px 34px 34px;
    content: url('../../img/show_more_992.png');
  }

}

@media (max-width: 576px) {
  /*首页的分类标签*/
  .category-section {
    padding: 12px 0;
  }
  .category-list {
    margin: 0;
    padding: 0 0 10px;
  }
  .category-item {
    border-radius: 15px 15px 15px 15px;
    font-family: Roboto, Roboto;
    font-weight: 400;
    font-size: 10px;
    color: #3D3D3D;
    line-height: 13px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }
  /*轮播图*/
  .hero__content {
    height: 115px;
    padding-top: 75px;
  }
  .hero__title {
    padding: 0;
    margin: 0;
    width: 180px;
    font-family: Ubuntu, Ubuntu;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 24px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    /* 实现换行和行数限制 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 确保最小高度以显示文本 */
    min-height: 48px;
  }
  .hero__text {
    width: 158px;
    height: 50px;
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 400;
    font-size: 8px;
    color: #FFFFFF;
    line-height: 6px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 10px;
    opacity: 0;
  }
  .hero__category {
    width: 50px;
    height: 6px;
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 400;
    font-size: 8px;
    color: #FFFFFF;
    line-height: 6px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    opacity: 0;
  }
  .hero__actions {
    display: none;
  }
  .splide--hero .splide__pagination {
    margin-bottom: -30px;
  }
  /* 第一个模块 */
  #first__section {
    height: 225px;
    margin-top: -25px;
  }
  #first__section .item {
    width: 97px;
  }
  #first__section .item__img {
    height: 134px;
    width: 100%;
  }
  #first__section .item--carousel .item__cover {
    height: 134px;
    width: 100%;
  }

  #first__section .item__content {
    padding: 0;
    margin: 0;
  }

  #first__section .item--carousel .item__title a {
    width: 96px;
    height: 30px;
    font-family: Roboto, Roboto;
    font-weight: 400;
    font-size: 12px;
    color: #333333;
    line-height: 14px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 28px;
    word-wrap: break-word; /* 确保长单词也能正确换行 */
    word-break: keep-all; /* 在合适的位置换行，保持单词完整 */
    hyphens: auto; /* 自动添加连字符 */
  }

  #first__section .item--carousel .item__category {
    width: 96px;
    height: 16px;
    font-family: Roboto, Roboto;
    font-weight: 400;
    font-size: 9px;
    color: #333333;
    line-height: 16px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }
  #first__section .item--carousel .item__tags {
    width: 100%;
    justify-content: flex-start;
    gap: 3px;
  }
  #first__section .item--carousel .item__tag {
    font-size: 9px;
    color: #999999;
    line-height: 12px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }
  /*第二个模块*/
  #second-title {
    margin-top: 35px;
    margin-bottom: 10px;
  }
  #tab-1 .item__row {
    flex-direction: row;
    height: 137px;
    width: 95%;
  }
  #tab-1 .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 5px;
  }

  #tab-1 .item--list {
    margin-bottom: 5px;
  }

  #tab-1 .item__cover-wrapper {
    flex: 0 0 110px;
  }
  #tab-1 .item__cover {
    width: 97px;
  }

  #tab-1 .item__cover img {
    height: 100%;
    object-fit: cover;
  }

  #tab-1 .item__content {
    padding: 0;
    flex: 1;
    margin: 0;
  }

  #tab-1 .item__title {
    width: 225px;
    height: 24px;
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 400;
    font-size: 12px;
    color: #333333;
    line-height: 12px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 0;
  }

  #tab-1 .item__title a {
    width: 225px;
    height: 24px;
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 400;
    font-size: 12px;
    color: #333333;
    line-height: 12px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 0;
  }


  #tab-1 .item__meta {
    margin-bottom: 0;
    gap: 8px;
  }

  #tab-1 .item__author {
    width: 225px;
    height: 12px;
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 400;
    font-size: 9px;
    color: #999999;
    line-height: 12px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }
  #tab-1 .item__description {
    flex-grow: 0;
  }
  #tab-1 .item__description p {
    width: 105%;
    height: 39px;
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 400;
    font-size: 9px;
    color: #999999;
    line-height: 12px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  #tab-1 .item__category {
    font-size: 12px;
    margin-bottom: 0;
  }

  #tab-1 .item__tags {
    margin-top: 12px;
    margin-bottom: 0;
  }
  #tab-1 .item__stats {
    margin-top: 6px;
    margin-left: auto; /* 将元素推到最右边 */
    justify-content: flex-end; /* 内容右对齐 */
    width: fit-content; /* 让容器宽度适应内容 */
  }
  #tab-1 .item__stat svg {
    width: 12px;
    height: 12px;
  }
  #tab-1 .item--carousel .item__content {
    padding: 10px 0 0;
  }

  #tab-1 .item--carousel .item__title {
    font-size: 14px;
    margin-bottom: 5px;
    text-align: center;
  }

  #tab-1 .item--carousel .item__title a {
    color: #333333 !important;
  }

  #tab-1 .item--carousel .item__category {
    font-size: 12px;
    text-align: center;
    margin-bottom: 0;
  }

  #tab-1 .item--carousel .item__category a {
    margin: 0 3px;
  }

  #tab-1 .item--carousel .item__title a {
    width: 96px;
    height: 30px;
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 400;
    font-size: 12px;
    color: #333333;
    line-height: 14px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  #tab-1 .item--carousel .item__category {
    width: 96px;
    height: 16px;
    font-family: Source Han Sans, Source Han Sans;
    font-weight: 400;
    font-size: 9px;
    color: #333333;
    line-height: 16px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }
  #tab-1 .splide--content .splide__pagination__page {
    margin-top: -30px;
  }

  #tab-1 .section__carousel .splide__slide {
    padding: 0 5px;
  }

  #tab-1 .item--carousel {
    margin-bottom: 5px;
  }

  #tab-1 .item--carousel .item__cover {
    height: 134px;
  }

  #tab-1 .section__title--carousel {
    margin-bottom: 0px;
    font-size: 16px;
  }

  /* 标签移动端样式 */
  #tab-1 .item--carousel .item__tags {
    justify-content: center;
    margin-bottom: 8px;
    height: 18px;
  }

  #tab-1 .category-list {
    gap: 6px;
    padding-bottom: 8px;
  }

  #tab-1 .category-item {
    padding: 5px 10px;
    font-size: 11px;
  }

  /* 统计信息移动端样式 */
  #tab-1 .item__stats {
    margin-top: 6px;
  }

  #tab-1 .item--carousel .item__stats {
    margin-top: 4px;
  }

  #tab-1 .item--carousel .item__stat {
    font-size: 10px;
  }

  #tab-1 .item--carousel .item__stat svg {
    width: 10px;
    height: 10px;
  }

  #tab-1 .content__title {
    margin-top: 0;
    margin-bottom: -10px;
    font-size: 16px;
  }


  #view-more-btn {
    display: flex;
    margin: 25px auto -30px;
    height: 48px;
    background: #9E6DFC;
    box-shadow: none;
  }
  #view-more-btn img{
    width: 311px;
    height: 48px;
    background: #9E6DFC;
    border-radius: 34px 34px 34px 34px;
    content: url('../../img/show_more_576.png');
  }
}
