article .module {
    margin-bottom: 60px;
    padding: 0 40px;
}

article .module .news-time {
    display: flex;
    align-items: center;
}

article .module .news-time .release-time{
    width: 14px;
    margin-right: 8px;
}

article .module-item {
    margin-bottom: 30px;
}

article .module-item ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
}

article .module-item dl {
    color: var(--text-color-dark);
}

article .module-item dl dt {
    margin: 10px 0;
    font-size: 16px;
    color: var(--text-color-darker);
}

article .module-item .time {
    margin: 0;
    color: var(--text-color-dark);
}

article .module-item dd {
    font-weight: 300;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

article .module-item div{
    margin-right: 20px;
    position: relative; 
}

article .ding:not(.module :has(+ .ding)) {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

article .ding div::before {
    display: block;
    width: 54px;
    height: 54px;
    content: '';
    background: url('../images/top.png');
    background-size: 100% 100%;
    position: absolute;
}

article .module-item div>img {
    width: 180px;
    height: 100px;
    object-fit: cover;
}

/* 新闻详情页 */
article#detail{
    margin-bottom: 60px;
}

article#detail img {
    width: auto;
    max-width: 100%;
    height: auto
}

article#detail .btns{
    display: flex;
    justify-content: flex-end;
    padding: 0 20px;
}

article#detail .btns ul {
    display: flex;
}

article#detail .btns button {
    margin-left: 10px;
    color: white;
    padding: 10px 20px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

article#detail .btns button>img {
    width: 18px;
    vertical-align: middle;
    margin-right: 4px;
}

article#detail .module {
    text-align: center;
    min-height: 400px;
    padding: 0 20px;
}

article#detail .module h1 {
    color: var(--text-color-darker);
    font-size: 22px;
    padding: 20px 0;
    border-bottom: 1px dashed #f2f2f2;
}

article#detail .module p {
    color: var(--text-color-dark);
    text-align: left;
    font-size: 16px;
    line-height: 2;
    margin: 20px 0;
}

article#detail .module span {
    color: var(--text-color-dark);
}

.customBootstrap {
    margin-top: 20px;
}

.customBootstrap .pagination > li > a {
    display: inline-block;
    margin-right: 5px;
    border-radius: 2px;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    padding: 6px 15px;
  }
  .customBootstrap .pagination > li > a:hover,
  .customBootstrap .pagination > li > a:focus {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
  }
  .customBootstrap .pagination > .active > a,
  .customBootstrap .pagination > .active > a:hover,
  .customBootstrap .pagination > .active > a:focus {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
  }
  .customBootstrap .pagination > .disabled > a,
  .customBootstrap .pagination > .disabled > a:hover,
  .customBootstrap .pagination > .disabled > a:focus {
    color: #999;
    background: #fff;
    border-color: #ddd;
    cursor: not-allowed;
  }

  @media (min-width: 769px) {
    article#detail  .scrollTop {
        display: none;
    }
  }

  @media (max-width: 768px) {

    article .module-item div img {
        width: 160px;
    }
    article .module-item dl dt {
        font-size: 14px;
        margin: 4px 0;
    }
    article .module-item dd {
        font-size: 12px;
    }

    .customBootstrap .pagination > li > a {
        font-size: 12px;
        padding: 4px 10px;
    }
    article video {
        width: 100%;
    }

    article#detail .scrollTop {
        display: block;
    }
  }

  @media (max-width: 576px) {
    article .module-item div img {
        width: 130px;
    }
  }
