/**
 * 武汉博科智丰主题 - 主样式表
 *
 * 设计原则：
 *   - 主色：藏蓝 #1a3a6e（工程类企业标准色）
 *   - 辅色：银灰 #5a6f8a / #f4f6f8
 *   - 强调色：金色 #c9a44d（用于按钮、强调）
 *   - 响应式：移动优先，断点 768px / 1024px
 */

/* ============ 1. 基础重置 ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Microsoft YaHei", "微软雅黑", sans-serif;
    font-size: 15px; line-height: 1.7; color: #333; background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1a3a6e; text-decoration: none; transition: color .2s; }
a:hover { color: #c9a44d; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============ 2. 通用容器 / 工具类 ============ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-title {
    font-size: 32px; color: #1a3a6e; font-weight: 700; margin-bottom: 8px;
    position: relative; display: inline-block; padding-bottom: 12px;
}
.section-title::after {
    content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 48px; height: 3px; background: #c9a44d;
}
.section-subtitle { color: #999; font-size: 14px; letter-spacing: 3px; }
.section-more { text-align: center; margin-top: 40px; }

.btn-primary, .btn-outline {
    display: inline-block; padding: 12px 32px; border-radius: 4px;
    font-size: 14px; transition: all .25s;
}
.btn-primary { background: #1a3a6e; color: #fff; }
.btn-primary:hover { background: #c9a44d; color: #fff; transform: translateY(-2px); }
.btn-outline { border: 1px solid #1a3a6e; color: #1a3a6e; background: transparent; }
.btn-outline:hover { background: #1a3a6e; color: #fff; }

.no-content { text-align: center; padding: 60px 20px; color: #999; }

/* ============ 3. 顶部导航（单行布局，参考原站） ============ */
.site-header {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; padding: 14px 30px; min-height: 100px;
    max-width: 1440px; margin: 0 auto;
}

/* Logo - 较大尺寸，原站参考 */
.site-branding {
    flex-shrink: 0;
    margin-right: 60px; /* 与右侧菜单的留白 */
}
.site-title-link { display: block; }
.site-title { font-size: 22px; color: #1a3a6e; font-weight: 700; }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo-link img {
    width: 136px; height: 59px;
    max-height: 59px; max-width: 136px;
    object-fit: contain;
    display: block;
}

/* 主菜单 - 居中横向，菜单项间距更明显 */
.main-nav { flex: 1; display: flex; justify-content: center; }
.primary-menu {
    display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
    margin-left: -40px; /* 整体向左偏移，视觉更协调 */
}
.primary-menu > li { position: relative; }
.primary-menu > li > a {
    display: block; padding: 12px 20px;
    color: #333; font-size: 15px; font-weight: 500;
    border-radius: 3px; transition: all .2s;
    white-space: nowrap;
}
.primary-menu > li:hover > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-parent > a,
.primary-menu > li.current-menu-ancestor > a {
    color: #1a3a6e;
}
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-parent > a,
.primary-menu > li.current-menu-ancestor > a {
    font-weight: 600;
}

/* 二级菜单 - 下拉 */
.primary-menu .sub-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 180px; padding: 6px 0;
    background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12);
    border-top: 3px solid #1a3a6e;
    display: none; z-index: 99;
}
.primary-menu li:hover > .sub-menu { display: block; }
.primary-menu .sub-menu li { width: 100%; }
.primary-menu .sub-menu li a {
    display: block; padding: 11px 20px;
    color: #555; font-size: 14px; white-space: nowrap;
    text-align: center;
    transition: all .15s;
}
.primary-menu .sub-menu li a:hover {
    background: #f4f6f8; color: #1a3a6e;
}

