
  /* 基础样式 */
  .news-card {
    border:1px solid #eee;
    overflow:hidden;
    transition:all 0.3s ease;
    background:white;
    height:100%;
  }
  .imgback{
    background: 
        url("../img/news.webp") center top no-repeat;
    background-size: cover;
  }
  /*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

  .bar-buttons {
    background:#f5f5f5;
    height:70px;
    /* 固定高度 */
      display:flex;
    align-items:center;
    border-bottom:1px solid #f1f1f1;
    padding:0;
  }
  .hidecontainer{
    display: none;
  }
  .container2 {
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
  }
  .button-group {
    display:flex;
    align-items:center;
    height:100%;
    /* 继承container高度 */
      gap:0;
  }
  .btn {
    background:none;
    border:none;
    padding:20px;
    font-weight:bold;
    font-size:21px;
    cursor:pointer;
    position:relative;
    height:100%;
    /* 继承button-group高度 */
      display:flex;
    align-items:center;
    color:#333;
    transition:color 0.3s ease;
  }
  .btn::after {
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    height:2px;
    background-color:transparent;
    transition:background-color 0.3s ease;
    border-radius:1px 1px 0 0;
  }
  .btn:hover {
    color:#007bff;
  }
  .btn:hover::after {
    background-color:#007bff;
  }
  .btn.active {
    color:#007bff;
  }
  .btn.active::after {
    background-color:#007bff;
  }
  .news-image {
    flex:0 0 170px;
    /* 固定图片宽度 */
      height:100%;
    /* 固定图片高度 */
      overflow:hidden;
  }
  .scrollable-link {
    display:block;
    height:80px;
    /* 固定高度 */
      padding:10px;
    text-decoration:none;
    /* 移除下划线 */
      color:inherit;
    /* 继承父元素颜色 */
  }
  .news-image img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    /* 调整图像位置 */
      transition:transform 0.3s ease;
  }
  .news-text {
    flex:1;
    padding:1.5rem;
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    transition:background 0.9s ease;
    /* 添加背景色过渡 */
  }
  .meta-container {
    margin-bottom:1rem;
  }
  .action-button {
    position:absolute;
    right:1.5rem;
    bottom:1.5rem;
  }
  .read-more-btn {
    width:40px;
    height:40px;
    border:2px solid #2196F3;
    border-radius:50%;
    background:transparent;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:all 0.3s ease;
  }
  .arrow-icon {
    width:16px;
    height:16px;
    fill:#2196F3;
    transition:fill 0.3s ease;
  }
  /* 悬停效果 */
    .news-card:hover {
    box-shadow:0 4px 20px rgba(0,0,0,0.1);
    border-color:transparent;
  }
  .news-card:hover .news-text {
    background:#2D2D2D;
  }
  .news-card:hover img {
    transform:scale(1.1);
  }
  .news-card:hover .post-date,.news-card:hover .title a {
    color:white !important;
  }
  .news-card:hover .read-more-btn {
    background:#2196F3;
    border-color:#2196F3;
  }
  .news-card:hover .arrow-icon {
    fill:white;
  }
  .bottom-row {
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
  .container3 {
    display:flex;
    height:auto;
    box-sizing:border-box;
  }
  /* 轮播图容器 */
    .display-area {
    flex:0 0 55%;
    background:#eee;
    position:relative;
    overflow:hidden;
    user-select:none;
    height:60vh;
  }
  /* 轮播图滑动区域 */
    .carousel2 {
    display:flex;
    height:100%;
    transition:transform 0.4s ease;
    will-change:transform;
  }
  /* 每个轮播项 */
    .carousel-item2 {
    flex:0 0 100%;
    position:relative;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#000;
  }
  .carousel-item2 img {
    width:100%;
    height:100%;
    object-fit:cover;
    user-select:none;
  }
  .carousel-item2 video {
    width:100%;
    height:100%;
    display:none;
    background:black;
  }
  .carousel-item2 video.active {
    display:block;
  }
  /* 播放按钮 */
    .play-button {
    position:absolute;
    top:50%;
    left:50%;
    width:64px;
    height:64px;
    margin-left:-32px;
    margin-top:-32px;
    background:rgba(0,0,0,0.5);
    border-radius:50%;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:background-color 0.3s ease;
    animation:pulse 2s infinite;
    z-index:5;
  }
  .play-button:hover {
    background:rgba(0,0,0,0.7);
  }
  .play-button::before {
    content:'';
    display:inline-block;
    margin-left:5px;
    border-style:solid;
    border-width:12px 0 12px 20px;
    border-color:transparent transparent transparent white;
  }
  @keyframes pulse {
    0% {
    box-shadow:0 0 0 0 rgba(255,255,255,0.7);
  }
  70% {
    box-shadow:0 0 0 10px rgba(255,255,255,0);
  }
  100% {
    box-shadow:0 0 0 0 rgba(255,255,255,0);
  }
  }/* 左下角文字 */
    .image-caption {
    position:absolute;
    left:10px;
    bottom:10px;
    color:white;
    font-size:1.4em;
    font-weight:bold;
    max-width:90%;
    text-shadow:2px 2px 4px rgba(0,0,0,0.7),1px 1px 2px rgba(0,0,0,0.5),0 0 5px rgba(0,0,0,0.3);
    pointer-events:none;
    user-select:none;
    z-index:10;
    transition:opacity 0.3s ease;
  }
  /* 列表区域 */
    .list-area {
    flex:0 0 45%;
    width:auto;
    background:#fafafa;
    border-left:1px solid #ccc;
    overflow-x:hidden;
    height:60vh;
  }
  .list-item {
    display:flex;
    align-items:center;
    padding:10px;
    height:130px;
    border-bottom:1px solid #ddd;
    cursor:pointer;
    position:relative;
    /* 使伪元素相对于列表项定位 */
      transition:background-color 0.2s;
  }
  .list-item::before {
    content:'';
    position:absolute;
    left:0;
    /* 左侧对齐 */
      top:50%;
    /* 垂直居中 */
      transform:translateY(-50%);
    /* 使边框垂直居中 */
      width:5px;
    /* 边框宽度 */
      height:100%;
    /* 边框高度与列表项一致 */
      background-color:#e1e1e1;
    /* 默认透明 */
      transition:background-color 0.3s;
    /* 动画效果 */
  }
  .list-item:hover {
    background-color:#e9e9e9;
    /* hover 背景颜色 */
  }
  .list-item.active::before {
    background-color:#4286F3;
    /* 选中行的左侧边框颜色 */
  }
  .list-item img {
    width:auto;
    height:98px;
    max-width:170px;
    object-fit:cover;
    margin-left:20px;
    flex-shrink:0;
  }
  .list-item .text {
    margin-left: 30px;
    flex:1;
  }
  /* 响应式布局 */
    @media (min-width:992px) {
    .title {
    font-size:1.25rem;
    /* 调整为合适大小，比如20px左右 */
          line-height:1.4;
    /* 调整行间距，1.4是比较舒适的比例 */
          margin-bottom:0.5rem;
    /* 可选，调整标题下方间距 */
  }
  .news-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    /* 两列均分 */
        gap:1rem;
    /* 网格间距固定 */
  }
  .news-item {
    /* 让每个网格项撑满单元格 */
        width:100%;
    height:100%;
    /* 可选：限制最大宽高，避免过大 */
        max-height:170px;
    /* 根据设计需求调整 */
  }
  .news-content {
    flex-direction:row;
    height:100%;
  }
  }/* 窄屏样式 */
  @media (max-width:991px) {
    .news-card {
    height:450px;
  }
  .news-content {
    display:flex;
    flex-direction:column;
    height:100%;
    width:100%;
  }
  .news-image {
    flex:3 1 0;
    /* 弹性占比2 */
        height:auto;
    /* 取消固定高度 */
        width:100%;
  }
  .news-image img {
    width:100%;
    height:100%;
    object-fit:cover;
  }
  .scrollable-link {
    display:block;
    height:90px;
    /* 固定高度 */
          padding:5px;
    text-decoration:none;
    /* 移除下划线 */
          color:inherit;
    /* 继承父元素颜色 */
  }
  .news-text {
    flex:1 1 0;
    /* 弹性占比1 */
        display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:1rem 1.5rem;
  }
  .title {
    font-size:1.2rem;
    line-height:1.3;
    margin:0;
  }
  .post-date {
    font-size:0.9rem;
    color:#666;
  }
  .action-button {
    width:40px;
    height:40px;
    flex-shrink:0;
    position:static;
    /* 取消绝对定位 */
  }
  .container3 {
    flex-direction:column;
  }
  .list-area {
    width:100%;
    height:200px;
    border-left:none;
    border-top:1px solid #ccc;
    overflow-x:hidden;
    display:block;
  }
  .list-item {
    flex-direction:column;
    padding:8px;
    height:80px;
    border-bottom:1px solid #ddd;
    border-right:none;
    align-items:flex-start;
  }
  .list-item img {
    display:none;
  }
  .list-item .text {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    text-align:left;
  }
  }