/* 新增 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: #b12b10;
    font-size: 1.2rem;
}

@media (min-width: 75rem) {
    .listmain{
        width: 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: #b12b10;
        font-size: 1.25rem;
        font-weight: 600;
        border-bottom: 2px solid #b12b10;
        margin-bottom: 2rem;
    }
    .dqwz a{
        color: #b12b10;
        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 #b12b10;
    }
    .detailsTag h3 {
        font-size: 1.25rem;
        color: #b12b10;
        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: #b12b10;
        border-color: #b12b10;
    }
    .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: #b12b10;
        color: #fff;
    }
}
/* 新增：75rem以下自适应样式 */
@media (max-width: 75rem) {
    .listmain{
        width: 100%; /* 自适应宽度 */
        height: auto;
        background-color: #fff;
        padding: 0rem 1rem; /* 上下保留5rem，左右改为1rem */
        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: #b12b10;
        font-size: 1.1rem; /* 适配小屏缩小字号 */
        font-weight: 600;
        border-bottom: 2px solid #b12b10;
        margin-bottom: 1.5rem; /* 缩小底部间距 */
        padding: 0.5rem 0; /* 增加上下内边距 */
    }
    .dqwz a{
        color: #b12b10;
        font-size: 1.1rem; /* 同步缩小字号 */
        font-weight: 600;
    }
    /* xlTitle 平板端样式 */
    .xlTitle {
        font-size: 1.1rem;
    }
    .xlTitle::before,
    .xlTitle::after {
        width: 25%;
    }
    /* detailsAuthor 平板端样式 */
    .detailsAuthor span {
        font-size: 1rem;
    }
    /* 原有平板端详情页样式保持不变 */
    .detailsFr {
        width: 100%;
        height: auto;
        padding: 0.75rem 0;
    }
    .detailsTitle {
        width: 100%;
        text-align: center;
        font-size: 1.75rem;
        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.9rem;
        color: #666;
        margin-bottom: 1.5rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }
    .detailsInfo span {
        margin: 0 0.5rem;
        display: inline-block;
        line-height: 1.5;
    }
    .detailsContent {
        width: 100%;
        font-size: 1.125rem;
        color: #444;
        line-height: 1.8;
        padding: 0 0.25rem;
    }
    .detailsContent p {
        margin-bottom: 1.25rem;
    }
    .detailsContent img {
        max-width: 100%;
        height: auto;
        margin: 1.25rem auto;
        display: block;
        padding: 0 0.25rem;
    }
    .detailsTag {
        width: 100%;
        margin: 1.5rem 0;
        padding: 0.75rem;
        background-color: #f9f9f9;
        border-left: 0.25rem solid #b12b10;
    }
    .detailsTag h3 {
        font-size: 1.1rem;
        color: #b12b10;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }
    .detailsTag ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .detailsTag li a {
        color: #666;
        font-size: 0.9rem;
        padding: 0.25rem 0.75rem;
        background-color: #fff;
        border: 1px solid #eee;
        border-radius: 1.25rem;
    }
    .detailsShare {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 0;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        margin: 1rem 0 1.5rem;
    }
    .detailsShare span {
        font-size: 1rem;
        color: #666;
    }
    .shareIcons {
        display: flex;
        gap: 1rem;
    }
    .shareIcons a {
        width: 2.25rem;
        height: 2.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f5f5f5;
        border-radius: 50%;
        color: #666;
    }
}
/* 新增：40rem以下小屏强化自适应 */
@media (max-width: 40rem) {
    .listmain{
        padding: 0rem 1rem; /* 小屏进一步缩小上下内边距 */
        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 #b12b10; /* 缩小底边框 */
    }
    .dqwz a{
        font-size: 1rem;
    }
    /* xlTitle 小屏样式 */
    .xlTitle {
        font-size: 1rem;
    }
    .xlTitle::before,
    .xlTitle::after {
        width: 20%;
    }
    /* detailsAuthor 小屏样式 */
    .detailsAuthor span {
        font-size: 0.9rem;
        padding-left: 1.2rem;
    }
    .detailsAuthor span::before {
        font-size: 1rem;
    }
    /* 原有小屏详情页样式保持不变 */
    .detailsTitle {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    .detailsInfo {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }
    .detailsInfo span {
        margin: 0 0.3rem;
        margin-bottom: 0.5rem;
    }
    .detailsContent {
        font-size: 1.125rem;
        line-height: 1.7;
    }
    .detailsContent p {
        margin-bottom: 1.25rem;
    }
    .detailsContent img {
        margin: 1rem auto;
    }
    .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;
    }
}