/* 新增 xlTitle 通用样式（党建风格装饰标题） */
.xlTitle {
    position: relative;
    display: block;
    color: #5F5F5F;
    font-weight: 600;
    text-align: center;
    overflow: hidden;
    margin: 1rem 0;
}
.xlTitle::before,
.xlTitle::after {
    content: "";
    position: absolute;
    height: 0.12rem;
    top: 50%;
    width: 30%;
}
.xlTitle::before {
    left: 0;
}
.xlTitle::after {
    right: 0;
}

/* 新增 detailsAuthor 责任编辑样式 */
.detailsAuthor {
    width: 100%;
    text-align: right;
    margin: 2rem 0 1rem;
    padding: 1rem 0;
    border-top: 1px solid #eee;
}
.detailsAuthor span {
    font-size: 1.1rem;
    color: #666;
    display: inline-block;
    padding-left: 1.5rem;
    position: relative;
}
.detailsAuthor span::before {
    position: absolute;
    left: 0;
/*    color: #004986;*/
    font-size: 1.2rem;
    /* 补充伪元素内容，原代码缺失（示例：编辑图标/文字） */
}

/* PC端（≥62rem）- 大屏样式 */
@media (min-width: 62rem) {
    .listmain {
        width: 62rem; /* 适配62rem宽度，原75rem调整为更紧凑的大屏尺寸 */
        height: auto;
        background-color: #fff;
        padding: 5rem;
        margin: 0 auto;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2), 5px 0 10px rgba(0, 0, 0, 0.2);
    }

    .dqwz {
        width: 100%;
        height: 2.2rem;
        color: #004986;
        font-size: 1.25rem;
        font-weight: 600;
        border-bottom: 2px solid #004986;
        margin-bottom: 2rem;
    }

    .dqwz a {
        color: #004986;
        font-size: 1.25rem;
        font-weight: 600;
    }

    /* xlTitle PC端样式 */
    .xlTitle {
        font-size: 1rem;
        color: #5F5F5F;
        font-weight: normal;
        text-align: center;
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
    }

    /* detailsAuthor PC端样式 */
    .detailsAuthor span {
        font-size: 1.15rem;
    }

    /* 原有PC端详情页样式 */
    .detailsFr {
        width: 100%;
        height: auto;
        padding: 1rem 0;
    }

    .detailsTitle {
        width: 100%;
        text-align: center;
        font-size: 2.25rem;
        color: #333;
        font-weight: 600;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }

    .detailsInfo {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        color: #666;
        margin-bottom: 2rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }

    .detailsInfo span {
        margin: 0 1rem;
    }

    .detailsContent {
        width: 100%;
        font-size: 1.25rem;
        color: #444;
        line-height: 2;
    }

    .detailsContent p {
        margin-bottom: 1.5rem;
    }

    .detailsContent img {
        max-width: 100%;
        height: auto;
        margin: 1.5rem auto;
        display: block;
    }

    .detailsTag {
        width: 100%;
        margin: 2rem 0;
        padding: 1rem;
        background-color: #f9f9f9;
        border-left: 0.25rem solid #004986;
    }

    .detailsTag h3 {
        font-size: 1.25rem;
        color: #004986;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }

    .detailsTag ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .detailsTag li {
        list-style: none;
    }

    .detailsTag li a {
        color: #666;
        font-size: 1rem;
        padding: 0.3rem 0.8rem;
        background-color: #fff;
        border: 1px solid #eee;
        border-radius: 1.25rem;
        transition: all 0.3s;
    }

    .detailsTag li a:hover {
        color: #004986;
        border-color: #004986;
    }

    .detailsShare {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        margin: 1rem 0 2rem;
    }

    .detailsShare span {
        font-size: 1.1rem;
        color: #666;
    }

    .shareIcons {
        display: flex;
        gap: 1rem;
    }

    .shareIcons a {
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f5f5f5;
        border-radius: 50%;
        color: #666;
        transition: all 0.3s;
    }

    .shareIcons a:hover {
        background-color: #004986;
        color: #fff;
    }
}