/* 右侧电话 */
.header-contact {
    display: flex; align-items: center; gap: 8px;
    flex-shrink: 0; margin-left: 30px;
}
.header-contact-icon { font-size: 16px; color: #1a3a6e; }
.header-contact-phone {
    font-size: 20px; color: #1a3a6e; font-weight: 700;
    letter-spacing: .5px;
}
.header-contact-phone:hover { color: #c9a44d; }

/* 移动菜单按钮 */
.menu-toggle {
    display: none; flex-direction: column; gap: 5px; padding: 10px;
}
.menu-toggle span {
    display: block; width: 26px; height: 3px;
    background: #1a3a6e; border-radius: 2px;
}

/* ============ 4. 首页轮播 ============ */
.home-slider { position: relative; overflow: hidden; }
/* 自适应：随视口高度变化，取视口 70% 高度。
   使用 dvh 兼顾移动端浏览器地址栏收起/展开；min-height 兜底防止异常视口过矮。 */
.slider-container {
    position: relative;
    height: 70vh;
    height: 70dvh;
    min-height: 420px;
}
.slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    display: flex; align-items: center; opacity: 0; transition: opacity 1s;
}
.slide.active { opacity: 1; z-index: 2; }
.slide-overlay {
    position: absolute; inset: 0;
    /* 蒙层已去除 - 背景图保持原色显示 */
}
.slide-content { position: relative; z-index: 2; color: #fff; }
.slide-title { font-size: 44px; font-weight: 700; margin-bottom: 18px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.slide-subtitle { font-size: 20px; opacity: .9; margin-bottom: 30px; max-width: 600px; }
.slide-btn {
    display: inline-block; padding: 14px 36px;
    background: #c9a44d; color: #fff; border-radius: 4px;
    font-size: 15px; transition: all .25s;
}
.slide-btn:hover { background: #fff; color: #1a3a6e; }
.slide-placeholder { background: linear-gradient(135deg, #1a3a6e 0%, #3d5a85 100%); opacity: 1; }

.slider-prev, .slider-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255,255,255,.2); color: #fff; font-size: 28px;
    z-index: 3; transition: background .2s;
}
.slider-prev { left: 30px; }
.slider-next { right: 30px; }
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,.4); }

.slider-dots {
    position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 3;
}
.slider-dots span {
    width: 30px; height: 4px; background: rgba(255,255,255,.4);
    cursor: pointer; transition: background .2s;
}
.slider-dots span.active { background: #c9a44d; }

/* ============ 5. 公司简介区块 ============ */
.home-intro { padding: 80px 0; background: #fff; }
.intro-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.intro-text { font-size: 15px; line-height: 1.9; color: #555; }
.intro-text p { margin-bottom: 1em; }
.intro-more { margin-top: 24px; }

.intro-features {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.feature-card {
    background: #f4f6f8; padding: 30px 20px; text-align: center;
    border-radius: 6px; transition: all .25s; color: #333;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,58,110,.12); background: #fff; color: #333; }
.feature-icon { font-size: 38px; margin-bottom: 10px; }
.feature-card h3 { font-size: 18px; color: #1a3a6e; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: #888; }

/* ============ 6. 解决方案区块 - Coverflow 轮播 ============ */
.home-solutions { padding: 80px 0 100px; background: #f4f6f8; }
.home-solutions .section-subtitle {
    color: #888; font-size: 14px; letter-spacing: 1px; max-width: 800px;
    margin: 0 auto; line-height: 1.7;
}

.solution-swiper {
    width: 100%; padding: 70px 0 90px; position: relative;
    overflow: hidden;
}
.solution-swiper .swiper-wrapper {
    align-items: stretch;
}
.solution-slide {
    /* 宽度由 Swiper 的 slidesPerView 自动计算，这里不再写死 */
    display: flex; flex-direction: column;
    transition: transform .3s, filter .3s, opacity .3s;
    filter: grayscale(80%) brightness(.7);
    opacity: .5;
}
/* 中间高亮的当前 slide：放大图片 + 高于两侧，强化主图焦点
   注意：scale 必须加在内层 .solution-slide-link 上——
   外层 .solution-slide 的 transform 会被 Swiper coverflow 的内联样式覆盖。 */
.solution-slide.swiper-slide-active {
    filter: none; opacity: 1;
    z-index: 2;
}
.solution-slide.swiper-slide-active .solution-slide-link {
    transform: scale(1.3);
    transition: transform .3s;
}
.solution-slide-link {
    display: block; aspect-ratio: 16 / 9; overflow: hidden;
    border-radius: 4px; background: #1a1a1a;
}
.solution-slide-image { width: 100%; height: 100%; }
.solution-slide-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s;
}
.solution-slide.swiper-slide-active .solution-slide-image img:hover {
    transform: scale(1.05);
}

/* 下方文字介绍（只在 active slide 完整显示） */
.solution-slide-info {
    background: #fff; padding: 30px 40px; text-align: center;
    margin-top: -1px; /* 紧贴图片 */
    transition: opacity .3s, box-shadow .3s;
    opacity: 0;
    position: relative;
    cursor: default;
}
.solution-slide.swiper-slide-active .solution-slide-info { opacity: 1; }
/* 悬停时整张卡片轻微浮起，提示可交互 */
.solution-slide.swiper-slide-active .solution-slide-info:hover {
    box-shadow: 0 8px 30px rgba(26, 58, 110, .12);
    z-index: 5;
}

.solution-slide-title {
    font-size: 20px; color: #1a3a6e; font-weight: 600;
    margin-bottom: 12px;
}
.solution-slide-divider {
    width: 30px; height: 2px; background: #ccc;
    margin: 0 auto 16px;
}
.solution-slide-desc {
    font-size: 13px; color: #888; line-height: 1.8;
    max-width: 580px; margin: 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height .4s ease;
    max-height: 75px;
    text-align: left;
}
/* 鼠标悬停在文字区上，展开显示完整内容 */
.solution-slide.swiper-slide-active .solution-slide-info:hover .solution-slide-desc {
    -webkit-line-clamp: 999;
    max-height: 70vh;
    overflow-y: auto;
}
/* 自定义滚动条样式（展开后内容很长时） */
.solution-slide-desc::-webkit-scrollbar { width: 4px; }
.solution-slide-desc::-webkit-scrollbar-thumb { background: #c9a44d; border-radius: 2px; }
.solution-slide-desc::-webkit-scrollbar-track { background: transparent; }

/* 左右按钮（白色半透明圆形） */
.solution-swiper .swiper-button-prev,
.solution-swiper .swiper-button-next {
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255,255,255,.9); color: #1a3a6e;
    margin-top: -100px; /* 让按钮居中在图片高度上 */
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    transition: background .2s;
}
.solution-swiper .swiper-button-prev:hover,
.solution-swiper .swiper-button-next:hover {
    background: #1a3a6e; color: #fff;
}
.solution-swiper .swiper-button-prev::after,
.solution-swiper .swiper-button-next::after {
    font-size: 20px; font-weight: 700;
}
.solution-swiper .swiper-button-prev { left: 5%; }
.solution-swiper .swiper-button-next { right: 5%; }

/* 圆点导航 */
.solution-swiper .swiper-pagination {
    bottom: 10px;
}
.solution-swiper .swiper-pagination-bullet {
    width: 10px; height: 10px; background: #ccc; opacity: 1;
}
.solution-swiper .swiper-pagination-bullet-active {
    background: #1a3a6e; width: 12px; height: 12px;
}

.thumb-placeholder {
    width: 100%; height: 100%; display: flex;
    align-items: center; justify-content: center;
    background: #e8eaed; color: #aaa; font-size: 14px;
}

/* ============ 7. 业绩案例区块 ============ */
.home-cases { padding: 80px 0; background: #fff; }
.case-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.case-card { display: block; color: #333; }
.case-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; background: #eee; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.case-card:hover .case-thumb img { transform: scale(1.08); }
.case-overlay {
    position: absolute; inset: 0; background: rgba(26,58,110,.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .25s;
}
.case-card:hover .case-overlay { opacity: 1; }
.case-view { color: #fff; font-size: 14px; }
.case-title {
    font-size: 14px; color: #333; margin-top: 12px; text-align: center;
    line-height: 1.5; min-height: 42px;
}
.case-card:hover .case-title { color: #1a3a6e; }

/* ============ 8. 新闻资讯（顶部精选 + 下方横向轮播） ============ */
.home-news { padding: 80px 0; background: #f4f6f8; }
/* 对齐上方案例区宽度 */
.home-news > .container {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

/* 顶部精选新闻（左大图 + 右文字） */
.news-featured {
    display: flex; gap: 40px;
    background: #fff; padding: 30px;
    border-radius: 4px; margin-bottom: 40px;
    transition: all .25s; color: #333;
    align-items: stretch;
}
.news-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(26,58,110,.1);
    color: #333;
}
.news-featured-thumb {
    flex: 0 0 480px; aspect-ratio: 16/10;
    overflow: hidden; border-radius: 3px; background: #eee;
}
.news-featured-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s;
}
.news-featured:hover .news-featured-thumb img { transform: scale(1.04); }
.news-featured-info {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; justify-content: center;
    padding: 10px 0;
}
.news-featured-title {
    font-size: 22px; color: #1a3a6e; font-weight: 600;
    line-height: 1.5; margin-bottom: 16px;
}
.news-featured:hover .news-featured-title { color: #c9a44d; }
.news-featured-date {
    font-size: 13px; color: #999; margin-bottom: 16px;
}
.news-featured-excerpt {
    font-size: 14px; color: #666; line-height: 1.9;
    margin-bottom: 20px;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}
.news-featured-more {
    display: inline-block; font-size: 14px;
    color: #1a3a6e; font-weight: 500;
    align-self: flex-start;
    padding: 8px 24px; border: 1px solid #1a3a6e; border-radius: 3px;
    transition: all .2s;
}
.news-featured:hover .news-featured-more {
    background: #1a3a6e; color: #fff;
}

/* 下方横向轮播 */
.news-swiper {
    width: 100%; padding: 10px 0; position: relative;
}
.news-card {
    background: #fff; border-radius: 4px; overflow: hidden;
    transition: all .25s; color: #333;
    display: flex; flex-direction: column; height: auto;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(26,58,110,.1);
    color: #333;
}
.news-card-thumb {
    width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #eee;
}
.news-card-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s;
}
.news-card:hover .news-card-thumb img { transform: scale(1.05); }

.news-card-info {
    padding: 16px 18px 20px;
    display: flex; flex-direction: column; gap: 8px;
    flex: 1;
}
.news-card-title {
    font-size: 15px; color: #1a3a6e; font-weight: 600;
    line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    min-height: 45px;
}
.news-card:hover .news-card-title { color: #c9a44d; }
.news-card-date { font-size: 12px; color: #999; }
.news-card-excerpt {
    font-size: 13px; color: #888; line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    margin: 4px 0;
}

/* 左右切换箭头（圆形，垂直居中在轮播两侧） */
.news-swiper-prev,
.news-swiper-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff; color: #1a3a6e; font-size: 28px;
    line-height: 44px; text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.1);
    cursor: pointer; transition: all .2s;
    z-index: 10; border: none; padding: 0;
}
.news-swiper-prev { left: -22px; }
.news-swiper-next { right: -22px; }
.news-swiper-prev:hover,
.news-swiper-next:hover {
    background: #1a3a6e; color: #fff;
}

@media (max-width: 1024px) {
    .news-featured { flex-direction: column; gap: 20px; padding: 20px; }
    .news-featured-thumb { flex: none; width: 100%; }
    .news-featured-title { font-size: 18px; }
}
@media (max-width: 768px) {
    .news-swiper { padding: 10px 0; }
    .news-swiper-prev, .news-swiper-next { display: none; }
}

/* ============ 9. 内页 / banner / 面包屑 ============ */
.page-banner {
    background: linear-gradient(135deg, #1a3a6e 0%, #2a4a85 100%);
    color: #fff; padding: 140px 0; text-align: center;
    position: relative;
}
/* 有背景图时：图片铺满，不加蒙层（保持原图色彩）
   注意：如果用户上传的图整体偏浅，白色标题可能不易辨认；可在图本身预留暗部或重新启用蒙层。 */
.page-banner.has-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-banner > .container { position: relative; z-index: 2; }
.page-banner-title { font-size: 32px; margin-bottom: 12px; }
.breadcrumb { font-size: 13px; opacity: .85; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: #c9a44d; }
.breadcrumb .sep { margin: 0 8px; }

.page-container { padding: 50px 20px 80px; }

/* 单页 / 详情 */
.single-page, .single-detail {
    max-width: 920px; margin: 0 auto;
}
/* 联系我们页：正文铺满 container，让留言表单和 banner 宽度一致 */
.page-id-21 .single-page { max-width: 100%; }
.detail-header { text-align: center; padding-bottom: 24px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.detail-title { font-size: 26px; color: #1a3a6e; margin-bottom: 14px; }
.detail-meta { font-size: 13px; color: #999; }
.detail-meta span { margin: 0 10px; }
.detail-featured-image { margin-bottom: 30px; }
.detail-featured-image img { width: 100%; border-radius: 4px; }

.entry-content {
    font-size: 15px; line-height: 1.9; color: #444;
}
.entry-content p { margin-bottom: 1.2em; }
.entry-content h2 { font-size: 22px; color: #1a3a6e; margin: 30px 0 16px; }
.entry-content h3 { font-size: 18px; color: #1a3a6e; margin: 24px 0 12px; }
.entry-content img { margin: 1em auto; border-radius: 4px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 1.2em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.entry-content th, .entry-content td { padding: 10px; border: 1px solid #ddd; }
.entry-content th { background: #f4f6f8; }

/* 上下文导航 */
.post-navigation {
    display: flex; justify-content: space-between; align-items: stretch;
    margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee; gap: 16px;
}
.post-navigation a {
    flex: 1; padding: 16px 20px; background: #f4f6f8;
    border-radius: 4px; color: #555; transition: all .2s;
}
.post-navigation a:hover { background: #1a3a6e; color: #fff; }
.post-navigation a:hover .nav-label { color: #c9a44d; }
.nav-label { display: block; font-size: 12px; color: #999; margin-bottom: 4px; }
.nav-title { font-size: 14px; }
.nav-back {
    flex: 0 0 auto; text-align: center; line-height: 32px; padding: 16px 30px;
    background: #1a3a6e !important; color: #fff !important;
}

/* ============ 10. 归档列表 ============ */
.archive-page {
    display: grid; grid-template-columns: 240px 1fr; gap: 40px;
}
.archive-page:has(.archive-main:only-child) { grid-template-columns: 1fr; }

.archive-sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-title {
    font-size: 17px; color: #1a3a6e; padding-bottom: 12px;
    border-bottom: 2px solid #c9a44d; margin-bottom: 16px;
}
.category-list li { border-bottom: 1px solid #eee; }
.category-list li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 14px; color: #555; font-size: 14px;
}
.category-list li a:hover, .category-list li.active a {
    background: #f4f6f8; color: #1a3a6e; padding-left: 18px;
}
.category-list li.active a { font-weight: 600; }
.category-list .count { font-size: 12px; color: #999; }

.card-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.card-grid-case, .card-grid-honor { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-card {
    background: #fff; border: 1px solid #f0f0f0; border-radius: 6px;
    overflow: hidden; transition: all .25s; color: #333;
}
.grid-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.1); color: #333; }
.grid-card-thumb { aspect-ratio: 4/3; overflow: hidden; background: #eee; }
.grid-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.grid-card-info { padding: 16px; }
.grid-card-title { font-size: 15px; color: #1a3a6e; line-height: 1.5; margin-bottom: 6px; min-height: 45px; }
.grid-card-date { font-size: 12px; color: #c9a44d; }
.grid-card-excerpt { font-size: 13px; color: #888; line-height: 1.6; margin-top: 8px; }

/* 分页 */
.pagination { text-align: center; margin-top: 50px; }
.pagination .page-numbers {
    display: inline-block; padding: 8px 14px; margin: 0 4px;
    background: #fff; border: 1px solid #ddd; color: #555; border-radius: 3px;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
    background: #1a3a6e; color: #fff; border-color: #1a3a6e;
}

/* ============ 11. 页脚顶部快速入口 + 主页脚 ============ */

/* 顶部 3 个快速入口卡片（横排，彩色渐变背景） */
.footer-quick-entries { margin-top: 60px; }
.quick-entries-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.quick-entry {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 50px 20px; text-align: center;
    color: #fff; transition: all .3s;
    position: relative; overflow: hidden;
}
/* 3 张不同的渐变背景色（藏蓝 / 蓝灰 / 深蓝灰） */
.quick-entry-1 { background: linear-gradient(135deg, #1a3a6e 0%, #2a4a85 100%); }
.quick-entry-2 { background: linear-gradient(135deg, #3d5a85 0%, #5a6f8a 100%); }
.quick-entry-3 { background: linear-gradient(135deg, #2c3e5a 0%, #1a2842 100%); }
.quick-entry:hover {
    transform: translateY(-4px);
    color: #fff;
}
.quick-entry:hover::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(201, 164, 77, .15);
}
.quick-entry-icon {
    margin-bottom: 16px; color: #fff;
    transition: transform .3s;
}
.quick-entry:hover .quick-entry-icon {
    transform: scale(1.1);
}
.quick-entry-title {
    font-size: 22px; color: #fff; font-weight: 600;
    margin-bottom: 4px; position: relative; z-index: 1;
}
.quick-entry-subtitle {
    font-size: 12px; color: rgba(255,255,255,.7);
    letter-spacing: 3px; position: relative; z-index: 1;
}

/* 页脚主信息区 */
.site-footer { background: #1a2842; color: #aab5c8; }
.footer-main { padding: 50px 0 30px; }
.footer-main-inner {
    display: grid; grid-template-columns: 1fr 2fr auto;
    gap: 40px; align-items: start;
}

/* 底部 4 栏目导航 */
.footer-links-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.footer-link-col { min-width: 0; }
.footer-nav-list { list-style: none; padding: 0; margin: 0; }
.footer-nav-list li { margin-bottom: 8px; }
.footer-nav-list li a {
    font-size: 13px; color: #7a8a9e; white-space: nowrap;
    transition: color .2s;
}
.footer-nav-list li a:hover { color: #c9a44d; }
.footer-col-brand .footer-logo {
    width: auto; height: 60px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1); /* Logo 转白色 */
    opacity: .95;
}
.footer-col-brand .footer-site-title {
    font-size: 20px; color: #fff; font-weight: 700; margin-bottom: 24px;
}
.footer-hotline {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px;
}
.footer-hotline-label {
    display: block; font-size: 13px; color: rgba(255,255,255,.6);
    margin-bottom: 6px;
}
.footer-hotline-num {
    font-size: 26px; color: #c9a44d; font-weight: 700;
    letter-spacing: 1px;
}
.footer-hotline-num:hover { color: #fff; }

.footer-col-title {
    font-size: 16px; color: #fff; margin-bottom: 18px;
    padding-bottom: 10px; position: relative;
}
.footer-col-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 30px; height: 2px; background: #c9a44d;
}
.footer-contact-list li {
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 12px; font-size: 14px; line-height: 1.7;
}
.footer-contact-list .footer-icon {
    flex-shrink: 0; margin-top: 4px; color: #c9a44d;
}
.footer-contact-list a { color: #aab5c8; }
.footer-contact-list a:hover { color: #c9a44d; }
.footer-address { align-items: flex-start; }

/* 左侧地址简写 */
.footer-address-simple {
    margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.5);
    line-height: 1.8;
}


.footer-col-wechat { text-align: center; }
.footer-wechat-qr {
    width: 152px; height: 152px; border-radius: 4px;
    background: #fff; padding: 6px;
}
.footer-wechat-tip {
    font-size: 13px; color: rgba(255,255,255,.6);
    margin-top: 10px;
}
.footer-wechat-placeholder {
    width: 152px; height: 152px;
    background: rgba(255,255,255,.05);
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 10px;
    font-size: 11px; color: #5f7090;
    border-radius: 4px; line-height: 1.6;
}

/* 版权栏 */
.footer-bottom {
    background: #131e33; padding: 16px 0;
    font-size: 13px;
}
.footer-bottom-inner {
    display: flex; justify-content: center; align-items: center;
    gap: 20px; flex-wrap: wrap;
}
.footer-bottom a { color: #aab5c8; }
.footer-bottom a:hover { color: #c9a44d; }

/* 返回顶部按钮 */
.back-to-top {
    position: fixed; right: 30px; bottom: 30px;
    width: 44px; height: 44px; border-radius: 50%;
    background: #1a3a6e; color: #fff;
    display: none; align-items: center; justify-content: center;
    cursor: pointer; transition: all .25s;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    z-index: 99;
}
.back-to-top.is-visible { display: flex; }
.back-to-top:hover {
    background: #c9a44d; transform: translateY(-4px);
}

/* ============ 12. 响应式 ============ */
@media (max-width: 1024px) {
    .solution-grid, .case-grid, .card-grid, .card-grid-case, .card-grid-honor {
        grid-template-columns: repeat(3, 1fr);
    }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .intro-content { grid-template-columns: 1fr; gap: 40px; }
    .footer-main-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-col-links { grid-column: span 2; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-col-wechat { grid-column: span 2; display: flex; flex-direction: column; align-items: center; }
    .archive-page { grid-template-columns: 1fr; }
    .archive-sidebar { position: static; }
}

@media (max-width: 768px) {
    body { font-size: 14px; }
    .container { padding: 0 16px; }
    .section-title { font-size: 24px; }
    .header-top-inner { flex-wrap: wrap; }
    .site-title { font-size: 18px; }
    .header-contact-phone { font-size: 17px; }
    .menu-toggle { display: flex; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.1);
        flex: none; justify-content: flex-start;
    }
    .main-nav.is-open { display: block; }
    .primary-menu { flex-direction: column; gap: 0; }
    .primary-menu > li { width: 100%; }
    .primary-menu > li > a {
        padding: 14px 20px; border-top: 1px solid #f0f0f0;
        border-radius: 0;
    }
    .primary-menu .sub-menu {
        position: static; box-shadow: none; border-top: none;
        background: #f4f6f8; padding: 0;
    }
    .primary-menu .sub-menu li a { padding: 12px 36px; }
    .header-inner { min-height: 70px; padding: 8px 16px; flex-wrap: wrap; }
    .header-contact-phone { font-size: 16px; }
    .custom-logo-link img { max-height: 50px; }
    .slider-container {
        height: 60vh;
        height: 60dvh;
        min-height: 320px;
    }
    .slide-title { font-size: 26px; }
    .slide-subtitle { font-size: 14px; }
    .slider-prev, .slider-next { width: 36px; height: 36px; font-size: 22px; }
    .slider-prev { left: 10px; } .slider-next { right: 10px; }
    .home-intro, .home-solutions, .home-cases, .home-news { padding: 50px 0; }
    .intro-features { grid-template-columns: 1fr 1fr; }
    .solution-grid, .case-grid, .card-grid, .card-grid-case, .card-grid-honor,
    .news-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .page-banner { padding: 40px 0; }
    .page-banner-title { font-size: 22px; }
    .footer-main-inner { grid-template-columns: 1fr; gap: 30px; padding: 40px 16px 30px; }
    .footer-col-links { grid-column: auto; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
    .footer-col-wechat { grid-column: auto; }
    .quick-entries-grid { grid-template-columns: 1fr; }
    .quick-entry { padding: 30px 20px; }
    .quick-entry-title { font-size: 18px; }
    .footer-hotline-num { font-size: 22px; }
    .back-to-top { right: 16px; bottom: 16px; width: 38px; height: 38px; }
    .post-navigation { flex-direction: column; }
}

@media (max-width: 480px) {
    .solution-grid, .case-grid, .card-grid, .card-grid-case, .card-grid-honor,
    .news-grid, .intro-features { grid-template-columns: 1fr; }
}

/* ============ 13. 在线留言表单 ============ */
.whbkzf-contact-form {
    width: 100%; margin: 30px 0 0;
    background: #fff; padding: 36px 40px; border-radius: 6px;
    box-shadow: 0 4px 20px rgba(26, 58, 110, .06);
    border: 1px solid #f0f0f0;
    box-sizing: border-box;
}
.whbkzf-form-row { margin-bottom: 20px; }
.whbkzf-form-row-2 {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.whbkzf-form-row label {
    display: block; margin-bottom: 8px; font-size: 14px;
    color: #555; font-weight: 500;
}
.whbkzf-form-row .required { color: #e74c3c; }
.whbkzf-form-row input,
.whbkzf-form-row textarea {
    width: 100%; padding: 11px 14px; border: 1px solid #ddd;
    border-radius: 4px; font-size: 14px; font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    background: #fafbfc;
}
.whbkzf-form-row input:focus,
.whbkzf-form-row textarea:focus {
    outline: none; border-color: #1a3a6e; background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 58, 110, .1);
}
.whbkzf-form-row textarea {
    resize: vertical; min-height: 120px; line-height: 1.6;
}
.whbkzf-captcha-wrap { display: flex; align-items: stretch; gap: 12px; }
.whbkzf-captcha-wrap input { flex: 1; }
.whbkzf-captcha-img { height: 44px; width: 120px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; transition: opacity .2s; flex-shrink: 0; }
.whbkzf-captcha-img:hover { opacity: .8; }
.whbkzf-form-submit {
    background: #1a3a6e; color: #fff;
    padding: 13px 50px; border-radius: 4px;
    font-size: 15px; font-weight: 500; cursor: pointer;
    transition: all .25s;
}
.whbkzf-form-submit:hover {
    background: #c9a44d; transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 164, 77, .3);
}
.whbkzf-form-submit:active { transform: translateY(0); }
.whbkzf-form-msg {
    margin-top: 16px; padding: 12px 16px; border-radius: 4px;
    font-size: 14px; display: none;
}
.whbkzf-form-msg-loading {
    display: block; background: #f0f4f8; color: #555;
}
.whbkzf-form-msg-ok {
    display: block; background: #e8f5e9; color: #2e7d32;
    border-left: 3px solid #4caf50;
}
.whbkzf-form-msg-err {
    display: block; background: #ffebee; color: #c62828;
    border-left: 3px solid #f44336;
}
@media (max-width: 768px) {
    .whbkzf-contact-form { padding: 24px 20px; }
    .whbkzf-form-row-2 { grid-template-columns: 1fr; }
}

/* ============ 14. 顶部搜索按钮 + 弹出搜索层 ============ */
.header-search-toggle {
    flex-shrink: 0; margin-left: 16px;
    width: 64px; height: 64px;
    background: #1a3a6e; color: #fff;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer;
    transition: background .2s;
}
.header-search-toggle:hover { background: #c9a44d; }
.header-search-toggle svg { display: block; }

/* 弹出搜索层（默认隐藏） */
.header-search-overlay {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(26, 58, 110, .96);
    padding: 20px 0;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
    z-index: 99;
}
.header-search-overlay.is-open {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .2s, transform .2s;
}
.header-search-form {
    max-width: 800px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; gap: 10px;
}
.header-search-input {
    flex: 1; padding: 14px 18px;
    background: #fff; border: none; border-radius: 3px;
    font-size: 15px; color: #333;
    outline: none;
}
.header-search-input::placeholder { color: #aaa; }
.header-search-submit,
.header-search-close {
    width: 48px; height: 48px;
    background: #c9a44d; color: #fff;
    display: flex; align-items: center; justify-content: center;
    border: none; border-radius: 3px; cursor: pointer;
    transition: background .2s;
}
.header-search-close { background: rgba(255,255,255,.15); }
.header-search-submit:hover { background: #b08f3d; }
.header-search-close:hover { background: rgba(255,255,255,.3); }

@media (max-width: 768px) {
    .header-search-toggle { width: 44px; height: 44px; margin-left: 6px; }
    .header-search-form { padding: 0 12px; gap: 6px; }
    .header-search-input { padding: 11px 14px; font-size: 14px; }
    .header-search-submit, .header-search-close { width: 40px; height: 40px; }
}

/* ============ 15. 搜索结果页 ============ */
.search-results-area { max-width: 920px; margin: 0 auto; }

.search-page-form {
    display: flex; gap: 0; margin-bottom: 24px;
    border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden;
}
.search-page-input {
    flex: 1; padding: 14px 18px; border: none; outline: none;
    font-size: 15px; color: #333; background: #fff;
}
.search-page-submit {
    padding: 0 32px; background: #1a3a6e; color: #fff;
    font-size: 15px; font-weight: 500; transition: background .2s;
}
.search-page-submit:hover { background: #c9a44d; }

.search-summary {
    padding: 12px 16px; background: #f4f6f8; border-left: 3px solid #1a3a6e;
    margin-bottom: 24px; font-size: 14px; color: #555;
}
.search-summary strong { color: #1a3a6e; margin: 0 4px; }

.search-results-list { display: flex; flex-direction: column; gap: 18px; }
.search-result-item {
    display: flex; gap: 20px; padding: 20px;
    background: #fff; border: 1px solid #eee; border-radius: 6px;
    transition: all .2s;
}
.search-result-item:hover {
    border-color: #1a3a6e; box-shadow: 0 4px 14px rgba(26,58,110,.08);
}
.search-result-thumb {
    flex: 0 0 180px; aspect-ratio: 4/3; overflow: hidden;
    border-radius: 4px; background: #eee;
}
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-type {
    display: inline-block; padding: 3px 10px;
    background: #f4f6f8; color: #1a3a6e;
    font-size: 12px; border-radius: 3px; margin-bottom: 10px;
}
.search-result-title {
    font-size: 17px; margin-bottom: 8px; line-height: 1.5;
}
.search-result-title a { color: #1a3a6e; }
.search-result-title a:hover { color: #c9a44d; }
.search-result-date {
    font-size: 12px; color: #c9a44d; margin-right: 10px;
}
.search-result-excerpt {
    font-size: 13px; color: #777; line-height: 1.7; margin-top: 6px;
}
.search-result-excerpt mark {
    background: #fff3cd; color: #1a3a6e; padding: 0 2px; font-weight: 500;
}

/* 无结果 */
.search-no-results {
    text-align: center; padding: 60px 20px;
}
.search-no-results-icon { font-size: 60px; margin-bottom: 20px; opacity: .4; }
.search-no-results h2 { font-size: 20px; color: #555; margin-bottom: 20px; }
.search-no-results p { color: #888; margin-bottom: 10px; }
.search-no-results ul {
    display: inline-block; text-align: left; color: #888;
    margin: 0 auto 24px; padding-left: 24px;
}
.search-no-results ul li { margin-bottom: 6px; font-size: 14px; }
.search-no-results-links {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}

@media (max-width: 768px) {
    .search-result-item { flex-direction: column; gap: 12px; }
    .search-result-thumb { flex: none; width: 100%; aspect-ratio: 16/9; }
}

/* ============ 16. 业绩案例（顶部 Tab 切换） ============ */
.case-tabs {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px; margin-bottom: 40px;
}
.case-tab {
    padding: 10px 26px; background: #f4f6f8;
    color: #555; font-size: 14px; border: 1px solid transparent;
    border-radius: 3px; cursor: pointer;
    transition: all .2s; white-space: nowrap;
}
.case-tab:hover {
    background: #fff; color: #1a3a6e; border-color: #1a3a6e;
}
.case-tab.is-active {
    background: #1a3a6e; color: #fff; border-color: #1a3a6e;
}

/* 各分类面板（默认隐藏，激活才显示） */
.case-panels { position: relative; }
.case-panel { display: none; animation: fadeIn .3s ease; }
.case-panel.is-active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.case-panel-more { text-align: center; margin-top: 36px; }

@media (max-width: 768px) {
    .case-tabs { gap: 6px; }
    .case-tab { padding: 8px 14px; font-size: 13px; }
}

/* ============ 17. 业绩案例区铺满宽度 ============ */
.home-cases > .container {
    max-width: 100%;            /* 突破 container 1280 限制 */
    padding-left: 40px;
    padding-right: 40px;
}
/* 案例网格用满整个区域，自动调整每行列数 */
.home-cases .case-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 768px) {
    .home-cases > .container { padding-left: 16px; padding-right: 16px; }
    .home-cases .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* 新闻区移动端响应式（横向轮播本身已自适应，无需特殊处理） */

/* ============================================================
 * 解决方案归档列表专用样式（archive-solution.php）
 *   - 第 1 条：左大图 + 右文字
 *   - 第 2 条起：3 列卡片，每张卡片图 + 红色标题条 + 简介
 * ============================================================ */
.solution-archive { padding: 60px 0 80px; background: #f7f8fa; }
.solution-archive > .container { max-width: 1680px; }

/* ---- 第 1 条：左图右文 ---- */
.solution-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    background: #fff;
    margin-bottom: 30px;
    overflow: hidden;
    transition: box-shadow .3s;
}
.solution-featured:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
}
.solution-featured-thumb {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #1a1a1a;
}
.solution-featured-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s;
}
.solution-featured:hover .solution-featured-thumb img {
    transform: scale(1.04);
}
.solution-featured-info {
    padding: 60px 60px;
    display: flex; flex-direction: column;
    justify-content: center;
}
.solution-featured-mark {
    display: inline-block; width: 30px; height: 3px;
    background: #d9251d;
    margin-right: 12px; vertical-align: middle;
}
.solution-featured-title {
    font-size: 26px; color: #222; font-weight: 600;
    margin: 0 0 24px;
}
.solution-featured-desc {
    font-size: 14px; color: #888; line-height: 1.9;
    margin: 0 0 36px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.solution-featured-btn {
    display: inline-flex; align-items: center; gap: 16px;
    align-self: flex-start;
    padding: 14px 30px;
    background: #d9251d; color: #fff;
    font-size: 14px; letter-spacing: 1px;
    transition: background .2s;
}
.solution-featured-btn i { font-style: normal; }
.solution-featured:hover .solution-featured-btn {
    background: #b51e17;
}

/* ---- 第 2 条起：3 列网格 ---- */
.solution-archive .solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.solution-card {
    background: #fff;
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: box-shadow .3s, transform .3s;
}
.solution-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    transform: translateY(-4px);
}
.solution-card-thumb {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #1a1a1a;
}
.solution-card-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s;
}
.solution-card:hover .solution-card-thumb img {
    transform: scale(1.04);
}
.solution-card-info {
    padding: 0;
}
.solution-card-title {
    background: #1a3a6e; color: #fff;
    padding: 18px 24px;
    font-size: 18px; font-weight: 600;
    margin: 0;
}
.solution-card-desc {
    padding: 18px 24px 24px;
    font-size: 13px; color: #888; line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 70px;
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    .solution-archive .solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .solution-featured-info { padding: 40px 36px; }
    .solution-featured-title { font-size: 22px; }
}
@media (max-width: 768px) {
    .solution-archive { padding: 40px 0 60px; }
    .solution-featured {
        grid-template-columns: 1fr;
    }
    .solution-featured-info {
        padding: 30px 24px;
    }
    .solution-featured-title { font-size: 20px; }
    .solution-archive .solution-grid {
        grid-template-columns: 1fr;
    }
    .solution-card-title { font-size: 16px; padding: 14px 20px; }
    .solution-card-desc { padding: 14px 20px 20px; }
}

/* ============================================================
 * 业绩案例归档列表专用样式（archive-case.php）
 *   - 4 列卡片，参考原站 http://www.whbkzf.cn/news/?type=2008
 *   - 每张卡片：图 + 居中标题 + 深藍色"查看更多"按钮条
 * ============================================================ */
.case-archive { padding: 60px 0 80px; background: #f7f8fa; }
.case-archive > .container { max-width: 1680px; }

.case-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.case-archive-card {
    background: #fff;
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: box-shadow .3s, transform .3s;
}
.case-archive-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    transform: translateY(-4px);
}
.case-archive-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1a1a1a;
}
.case-archive-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s;
}
.case-archive-card:hover .case-archive-thumb img {
    transform: scale(1.04);
}
.case-archive-title {
    background: #fff; color: #222;
    text-align: center;
    padding: 22px 16px;
    font-size: 17px; font-weight: 500;
    margin: 0;
}
.case-archive-btn {
    display: block;
    background: #1a3a6e; color: #fff;
    text-align: center;
    padding: 14px 16px;
    font-size: 14px; letter-spacing: 1px;
    transition: background .2s;
}
.case-archive-card:hover .case-archive-btn {
    background: #2a4a85;
}

/* ---- 响应式 ---- */
@media (max-width: 1280px) {
    .case-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .case-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .case-archive { padding: 40px 0 60px; }
    .case-archive-grid { grid-template-columns: 1fr; gap: 16px; }
    .case-archive-title { font-size: 16px; padding: 18px 12px; }
    .case-archive-btn { padding: 12px 14px; }
}

/* ============================================================
 * 业绩案例分类页样式（taxonomy-case_category.php）
 *   - 左侧 sidebar：深藍头 + 分类列表（当前项高亮）
 *   - 右侧：面包屑 + 3 列卡片网格（图 + 居中标题）
 * ============================================================ */
.case-tax-archive { padding: 50px 0 80px; background: #f4f6f8; }
.case-tax-layout {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

/* ---- 左侧分类导航 ---- */
.case-tax-sidebar {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    overflow: hidden;
}
.case-tax-sidebar-title {
    background: #1a3a6e; color: #fff;
    text-align: center;
    padding: 22px 16px;
    font-size: 22px; font-weight: 600;
    margin: 0; letter-spacing: 2px;
}
.case-tax-sidebar-list {
    list-style: none; padding: 10px 0; margin: 0;
}
.case-tax-sidebar-list li {
    border-bottom: 1px solid #f0f1f4;
}
.case-tax-sidebar-list li:last-child {
    border-bottom: none;
}
.case-tax-sidebar-list a {
    display: block;
    padding: 16px 28px;
    font-size: 15px; color: #444;
    text-decoration: none;
    transition: all .2s;
}
.case-tax-sidebar-list a:hover {
    color: #1a3a6e;
    background: #f7f8fa;
}
.case-tax-sidebar-list .is-active a {
    color: #1a3a6e;
    background: #f0f4fa;
    font-weight: 600;
    border-left: 3px solid #1a3a6e;
    padding-left: 25px;
}

/* ---- 右侧内容区 ---- */
.case-tax-main {
    background: #fff;
    padding: 24px 30px 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}
.case-tax-breadcrumb {
    font-size: 13px; color: #888;
    padding: 4px 0 20px;
    border-bottom: 1px solid #f0f1f4;
    margin-bottom: 24px;
}
.case-tax-breadcrumb-icon {
    color: #d9251d;
    margin-right: 4px;
}
.case-tax-breadcrumb a {
    color: #666; text-decoration: none;
    transition: color .2s;
}
.case-tax-breadcrumb a:hover { color: #1a3a6e; }
.case-tax-breadcrumb .sep { margin: 0 8px; color: #ccc; }
.case-tax-breadcrumb .current { color: #1a3a6e; }

.case-tax-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.case-tax-card {
    background: #fff;
    border: 1px solid #f0f1f4;
    overflow: hidden;
    display: flex; flex-direction: column;
    text-decoration: none;
    transition: box-shadow .3s, transform .3s;
}
.case-tax-card:hover {
    box-shadow: 0 10px 30px rgba(26, 58, 110, .1);
    transform: translateY(-4px);
    border-color: transparent;
}
.case-tax-card-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1a1a1a;
}
.case-tax-card-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s;
}
.case-tax-card:hover .case-tax-card-thumb img {
    transform: scale(1.04);
}
.case-tax-card-title {
    text-align: center;
    color: #222;
    padding: 20px 16px;
    font-size: 16px; font-weight: 500;
    margin: 0;
}

/* ---- 响应式 ---- */
@media (max-width: 1100px) {
    .case-tax-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 20px;
    }
    .case-tax-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .case-tax-archive { padding: 30px 0 60px; }
    .case-tax-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .case-tax-sidebar-title { font-size: 18px; padding: 16px; }
    .case-tax-sidebar-list a { padding: 12px 20px; }
    .case-tax-sidebar-list .is-active a { padding-left: 17px; }
    .case-tax-main { padding: 16px 16px 30px; }
    .case-tax-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
 * 新闻聚合页样式（page-news.php）
 *   - 左图（可选） + 中标题+简介 + 右侧日期（日 + 年/月）
 *   - 标题红色（公司新闻）/ 深灰（其他）
 * ============================================================ */
.news-archive { padding: 50px 0 80px; background: #fff; }
.news-archive > .container { max-width: 1680px; }
.news-list { margin: 0 auto; }

.news-item {
    display: grid;
    grid-template-columns: 450px minmax(0, 1fr) 150px; /* 宽度放大1.5倍 */
    gap: 0;
    background: #f4f4f4;
    margin-bottom: 45px; /* 间距放大1.5倍 */
    text-decoration: none;
    transition: background .2s;
}
.news-item:hover { background: #ebebeb; }

.news-item-thumb {
    width: 100%; height: 270px; /* 高度放大1.5倍 */
    overflow: hidden;
    background: #e0e0e0;
}
.news-item-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.news-item-content {
    padding: 45px 60px; /* 内边距放大1.5倍 */
}
.news-item-title {
    font-size: 32px; font-weight: 600; /* 字体放大 */
    color: #b81c22; /* 公司新闻红色 */
    margin: 0 0 24px;
    transition: color .2s;
}
.news-item.cat-industry-news .news-item-title,
.news-item.cat-announcement .news-item-title {
    color: #333; /* 其他分类深灰 */
}
.news-item-excerpt {
    font-size: 18px; color: #555; /* 字体放大 */
    line-height: 1.9; margin: 0;
}

.news-item-date {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding-right: 30px; /* 放大 */
    border-left: 1px solid #e0e0e0;
}
.news-day {
    font-size: 48px; font-weight: 700;
    color: #b81c22;
    line-height: 1;
}
.news-item.cat-industry-news .news-day,
.news-item.cat-announcement .news-day {
    color: #555;
}
.news-ym {
    font-size: 14px; color: #b81c22;
    margin-top: 8px;
}
.news-item.cat-industry-news .news-ym,
.news-item.cat-announcement .news-ym {
    color: #555;
}

/* 响应式 */
@media (max-width: 1024px) {
    .news-item { grid-template-columns: 250px minmax(0, 1fr) 80px; }
    .news-item-content { padding: 24px 30px; }
    .news-item-title { font-size: 19px; }
    .news-day { font-size: 40px; }
}
@media (max-width: 768px) {
    .news-item {
        grid-template-columns: 120px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 0;
    }
    .news-item-thumb {
        grid-row: 1 / 3; height: auto; min-height: 120px;
    }
    .news-item-content {
        grid-column: 2; grid-row: 1;
        padding: 16px 20px;
    }
    .news-item-date {
        grid-column: 2; grid-row: 2;
        flex-direction: row; gap: 16px;
        justify-content: flex-end;
        padding: 0 20px 16px;
        border-left: none; border-top: 1px solid #e0e0e0;
    }
    .news-item-title { font-size: 17px; }
    .news-day { font-size: 28px; }
    .news-ym { margin-top: 0; }
}
