    .gallery-item {
      overflow: hidden;
      border-radius: 10px;
      margin-bottom: 30px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      background: #13181d; /* 背景色深色，防止加载时闪烁 */
      /* 强制设置 16:9 的容器比例，确保整齐 */
      aspect-ratio: 16 / 9; 
      position: relative;
    }
    
    .gallery-item a {
      display: block;
      width: 100%;
      height: 100%;
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      /* 关键属性：object-fit: cover 确保图片填满容器且不留黑边 */
      object-fit: cover; 
      object-position: center; /* 图片居中裁剪 */
      transition: all 0.5s ease;
      display: block;
      opacity: 0.9;
    }

    .gallery-item:hover img {
      transform: scale(1.1);
      opacity: 1;
    }

    /* 针对公告区域图片的特殊高度调整（如果需要更大一点） */
    .news-list .gallery-item {
      aspect-ratio: 16 / 9; 
    }

    /* 分类标题样式 */
    .category-title {
      border-left: 4px solid #007bff;
      padding-left: 15px;
      margin: 40px 0 25px 0;
      color: #fff;
    }