@charset "utf-8";

/* 新闻详情页 */
body, button, input, select, textarea {
    font-family: Microsoft YaHei, -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Source Han Sans SC, Noto Sans CJK SC, SimHei, sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    color: #333;
}

.content{
    padding-top: 40px;
    margin-bottom: 68px;
}

/* 面包屑 */
.breadcrumb-wrap {
    padding-bottom: 40px;
}

.breadcrumb-wrap .inner {
    color: #5b5b5b;
    font-weight: 400;
    text-align: left;
    line-height: 34px;
    font-size: 16px;
}

.breadcrumb-wrap .inner i {
    display: inline-block;
    width: 15px;
    height: 19px;
    margin-right: 8px;
    vertical-align: middle;
    background: url("../images/postion_icon.png") center no-repeat;
    background-size: contain;
}

.breadcrumb-wrap .inner a {
    color: #5b5b5b;
}

.breadcrumb-wrap .inner a:hover {
    color: #048;
}

.breadcrumb-wrap .inner span {
    color: #165dbd;
}

/* 文章区域 */
.article-wrap {
    background: #fff;
}

.article-header {
    text-align: center;
    padding-bottom: 0;
}

.article-header h1 {
    font-size: 30px;
    font-weight: bold;
    color: #333333;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* 文章元信息 */
.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 41px 12px 41px;
    font-size: 16px;
    color: #999;
    margin-bottom: 15px;
}
.divider {
    width: 100%;
    height: 8px;
    margin-bottom: 40px;
    /* 斜向重复渐变：透明+灰色小圆点阵 */
    background-image: repeating-linear-gradient(
            -45deg, /* 倾斜角度，和原图斜线匹配 */
            #e9e9e9 0 3px,  /* 灰点大小 */
            transparent 3px 8px /* 空白间隔，控制疏密 */
    );
}

.article-meta .meta-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.article-meta .meta-item {
    display: flex;
    align-items: center;
}

.article-meta .meta-item span {
    color: #999;
}

.article-meta .meta-right {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* 分享 */
.share-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-box span {
    display: inline-flex;
    align-items: center;
    height: 30px;
}

.share-box a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url("../images/share_i.png") no-repeat;
    transition: opacity 0.3s;
}

/* 第一行灰色图标 */
.share-box .share-wx {
    background-position: 0 0;
}

.share-box .share-wx:hover {
    opacity: 0.7;
}

.share-box .share-wb {
    background-position: -30px 0;
}

.share-box .share-wb:hover {
    opacity: 0.7;
}

/* 字号调整 - 使用 jfont.png 精灵图 */
.fontsize-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fontsize-box .fs-label {
    color: #999;
    margin-right: 2px;
    display: inline-flex;
    align-items: center;
    height: 24px;
}

.fontsize-box a {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("../images/jfont.png") no-repeat;
    text-indent: -9999px;
    overflow: hidden;
    border: 1px solid #ddd;
    transition: border-color 0.3s;
}

.fontsize-box a:hover {
    border-color: #165dbd;
}

/* A+ 放大字号 */
.fontsize-box a.fs-large {
    background-position: 0 0;
}

.fontsize-box a.fs-large:hover {
    background-position: 0 -24px;
}

/* A 默认字号 */
.fontsize-box a.fs-default {
    background-position: -48px 0;
}

.fontsize-box a.fs-default:hover {
    background-position: -48px -24px;
}

/* A- 缩小字号 */
.fontsize-box a.fs-small {
    background-position: -24px 0;
}

.fontsize-box a.fs-small:hover {
    background-position: -24px -24px;
}

/* 打印 */
.print-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.print-btn:hover {
    color: #165dbd;
}

.print-btn i {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url("../images/print_icon.png") center no-repeat;
    background-size: contain;
}

.print-btn:hover i {
    opacity: 0.8;
}

/* 正文内容 */
.article-body {
    color: #333333;
    font-weight: 400;
    font-family: PingFang SC, serif;
    font-size: 18px;
    line-height: 34px;
    padding: 0 19px;
    text-align: justify;
}

.article-body p {
    text-indent: 2em;
    margin-bottom: 1.5em;
}

.article-body video {
    width: 70%;
    height: auto;
}

/*/* 正文图片 */
.article-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.article-images img {
    max-width: 48%;
    height: auto;
    display: block;
}

/* 上下篇导航 */
.article-nav {
    margin: 12px 9px;
    padding-top: 30px;
    padding-bottom: 40px;
    border-bottom: 1px dashed #ddd;
}

.article-nav ul {
    list-style: none;
}

.article-nav li {
    position: relative;
    padding-left: 16px;
    line-height: 2.2;
    font-size: 16px;
}