/* 大屏平板/小屏PC（≤62rem）- 第一级自适应 */
@media (max-width: 62rem) {
    .listmain {
/*        width: 100%; /* 自适应宽度 */*/
        height: auto;
        background-color: #fff;
        padding: 0 1.5rem; /* 适度内边距 */
        margin: 0 auto;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2), 5px 0 10px rgba(0, 0, 0, 0.2);
    }

    .dqwz {
        width: 100%;
        height: auto; /* 高度自适应 */
        line-height: 2.2rem; /* 保证文字垂直居中 */
        color: #004986;
        font-size: 1.15rem; /* 适配62rem屏字号 */
        font-weight: 600;
        border-bottom: 2px solid #004986;
        margin-bottom: 1.75rem; /* 适度间距 */
        padding: 0.5rem 0; /* 增加上下内边距 */
    }

    .dqwz a {
        color: #004986;
        font-size: 1.15rem; /* 同步字号 */
        font-weight: 600;
    }

    /* xlTitle 62rem端样式 */
    .xlTitle {
        font-size: 1.1rem;
    }

    .xlTitle::before,
    .xlTitle::after {
        width: 28%; /* 适度缩小横线宽度 */
    }

    /* detailsAuthor 62rem端样式 */
    .detailsAuthor span {
        font-size: 1.05rem;
    }

    /* 详情页样式 */
    .detailsFr {
        width: 100%;
        height: auto;
        padding: 0.75rem 0;
    }

    .detailsTitle {
        width: 100%;
        text-align: center;
        font-size: 2rem; /* 适度缩小标题 */
        color: #333;
        font-weight: 600;
        margin-bottom: 1.25rem;
        line-height: 1.4;
        padding: 0 0.5rem;
    }

    .detailsInfo {
        width: 100%;
        text-align: center;
        font-size: 0.95rem;
        color: #666;
        margin-bottom: 1.75rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }

    .detailsInfo span {
        margin: 0 0.75rem;
        display: inline-block;
        line-height: 1.5;
    }

    .detailsContent {
        width: 100%;
        font-size: 1.2rem;
        color: #444;
        line-height: 1.9;
        padding: 0 0.25rem;
    }

    .detailsContent p {
        margin-bottom: 1.4rem;
    }

    .detailsContent img {
        max-width: 88% !important;
        height: auto !important;
        margin-bottom: .625rem;
        cursor: pointer;
    }

    .detailsTag {
        width: 100%;
        margin: 1.75rem 0;
        padding: 0.9rem;
        background-color: #f9f9f9;
        border-left: 0.25rem solid #004986;
    }

    .detailsTag h3 {
        font-size: 1.15rem;
        color: #004986;
        margin-bottom: 0.65rem;
        font-weight: 600;
    }

    .detailsTag ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.65rem;
    }

    .detailsTag li a {
        color: #666;
        font-size: 0.95rem;
        padding: 0.25rem 0.8rem;
        background-color: #fff;
        border: 1px solid #eee;
        border-radius: 1.25rem;
    }

    .detailsShare {
        width: 100%;
        display: flex;
        justify-content: space-between; /* 仍保持横向布局 */
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 0;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        margin: 1rem 0 1.75rem;
    }

    .detailsShare span {
        font-size: 1.05rem;
        color: #666;
    }

    .shareIcons {
        display: flex;
        gap: 1rem;
    }

    .shareIcons a {
        width: 2.35rem;
        height: 2.35rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f5f5f5;
        border-radius: 50%;
        color: #666;
    }
}

