  /* 轮播容器 */
    .index-news {
      padding: 60px 0;
    }
    .news-slider {
      position: relative;
      min-height: 380px;
      overflow: hidden;
    }

    .news-item {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      transform: translateX(20px);
      transition: opacity 0.5s ease, transform 0.5s ease;
      display: flex !important;
      flex-direction: row;
      align-items: flex-start;
    }

    .news-item.active {
      opacity: 1;
      transform: translateX(0);
      z-index: 2;
      position: relative; 
    }

    .news-body {
      display: flex;
      width: 100%;
    }

    .news-img {
      width: 400px;
      height: 300px;
      object-fit: cover;
      border-radius: 4px;
      flex-shrink: 0;
    }

    .news-content {
      text-align: left;
      margin-left: 30px;
      flex: 1;
      line-height: 1.6;
    }
    .news-slider{
        text-align: center;
    }
    .read-more {
      text-align: center;
      display: inline-block;
      margin-top: 20px;
      padding: 10px 20px;
      border: 1px solid #e74c3c;
      color: #e74c3c;
      text-decoration: none;
      font-size: 14px;
      text-transform: uppercase;
      transition: all 0.3s;
      align-self: flex-start;
    }

    .read-more:hover {
      background-color: #e74c3c;
      color: white;
    }

    /* 图片按钮 */
    .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 10;
      padding: 0;
    }

    .nav-btn img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .prev-btn {
      left: -50px;
    }

    .next-btn {
      right: -50px;
    }

    .nav-btn.hidden {
      display: none;
    }

    @media (max-width: 768px) {
      .hd_title {
        font-size: 24px;
        margin-bottom: 25px;
      }

      .news-item {
        flex-direction: column;
        position: relative;
        min-height: auto;
      }

      .news-body {
        flex-direction: column;
        width: 100%;
      }

      .news-img {
        width: 100%;
        height: 220px;
        margin-bottom: 20px;
      }

      .news-content {
        margin-left: 0;
        margin-bottom: 15px;
      }

      .read-more {
        align-self: flex-start;
        margin-top: 10px;
      }

      /* 移动端按钮位置调整 */
      .nav-btn {
        top: auto;
        bottom: -50px;
        transform: none;
        width: 36px;
        height: 36px;
      }

      .prev-btn {
        left: 40%;
      }

      .next-btn {
        right: 40%;
      }

      .news-slider {
        min-height: auto;
        padding-bottom: 60px; 
      }
    }


    @media (max-width: 480px) {
      .nav-btn {
        width: 32px;
        height: 32px;
      }

      .prev-btn {
        left: 35%;
      }

      .next-btn {
        right: 35%;
      }

      .read-more {
        font-size: 13px;
        padding: 8px 16px;
      }
    }