.article-nav li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: #165dbd;
    border-radius: 50%;
}

.article-nav li a {
    color: #165dbd;
    text-decoration: none;
}

.article-nav li a:hover {
    text-decoration: underline;
}

.article-nav .nav-label {
    color: #333;
    margin-right: 4px;
}

/* 相关推荐 */
.related-wrap {
    margin: 40px 0 0;
}

.related-title {
    margin-bottom: 27px;
}

.related-list {
    padding-left: 9px;;
    list-style: none;
}

.related-list li {
    position: relative;
    padding-left: 16px;
    line-height: 2.4;
    font-size: 16px;
}

.related-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background: #ddd;
    border-radius: 50%;
}

.related-list li a {
    color: #333;
}

.related-list li a:hover {
    color: #165dbd;
}
.grid h3{
    margin-bottom: 20px;
}
/* 打印样式 - 仅打印标题、左侧元信息、正文 */
@media print {
    @page {
        margin: 20mm;
    }

    body {
        min-width: auto !important;
    }

    .header,
    .breadcrumb-wrap,
    .article-meta .meta-right,
    .article-nav,
    .related-wrap,
    .footer,
    #ad-side,
    .menu-btn,
    .menu,
    .mask {
        display: none !important;
    }

    .wrap,
    .content,
    .grid,
    .inner,
    .article-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .article-header {
        text-align: left;
    }

    .article-header h1 {
        font-size: 22pt;
        line-height: 1.4;
        margin-bottom: 16pt;
    }

    .article-meta {
        justify-content: flex-start;
        border-bottom: 1px solid #ddd;
        padding: 0 0 12px 0;
        margin-bottom: 20pt;
        font-size: 10.5pt;
    }

    .article-meta .meta-left {
        gap: 24pt;
    }

    .article-body {
        padding: 0;
        font-size: 12pt;
        line-height: 1.8;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .article-body p {
        margin-bottom: 0.8em;
    }

    .article-images {
        page-break-inside: avoid;
        flex-direction: column;
        align-items: center;
        gap: 12pt;
    }

    .article-images img {
        max-width: 100% !important;
        width: auto;
        height: auto;
    }
}

/* 响应式 */
@media (max-width: 1400px) {
    .content .breadcrumb-wrap{
        padding-bottom: 20px;
    }
    .article-body {
        padding: 0 40px;
    }

    .article-nav,
    .related-wrap {
        margin-left: 40px;
        margin-right: 40px;
    }
}

@media (max-width: 992px) {
    .article-meta {
        padding: 0 30px 12px;
        gap: 12px;
    }

    .article-meta .meta-left {
        gap: 24px;
    }

    .article-meta .meta-right {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .article-meta {
        padding: 0 20px 10px;
        font-size: 14px;
        margin-bottom: 24px;
        gap: 10px;
    }

    .article-meta .meta-left {
        flex-wrap: wrap;
        gap: 10px 20px;
    }

    .article-meta .meta-right {
        gap: 16px;
    }

    .article-body {
        padding: 0 20px;
        font-size: 16px;
        line-height: 1.8;
    }

    .article-images {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin: 24px 0;
    }

    .article-images img {
        max-width: 100%;
    }

    .article-nav,
    .related-wrap {
        margin-left: 20px;
        margin-right: 20px;
    }

    .article-nav {
        padding-top: 20px;
        margin-top: 24px;
    }

    .article-nav li {
        line-height: 2;
    }
}

@media (max-width: 480px) {
    .article-header h1 {
        font-size: 18px;
    }

    .article-meta {
        padding: 0 15px 10px;
    }

    .article-meta .meta-left {
        gap: 8px 16px;
    }

    .article-meta .meta-right {
        display: none;
    }

    .article-body {
        padding: 0;
        font-size: 14px;
    }
    .article-nav li{
        font-size: 14px;
    }
    .article-nav li:before{
        top: 11px;
    }

    .article-nav,
    .related-wrap {
        margin-left: 0px;
        margin-right: 0px;
    }
    .article-nav {
        padding-top: 0;
        margin-top: 10px;
        padding-bottom: 20px;
    }

    .related-title {
        font-size: 16px;
        padding: 5px 14px;
        margin-bottom: 12px;
    }
    .related-wrap{
        margin-top: 20px;
    }
    .related-list li a{
        font-size: 14px;
    }
    .grid h3{
        margin-bottom: 10px;
    }
    .related-list li {
        line-height: 2;
    }
    .article-meta{
        margin-bottom: 10px;
    }
    .divider{
        margin-bottom: 20px;
    }
    .article-body p{
        margin: 10px;
    }
}
