@charset "utf-8";

/* --------------------------------------------------------------------------
   0. 页面变量
   -------------------------------------------------------------------------- */
.page-zzjg {
    --w: 1500px;
    --zzjg-deep: #85030B;       /* 表头底 / 子导航面包屑底 */
    --zzjg-accent: #920202;     /* 栏目当前项红 */
    --zzjg-line: #E8E8E8;       /* 行分隔线（实测 #E8E8E8） */
    --zzjg-text: #333333;       /* 表格正文（实测墨迹众数 (51,51,51)） */
    --zzjg-fa: #FAFAFA;         /* 页面主背景（与 routerbg.png 白条同色） */
    background: var(--zzjg-fa);
    /* 头部是 position:fixed（总高 55+66=121），banner 及其后内容整体下移让位。
       ⚠ [2026-10-16] 本文件服务两版：静态设计稿版仍用旧 fixed 头部 → 需要这条；
         插码版头部已换成 header-list.html 那套（**文档流内**），
         由 css/listshow.css 第 13.3 节把它抵消掉（只有那四版引 listshow.css）。 */
    padding-top: 121px;
}

/* --------------------------------------------------------------------------
   1. 头部（来自公共组件 header-list2.html，样式由 style.css 提供）
   -------------------------------------------------------------------------- */
/* [NAV 2026-10-15] 本页头部导航同样是 6 项 3+3（组件不排「首页」），
   .nav-inner 默认 flex-start + gap:250 会让右组撞上居中校徽 → 本页改两端对齐。
   与 css/xxjj.css、css/xrld.css 里那两条同理，只作用于本页、≥1221px 桌面段。 */
@media (min-width: 1221px) {
    .page-zzjg .nav-inner {
        justify-content: space-between;
    }
}

/* --------------------------------------------------------------------------
   2. 栏目图 banner
   设计稿里 banner 按素材原比例铺（1920×531 原图 1:1 呈现，无放大无裁切），
   故这里不锁容器高度：img 走 width:100%/height:auto。 [ZZJG-BANNER 2026-10-15]
   -------------------------------------------------------------------------- */
.page-zzjg .zzjg-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}
.page-zzjg .zzjg-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------------------------------
   3. 子导航条（.zzjg-router / .zzjg-crumb）   [只服务静态设计稿版 zzjg.html]
   --------------------------------------------------------------------------
   ⚠ [2026-10-16 头部改版] 插码版 zzjg-cms.html 的同一套样式已提取到
     css/listshow.css 第 13.2 节（四页共用的分组选择器）—— 那里是**唯一改动点**，
     本节不再需要与它保持同步（以前四页各抄一份，改一处要同步四处的坑没了）。
     隔离办法：本节每条选择器都带下面这个前缀
         .page-zzjg > .header:not(.list-header) ~ .zzjg-router-container
     静态页 body 下 <header class="header">（不带 .list-header）与
     .zzjg-router-container 是相邻兄弟 → 命中；插码版头部根节点带 .list-header
     → :not() 不成立 → 本节整节不生效，于是 13.2 生效（没有覆盖问题）。
   ⚠ 以后静态版也换成新头部时，把本节整段删掉即可（插码版不受影响）。
   -------------------------------------------------------------------------- */
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container {
    position: relative;
}
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-router {
    position: relative;
    width: 100%;
    height: 170px;
    /* 上移 170px：整块背景图（透明鹿区 + 白条）叠在 banner 图层之上，
       router 自身不带背景色，透明区域直接透出 banner */
    margin-top: -170px;
    /* 鹿形剪影锚在右侧（right bottom），视口宽变化时始终紧贴右缘红面包屑盒 */
    background: url("../images/routerbg.png") no-repeat right bottom / 1920px 170px;
    z-index: 1;
}
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-router-inner {
    position: static;   /* 不作定位基准：面包屑红盒要贴视口右缘（相对全宽容器） */
    width: var(--w);
    height: 100%;
    margin: 0 auto;
    padding-top: 70px;      /* routerbg 上部 70px 是透明鹿区，内容只排白条 100px */
    display: flex;
    align-items: center;
}
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-router-left {
    display: flex;
    align-items: center;
    height: 100%;
}
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-router-cat {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    padding-right: 60px;
    margin-right: 25px;
    border-right: 1px solid #DDDDDD;   /* 上级栏目名与子栏目导航之间的竖线分隔符 */
    white-space: nowrap;
}
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-router-nav {
    display: flex;
    align-items: center;
    height: 100%;
}
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-router-nav a {
    display: inline-block;
    font-size: 18px;
    line-height: 22px;
    color: #333;
    padding: 0 30px 25px;
    position: relative;
    white-space: nowrap;
    transition: all .3s;
}
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-router-nav a:hover,
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-router-nav a.active {
    font-weight: bold;
    color: var(--zzjg-accent);
}
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-router-nav a:hover::after,
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-router-nav a.active::after {
    content: '';
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 0;
    height: 4px;
    background: var(--zzjg-accent);
}
/* 右侧面包屑（首页 > 组织机构），底 #85030B，贴视口右缘、铺满白条中段 */
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-crumb {
    position: absolute;
    width: 35%;
    right: 0;
    top: 90px;
    display: flex;
    align-items: center;
    height: 50px;
    background: var(--zzjg-deep);
    padding: 0 10%;
    justify-content: flex-end;
}
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-crumb-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-crumb a,
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-crumb span {
    display: inline-block;
    font-size: 15px;
    line-height: 1;
    color: #fff;
}
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-crumb .zzjg-crumb-sep {
    margin: 0 8px;
    opacity: .7;
}
.page-zzjg > .header:not(.list-header) ~ .zzjg-router-container .zzjg-crumb .zzjg-crumb-cur {
    color: #fff;
}

