@charset "utf-8";

/* --------------------------------------------------------------------------
   0. 页面变量
   -------------------------------------------------------------------------- */
.page-xrld {
    --w: 1500px;
    --xrld-deep: #85030B;       /* 子导航面包屑底 / 深红块 */
    --xrld-accent: #920202;     /* 栏目当前项红 / 领导姓名红 */
    --xrld-card-red: #982F35;   /* 卡片左侧竖条 / hover 底（取自 xrldlibg.png 主色） */
    --xrld-line: #E8E8E8;       /* 卡片内分隔线（实测 #E8E8E8，非 #DDD） */
    --xrld-desc: #333333;       /* 卡片描述文字 */
    --xrld-fa: #FAFAFA;         /* 页面主背景（与 routerbg.png 白条同色） */
    background: var(--xrld-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 提供）
   -------------------------------------------------------------------------- */
@media (min-width: 1221px) {
    .page-xrld .nav-inner {
        justify-content: space-between;
    }
}

.page-xrld .xrld-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}
.page-xrld .xrld-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.page-xrld > .header:not(.list-header) ~ .xrld-router-container {
    position: relative;
}
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-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-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-router-inner {
    position: static;   /* 不作定位基准：面包屑红盒要贴视口右缘（相对全宽容器） */
    width: var(--w);
    height: 100%;
    margin: 0 auto;
    padding-top: 70px;      /* routerbg 上部 70px 是透明鹿区，内容只排白条 100px */
    display: flex;
    align-items: center;
}
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-router-left {
    display: flex;
    align-items: center;
    height: 100%;
}
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-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-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-router-nav {
    display: flex;
    align-items: center;
    height: 100%;
}
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-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-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-router-nav a:hover,
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-router-nav a.active {
    font-weight: bold;
    color: var(--xrld-accent);
}
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-router-nav a:hover::after,
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-router-nav a.active::after {
    content: '';
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 0;
    height: 4px;
    background: var(--xrld-accent);
}
/* 右侧面包屑（首页 > 现任领导），底 #85030B，贴视口右缘、铺满白条中段 */
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-crumb {
    position: absolute;
    width: 35%;
    right: 0;
    top: 90px;
    display: flex;
    align-items: center;
    height: 50px;
    background: var(--xrld-deep);
    padding: 0 10%;
    justify-content: flex-end;
}
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-crumb-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-crumb a,
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-crumb span {
    display: inline-block;
    font-size: 15px;
    line-height: 1;
    color: #fff;
}
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-crumb .xrld-crumb-sep {
    margin: 0 8px;
    opacity: .7;
}
.page-xrld > .header:not(.list-header) ~ .xrld-router-container .xrld-crumb .xrld-crumb-cur {
    color: #fff;
}

.xrld-main {
    position: relative;
    background: var(--xrld-fa) url("../images/xrllbg.png") no-repeat center bottom;
    background-size: 1920px 1020px;     /* 素材为 1:1 设计尺寸 1920×1020 */
    padding: 45px 0 254px;
}
.xrld-grid {
    width: var(--w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 720px);
    grid-auto-rows: 150px;
    column-gap: 60px;
    row-gap: 15px;
}

/* 单张卡片：白底 + 直角 + 极淡投影（实测卡下 24px 范围最深压暗 ~9/255） */
.xrld-card {
    position: relative;
    background: #FFFFFF;
    padding-left: 60px;         /* 文字左起 60（设计稿：卡左缘 210 → 姓名 ink 左沿 271） */
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}

.xrld-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 100%;
    background: var(--xrld-card-red) url("../images/xrldlibg.png") no-repeat left top;
    background-size: 720px 174px;   /* 1:1，只露出素材最左 16px */
}

.xrld-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    z-index: 0;
    background: var(--xrld-card-red) url("../images/xrldlibg.png") no-repeat left center;
    background-size: 720px 174px;
    transition: width .4s ease;
    pointer-events: none;
}

.xrld-name {
    position: relative;
    z-index: 1;
    padding-top: 35px;          /* 让姓名 ink 顶 = 距卡顶 45（实测） */
    font-size: 22px;
    line-height: 22px;
    font-weight: bold;
    color: var(--xrld-accent);
    transition: color .25s ease .1s;
}
/* 姓名下的分隔线：距卡顶 99（= 姓名行盒 44..66 + 33）；宽 660 = 版心内文字左沿 → 卡右缘 */
.xrld-line {
    position: relative;
    z-index: 1;
    display: block;
    height: 1px;
    margin-top: 25px;
    background: var(--xrld-line);
    transition: background-color .25s ease .1s;
}
.xrld-desc {
    position: relative;
    z-index: 1;
    margin-top: 10px;           /* 描述 ink 顶 = 距卡顶 114（实测） */
    font-size: 18px;
    line-height: 1.4;
    color: var(--xrld-desc);
    transition: color .25s ease .1s;
}

.xrld-card:hover::after {
    width: 100%;
}
.xrld-card:hover .xrld-name {
    color: #FFFFFF;
}
/* 描述在 hover 态略压一档：实测合成色 = 纯白 × 0.8 叠在云纹底上 */
.xrld-card:hover .xrld-desc {
    color: rgba(255, 255, 255, .8);
}
.xrld-card:hover .xrld-line {
    background: rgba(255, 255, 255, .25);
}

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

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

   卡网格是 2 × 720 + 60 间距 = 1500，卡高固定 174。
   ≤1220：2 列 → 1 列会太长，改 2 列流式（minmax(0,1fr)），卡高 auto；
   ≤768 ：1 列，卡片高度随内容（姓名 + 描述可能两行），内距与字号同步收。
   -------------------------------------------------------------------------- */
@media (max-width: 1560px) {

    /* 1221~1560：网格是写死的 2×720 + 60 间距，卡宽跟 --w 缩小时会溢出 →
       列宽改流式，卡高先保持 174（≤1220 才放开） */
    .xrld-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
    }
}

@media (max-width: 1220px) {

    .xrld-main {
        padding: 32px 0 160px;
        background-size: auto 720px;
    }

    .xrld-grid {
        width: calc(100% - 40px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
        column-gap: 24px;
        row-gap: 20px;
    }

    .xrld-card {
        padding-left: 32px;
        min-height: 150px;
    }

    .xrld-name {
        padding-top: 30px;
        font-size: 19px;
    }

    .xrld-line {
        margin-top: 20px;
    }

    .xrld-desc {
        font-size: 15px;
        padding-bottom: 24px;
    }
}

@media (max-width: 768px) {

    .xrld-main {
        padding: 16px 0 70px;
        background-size: auto 420px;
    }

    .xrld-grid {
        width: calc(100% - 24px);
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .xrld-card {
        padding-left: 26px;
        min-height: 0;
    }

    .xrld-card::before {
        width: 12px;
        /* 原图 720×174 只在卡片恰好 174 高时铺满；手机上卡片高度随内容变，
           背景图会中途截断、下半段露出白底 → 直接换成同色实条 */
        background: var(--xrld-card-red);
    }

    .xrld-name {
        padding-top: 18px;
        font-size: 17px;
        line-height: 1.4;
    }

    .xrld-line {
        margin-top: 12px;
    }

    .xrld-desc {
        margin-top: 8px;
        padding-bottom: 18px;
        font-size: 14px;
        line-height: 1.6;
    }
}
/* [END MOBILE-ADAPT] */
