@charset "utf-8";

/* 新闻资讯列表页：按参考图还原 */
.sub-list-page #banner {
    margin-top: 0;
}

.sub-list-page .secondary-nav {
    padding-top: 50px;
    background: #fff;
}

.sub-list-page .secondary-nav__inner {
    width: 1000px;
    max-width: calc(100% - 40px);
    border-bottom: 0;
    background: #f7f7f7;
}

.sub-list-page .secondary-nav__list {
    min-height: 64px;
    gap: 0;
}

.sub-list-page .secondary-nav__item {
    flex: 0 0 196px;
}

.sub-list-page .secondary-nav__link {
    min-height: 64px;
    justify-content: center;
    color: #777;
    font-size: 20px;
}

.sub-list-page .secondary-nav__link::after {
    display: none;
}

.sub-list-page .secondary-nav__item.is-active .secondary-nav__link,
.sub-list-page .secondary-nav__link:hover,
.sub-list-page .secondary-nav__link:focus-visible {
    background: #ee942e;
    color: #fff;
}

.news-main {
    --news-accent: #ee942e;
    --news-ink: #555;
    --news-muted: #999;
    min-height: 420px;
    padding: 0 0 100px;
    background: #fff;
}

.news-shell {
    width: 1000px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

.news-catalog {
    padding-top: 12px;
}

.news-grid > li {
    border-bottom: 1px solid #ededed;
}

.news-card,
.news-card > a {
    display: block;
}

.news-card > a {
    display: flex;
    min-height: 160px;
    box-sizing: border-box;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 0;
    color: inherit;
}

.news-card__media {
    flex: 0 0 232px;
    width: 232px;
    height: 146px;
    margin: 0;
    overflow: hidden;
    background: #f3f3f3;
}

.news-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__body {
    min-width: 0;
    padding: 5px 0 0;
}

.news-card h2 {
    overflow: hidden;
    color: var(--news-ink);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s ease;
}

.news-card p {
    display: -webkit-box;
    margin-top: 3px;
    overflow: hidden;
    color: var(--news-muted);
    font-size: 14px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-card:hover h2,
.news-card:focus-within h2 {
    color: var(--news-accent);
}

.news-card a:focus-visible,
.news-pagination a:focus-visible {
    outline: 2px solid var(--news-accent);
    outline-offset: 3px;
}

.news-pagination {
    padding-top: 34px;
    text-align: center;
}

.news-pagination a {
    min-width: 32px;
    box-sizing: border-box;
    padding: 4px 10px;
    border-color: #e2e2e2;
    color: #aaa;
    font-size: 13px;
    line-height: 22px;
}

.news-pagination a:hover,
.news-pagination .hover {
    border-color: #ddd;
    background: #f5f5f5;
    color: #777;
    box-shadow: none;
}

@media (max-width: 700px) {
    html {
        min-width: 0;
    }

    .sub-list-page .secondary-nav {
        padding-top: 24px;
    }

    .sub-list-page .secondary-nav__inner {
        overflow-x: auto;
    }

    .sub-list-page .secondary-nav__list {
        width: max-content;
    }

    .sub-list-page .secondary-nav__item {
        flex-basis: 150px;
    }

    .sub-list-page .secondary-nav__link {
        font-size: 17px;
    }

    .news-card > a {
        gap: 14px;
    }

    .news-card__media {
        flex-basis: 38%;
        width: 38%;
        height: auto;
        aspect-ratio: 232 / 146;
    }
}

@media (max-width: 480px) {
    .news-card > a {
        display: block;
        padding: 16px 0;
    }

    .news-card__media {
        width: 100%;
    }

    .news-card__body {
        padding-top: 10px;
    }
}
