/* =========================================================
   党组织信息
   ========================================================= */

.party-info {
    width: 100%;
    color: #222;
    font-size: 17px;
}

/* 每个大区域 */
.party-section {
    margin-bottom: 32px;
}

/* 党总支 / 党支部标题 */
.party-title {
    position: relative;
    margin-bottom: 20px;
    padding: 0 0 10px 14px;
    border-bottom: 1px solid #d8e2ef;
    color: #123f7a;
    font-size: 22px;
    line-height: 32px;
    font-weight: bold;
}

.party-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 5px;
    height: 24px;
    background: #0754ae;
}

/* 党总支 */
.party-general {
    padding: 4px 15px;
}

.party-general-row {
    display: flex;
    align-items: center;
    min-height: 42px;
    gap: 32px;
}

.party-general-row .party-label {
    width: 55px;
    color: #555;
    font-weight: bold;
}

/* 四个党支部，两列布局 */
.party-branch-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 28px;
}

/* 单个支部 */
.party-branch {
    padding: 0 18px 15px;
    border: 1px solid #e1e7ee;
    background: #fff;
}

/* 支部名称 */
.party-branch-name {
    margin: 0 -18px 10px;
    padding: 10px 18px;
    border-left: 4px solid #0754ae;
    background: #f3f7fb;
    color: #123f7a;
    font-size: 18px;
    line-height: 28px;
    font-weight: bold;
}

/* 人员 */
.party-member {
    display: flex;
    min-height: 36px;
    align-items: center;
    border-bottom: 1px dashed #e7e7e7;
    line-height: 26px;
}

.party-member:last-child {
    border-bottom: 0;
}

.party-member span {
    flex: 0 0 82px;
    color: #222;
}

.party-member em {
    color: #555;
    font-style: normal;
}


/* =========================================================
   党建 - 工作动态新闻列表
   ========================================================= */

.dj-news-list {
    width: 100%;
    padding: 12px 10px 25px;
}

/* 单条新闻 */
.dj-news-item {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 62px;
    padding: 8px 10px 8px 32px;
    border-bottom: none;
}

/* 每5条新闻分隔一次 */
.dj-news-item:nth-child(5n) {
    margin-bottom: 12px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #8aa8cf;
}

/* 左侧黑色小方块 */
.dj-news-item > i {
    position: absolute;
    left: 10px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    background: #111;
}

/* 新闻标题 */
.dj-news-item > a {
    display: block;
    max-width: 100%;
    color: #222;
    font-size: 18px;
    line-height: 32px;
    font-weight: normal;
    text-decoration: none;
    transition: color .2s ease;
}

.dj-news-item > a:hover {
    color: #0754ae;
    text-decoration: none;
}


/* =========================================================
   党建新闻分页
   ========================================================= */

.dj-pagination {
    clear: both;
    width: 100%;
    padding: 28px 0 40px;
    text-align: center;
}

