/* ========== 所有样式限定在 #zwgk_zdly 内部 ========== */
#zwgk_zdly {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    /* padding: 20px; */
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
#zwgk_zdly .sub-items{
    text-align:left
}
.lmmc {
    /* color: #333; */
    font-size: 20px;
    font-weight: bold;
    background: #0f4fa6;
    padding: 0 20px;
    min-width: 142px;
    height: 37px;
    color: #fff;
    display: flex;
    align-items: center;
    /* width: 40px; */
    /* justify-content: center; */
    display: inline-block;
    text-align: center;
    line-height: 37px;
    margin: 20px;
    position: relative;
}

/* ----- 大标题（如“政策”） ----- */
#zwgk_zdly .title_02 {
    display: flex;
    align-items: center;
    margin: 20px 0 10px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1a3c6e;
    letter-spacing: 2px;
}
#zwgk_zdly .title_02 .title_02_span {
      border-bottom: 1px solid #ddd;
    width: 100%;
    text-align: left;
    font-size: 15px !important;
    color: #0b4779;
    margin: 0 20px;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, Helvetica, Tahoma, sans-serif;
  
}
#zwgk_zdly .title_02 hr {
    flex: 1;
    border: none;
    border-top: 3px solid #1a3c6e;
    margin: 0;
    opacity: 0.7;
}

/* ----- 第一层水平链接容器 ----- */
#zwgk_zdly .first-level-links,
#zwgk_zdly .sub-items-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;          /* 水平间距30px，垂直10px */
    padding: 4px 0 8px 0;
    margin-bottom: 6px;
}

/* 第一层无子项节点的链接样式 */
#zwgk_zdly .first-level-links a,
#zwgk_zdly .sub-items-horizontal a {
    color: #1a3c6e;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s;
    border-left: none;       /* 无边框 */
    padding: 0 2px;
}
#zwgk_zdly .first-level-links a:hover,
#zwgk_zdly .sub-items-horizontal a:hover {
    color: #e60012;
    text-decoration: underline;
}

/* ----- 第二层级及更深分组样式 ----- */
#zwgk_zdly .dept-group {
    margin: 6px 0 4px 0;
    border-bottom: 1px dashed #e9edf4;
    padding: 6px 0 10px 0;
}
#zwgk_zdly .dept-group:last-child {
    border-bottom: none;
}
#zwgk_zdly .dept-name {
    font-size: 16px;
    font-weight: 600;
    padding: 4px 0 4px 18px;
    /* border-left: 4px solid #1a3c6e; */
    background: #f8faff;
    border-radius: 0 4px 4px 0;
    margin-bottom: 4px;
    text-align: left;
    padding-left: 28px;
    border-bottom: 1px solid #ddd;
    margin: 0 21px;
}
#zwgk_zdly .dept-name a {
    color: #1a3c6e;
    text-decoration: none;
}
#zwgk_zdly .dept-name a:hover {
    color: #e60012;
    text-decoration: underline;
}
#zwgk_zdly .dept-subs {
    display: block;
    padding-left: 20px;
    text-align: left;
    padding: 0 !important;
}
#zwgk_zdly .dept-subs a {
    color: #4a6a8a;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 3px;
    transition: all 0.2s;
    display: inline-block;
}
#zwgk_zdly .dept-subs a::before {
    content: "▸ ";
    color: #b0c4de;
    font-size: 12px;
}
#zwgk_zdly .dept-subs a:hover {
    color: #e60012;
    background: #f0f4fe;
    text-decoration: underline;
}
#zwgk_zdly .dept-subs a:hover::before {
    color: #e60012;
}

/* 第三层及更深的普通链接（带缩进） */
#zwgk_zdly .title_03 {
    font-size: 15px;
    line-height: 1.8;
    /* padding: 2px 0 2px 18px; */
    border-left: 4px solid transparent;
    transition: border-color 0.2s;
    margin: 14px;
    text-align: left;
    padding: 0 !important;
    /* line-height: 55px; */
}
#zwgk_zdly .title_03:hover {
    /* border-left-color: #1a3c6e; */
    /* background: #f8faff; */
}
#zwgk_zdly .title_03 a {
    color: #1a3c6e;
    text-decoration: none;
    /* font-weight: 600; */
}
#zwgk_zdly .title_03 a:hover {
    color: #e60012;
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 768px) {
    #zwgk_zdly { padding: 16px 14px 30px; }
    #zwgk_zdly .title_02 { font-size: 18px; }
    #zwgk_zdly .title_02 .title_02_span { font-size: 20px; }
    #zwgk_zdly .first-level-links,
    #zwgk_zdly .sub-items-horizontal { gap: 8px 20px; }
    #zwgk_zdly .first-level-links a,
    #zwgk_zdly .sub-items-horizontal a { font-size: 15px; }
}
@media (max-width: 480px) {
    #zwgk_zdly .first-level-links,
    #zwgk_zdly .sub-items-horizontal { flex-direction: column; gap: 4px; }
}