/* 资讯列表 / 详情页美化 */
.page-news,
.page-news-detail {
    background: #f4f7f5;
}

.page-news .container[role="main"],
.page-news-detail .container[role="main"] {
    padding-top: 24px;
    padding-bottom: 32px;
}

.page-news .news-panel,
.page-news-detail .news-panel {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(26, 46, 36, 0.08);
    background: #fff;
}

.page-news .news-body {
    padding: 20px 20px 8px;
}

.page-news .news-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e6ece8;
}

.page-news .news-toolbar .form-inline {
    margin: 0;
    width: 100%;
    max-width: 360px;
}

.page-news .news-toolbar .input-group {
    width: 100%;
}

.page-news .news-toolbar .form-control {
    height: 38px;
    border-radius: 8px 0 0 8px;
    border-color: #d5e3da;
    box-shadow: none;
}

.page-news .news-toolbar .form-control:focus {
    border-color: #2f6b4f;
    box-shadow: 0 0 0 2px rgba(47, 107, 79, 0.15);
}

.page-news .news-toolbar .btn-info {
    background: #2f6b4f;
    border-color: #2f6b4f;
    border-radius: 0 8px 8px 0;
    padding: 8px 18px;
    font-weight: 500;
}

.page-news .news-toolbar .btn-info:hover,
.page-news .news-toolbar .btn-info:focus {
    background: #1f4d38;
    border-color: #1f4d38;
}

.page-news .news-feed .media {
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid #eef2ef;
    transition: background 0.2s ease;
}

.page-news .news-feed .media:last-child {
    border-bottom: 0;
}

.page-news .news-feed .media:hover {
    background: #f7faf8;
}

.page-news .news-feed .media-left {
    position: relative;
    padding-right: 16px;
}

.page-news .news-feed .thumb {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e6ece8;
}

.page-news .news-feed .video-time {
    display: block;
    padding: 2px 6px;
    background: rgba(14, 14, 14, 0.78);
    color: #fff;
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 12px;
    border-radius: 4px;
}

.page-news .news-feed .jing {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    background: url(/Public/Images/news/jing.png) no-repeat;
    background-position: 60% 60%;
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

.page-news .news-feed .news-title {
    padding-top: 0 !important;
    padding-bottom: 8px !important;
}

.page-news .news-feed .news-title h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
}

.page-news .news-feed .news-title a {
    color: #2c4469;
    text-decoration: none;
}

.page-news .news-feed .news-title a.is-hot {
    color: #e53333;
}

.page-news .news-feed .news-title a:hover,
.page-news .news-feed .news-title a:focus {
    color: #1e3350;
    text-decoration: underline;
}

.page-news .news-feed .news-title a.is-hot:hover,
.page-news .news-feed .news-title a.is-hot:focus {
    color: #c62828;
}

.page-news .news-feed .news-tag {
    color: #bbb !important;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 22px;
}

.page-news .news-feed .news-click,
.page-news .news-feed .news-comment,
.page-news .news-feed .news-author,
.page-news .news-feed .news-time {
    float: none;
    width: auto;
    padding: 0 0 0 20px;
    text-indent: 0;
    font: inherit;
    vertical-align: baseline;
    display: inline-flex;
    align-items: center;
    min-height: 16px;
    line-height: 1.4;
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-position: left center;
}

.page-news .news-feed .news-click {
    background-image: url(/Public/Images/news/click.png);
}

.page-news .news-feed .news-comment {
    background-image: url(/Public/Images/news/comment.png);
}

.page-news .news-feed .news-author {
    background-image: url(/Public/Images/news/author.png);
}

.page-news .news-feed .news-time {
    padding-left: 0;
    background: none;
    color: #bbb;
}

.page-news .news-pager {
    padding: 12px 0 18px;
    text-align: center;
}

/* 详情页 */
.page-news-detail .news-panel {
    padding: 28px 28px 12px;
}

.page-news-detail .news-list-title {
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e6ece8;
    font-size: 26px;
    line-height: 1.45;
    font-weight: 600;
    color: #1a2e24;
    text-align: left;
}

.page-news-detail .news-list-tag {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 22px;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: 0;
    color: #bbb;
    font-size: 14px;
    text-align: left;
}

.page-news-detail .news-list-tag .news-editor,
.page-news-detail .news-list-tag .news-click,
.page-news-detail .news-list-tag .news-time {
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    min-height: 16px;
    padding-left: 20px;
    line-height: 1.4;
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-position: left center;
}

.page-news-detail .news-list-tag .news-editor {
    background-image: url(/Public/Images/news/author.png);
}

.page-news-detail .news-list-tag .news-click {
    background-image: url(/Public/Images/news/click.png);
}

.page-news-detail .news-list-tag .news-time {
    padding-left: 0;
    background: none;
}

.page-news-detail .news-list-content {
    font-size: 16px;
    line-height: 1.85;
    color: #2a3a32;
}

.page-news-detail .news-list-content p {
    margin: 0 0 18px;
}

.page-news-detail .news-list-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-news-detail .news-list-zan {
    margin: 24px 0;
    padding: 28px 0;
    text-align: center;
    border-top: 1px solid #eef2ef;
    border-bottom: 1px solid #eef2ef;
}

.page-news-detail .news-list-zan img {
    cursor: pointer;
}

.page-news-detail .zan-count {
    margin: 0 5px;
    font-size: 18px;
    font-weight: bold;
    color: #8c2018;
}

