/* ============================================================
 * 前端扩展样式（不修改原 style.css）
 * 涵盖：子页面 banner、产品网格、新闻列表、分页、详情页布局、
 *       侧栏、表单、面包屑、案例网格、搜索结果、轮播修饰、富文本
 * ============================================================ */

/* ---------- 全局容器 ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main {
    min-height: 60vh;
}

/* ---------- 子页面 banner ---------- */
.page-banner {
    position: relative;
    height: 60vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,58,138,.7), rgba(59,130,246,.5));
}
.page-banner-inner {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}
.page-banner h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
@media (max-width: 768px) {
    .page-banner { height: 40vh; min-height: 220px; }
    .page-banner h1 { font-size: 28px; }
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
    padding: 16px 0;
    color: #6b7280;
    font-size: 14px;
}
.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span + span { margin-left: 8px; }
.breadcrumb > a + span,
.breadcrumb > span + span { margin-left: 8px; }

/* ---------- 筛选条 ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 30px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 10px;
}
.filter-item {
    display: inline-block;
    padding: 6px 18px;
    background: #fff;
    color: #334155;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    transition: all .2s;
}
.filter-item:hover { color: #2563eb; border-color: #2563eb; }
.filter-item.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* ---------- 产品网格 ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr; }
}
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}
.product-cover {
    display: block;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    overflow: hidden;
}
.product-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-info { padding: 18px 20px 22px; }
.product-tag {
    display: inline-block;
    font-size: 12px;
    color: #2563eb;
    background: #eff6ff;
    padding: 2px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.product-info h3 {
    font-size: 18px;
    margin: 4px 0 8px;
    color: #1e293b;
}
.product-info h3 a {
    color: inherit;
    text-decoration: none;
}
.product-info h3 a:hover { color: #2563eb; }
.product-subtitle {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 6px;
}
.product-summary {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ---------- 案例网格 ---------- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 992px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    transition: transform .25s, box-shadow .25s;
    display: block;
}
.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}
.case-cover {
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    overflow: hidden;
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-info { padding: 18px 20px 22px; }
.case-industry {
    display: inline-block;
    font-size: 12px;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.case-info h3 { font-size: 18px; margin: 4px 0 8px; color: #1e293b; }
.case-info p { color: #475569; font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- 新闻列表 ---------- */
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-list-item {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    transition: box-shadow .2s;
}
.news-list-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.news-list-cover {
    flex: 0 0 220px;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
}
.news-list-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-list-body { flex: 1; }
.news-list-body h3 { font-size: 18px; margin: 0 0 8px; }
.news-list-body h3 a { color: #1e293b; text-decoration: none; }
.news-list-body h3 a:hover { color: #2563eb; }
.news-meta { color: #94a3b8; font-size: 13px; display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; }
.news-summary { color: #475569; font-size: 14px; line-height: 1.7; margin: 0; }
@media (max-width: 600px) {
    .news-list-item { flex-direction: column; }
    .news-list-cover { flex: none; width: 100%; }
}

/* ---------- 分页 ---------- */
.pagination {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: center;
}
.pagination a,
.pagination span {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    color: #334155;
    text-decoration: none;
    padding: 0 10px;
    font-size: 14px;
    background: #fff;
}
.pagination a:hover { color: #2563eb; border-color: #2563eb; }
.pagination .active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.pagination .disabled { color: #cbd5e1; cursor: not-allowed; }
.pagination .total {
    margin-left: 10px;
    color: #94a3b8;
    border: none;
    background: transparent;
}

/* ---------- 详情页布局 ---------- */
.detail-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 60px;
}
.detail-main { flex: 1; min-width: 0; }
.detail-sidebar { flex: 0 0 280px; }
@media (max-width: 992px) {
    .detail-layout { flex-direction: column; }
    .detail-sidebar { width: 100%; flex: none; }
}
.sidebar-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.sidebar-card h3 {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2563eb;
    color: #1e293b;
}
.sidebar-card p { font-size: 14px; color: #475569; line-height: 1.8; margin: 0 0 4px; }
.sidebar-card .btn { display: inline-block; margin-top: 10px; }

/* 推荐产品列表 */
.related-list { list-style: none; margin: 0; padding: 0; }
.related-list li { border-bottom: 1px dashed #e2e8f0; }
.related-list li:last-child { border-bottom: none; }
.related-list a {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    text-decoration: none;
    color: #334155;
    align-items: center;
}
.related-list a:hover .related-name { color: #2563eb; }
.related-cover {
    width: 56px;
    height: 56px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
    flex: 0 0 56px;
}
.related-cover img { width: 100%; height: 100%; object-fit: cover; }
.related-info { flex: 1; min-width: 0; }
.related-name { font-size: 14px; }
.related-sub { font-size: 12px; color: #94a3b8; margin-top: 2px; }

/* 热门排行 */
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
}
.rank-list li:last-child { border-bottom: none; }
.rank-num {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background: #cbd5e1;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    flex: 0 0 22px;
}
.rank-1 { background: #ef4444; }
.rank-2 { background: #f97316; }
.rank-3 { background: #eab308; }
.rank-list a {
    flex: 1;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rank-list a:hover,
.rank-list a.active { color: #2563eb; }

/* ---------- 图集 ---------- */
.product-gallery,
.case-gallery {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    margin-bottom: 24px;
}
.gallery-main {
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #f1f5f9;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: #2563eb; }

/* ---------- 产品详情头部 ---------- */
.product-header {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    margin-bottom: 24px;
}
.product-title { font-size: 28px; color: #1e293b; margin-bottom: 6px; }
.product-subtitle { color: #2563eb; font-size: 16px; margin-bottom: 12px; }
.product-summary { color: #475569; line-height: 1.8; font-size: 15px; margin: 0; }

/* ---------- 参数表 ---------- */
.param-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.param-table th,
.param-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
    font-size: 14px;
}
.param-table th {
    background: #f8fafc;
    color: #475569;
    width: 140px;
    font-weight: 600;
}
.param-table tr:last-child th,
.param-table tr:last-child td { border-bottom: none; }

/* ---------- 详情块 ---------- */
.detail-block {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    margin-bottom: 24px;
}
.block-title {
    font-size: 20px;
    color: #1e293b;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

/* ---------- 上一篇 / 下一篇 ---------- */
.prev-next {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    background: #fff;
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.pn-item { flex: 1; min-width: 0; }
.pn-next { text-align: right; }
.pn-item a {
    color: #334155;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pn-item a:hover .pn-title { color: #2563eb; }
.pn-label { color: #94a3b8; font-size: 13px; }
.pn-title { font-size: 14px; }
.pn-empty { color: #cbd5e1; font-size: 14px; }

/* ---------- 文章页 ---------- */
.article {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.article-title {
    font-size: 28px;
    color: #1e293b;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.4;
}
.article-meta {
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}
.article-cover {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}
.article-cover img { width: 100%; height: auto; display: block; }

/* ---------- 表单 ---------- */
.contact-form .form-row {
    display: flex;
    gap: 16px;
}
.contact-form .form-row .form-group { flex: 1; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 14px;
    color: #334155;
    margin-bottom: 6px;
}
.required { color: #ef4444; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.form-card h3 { font-size: 20px; margin-bottom: 6px; color: #1e293b; }
.form-desc { color: #94a3b8; font-size: 14px; margin-bottom: 18px; }

.map-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.map-card h3 { font-size: 18px; margin-bottom: 12px; color: #1e293b; }
.map-placeholder {
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.map-tip {
    margin: 10px 0 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
}
.map-coord {
    display: inline-block;
    padding: 1px 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 12px;
    color: #334155;
    margin: 0 2px;
}
.map-nav-btn {
    display: inline-block;
    margin-left: 6px;
    padding: 3px 12px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all .2s;
    box-shadow: 0 2px 6px rgba(59, 130, 246, .25);
}
.map-nav-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, .35);
}

/* 公司位置动态地图（Leaflet） */
.contact-map {
    width: 100%;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    transition: border-color .2s, box-shadow .2s;
}
.contact-map:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, .15);
}
@media (max-width: 768px) {
    .contact-map { height: 260px; }
}

.contact-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 30px 0 50px;
}
@media (max-width: 768px) {
    .contact-grid-2 { grid-template-columns: 1fr; }
    .contact-form .form-row { flex-direction: column; gap: 0; }
}

/* ============================================================
 * 联系页 / 招聘模块（contact.php）专用样式
 * ============================================================ */
.contact-section,
.recruit-section {
    margin: 30px 0 40px;
}

.section-head {
    text-align: center;
    margin-bottom: 28px;
}
.section-title {
    font-size: 28px;
    color: #1e293b;
    font-weight: 700;
    margin: 0 0 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.section-icon {
    font-size: 28px;
}
.section-sub {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}
@media (max-width: 768px) {
    .section-title { font-size: 22px; }
    .section-sub { font-size: 13px; }
}

/* ---------- 联系卡（增强） ---------- */
.contact-card {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 28px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: transform .25s, box-shadow .25s;
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37,99,235,.12);
}
.contact-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 12px;
}
.contact-card h3 {
    font-size: 17px;
    color: #1e293b;
    margin: 0 0 10px;
}
.contact-card p {
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    margin: 4px 0;
}
.contact-sub {
    color: #94a3b8 !important;
    font-size: 13px !important;
    margin-top: 6px !important;
}

/* ---------- 招聘列表 ---------- */
.recruit-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.recruit-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: box-shadow .25s, transform .25s;
    border-left: 4px solid #2563eb;
}
.recruit-card:hover {
    box-shadow: 0 8px 24px rgba(37,99,235,.12);
    transform: translateY(-2px);
}
.recruit-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.recruit-title-wrap {
    flex: 1;
    min-width: 0;
}
.recruit-title {
    font-size: 20px;
    color: #1e293b;
    margin: 0 0 10px;
    font-weight: 700;
}
.recruit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.recruit-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    border-radius: 999px;
}
.recruit-tag-salary {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #b45309;
    font-weight: 600;
}
.recruit-toggle {
    flex-shrink: 0;
    padding: 8px 18px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .2s, transform .2s;
    font-family: inherit;
}
.recruit-toggle:hover { background: #1d4ed8; }
.recruit-toggle:active { transform: scale(0.96); }
.recruit-toggle-icon {
    font-size: 10px;
    transition: transform .3s;
}
.recruit-card.expanded .recruit-toggle-icon {
    transform: rotate(180deg);
}
.recruit-meta {
    color: #94a3b8;
    font-size: 12px;
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}
.recruit-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding-top .3s ease, margin-top .3s ease;
    padding-top: 0;
    margin-top: 0;
}
.recruit-card.expanded .recruit-body {
    max-height: 3000px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px dashed #e2e8f0;
}
.recruit-block {
    margin-bottom: 16px;
}
.recruit-block:last-child { margin-bottom: 0; }
.recruit-block h4 {
    color: #1e293b;
    font-size: 15px;
    margin: 0 0 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.recruit-block h4::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 14px;
    background: #2563eb;
    border-radius: 2px;
}
.recruit-block .rich-text {
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
    padding-left: 10px;
}
.recruit-block .rich-text h3 {
    font-size: 15px;
    color: #1e293b;
    margin: 0 0 8px;
}
.recruit-block .rich-text ul,
.recruit-block .rich-text ol {
    padding-left: 22px;
    margin: 6px 0;
}
.recruit-block .rich-text li {
    margin: 3px 0;
}
.recruit-block .rich-text img {
    max-width: 100%;
    border-radius: 6px;
    margin: 8px 0;
}

.recruit-cta {
    text-align: center;
    margin-top: 30px;
    padding: 24px;
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
    border-radius: 12px;
    color: #475569;
    font-size: 15px;
}
.recruit-cta a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
.recruit-cta a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .recruit-card { padding: 18px 20px; }
    .recruit-head { flex-direction: column; align-items: stretch; }
    .recruit-toggle { align-self: flex-start; }
    .recruit-title { font-size: 17px; }
    .recruit-tags { gap: 6px; }
    .recruit-tag { font-size: 12px; padding: 2px 8px; }
}

/* ---------- 新闻搜索 ---------- */
.news-search {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.news-search input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
}

/* ---------- 搜索结果 ---------- */
.search-form {
    display: flex;
    gap: 8px;
    max-width: 600px;
    margin: 20px auto 30px;
}
.search-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
}
.search-form input:focus {
    outline: none;
    border-color: #2563eb;
}
.search-summary {
    color: #475569;
    margin: 0 0 20px;
    font-size: 14px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 8px;
}
.search-summary em { color: #2563eb; font-style: normal; }
.search-result-list { list-style: none; padding: 0; margin: 0; }
.search-result-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.result-type {
    display: inline-block;
    font-size: 12px;
    color: #2563eb;
    background: #eff6ff;
    padding: 2px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.search-result-item h3 { font-size: 17px; margin: 0 0 6px; }
.search-result-item h3 a { color: #1e293b; text-decoration: none; }
.search-result-item h3 a:hover { color: #2563eb; }
.search-result-item h3 em,
.result-summary em {
    color: #ef4444;
    font-style: normal;
    font-weight: 700;
}
.result-summary { color: #475569; font-size: 14px; line-height: 1.7; margin: 0; }

/* ---------- 通用 ---------- */
.page-wrap { padding: 30px 0; }
.section-more { text-align: center; margin: 30px 0 0; }
.empty-state {
    text-align: center;
    color: #94a3b8;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.empty-tip {
    text-align: center;
    color: #94a3b8;
    padding: 40px 0;
}

/* 关于我们 */
.about-section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    margin-bottom: 24px;
}

/* 合作伙伴 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    align-items: center;
}
@media (max-width: 768px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
.partner-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}
.partner-item img { max-width: 100%; max-height: 50px; }

/* 提示条 */
.alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 14px;
}
.alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert-error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-info    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ---------- 新闻首页网格 ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 992px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: box-shadow .2s, transform .2s;
}
.news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.news-cover { aspect-ratio: 16 / 9; background: #f1f5f9; overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-info { padding: 18px 20px 22px; }
.news-info h3 { font-size: 17px; margin: 0 0 8px; line-height: 1.5; }
.news-info h3 a { color: #1e293b; text-decoration: none; }
.news-info h3 a:hover { color: #2563eb; }
.news-info .news-meta { margin-bottom: 8px; }
.news-info .news-cat {
    color: #2563eb;
    background: #eff6ff;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 12px;
}
.news-card .news-summary { font-size: 13px; color: #64748b; line-height: 1.7; margin: 0; }

/* 新闻、案例的 .section 间距 */
.news, .partners { padding: 60px 5%; }
@media (max-width: 768px) { .news, .partners { padding: 40px 16px; } }

/* ============================================================
 * 顶部公告条（hlz_config.top_announcement）
 * ============================================================ */
.top-announcement {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 40px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 14px;
    text-align: center;
    z-index: 100;
}
.top-announcement-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
}
.top-announcement-icon { font-size: 16px; }
.top-announcement-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.top-announcement-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.8;
    transition: opacity 0.15s;
}
.top-announcement-close:hover { opacity: 1; }
@media (max-width: 600px) {
    .top-announcement { font-size: 12px; padding: 6px 32px; }
    .top-announcement-text {
        white-space: normal;
        text-align: center;
    }
}

/* ============================================================
 * 悬浮客服（hlz_config.qr_wechat / kefu_text）
 * ============================================================ */
.float-kefu {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    font-family: inherit;
}
.float-kefu-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border: none;
    border-radius: 24px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.15s, box-shadow 0.15s;
}
.float-kefu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}
.float-kefu-icon { font-size: 16px; }
.float-kefu-label { white-space: nowrap; }
.float-kefu-popup {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: 180px;
    padding: 14px 12px 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    text-align: center;
}
.float-kefu-arrow {
    position: absolute;
    right: 24px;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.04);
}
.float-kefu-qr {
    width: 150px;
    height: 150px;
    margin: 0 auto 8px;
    border: 1px solid #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}
.float-kefu-qr img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}
.float-kefu-tip {
    margin: 0;
    font-size: 12px;
    color: #4b5563;
}
@media (max-width: 600px) {
    .float-kefu { right: 12px; bottom: 80px; }
    .float-kefu-label { display: none; }
    .float-kefu-btn { padding: 10px 12px; }
}

/* ============================================================
 * LOGO 副标题
 * ============================================================ */
.logo-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-name {
    font-size: 16px;
    font-weight: 600;
}
.logo-subtitle {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

/* ============================================================
 * 产品下载栏目（download.php / download_info.php）专用样式
 * ============================================================ */

/* ---------- 列表页：统计 + 空状态 ---------- */
.dlw-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1d4ed8;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}
.dlw-stat-num {
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
}
.dlw-stat-label { font-size: 12px; }

.dlw-empty {
    background: #fff;
    border-radius: 16px;
    padding: 80px 20px;
    text-align: center;
    color: #6b7280;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.dlw-empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: .4;
}
.dlw-empty h3 { color: #1f2937; margin: 0 0 8px; }
.dlw-empty p { margin: 0; }

/* ---------- 列表页：卡片网格 ---------- */
.dlw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0;
}
@media (max-width: 992px) { .dlw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dlw-grid { grid-template-columns: 1fr; } }

.dlw-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    transition: all .25s;
}
.dlw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
    text-decoration: none;
}
.dlw-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    overflow: hidden;
}
.dlw-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.dlw-card:hover .dlw-cover img { transform: scale(1.05); }
.dlw-cover-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 60px;
}
.dlw-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    backdrop-filter: blur(8px);
}
.dlw-type {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, .95);
    color: #1f2937;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}
.dlw-type-url  { color: #3b82f6; }
.dlw-type-file { color: #10b981; }

.dlw-info { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.dlw-title {
    margin: 0 0 8px;
    font-size: 16px;
    color: #1e293b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}
.dlw-summary {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}
.dlw-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}
.dlw-meta-item {
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
}
.dlw-action { margin-top: auto; }
.dlw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s;
}
.dlw-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
}
.dlw-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 6px 16px rgba(37, 99, 235, .35);
}
.dlw-btn-url {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, .25);
}

/* ---------- 详情页：双栏布局 ---------- */
.dli-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 20px 0 60px;
}
.dli-main { flex: 1; min-width: 0; }
.dli-side { flex: 0 0 280px; }
@media (max-width: 992px) {
    .dli-layout { flex-direction: column; }
    .dli-side { width: 100%; flex: none; }
}

.dli-cover {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    margin-bottom: 24px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
}
.dli-cover img { width: 100%; height: 100%; object-fit: contain; }
.dli-cover-empty {
    color: #cbd5e1;
    text-align: center;
}
.dli-cover-empty span { font-size: 80px; display: block; }
.dli-cover-empty p { margin: 8px 0 0; font-size: 14px; }

.dli-header { margin-bottom: 20px; }
.dli-title {
    font-size: 28px;
    color: #1e293b;
    margin: 0 0 10px;
    line-height: 1.4;
}
.dli-tag {
    display: inline-block;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: #1d4ed8;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 14px;
}
.dli-summary {
    color: #475569;
    line-height: 1.8;
    font-size: 15px;
    margin: 0;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
}

.dli-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    margin-bottom: 24px;
}
@media (max-width: 600px) { .dli-meta { grid-template-columns: repeat(2, 1fr); } }
.dli-meta-item { text-align: center; }
.dli-meta-label {
    display: block;
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 6px;
}
.dli-meta-value {
    display: block;
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
}

.dli-download-box {
    background: linear-gradient(135deg, #fff, #f8fafc);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin-bottom: 24px;
    transition: all .2s;
}
.dli-download-box:hover { border-color: #3b82f6; }
.dli-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.dli-dl-btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}
.dli-dl-btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, .35);
    text-decoration: none;
    color: #fff;
}
.dli-dl-btn-url {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}
.dli-dl-btn-url:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, .35);
    text-decoration: none;
    color: #fff;
}
.dli-dl-btn-disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}
.dli-dl-icon { font-size: 24px; }
.dli-dl-tip {
    color: #6b7280;
    font-size: 13px;
    margin: 16px 0 0;
}

.dli-tips {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 18px 22px;
}
.dli-tips h3 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #92400e;
}
.dli-tips ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #78350f;
    font-size: 13px;
    line-height: 1.8;
}
.dli-tips a { color: #1d4ed8; text-decoration: underline; }