/* --------------------------------------------------------------------------
   4. 主体：单位信息表格
   结构（grid 三列，非 <table>）：
     .zzjg-card  >  .zzjg-thead（表头 66 高）
                 >  .zzjg-row  × N（每行自带内缩分隔线）
   列宽 581 / 419 / 500 是**含 101 左内距**的 border-box 宽度 → 文字正好落在
   311 / 892 / 1311，与设计稿量测一致。
   -------------------------------------------------------------------------- */
.zzjg-main {
    position: relative;
    background: var(--zzjg-fa) url("../images/xrllbg.png") no-repeat center bottom;
    background-size: 1920px 1020px;     /* 素材为 1:1 设计尺寸 1920×1020 */
    padding: 66px 0 304px;              /* 上留白 66（652→718）/ 下留白 304（1624→1928） */
}
.zzjg-card {
    width: var(--w);
    margin: 0 auto;
    background: #FFFFFF;
    /* 底部留白 109：末行分隔线 1515 → 白卡底 1624（设计稿表格下方的空白） */
    padding-bottom: 109px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);   /* 白卡下方实测 24px 渐变压暗 ~13/255 */
}

/* 表头 + 行共用的三列网格 */
.zzjg-thead,
.zzjg-row {
    display: grid;
    grid-template-columns: 50% 50%;   /* 合计 1500 = 版心 */
}
.zzjg-thead > *,
.zzjg-row > * {
    box-sizing: border-box;
    /*padding-left: 101px*/    /* 三列文字统一左起 311 / 892 / 1311 */
    text-align: center;
}

/* 表头：1500×66，深红打底 + titlebg.png 云纹（素材 1:1，不缩放不平铺） */
.zzjg-thead {
    height: 66px;
    align-items: center;
    background: var(--zzjg-deep) url("../images/titlebg.png") no-repeat;
    background-size: 1500px 66px;
    font-size: 22px;
    color: #FFFFFF;
}

/* 数据行：padding 40/33 + line-height 42 → 单行 115、两行 157，与设计稿实测一致 */
.zzjg-row {
    position: relative;
    padding: 22px 0 20px;
    font-size: 20px;
    line-height: 10px;
    color: var(--zzjg-text);
}
/* 行分隔线：左右各内缩 80（设计稿实测 x 290..1629，非满宽） */
.zzjg-row::after {
    content: '';
    position: absolute;
    left: 80px;
    right: 80px;
    bottom: 0;
    height: 1px;
    background: var(--zzjg-line);
}

