@charset "utf-8";

/* ========== 文章标题 ========== */
.article-title-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px 10px;
    box-sizing: border-box;
    font-size: 26px;
    font-weight: bold;
    color: #222;
    text-align: center;
    line-height: 1.4;
}

/* ========== 文章副标题 ========== */
.article-sub-title-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 15px;
    box-sizing: border-box;
    font-size: 16px;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

/* ========== 文章时间、来源 ========== */
.article-time-source-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #999;
    font-size: 14px;
}
.article-source-wrap::before{
    content: "来源：";
}
.article-time-wrap::before {
    content: "时间：";
}
/* ========== 文章正文 ========== */
.article-content-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* 段落：中文首行缩进 2 字符 */
.article-content-wrap p {
    margin: 0 0 1em;
    text-indent: 2em;
}

/* 链接 */
.article-content-wrap a {
    color: #b81b1b;
    text-decoration: none;
    transition: color 0.2s ease;
}
.article-content-wrap a:hover {
    color: #9f0303;
    text-decoration: underline;
}

/* 图片 / 视频 / iframe：不超过容器，高度自适应 */
.article-content-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
}
.article-content-wrap video {
    max-width: 100%;
    height: auto;
}
.article-content-wrap iframe {
    max-width: 100%;
}

/* ========== 文章附件 ========== */
.article-appendix-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 20px 40px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.article-appendix-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.article-appendix-wrap li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}
.article-appendix-wrap li:hover {
    padding-left: 10px;
    background: #eeeeee;
}
.article-appendix-wrap li:last-child {
    border-bottom: none;
}
.article-appendix-wrap a {
    color: #9f0303;
    text-decoration: none;
    transition: color 0.2s ease;
}
.article-appendix-wrap a:hover {
    color: #9f0303;
    text-decoration: underline;
}
/* 附件图标（JS 根据 li[ext] 动态插入的 <img>） */
.article-appendix-wrap .appendix-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
}

/* ========== 信息公开信息主体（TRS 输出 label/span 兄弟节点对） ========== */
.public-info-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 20px 40px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    display: grid;
    /* 桌面 3 对/行：label auto + value 1fr × 3 */
    grid-template-columns: minmax(70px, auto) 1fr minmax(70px, auto) 1fr minmax(70px, auto) 1fr;
    gap: 14px 20px;
    align-items: baseline;
}
.public-info-wrap label {
    color: #999;
    line-height: 1.6;
    text-align: justify;
    text-align-last: justify;
    white-space: nowrap;
}
.public-info-wrap span {
    color: #333;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ========== 平板：≤991px ========== */
@media (max-width: 991px) {
    .article-title-wrap,
    .article-sub-title-wrap,
    .article-time-source-wrap,
    .article-content-wrap,
    .article-appendix-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }
    .article-title-wrap {
        font-size: 24px;
    }
    .article-content-wrap {
        font-size: 15px;
    }
    .public-info-wrap {
        padding: 18px 20px;
        /* 平板 2 对/行：4 列 */
        grid-template-columns: minmax(70px, auto) 1fr minmax(70px, auto) 1fr;
        gap: 12px 20px;
    }
}

/* ========== 手机：≤767px ========== */
@media (max-width: 767px) {
    .article-title-wrap {
        font-size: 20px;
        padding-top: 20px;
        padding-bottom: 8px;
    }
    .article-sub-title-wrap {
        font-size: 14px;
        padding-bottom: 10px;
    }
    .article-time-source-wrap {
        flex-direction: column;
        gap: 4px;
        align-items: center;
        font-size: 12px;
        padding-bottom: 15px;
    }
    .article-content-wrap,
    .article-appendix-wrap {
        padding: 20px 15px;
    }
    .article-content-wrap {
        font-size: 15px;
        line-height: 1.75;
    }
    .article-content-wrap img {
        width: 100%;
    }
    .public-info-wrap {
        padding: 15px;
        /* 手机 1 对/行：2 列 */
        grid-template-columns: minmax(60px, auto) 1fr;
        gap: 10px 12px;
    }
    .article-appendix-wrap .appendix-icon {
        width: 18px;
        height: 18px;
        margin-right: 5px;
    }
}