/* 平板端（≤48rem）- 第二级自适应 */
@media (max-width: 48rem) {
    .listmain {
/*        width: 100%;*/
        padding: 0 1rem; /* 缩小内边距 */
        box-shadow: -3px 0 8px rgba(0, 0, 0, 0.15), 3px 0 8px rgba(0, 0, 0, 0.15); /* 弱化阴影 */
    }

    .dqwz {
        font-size: 1.1rem; /* 进一步缩小字号 */
        margin-bottom: 1.5rem;
        padding: 0.5rem 0;
    }

    .dqwz a {
        font-size: 1.1rem;
    }

    /* xlTitle 48rem端样式 */
    .xlTitle {
        font-size: 1.05rem;
    }

    .xlTitle::before,
    .xlTitle::after {
        width: 25%; /* 进一步缩小横线宽度 */
    }

    /* detailsAuthor 48rem端样式 */
    .detailsAuthor span {
        font-size: 1rem;
        padding-left: 1.4rem;
    }

    .detailsAuthor span::before {
        font-size: 1.15rem;
    }

    /* 详情页样式 */
    .detailsTitle {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .detailsInfo {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .detailsInfo span {
        margin: 0 0.5rem;
    }

    .detailsContent {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .detailsContent p {
        margin-bottom: 1.25rem;
    }

    .detailsContent img {
        margin: 1.25rem auto;
    }

    .detailsTag {
        margin: 1.5rem 0;
        padding: 0.75rem;
    }

    .detailsTag h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .detailsTag ul {
        gap: 0.5rem;
    }

    .detailsTag li a {
        font-size: 0.9rem;
        padding: 0.25rem 0.75rem;
    }

    .detailsShare {
        flex-direction: column; /* 改为纵向布局 */
        align-items: flex-start; /* 左对齐 */
        gap: 0.75rem;
        margin: 1rem 0 1.5rem;
    }

    .shareIcons a {
        width: 2.25rem;
        height: 2.25rem;
    }
}

/* 手机小屏（≤30rem）- 第三级自适应 */
@media (max-width: 30rem) {
    .listmain {
        padding: 0 0.8rem; /* 进一步缩小内边距 */
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1), 2px 0 5px rgba(0, 0, 0, 0.1); /* 最弱阴影 */
    }

    .dqwz {
        font-size: 1rem; /* 最小字号 */
        margin-bottom: 1rem;
        border-bottom: 1px solid #004986; /* 缩小底边框 */
        padding: 0.5rem 0;
    }

    .dqwz a {
        font-size: 1rem;
    }

    /* xlTitle 30rem端样式 */
    .xlTitle {
        font-size: 1rem;
        margin: 0.8rem 0;
    }

    .xlTitle::before,
    .xlTitle::after {
        width: 20%; /* 最小横线宽度 */
    }

    /* detailsAuthor 30rem端样式 */
    .detailsAuthor span {
        font-size: 0.9rem;
        padding-left: 1.2rem;
    }

    .detailsAuthor span::before {
        font-size: 1rem; /* 最小伪元素字号 */
    }

    /* 详情页样式 */
    .detailsTitle {
        font-size: 1.5rem; /* 最小标题字号 */
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    .detailsInfo {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .detailsInfo span {
        margin: 0 0.3rem;
        display: block; /* 小屏换行显示 */
        margin-bottom: 0.5rem;
    }

    .detailsContent {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0 0.25rem;
    }

    .detailsContent p {
        margin-bottom: 1.25rem;
    }

    .detailsContent img {
        margin: 1rem auto;
        padding: 0 0.25rem;
    }

    .detailsTag {
        margin: 1.25rem 0;
        padding: 0.6rem;
    }

    .detailsTag h3 {
        font-size: 1rem; /* 最小标签标题字号 */
    }

    .detailsTag li a {
        font-size: 0.85rem;
        padding: 0.2rem 0.6rem; /* 最小标签内边距 */
    }

    .shareIcons a {
        width: 2rem;
        height: 2rem; /* 最小分享图标尺寸 */
    }
}