.zzjg-link {
    display: inline;
    color: inherit;                 /* 不继承浏览器默认链接蓝，与同列其它行文字同色 */
    text-decoration: none;          /* 常态不加下划线，保持和设计稿一致的观感 */
    transition: color .3s;
    /* pointer-events: none; */
}
.zzjg-link:hover {
    color: var(--zzjg-deep);        /* #85030B */
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}
.zzjg-link img {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 20px;              /* 图标与单位名称之间的间距 */
    vertical-align: middle;         /* 与文字行内垂直居中 */
}

/* [MOBILE-ADAPT 2026-11-08] 5. 响应式（≤1220 / ≤768） */

/* --------------------------------------------------------------------------
   5. 响应式（≤1220 / ≤768）                    [MOBILE-ADAPT 2026-11-08]

   这张表原来写死 1500：581 / 419 / 500 三列 + 每列 101 左内距。
   ≤1220：列宽改百分比（38/27/35），内距收到 24，字号降一档，仍是三列表格；
   ≤768 ：三列并排已无法阅读（单位名一列就要 300+）→ 每条记录改**卡片**：
           单位名当标题，电话 / 地点各一行并带「电话：」「地点：」前缀，
           表头隐藏（手机上没有列可对齐）。左右留白 12，行内距 16。
   -------------------------------------------------------------------------- */
@media (max-width: 1560px) {

    /* 1221~1560：卡片宽度跟 --w 走了，但里面三列还是写死的 581/419/500
       → 溢出 100px 左右。这里只把列宽改百分比，内距/字号留到 ≤1220 再收。 */
    .zzjg-thead,
    .zzjg-row {
        /* grid-template-columns: 38.7% 27.9% 33.4%; */
    }
}

@media (max-width: 1220px) {

    .zzjg-main {
        padding: 40px 0 140px;
        background-size: auto 720px;
    }

    .zzjg-card {
        width: calc(100% - 40px);
        padding-bottom: 48px;
    }

    .zzjg-thead,
    .zzjg-row {
        grid-template-columns: 38% 27% 35%;
    }

    .zzjg-thead>*,
    .zzjg-row>* {
        padding-left: 24px;
        padding-right: 12px;
    }

    .zzjg-thead {
        height: 54px;
        font-size: 17px;
        background-size: 100% 54px;
    }

    .zzjg-row {
        padding: 22px 0 18px;
        font-size: 16px;
        line-height: 1.7;
    }

    .zzjg-row::after {
        left: 20px;
        right: 20px;
    }
}

@media (max-width: 768px) {

    .zzjg-main {
        padding: 20px 0 80px;
        background-size: auto 460px;
    }

    .zzjg-card {
        width: calc(100% - 24px);
        padding-bottom: 6px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    }

    /* 手机没有「列」可对齐，表头整行去掉 */
    .zzjg-thead {
        display: none;
    }

    .zzjg-row {
        display: block;
        padding: 16px 16px 14px;
        font-size: 15px;
        line-height: 1.6;
    }

    .zzjg-row>* {
        display: block;
        padding: 0;
    }

    .zzjg-unit {
        margin-bottom: 6px;
        font-size: 16px;
        font-weight: 600;
        color: #222;
        line-height: 1.5;
    }

    .zzjg-phone,
    .zzjg-addr {
        font-size: 14px;
        color: #555;
        line-height: 1.9;
    }

    /* 用伪元素补字段名：不改模板（后台输出的仍是纯值） */
    .zzjg-phone::before {
        content: "电话：";
        color: #999;
    }

    .zzjg-addr::before {
        content: "地点：";
        color: #999;
    }

    .zzjg-row::after {
        left: 16px;
        right: 16px;
    }

    .zzjg-link img {
        width: 15px;
        height: 15px;
        margin-left: 8px;
    }
}
/* [END MOBILE-ADAPT] */
