@charset "utf-8";
/**
 * 企业相册页（category-qiyexiangce.php）专用样式 · 方案 A：分类胶囊 + 图墙 + 大图灯箱 · 2026-10-16
 * ------------------------------------------------------------------
 * 复用 bc-about.css 的 Banner / 吸顶胶囊条 / 区块标题 / 收尾横幅；
 * 本文件只新增三个组件：.al-chips（分类胶囊）、.al-wall（图墙）、.al-lb（灯箱）。
 * 胶囊取值与资讯页 .hz-chips 同口径；配色/圆角/边框沿用站内规范：#023793 / #e6ebf3 / radius 8。
 */

/* ---------------- 分类胶囊（同产品中心 / 视频中心 / 资讯页） ---------------- */
.al-chips {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 11px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.al-chips .chip {
    display: inline-block;
    font-size: 13.5px;
    padding: 9px 21px;
    border: 1px solid #cdd6e3;
    border-radius: 21px;
    background: #fff;
    color: #7d8999;
    -webkit-transition: all .18s;
    transition: all .18s;
}
.al-chips .chip i { font-style: normal; opacity: .75; margin-left: 2px; }
.al-chips .chip:hover { border-color: #023793; color: #023793; }
.al-chips .chip.on { background: #023793; border-color: #023793; color: #fff; font-weight: 600; }

/* ---------------- 图墙（一排 4 个，桌面两排 = 8 张） ---------------- */
.al-wall {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.al-card {
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid #e6ebf3;
    border-radius: 8px;
    overflow: hidden;
    -webkit-transition: all .22s;
    transition: all .22s;
}
.al-card:hover {
    border-color: #c9d9f2;
    -webkit-box-shadow: 0 8px 20px rgba(2, 55, 147, .1);
    box-shadow: 0 8px 20px rgba(2, 55, 147, .1);
}
.al-card .pic {
    position: relative;
    display: block;
    padding-top: 75%;        /* 4:3 —— 站内实拍统一 720×540 */
    overflow: hidden;
    background: #eef2f8;
}
.al-card .pic img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: -webkit-transform .35s;
    transition: transform .35s;
    display: block;
}
.al-card:hover .pic img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}
.al-card .cap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 15px;
}
.al-card .cap b { font-size: 15px; font-weight: 600; color: #17243c; letter-spacing: .5px; }
.al-card .cap i { font-style: normal; font-size: 12px; color: #98a4b4; letter-spacing: .5px; white-space: nowrap; }
.al-card .zoom {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #dbe3ee;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0;
    -webkit-transition: all .22s;
    transition: all .22s;
}
.al-card .zoom svg { width: 17px; height: 17px; fill: none; stroke: #023793; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.al-card:hover .zoom { opacity: 1; }

/* ---------------- 大图灯箱 ---------------- */
.al-lb {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1000000;   /* 高于右侧 53kf 浮窗（z 999999），开灯箱时浮窗被遮住 */
    display: none;
}
.al-lb.on { display: block; }
.al-lb .mask {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 14, 32, .93);
}
.al-lb .box {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 4vh 5vw;
}
.al-lb .stage {
    max-width: 100%;
    max-height: 78vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.al-lb .stage img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 6px;
    -webkit-box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
    display: block;
}
.al-lb .bar {
    margin-top: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 22px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
}
.al-lb .bar .nm b { font-weight: 600; }
.al-lb .bar .nm i {
    font-style: normal;
    margin-left: 12px;
    font-size: 12.5px;
    color: #f7c433;
    border: 1px solid rgba(247, 196, 51, .5);
    border-radius: 20px;
    padding: 2px 12px;
}
.al-lb .bar .cnt { font-size: 13px; color: rgba(255, 255, 255, .6); letter-spacing: 2px; }
.al-lb .nav {
    position: absolute;
    top: 50%;
    margin-top: -26px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.al-lb .nav svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.al-lb .nav:hover { background: #023793; border-color: #023793; }
.al-lb .prev { left: 3vw; }
.al-lb .next { right: 3vw; }
.al-lb .cl {
    position: absolute;
    right: 3vw;
    top: 3vh;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 17px;
    line-height: 42px;
    text-align: center;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.al-lb .cl:hover { background: #023793; border-color: #023793; }

/* ---------------- 响应式 ---------------- */
@media screen and (max-width: 1024px) {
    .al-wall { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .al-card .cap { padding: 12px 13px 13px; }
    .al-card .cap b { font-size: 14px; }
    .al-lb .nav { width: 44px; height: 44px; margin-top: -22px; }
    .al-lb .prev { left: 1.5vw; }
    .al-lb .next { right: 1.5vw; }
}

@media screen and (max-width: 767px) {
    /* 分类胶囊：单排左右滑动（2026-10-24）——5 个分类一排放下会挤成两排，
       改为不换行 + 横向滚动 + 全出血到屏幕边缘，右侧露出半个胶囊提示可滑 */
    .al-chips {
        gap: 8px;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        margin: 0 -15px 16px;
        padding: 2px 15px 2px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
    .al-chips::-webkit-scrollbar { display: none; }
    .al-chips .chip {
        padding: 7px 15px;
        font-size: 12px;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .al-wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .al-card .cap { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: start; -ms-align-items: flex-start; align-items: flex-start; gap: 3px; padding: 10px 11px 11px; }
    .al-card .cap b { font-size: 13px; }
    .al-card .cap i { font-size: 11px; }
    .al-card .zoom { display: none; }
    .al-lb .box { padding: 3vh 3vw; }
    .al-lb .stage, .al-lb .stage img { max-height: 70vh; }
    .al-lb .bar { margin-top: 14px; font-size: 13px; gap: 12px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
    .al-lb .nav { width: 38px; height: 38px; margin-top: -19px; }
    .al-lb .nav svg { width: 19px; height: 19px; }
    .al-lb .cl { width: 38px; height: 38px; line-height: 36px; font-size: 15px; }
}

/* ---------------- 分页条（每页 8 张，与胶囊同语言） ---------------- */
.al-pager {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-align-items: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}
.al-pager .pg {
    display: inline-block;
    min-width: 42px;
    height: 42px;
    line-height: 40px;
    padding: 0 15px;
    text-align: center;
    font-size: 14px;
    color: #6b7787;
    background: #fff;
    border: 1px solid #cdd6e3;
    border-radius: 21px;
    text-decoration: none;
    -webkit-transition: all .18s;
    transition: all .18s;
}
.al-pager .pg:hover { border-color: #023793; color: #023793; }
.al-pager .pg.on {
    background: #023793;
    border-color: #023793;
    color: #fff;
    font-weight: 600;
    cursor: default;
}
.al-pager .pg.off { color: #c3ccd9; border-color: #e6ebf3; cursor: default; }
.al-pager .pg.off:hover { border-color: #e6ebf3; color: #c3ccd9; }
.al-pager .pg-info {
    margin-left: 6px;
    font-size: 13px;
    color: #98a4b4;
    letter-spacing: .5px;
}

@media screen and (max-width: 767px) {
    .al-pager { margin-top: 22px; gap: 8px; }
    .al-pager .pg { min-width: 36px; height: 36px; line-height: 34px; padding: 0 12px; font-size: 13px; }
    .al-pager .pg-info { width: 100%; text-align: center; margin: 4px 0 0; }
}
