/* ============================================================
   唐山市维达计算机设备有限公司 官网升级版
   在原站基础上原位升级 · 响应式 · 保留原内容
   ============================================================ */

:root {
    --primary: #123c63;
    --primary-light: #1d5a94;
    --accent: #2f7cd1;
    --dark: #1c2530;
    --text: #3d4653;
    --text-light: #7a8699;
    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --line: #e4e9f0;
    --radius: 8px;
    --shadow: 0 4px 20px rgba(18, 60, 99, .08);
    --shadow-hover: 0 10px 30px rgba(18, 60, 99, .15);
    --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
/* 内容区与 banner（1240）边缘齐平：再抵消 container 左右 20px 内边距 */
.container-1200 { max-width: calc(var(--maxw) + 80px); }
[id] { scroll-margin-top: 92px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
    max-width: calc(var(--maxw) + 40px);  /* 放宽：内容区 1200 与 banner 等宽 */
    margin: 0 auto;
}
.topstrip {
    background: var(--dark);
    color: #aab7c8;
    font-size: 13px;
    padding: 5px 0;
    max-width: calc(var(--maxw) + 40px);
    margin: 0 auto;
}
.topstrip .container { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.topstrip a { color: #aab7c8; margin-left: 16px; }
.topstrip a:hover { color: #fff; }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    color: #fff; font-weight: 700; font-size: 19px;
    display: flex; align-items: center; justify-content: center;
}
.brand-name { line-height: 1.25; }
.brand-name .cn { font-size: 18px; font-weight: 700; color: var(--dark); display: block; white-space: nowrap; }
.brand-name .en { font-size: 10px; color: var(--text-light); letter-spacing: .5px; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a, .nav-item > a {
    display: inline-block;
    padding: 7px 13px;
    font-size: 14.5px;
    color: var(--dark);
    border-radius: 6px;
    font-weight: 500;
    white-space: nowrap;
}
.main-nav > a:hover, .nav-item > a:hover { background: var(--bg-soft); color: var(--primary); }
.main-nav > a.active, .nav-item > a.active { color: #fff; background: var(--primary); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--dark); }

/* 二级下拉菜单 */
.nav-item { position: relative; }
.dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 168px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(18, 60, 99, .16);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 120;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    display: block;
    padding: 8px 13px;
    font-size: 13.5px;
    color: var(--text);
    border-radius: 6px;
    white-space: nowrap;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--primary); }

/* ---------------- 首页 Banner 轮播（沿用原站图片） ---------------- */
.banner {
    position: relative;
    width: 100%;
    max-width: calc(var(--maxw) + 40px);  /* 与页头/页脚条等宽 1240 */
    margin: 0 auto;
    aspect-ratio: 10 / 3;  /* 1200×360 */
    min-height: 200px;
    overflow: hidden;
    background: #0d2a47;
}
.banner-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
    background-color: #0d2a47;
    background-size: cover;       /* 满幅显示：横向纵向铺满 */
    background-position: center;
    background-repeat: no-repeat;
}
.banner-item.active { opacity: 1; }
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 14px 10px;
    color: #fff;
    font-size: 18px;
    background: rgba(0, 0, 0, .25);
    cursor: pointer;
    user-select: none;
    transition: background .2s;
}
.banner-arrow:hover { background: rgba(0, 0, 0, .5); }
.banner-arrow.prev { left: 0; border-radius: 0 6px 6px 0; }
.banner-arrow.next { right: 0; border-radius: 6px 0 0 6px; }
.banner-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.banner-dots .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: background .2s;
}
.banner-dots .dot.active { background: #fff; }

/* ---------------- 首页公司业务（单栏 · 内部左右分栏） ---------------- */
.portal { padding: 36px 0 56px; }
.portal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
}
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.panel-title {
    background: linear-gradient(120deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 10px 16px;
}
.panel-body { padding: 14px 16px; }
.panel-body .menu li { border-bottom: 1px dashed var(--line); }
.panel-body .menu li:last-child { border-bottom: none; }
.panel-body .menu a {
    display: block;
    color: var(--text);
    font-size: 13.5px;
    padding: 6px 2px;
}
.panel-body .menu a:hover { color: var(--primary); padding-left: 6px; transition: all .2s; }

.biz-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 8px 30px;
    align-items: start;
}
.biz-intro p:first-child { margin-top: 4px; }
.biz p { font-size: 14px; margin-bottom: 12px; text-align: justify; }
.oa-block { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.oa-block .oa-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 4px solid var(--accent);
}
.oa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.oa-grid a {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--primary-light);
    background: #eef4fb;
    border: 1px solid #d8e7f8;
    border-radius: 6px;
    padding: 9px 6px;
    transition: all .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.oa-grid a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------------- 内页横幅与通用区块 ---------------- */