.dj-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dj-pagination ul li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 普通分页按钮 */
.dj-pagination ul li a {
    display: block;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #d6dce5;
    background: #fff;
    color: #555;
    font-size: 15px;
    line-height: 36px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

/* 首页、上一页、下一页、末页自动适应文字宽度 */
.dj-pagination ul li:first-child a,
.dj-pagination ul li:last-child a {
    min-width: 58px;
}

/* 鼠标经过 */
.dj-pagination ul li a:hover {
    border-color: #0754ae;
    background: #0754ae;
    color: #fff;
    text-decoration: none;
}

/* 当前页 */
.dj-pagination ul li.thisclass a {
    border-color: #0754ae;
    background: #0754ae;
    color: #fff;
    font-weight: bold;
    cursor: default;
}

/* 没有href的首页等不可点击状态 */
.dj-pagination ul li a:not([href]) {
    color: #aaa;
    background: #f7f7f7;
    border-color: #e4e4e4;
    cursor: default;
}

/* 当前页即使没有href也保持蓝色 */
.dj-pagination ul li.thisclass a,
.dj-pagination ul li.thisclass a:not([href]) {
    color: #fff;
    background: #0754ae;
    border-color: #0754ae;
}


/* =========================================================
   党建 - 文章详情页
   ========================================================= */

.dj-article {
    width: 100%;
    padding: 20px 12px 0px;
}

/* 文章标题 */
.dj-article-title {
    margin: 0;
    padding: 5px 30px 18px;
    color: #222;
    text-align: center;
    font-size: 2.2rem;
    line-height: 2.6rem;
    font-weight: bold;
}

/* 发布时间 */
.dj-article-info {
    padding: 4px 0 24px;
    border-bottom: 1px solid #ddd;
    color: #999;
    font-size: 15px;
    line-height: 26px;
    text-align: center;
}

/* 正文 */
.dj-article-content {
    padding-top: 30px;
    padding-bottom: 1rem;
    color: #222;
    font-size: 1.2rem;
    line-height: 2.2rem;
    text-align: justify;
    text-justify: inter-ideograph;
}

/* 正文段落 */
.dj-article-content p {
    margin: 0;
    padding: 0 0 1rem;
    color: #222;
    text-indent: 2em;
    font-size: 1.2rem;
    line-height: 2.2rem;
    text-align: justify;
    text-justify: inter-ideograph;
}

/* 正文图片 */
.dj-article-content img {
    max-width: 100%;
    height: auto;
}

/* 图片所在段落如果后台设置了居中，继续保持后台设置 */
.dj-article-content p[style*="text-align: center"],
.dj-article-content p[style*="text-align:center"] {
    text-indent: 0;
}

/* 正文小标题 */
.dj-article-content h2 {
    margin: 18px 0 12px;
    font-size: 1.45rem;
    line-height: 2.2rem;
    font-weight: bold;
    text-indent: 0;
}

.dj-article-content h3 {
    margin: 15px 0 10px;
    font-size: 1.3rem;
    line-height: 2rem;
    font-weight: bold;
    text-indent: 0;
}

/* 正文链接 */
.dj-article-content a {
    color: #0754ae;
    text-decoration: none;
}

.dj-article-content a:hover {
    color: #003d86;
    text-decoration: none;
}

/* 正文表格 */
.dj-article-content table {
    max-width: 100%;
    margin: 15px auto;
    border-collapse: collapse;
    font-size: 1rem;
    line-height: 1.8;
}

.dj-article-content table td,
.dj-article-content table th {
    padding: 8px 12px;
    border: 1px solid #ddd;
}

/* 正文列表 */
.dj-article-content ul,
.dj-article-content ol {
    margin: 10px 0 18px 2em;
    line-height: 2.2rem;
}

.dj-article-content li {
    margin-bottom: 5px;
}


/* =========================================================
   党建左侧栏目导航
   ========================================================= */

.dj-left-menu {
    padding-bottom: 128px;
}

/* 一级栏目 */
.dj-left-menu .menu_head {
    position: relative;
    display: block;
    width: 100%;
    height: 64px;
    padding: 0 25px;
    border-bottom: 1px solid #eee;
    background: #fff;
    color: #222;
    font-size: 18px;
    line-height: 64px;
    font-weight: normal;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

/* 一级栏目经过 */
.dj-left-menu .menu_head:hover {
    background: #f3f6fa;
    color: #0754ae;
}

/* 当前一级栏目 */
.dj-left-menu > .menu_head.current {
    padding-left: 21px;
    /* border-left: 4px solid #0754ae; */
    background: #eaf1fb;
    color: #0754ae;
    font-weight: bold;
}


/* =========================================================
   可折叠栏目
   ========================================================= */

.dj-menu-group {
    position: relative;
    width: 100%;
}

/* 可折叠一级栏目 */
.dj-left-menu .dj-menu-toggle {
    position: relative;
    display: block;
    width: 100%;
    height: 64px;
    padding: 0 25px;
    line-height: 64px;
    box-sizing: border-box;
}

/* 一级栏目文字 */
.dj-menu-toggle span {
    display: block;
    height: 64px;
    line-height: 64px;
}

/* 右侧箭头 */
.dj-menu-toggle i {
    position: absolute;
    top: 50%;
    right: 25px;
    width: 8px;
    height: 8px;
    margin: 0;
    background: none;
    border: 0;
    border-right: 2px solid #0754ae;
    border-bottom: 2px solid #0754ae;
    transform: translateY(-65%) rotate(45deg);
    transform-origin: center center;
    transition: transform .2s ease;
}

/* 展开后的箭头 */
.dj-menu-group.open .dj-menu-toggle i {
    transform: translateY(-35%) rotate(225deg);
}

/* 展开状态 */
.dj-menu-group.open .dj-menu-toggle {
    color: #0754ae;
}


/* =========================================================
   二级栏目
   ========================================================= */

.dj-sub-menu {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
}

/*
 * 二级栏目：
 * 单行和多行统一使用相同的上下内边距。
 * 这样文字起始位置固定，装饰点可以始终对准第一行。
 */
.dj-sub-menu a {
    position: relative;
    display: block;

    width: 100%;
    min-height: 64px;
    height: auto;

    margin: 0;
    padding: 19px 20px 19px 42px;

    border-bottom: 1px solid #eee;
    background: #f7f7f7;

    color: #555;
    font-size: 16px;
    line-height: 26px;
    font-weight: normal;
    text-align: left;
    text-decoration: none;

    white-space: normal;
    word-break: break-all;
    overflow-wrap: break-word;

    box-sizing: border-box;
}

/*
 * 左侧装饰点
 * 文字顶部19px，行高26px。
 * 第一行中心 = 19 + 13 = 32px。
 * 小方块高4px，所以 top = 30px。
 */
.dj-sub-menu a::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 30px;

    width: 4px;
    height: 4px;

    margin: 0;
    padding: 0;

    background: #9eacbc;
    border: 0;
}

/* 二级栏目经过 */
.dj-sub-menu a:hover {
    background: #eef3f9;
    color: #0754ae;
    text-decoration: none;
}

/* 当前二级栏目 */
.dj-sub-menu a.current {
    background: #eaf1fb;
    color: #0754ae;
}

/* 当前栏目只改变装饰点颜色，不改变大小和位置 */
.dj-sub-menu a.current::before {
    left: 27px;
    top: 30px;
    width: 4px;
    height: 4px;
    margin: 0;
    background: #0754ae;
    border: 0;
}

/* 当前子栏目时父级保持蓝色 */
.dj-menu-group:has(.dj-sub-menu a.current) .dj-menu-toggle {
    color: #0754ae;
}
/* =========================================================
   对外服务左侧一级菜单
   长标题自动换行，单行/双行均垂直居中
   ========================================================= */

.w_320 .dj-left-menu .menu_head {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 64px;
    height: auto;

    padding: 12px 25px;

    line-height: 26px;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: break-word;

    box-sizing: border-box;
}

/* 当前栏目 */
.w_320 .dj-left-menu > .menu_head.current {
    padding-left: 21px;
}