.page-news-detail .share {
    width: auto;
    margin: 0 35px;
}

.page-news-detail .news-list-zan h4 a {
    color: #2c4469;
}

.page-news-detail .news-list-zan h4 a:hover {
    color: #1e3350;
}

.page-news-detail .comment {
    margin-top: 8px;
}

.page-news-detail .comment-header,
.page-news-detail .comment-new {
    border-bottom: 1px solid #e6ece8;
    padding-bottom: 12px;
    margin-bottom: 0;
}

.page-news-detail .comment-header-text {
    font-size: 16px;
    font-weight: 600;
    color: #1a2e24;
    padding: 12px 0;
}

.page-news-detail .comment-add-button {
    float: right;
}

.page-news-detail .comment-add-button .btn {
    border-radius: 8px;
    background: #2f6b4f;
    border-color: #2f6b4f;
    color: #fff;
    text-decoration: none;
}

.page-news-detail .comment-add-button .btn:hover,
.page-news-detail .comment-add-button .btn:focus {
    background: #1f4d38;
    border-color: #1f4d38;
    color: #fff;
    text-decoration: none;
}

.page-news-detail #menu .form-control {
    border-radius: 8px;
    border-color: #d5e3da;
    margin-bottom: 10px;
}

.page-news-detail #menu .btn-info {
    border-radius: 8px;
    background: #2f6b4f;
    border-color: #2f6b4f;
    color: #fff;
}

.page-news-detail #menu .btn-info:hover,
.page-news-detail #menu .btn-info:focus {
    background: #1f4d38;
    border-color: #1f4d38;
    color: #fff;
}

.page-news-detail .comment-item {
    padding: 24px 0 20px;
    border-bottom: 1px solid #eef2ef;
}

.page-news-detail .vc-item-header {
    display: flex;
    color: #687382;
}

.page-news-detail .vc-item-avatar {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background: no-repeat center / cover;
}

.page-news-detail .vc-item-user {
    flex: auto;
    overflow: hidden;
}

.page-news-detail .vc-item-name {
    display: flex;
    align-items: center;
}

.page-news-detail .vc-item-text {
    margin: 0 6px;
}

.page-news-detail .vc-item-reply-text {
    color: #687382;
}

.page-news-detail .vc-item-time {
    margin-left: 6px;
    font-size: 12px;
}

.page-news-detail .vc-item-like {
    flex: none;
    display: flex;
    align-items: center;
    padding: 0 6px;
}

.page-news-detail .vc-item-like .glyphicon {
    margin-left: 5px;
    cursor: pointer;
}

.page-news-detail .vc-item-body {
    margin: 8px 0 0 50px;
}

.page-news-detail .vc-item-content {
    word-break: break-word;
    font-size: 15px;
    line-height: 1.6;
    color: #2a3a32;
}

.page-news-detail .vc--item {
    margin-left: 42px;
}

.page-news-detail .no-data {
    margin: 1.5rem 0;
    color: #7a8b83;
    text-align: center;
}

.page-news-detail .comment-load-sentinel {
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.page-news-detail .news-list-relevance {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e6ece8;
}

.page-news-detail .news-list-relevance > h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 600;
    color: #1a2e24;
}

.page-news-detail .news-list-relevance .media {
    padding: 14px 0;
    border-bottom: 1px solid #eef2ef;
    margin-top: 0;
}

.page-news-detail .news-list-relevance .media:last-child {
    border-bottom: 0;
}

.page-news-detail .news-list-relevance .thumb-small {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e6ece8;
}

.page-news-detail .news-list-relevance .media-heading {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
}

.page-news-detail .news-list-relevance a,
.page-news-detail .news-list-relevance .text-b-color {
    color: #2c4469;
    text-decoration: none;
}

.page-news-detail .news-list-relevance a:hover {
    color: #1e3350;
    text-decoration: underline;
}

.page-news .news-pager .pagination > li > a,
.page-news .news-pager .pagination > li > span,
.page-news-detail .pagination > li > a,
.page-news-detail .pagination > li > span {
    border-radius: 8px !important;
    margin: 0 3px;
    border-color: #d5e3da;
    color: #2c4469;
}

.page-news .news-pager .pagination > .active > a,
.page-news .news-pager .pagination > .active > span,
.page-news-detail .pagination > .active > a,
.page-news-detail .pagination > .active > span,
.page-news .news-pager .pagination > .active > a:hover,
.page-news .news-pager .pagination > .active > span:hover,
.page-news-detail .pagination > .active > a:hover,
.page-news-detail .pagination > .active > span:hover {
    background: #2f6b4f !important;
    border-color: #2f6b4f !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(47, 107, 79, 0.35);
}

@media (max-width: 767px) {
    .page-news .container[role="main"],
    .page-news-detail .container[role="main"] {
        padding-top: 16px;
        padding-bottom: 24px;
    }

    .page-news .news-body,
    .page-news-detail .news-panel {
        padding: 16px 14px 8px;
    }

    .page-news .news-feed .media {
        display: block;
    }

    .page-news .news-feed .media-left {
        display: block;
        padding-right: 0;
        margin-bottom: 12px;
    }

    .page-news .news-feed .thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .page-news-detail .news-list-title {
        font-size: 22px;
    }

    .page-news-detail .vc-item-body,
    .page-news-detail .vc--item {
        margin-left: 0;
    }

    .page-news-detail .comment-add-button {
        float: none;
        margin-top: 8px;
    }
}