.page-banner {
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 44px 0;
    text-align: center;
    max-width: calc(var(--maxw) + 40px);  /* 放宽：与 header/footer 条等宽 */
    margin: 0 auto;
}
.page-banner h1 { font-size: 27px; font-weight: 700; letter-spacing: 3px; }
.page-banner p { color: rgba(255, 255, 255, .75); margin-top: 6px; font-size: 13.5px; letter-spacing: 2px; }

.section { padding: 60px 0; max-width: calc(var(--maxw) + 80px); margin: 0 auto; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 38px; }
.section-head h2 { font-size: 25px; color: var(--dark); font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
.section-head .bar { width: 44px; height: 4px; background: var(--accent); border-radius: 2px; margin: 0 auto 10px; }
.section-head p { color: var(--text-light); font-size: 14px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: all .25s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #cdd9e8; }
.card .icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eaf2fb, #d8e7f8);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    font-size: 24px;
}
.card h3 { font-size: 17px; color: var(--dark); margin-bottom: 8px; }
.card p { font-size: 13.5px; color: var(--text-light); }
.card .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.card .tags span {
    font-size: 12px;
    color: var(--primary-light);
    background: #eef4fb;
    border-radius: 4px;
    padding: 2px 9px;
}

/* 列表式内容页 */
.plain-list li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: all .2s;
}
.plain-list li:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.plain-list .t { color: var(--dark); font-size: 14.5px; font-weight: 500; }
.plain-list .go { font-size: 12.5px; color: var(--text-light); white-space: nowrap; }

/* 品牌链接墙 */
.brand-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-wall a {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 6px;
    text-align: center;
    font-size: 13.5px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .2s;
}
.brand-wall a:hover { color: var(--primary); border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }

/* 案例卡片 */
.case-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: all .25s;
}
.case-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.case-card .cat {
    display: inline-block;
    font-size: 12px;
    color: var(--accent);
    background: #eef4fb;
    padding: 2px 11px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.case-card h3 { font-size: 16px; color: var(--dark); margin-bottom: 6px; }
.case-card p { font-size: 13.5px; color: var(--text-light); }

/* 联系卡片 */
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 14px; }
.contact-card .row { display: flex; gap: 12px; margin-bottom: 12px; font-size: 14.5px; align-items: flex-start; }
.contact-card .row .ic { flex: none; width: 32px; height: 32px; background: #eef4fb; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.contact-card .row .k { color: var(--text-light); font-size: 12.5px; }
.contact-card .row .v { color: var(--dark); font-weight: 500; }

/* 关于页 */
.about-flex { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.about-text h2 { font-size: 22px; color: var(--dark); margin-bottom: 14px; }
.about-text p { margin-bottom: 12px; font-size: 14.5px; }
.about-facts { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
.about-facts li { display: flex; justify-content: space-between; padding: 11px 4px; border-bottom: 1px dashed var(--line); font-size: 13.5px; gap: 10px; }
.about-facts li:last-child { border-bottom: none; }
.about-facts .k { color: var(--text-light); }
.about-facts .v { color: var(--dark); font-weight: 600; text-align: right; }

/* CTA */
.cta {
    background: linear-gradient(120deg, var(--dark), var(--primary));
    color: #fff;
    text-align: center;
    padding: 54px 20px;
    border-radius: var(--radius);
    margin-top: 44px;
}
.cta h2 { font-size: 23px; margin-bottom: 10px; letter-spacing: 1px; }
.cta p { color: rgba(255, 255, 255, .75); margin-bottom: 22px; }
.btn {
    display: inline-block;
    padding: 11px 30px;
    border-radius: var(--radius);
    font-size: 14.5px;
    font-weight: 600;
    transition: all .25s;
    border: none;
    cursor: pointer;
}
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: #e8f0f9; color: var(--primary-light); transform: translateY(-2px); }

/* ---------------- 页脚（原 footer 内容升级） ---------------- */
.site-footer { background: var(--dark); color: #9fb0c4; font-size: 14px; margin-top: 0; max-width: calc(var(--maxw) + 40px); margin-left: auto; margin-right: auto; }
.footer-links { border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; }
.footer-links .container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    justify-content: center;
    font-size: 13px;
}
.footer-links a { color: #9fb0c4; }
.footer-links a:hover { color: #fff; }
.footer-main { padding: 40px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.6fr; gap: 30px; }
.footer-grid h4 { color: #fff; font-size: 14.5px; margin-bottom: 12px; letter-spacing: 1px; }
.footer-grid p { font-size: 12.5px; line-height: 1.9; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid li a { color: #9fb0c4; font-size: 12.5px; }
.footer-grid li a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .brand-logo { width: 34px; height: 34px; font-size: 16px; }
.footer-brand span { color: #fff; font-size: 15px; font-weight: 600; }

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
    color: #7d8ea3;
}
.copyright a { color: #9fb0c4; }
.copyright a:hover { color: #fff; }
.copyright .gongshang img { width: 74px; height: 74px; margin: 0 auto 6px; display: block; opacity: .9; }
/* 访问统计（counter.php） */

/* ---------------- 产品展示横向滚动（线上站原有 1-9.jpg） ---------------- */
.marquee { overflow: hidden; }
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
    height: 170px;
    width: auto;
    margin-right: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 992px) {
    .portal-grid { grid-template-columns: 1fr; }
    .biz-grid { grid-template-columns: 1fr; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .brand-wall { grid-template-columns: repeat(4, 1fr); }
    .about-flex { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 18px 16px;
        gap: 2px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
        max-height: 70vh;
        overflow-y: auto;
    }
    .main-nav.open { display: flex; }
    .main-nav > a, .nav-item > a { padding: 11px 10px; }
    .nav-item .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 4px 14px;
        min-width: 0;
    }
    .nav-item .dropdown a { padding: 8px 10px; color: var(--text); }
    .topstrip .topstrip-links { display: none; }
    .banner { min-height: 160px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .brand-wall { grid-template-columns: repeat(3, 1fr); }
    .oa-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 22px; }
    .marquee-track img { height: 110px; margin-right: 12px; }
    .msg-grid { grid-template-columns: 1fr; }
    .breadcrumb { font-size: 12px; }
}

/* ---------------- 面包屑 ---------------- */
.breadcrumb {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 14px 20px 0;
    font-size: 13px;
    color: var(--text-light);
}
.breadcrumb a { color: var(--text-light); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 6px; color: #cbd3df; }
.breadcrumb .current { color: var(--primary); }

/* ---------------- 在线留言表单 ---------------- */
.msg-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}
.msg-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.msg-row { margin-bottom: 18px; }
.msg-row label { display: block; }
.msg-row label > span {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
}
.msg-row label > span i { color: #e54d42; font-style: normal; margin-left: 2px; }
.msg-form input[type="text"],
.msg-form input[type="tel"],
.msg-form select,
.msg-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: #fafbfc;
    transition: border-color .2s, background .2s;
}
.msg-form input:focus,
.msg-form select:focus,
.msg-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(47, 124, 209, .12);
}
.msg-form textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.msg-form select { cursor: pointer; }
.msg-row .msg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 0;
}
.msg-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0;
    flex-wrap: wrap;
}
.msg-tip { font-size: 12.5px; color: var(--text-light); }
.msg-tip.ok { color: #16a34a; }
.msg-tip.err { color: #e54d42; }
.msg-submit {
    padding: 11px 32px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.msg-submit:hover { background: var(--primary-light); }
.msg-submit:active { transform: translateY(1px); }
.msg-submit:disabled { background: #9aa8b8; cursor: not-allowed; }

/* 表单内双字段行 */
.msg-form .msg-row.dbl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.msg-form .msg-row.dbl > label { margin-bottom: 0; }

/* ---------------- 微信二维码占位卡 ---------------- */
.msg-aside { display: flex; flex-direction: column; gap: 16px; }
.qr-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow);
}
.qr-img {
    width: 110px;
    height: 110px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    flex-shrink: 0;
}
.qr-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qr-text { flex: 1; }
.qr-title { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.qr-sub { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.qr-meta { font-size: 13px; color: var(--accent); }
/* 微信服务号关注卡（contact / knowledge 通用） */
.wx-follow {
    margin-top: 26px;
    background: linear-gradient(135deg, #123c63, #1d5a8f);
    border-radius: var(--radius, 12px);
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    color: #fff;
    flex-wrap: wrap;
}
.wx-follow .wx-qr {
    width: 128px;
    height: 128px;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    flex-shrink: 0;
}
.wx-follow.wx-lg .wx-qr { width: 150px; height: 150px; }
/* 并排场景：去掉独立通栏时的上边距，卡片等高 */
.contact-duo .wx-follow { margin-top: 0; height: 100%; }
.contact-duo .wx-qr { width: 128px; height: 128px; }
.wx-follow .wx-qr img { width: 100%; height: 100%; display: block; border-radius: 4px; }
.wx-follow .wx-info { flex: 1; min-width: 220px; }
.wx-follow .wx-info h3 { margin: 0 0 8px; font-size: 19px; }
.wx-follow .wx-info p { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.85); }
.qr-callout {
    background: linear-gradient(135deg, #fef3e8, #fde4cf);
    border-left: 3px solid #e08740;
    border-radius: 6px;
    padding: 16px 18px;
}
.qr-callout-title {
    font-size: 14px;
    font-weight: 600;
    color: #b85a17;
    margin-bottom: 6px;
}
.qr-callout p { font-size: 13px; color: #5b4634; line-height: 1.6; }

/* ---------------- 首页最新案例 & 新闻区块 ---------------- */
.news-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}
.case-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.case-strip .case-mini {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    transition: box-shadow .25s, transform .25s;
}
.case-strip .case-mini:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.case-mini .ct { font-size: 11px; color: var(--accent); margin-bottom: 8px; font-weight: 500; letter-spacing: .5px; }
.case-mini h4 { font-size: 15.5px; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.case-mini p { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.case-mini .more { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--accent); }
.news-list {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}
.news-list-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.news-list-title small { font-size: 12px; color: var(--text-light); font-weight: 400; }
.news-empty {
    padding: 30px 10px;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.7;
}
.news-empty .ai-badge {
    display: inline-block;
    background: #f5f7fa;
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-top: 10px;
}
.news-item {
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
}
.news-item:last-child { border-bottom: none; }
.news-item .ni-date { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.news-item .ni-title { font-size: 14px; color: var(--dark); line-height: 1.5; }
.news-item .ni-title:hover { color: var(--primary); cursor: pointer; }
.news-item.placeholder { opacity: .6; }

/* ---------------- 表格（小屏适配） ---------------- */
@media (max-width: 900px) {
    .news-section { grid-template-columns: 1fr; }
    .case-strip { grid-template-columns: 1fr; }
    .msg-grid { grid-template-columns: 1fr; }
    .msg-form .msg-row.dbl { grid-template-columns: 1fr; }
}

/* ---------------- OA 系统中下线项 ---------------- */
.oa-disabled {
    background: #eef1f6;
    color: #9aa8b8;
    padding: 11px 14px;
    border-radius: 5px;
    font-size: 13px;
    cursor: not-allowed;
    text-align: center;
    display: block;
}

/* ---------------- 首页轮播图失败兜底 ---------------- */
.banner-item { background-color: #0d2a47; }
.banner-item[style*="url"] { background-size: cover; background-position: center; }

/* ---------------- 首页合作品牌摘要卡 ---------------- */
.brand-shortcut { padding: 4px 0; }
.brand-shortcut > p { font-size: 13.5px; color: var(--text); line-height: 1.7; margin-bottom: 12px; }
.brand-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.brand-tags span {
    background: var(--bg-soft);
    color: var(--text);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12.5px;
    border: 1px solid var(--line);
}
.brand-tags span:last-child {
    background: #fff;
    color: var(--accent);
    border-style: dashed;
    font-weight: 500;
}
.brand-link {
    display: inline-block;
    color: var(--accent);
    font-size: 13.5px;
    text-decoration: none;
    padding-top: 4px;
    transition: color .2s;
}
.brand-link:hover { color: var(--primary); }

/* ---------------- 首页服务保障列表 ---------------- */
.service-list { list-style: none; }
.service-list li {
    padding: 7px 0;
    font-size: 13.5px;
    color: var(--text);
    border-bottom: 1px dashed var(--line);
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-list li:last-child { border-bottom: none; }
.service-list .ic {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}
.service-list strong { color: var(--primary); font-weight: 600; }

/* 访问计数徽章（页脚版权栏 · 数码风） */
.visit-counter { display: inline-flex; align-items: stretch; margin-left: 14px; padding: 3px 4px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; vertical-align: middle; box-shadow: inset 0 1px 3px rgba(0,0,0,.35); }
.visit-counter .vc-item { display: inline-flex; align-items: baseline; gap: 7px; padding: 1px 12px; }
.visit-counter .vc-item + .vc-item { border-left: 1px solid rgba(255,255,255,.12); }
.visit-counter .vc-label { font-size: 11px; color: #7d8ea3; letter-spacing: 2px; }
.visit-counter b { font-family: Consolas, "Courier New", monospace; font-size: 15px; line-height: 1; color: #e8c476; font-weight: 700; letter-spacing: 1.5px; text-shadow: 0 0 9px rgba(201,164,92,.5); }

/* ===== 顶栏站内搜索框 ===== */
.topsearch { display: inline-flex; align-items: center; margin-right: 14px; vertical-align: middle; }
.topsearch input {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 14px;
    color: #fff;
    font-size: 12.5px;
    padding: 3px 12px;
    width: 168px;
    outline: none;
    transition: background .2s, width .2s;
}
.topsearch input::placeholder { color: #8fa1b5; }
.topsearch input:focus { background: rgba(255,255,255,.2); width: 208px; }
.topsearch button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 14px;
    margin-left: 6px;
    padding: 4px 12px;
    font-size: 12.5px;
    cursor: pointer;
    transition: background .2s;
}
.topsearch button:hover { background: var(--primary-light); }
