/*
Theme Name: 汇思达企业版 - 君士
Theme URI: https://www.junshiemc.com
Description: 西安君士企业管理咨询有限公司 - 基于Agencyup的企业主题
Author: 汇思达技术团队
Version: 2.0.0
Template: agencyup
Text Domain: agencyup-hsd
*/

/* ===================== 品牌变量 ===================== */
:root {
    --hsd-primary: #303384;
    --hsd-secondary: #2a5f8f;
    --hsd-accent: #e53830;
    --hsd-text: #333333;
    --hsd-text-light: #666666;
    --hsd-bg: #ffffff;
    --hsd-bg-light: #f5f7fa;
    --hsd-bg-dark: #303384;
    --hsd-border: #e0e0e0;
}

/* ===================== 全局重置 ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--hsd-text);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
}
a {
    color: var(--hsd-primary);
    text-decoration: none;
    transition: color 0.25s ease;
}
a:hover { color: var(--hsd-accent); }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
.hsd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== 顶部白色信息栏 ===================== */
.hsd-top-info {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.hsd-top-info .hsd-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hsd-top-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}
.hsd-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.hsd-logo img {
    height: 50px;
    border-radius: 4px;
}
.hsd-logo-text {
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--hsd-primary);
    padding-left: 15px;
}
.hsd-slogan {
    font-size: 20px;
    font-weight: 700;
    color: var(--hsd-primary);
    line-height: 1.3;
}
.hsd-sub-slogan {
    font-size: 12px;
    color: var(--hsd-text-light);
    line-height: 1.4;
}
.hsd-top-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 40px;
}
.hsd-search-form {
    display: flex;
    width: 100%;
    max-width: 380px;
}
.hsd-search-input {
    flex: 1;
    border: 2px solid var(--hsd-border);
    border-right: none;
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s;
}
.hsd-search-input:focus {
    border-color: var(--hsd-primary);
}
.hsd-search-btn {
    background: var(--hsd-primary);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.hsd-search-btn:hover {
    background: #252870;
}
.hsd-top-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.hsd-hotline-label {
    font-size: 13px;
    color: var(--hsd-text-light);
}
.hsd-hotline-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--hsd-accent);
    letter-spacing: 1px;
}

/* ===================== 深蓝紫导航栏 ===================== */
.hsd-main-nav {
    background: var(--hsd-primary);
    position: relative;
    z-index: 1000;
}
.hsd-main-nav.hsd-nav-sticky {
    position: relative;
}
.hsd-main-nav.hsd-nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.hsd-main-nav .hsd-container {
    display: flex;
    align-items: center;
    position: relative;
}
.hsd-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.hsd-nav > li {
    position: relative;
    flex: 1;
    text-align: center;
}
.hsd-nav > li > a {
    display: block;
    padding: 14px 10px;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    transition: background 0.3s ease;
    white-space: nowrap;
}
.hsd-nav > li > a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.hsd-nav > li.current-menu-item > a,
.hsd-nav > li.current-page-item > a {
    background: rgba(255,255,255,0.15);
}

/* 下拉菜单 */
.hsd-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    z-index: 1001;
    border-top: 3px solid var(--hsd-accent);
}
.hsd-nav > li:hover > .sub-menu {
    display: block;
}
.hsd-nav .sub-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: var(--hsd-text);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.hsd-nav .sub-menu li a:hover {
    background: var(--hsd-bg-light);
    color: var(--hsd-accent);
    padding-left: 22px;
}

/* 移动端菜单按钮 */
.hsd-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1002;
}
.hsd-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px auto;
    border-radius: 2px;
    transition: all 0.3s;
}
.hsd-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hsd-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.hsd-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端遮罩 */
.hsd-mobile-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}
.hsd-mobile-overlay.active {
    display: block;
}

/* ===================== Banner 轮播 ===================== */
.hsd-banner-swiper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #303384;
}
.hsd-banner-swiper .slides {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
}
.hsd-banner-swiper .slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}
.hsd-banner-swiper .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hsd-banner-swiper .slide-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 80%;
}
.hsd-banner-swiper .slide-overlay h1 {
    font-size: 40px;
    margin: 0 0 15px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hsd-banner-swiper .slide-overlay p {
    font-size: 18px;
    margin: 0 0 25px;
    color: rgba(255,255,255,0.9);
}
.hsd-banner-btn {
    display: inline-block;
    background: var(--hsd-accent);
    color: #fff !important;
    padding: 12px 36px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}
.hsd-banner-btn:hover {
    background: #c42e28;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229,56,48,0.4);
}

/* Banner 右侧浮动 */
.hsd-banner-float {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    min-width: 160px;
}
.hsd-float-hotline {
    font-size: 13px;
    color: var(--hsd-text-light);
    margin-bottom: 8px;
    line-height: 1.5;
}
.hsd-float-hotline strong {
    font-size: 16px;
    color: var(--hsd-accent);
    display: block;
    margin-top: 4px;
}
.hsd-float-consult {
    display: block;
    background: var(--hsd-accent);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
    transition: background 0.3s;
}
.hsd-float-consult:hover {
    background: #c42e28;
    color: #fff !important;
}

/* Banner 箭头和分页点 */
.hsd-banner-swiper .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 3;
}
.hsd-banner-swiper .arrow:hover { background: rgba(0,0,0,0.6); }
.hsd-banner-swiper .arrow.prev { left: 20px; }
.hsd-banner-swiper .arrow.next { right: 20px; }
.hsd-banner-swiper .dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hsd-banner-swiper .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}
.hsd-banner-swiper .dot.active {
    background: #fff;
}

/* ===================== 数据统计条 ===================== */
.hsd-stats-bar {
    background: #fff;
    padding: 35px 0;
    border-bottom: 1px solid #eee;
}
.hsd-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.hsd-stat-item {
    padding: 15px;
}
.hsd-stat-item .number {
    font-size: 44px;
    font-weight: 700;
    color: var(--hsd-primary);
    display: block;
    line-height: 1.2;
}
.hsd-stat-item .number strong {
    font-size: 22px;
    font-weight: 600;
}
.hsd-stat-item .label {
    font-size: 14px;
    color: var(--hsd-text-light);
    margin-top: 8px;
    display: block;
}

/* ===================== 板块通用 ===================== */
.hsd-section {
    padding: 70px 0;
}
.hsd-section-gray { background: var(--hsd-bg-light); }
.hsd-section-dark {
    background: var(--hsd-bg-dark);
    color: #fff;
}
.hsd-section-dark h2 { color: #fff; }
.hsd-section-dark p { color: rgba(255,255,255,0.7); }
.hsd-section-header {
    text-align: center;
    margin-bottom: 45px;
    position: relative;
}
.hsd-section-header h2 {
    font-size: 30px;
    color: var(--hsd-primary);
    margin: 0 0 12px;
    font-weight: 700;
    display: inline-block;
    position: relative;
}
.hsd-section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--hsd-accent);
    margin: 12px auto 0;
}
.hsd-section-header p {
    font-size: 15px;
    color: var(--hsd-text-light);
    max-width: 500px;
    margin: 0 auto;
}
.hsd-view-more {
    font-size: 14px;
    color: var(--hsd-accent);
    font-weight: 500;
    position: absolute;
    right: 0;
    top: 8px;
}
.hsd-view-more:hover {
    color: #c42e28;
}

/* ===================== 服务标签切换区域 ===================== */
.hsd-service-tabs {
    display: flex;
    gap: 25px;
}
.hsd-tabs-sidebar {
    width: 180px;
    flex-shrink: 0;
}
.hsd-tab-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.hsd-tab-list li {
    padding: 16px 18px;
    font-size: 15px;
    color: var(--hsd-text);
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    position: relative;
}
.hsd-tab-list li:hover {
    background: var(--hsd-bg-light);
    color: var(--hsd-primary);
}
.hsd-tab-list li.active {
    background: var(--hsd-primary);
    color: #fff;
    border-left-color: var(--hsd-accent);
    font-weight: 600;
}
.hsd-tabs-content {
    flex: 1;
    min-width: 0;
}
.hsd-tab-panel {
    display: none;
}
.hsd-tab-panel.active {
    display: block;
}
.hsd-service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hsd-svc-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
    padding-bottom: 20px;
}
.hsd-svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(48,51,132,0.15);
}
.hsd-svc-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.hsd-svc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.hsd-svc-card:hover .hsd-svc-img img {
    transform: scale(1.05);
}
.hsd-svc-card h3 {
    font-size: 16px;
    color: var(--hsd-primary);
    margin: 15px 18px 8px;
    font-weight: 600;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.hsd-svc-card p {
    font-size: 13px;
    color: var(--hsd-text-light);
    margin: 0 18px 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hsd-svc-btn {
    display: inline-block;
    margin: 0 18px;
    padding: 6px 20px;
    background: var(--hsd-primary);
    color: #fff !important;
    font-size: 13px;
    border-radius: 4px;
    transition: background 0.3s;
}
.hsd-svc-btn:hover {
    background: #252870;
    color: #fff !important;
}

/* ===================== 行业方案 ===================== */
.hsd-industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.hsd-industry-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s;
}
.hsd-industry-card:hover {
    border-color: var(--hsd-primary);
    box-shadow: 0 8px 24px rgba(48,51,132,0.1);
    transform: translateY(-4px);
}
.hsd-industry-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--hsd-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hsd-industry-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.hsd-industry-card h3 {
    font-size: 16px;
    color: var(--hsd-primary);
    margin: 0 0 8px;
    font-weight: 600;
}
.hsd-industry-card p {
    font-size: 13px;
    color: var(--hsd-text-light);
    margin: 0;
    line-height: 1.6;
}

/* ===================== 案例展示 ===================== */
.hsd-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hsd-case-card {
    position: relative;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.hsd-case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.hsd-case-card:hover img {
    transform: scale(1.08);
}
.hsd-case-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    margin-top: 8px;
}
.hsd-case-card .overlay h4 {
    margin: 0 0 5px;
    font-size: 15px;
    color: #efd4ff;
}
.hsd-case-card .overlay span {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

/* ===================== 新闻动态 ===================== */
.hsd-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.hsd-news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.hsd-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.hsd-news-card .thumb {
    height: 200px;
    overflow: hidden;
}
.hsd-news-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.hsd-news-card:hover .thumb img {
    transform: scale(1.05);
}
.hsd-news-card .info {
    padding: 18px;
}
.hsd-news-card .date {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}
.hsd-news-card h3 {
    font-size: 16px;
    margin: 0 0 10px;
    line-height: 1.5;
}
.hsd-news-card h3 a { color: var(--hsd-text); }
.hsd-news-card h3 a:hover { color: var(--hsd-accent); }
.hsd-news-card p {
    font-size: 14px;
    color: var(--hsd-text-light);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===================== CTA 横幅 ===================== */
.hsd-cta-bar {
    background: var(--hsd-accent);
    padding: 40px 0;
    color: #fff;
}
.hsd-cta-bar .hsd-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hsd-cta-text {
    font-size: 22px;
    font-weight: 700;
}
.hsd-cta-sub {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}
.hsd-cta-action {
    display: flex;
    align-items: center;
    gap: 25px;
}
.hsd-cta-phone {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}
.hsd-cta-btn {
    display: inline-block;
    background: var(--hsd-primary);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s;
}
.hsd-cta-btn:hover {
    background: #252870;
    color: #fff !important;
}

/* ===================== Footer ===================== */
.hsd-footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
}
.hsd-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.hsd-footer h4 {
    color: #fff;
    font-size: 16px;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hsd-accent);
    display: inline-block;
}
.hsd-footer p { font-size: 14px; line-height: 1.8; margin: 0 0 10px; }
.hsd-footer ul { list-style: none; padding: 0; margin: 0; }
.hsd-footer ul li { margin-bottom: 8px; }
.hsd-footer ul li a { color: rgba(255,255,255,0.7); font-size: 14px; }
.hsd-footer ul li a:hover { color: var(--hsd-accent); }
.hsd-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    font-size: 13px;
}

/* ===================== 内页轮播 Banner ===================== */
.hsd-slider { position: relative; width: 100%; height: 360px; overflow: hidden; background: #303384; }
.hsd-slider .slides { display: flex; height: 100%; transition: transform 0.6s ease; }
.hsd-slider .slide { min-width: 100%; height: 100%; position: relative; }
.hsd-slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.hsd-slider .slide-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(48,51,132,0.85)); padding: 40px 40px 30px; }
.hsd-slider .slide-overlay h1 { color: #fff; font-size: 28px; margin: 0 0 8px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hsd-slider .slide-overlay .breadcrumb { font-size: 13px; color: rgba(255,255,255,0.8); }
.hsd-slider .slide-overlay .breadcrumb a { color: rgba(255,255,255,0.9); text-decoration: none; }
.hsd-slider .slide-overlay .breadcrumb a:hover { text-decoration: underline; }
.hsd-slider .dots { position: absolute; bottom: 16px; right: 40px; display: flex; gap: 8px; }
.hsd-slider .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: background .3s; }
.hsd-slider .dot.active { background: #e53830; }
.hsd-slider .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(0,0,0,0.3); color: #fff; border: none; cursor: pointer; font-size: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 2; }
.hsd-slider .arrow:hover { background: rgba(0,0,0,0.6); }
.hsd-slider .arrow.prev { left: 16px; }
.hsd-slider .arrow.next { right: 16px; }

/* ===================== Service/文章 双栏布局 ===================== */
.hsd-service-page { max-width: 1200px; margin: 0 auto; padding: 40px 20px; display: flex !important; gap: 40px; }
.hsd-service-main { flex: 1; min-width: 0; }
.hsd-service-sidebar { width: 260px; flex-shrink: 0; }
.hsd-service-sidebar.fixed { position: fixed; top: 110px; width: 260px; z-index: 100; max-height: calc(100vh - 120px); overflow-y: auto; }
.hsd-service-main h2 { font-size: 20px; color: var(--hsd-primary); margin-top: 40px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid #f0f2f8; position: relative; }
.hsd-service-main h2::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background: var(--hsd-accent); }
.hsd-service-main h3 { font-size: 17px; color: var(--hsd-primary); margin-top: 20px; margin-bottom: 10px; }
.hsd-service-main p { line-height: 2; margin-bottom: 14px; color: #444; font-size: 15px; }
.hsd-service-main p img { max-width: 100%; height: auto; display: block; margin: 16px auto; border-radius: 6px; }
.hsd-service-main .hsd-service-breadcrumb { font-size: 13px; color: #999; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f2f8; }
.hsd-service-main .hsd-service-breadcrumb a { color: var(--hsd-secondary); text-decoration: none; }
.hsd-service-main .hsd-service-breadcrumb a:hover { color: var(--hsd-accent); }
.hsd-service-main ol, .hsd-service-main ul { padding-left: 2em; margin-bottom: 20px; }
.hsd-service-main li { line-height: 2; margin-bottom: 4px; color: #444; font-size: 15px; }
.hsd-back-btn { display: inline-block; margin-bottom: 20px; padding: 8px 20px; background: #f0f2f8; color: var(--hsd-secondary); border-radius: 6px; text-decoration: none; font-size: 13px; transition: all .2s; }
.hsd-back-btn:hover { background: var(--hsd-primary); color: #fff; }
.hsd-sidebar-card { background: #f8f9fc; border-radius: 10px; padding: 20px; border: 1px solid #e8eaf0; }
.hsd-sidebar-card h4 { color: var(--hsd-primary); font-size: 15px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--hsd-accent); }
.hsd-sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.hsd-sidebar-card li { margin-bottom: 2px; display: flex; flex-direction: row; align-items: center; }
.hsd-sidebar-card li a { display: block; padding: 8px 12px; color: #555; text-decoration: none; border-radius: 6px; font-size: 13px; transition: all .2s; flex: 1; }
.hsd-sidebar-card li a:hover { background: var(--hsd-primary); color: #fff; }
.hsd-sidebar-card li a.current { background: var(--hsd-accent); color: #fff; font-weight: 600; }

/* ===================== 页面横幅 ===================== */
.hsd-breadcrumb-bar {
    background: #f5f7fa;
    padding: 10px 0;
    font-size: 13px;
    color: #888;
    border-bottom: 1px solid #e8ecf0;
}
.hsd-breadcrumb-bar a {
    color: var(--hsd-primary);
    text-decoration: none;
}
.hsd-breadcrumb-bar a:hover {
    text-decoration: underline;
}
.hsd-breadcrumb-bar span {
    color: var(--hsd-text);
}
.hsd-page-banner {
    padding: 50px 0;
    color: #fff;
    text-align: center;
    background: var(--hsd-primary);
}
.hsd-page-banner h1 {
    font-size: 32px;
    margin: 0 0 12px;
    font-weight: 700;
}
.hsd-page-breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}
.hsd-page-breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}
.hsd-page-breadcrumb a:hover {
    color: #fff;
}
.hsd-page-content {
    padding: 50px 0;
    min-height: 400px;
}
.hsd-page-entry {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--hsd-text);
}
.hsd-page-entry h2,
.hsd-page-entry h3 {
    color: var(--hsd-primary);
    margin: 1.5em 0 0.5em;
}
.hsd-page-entry img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.hsd-page-entry p {
    margin: 0 0 1em;
}
.hsd-page-entry ul,
.hsd-page-entry ol {
    padding-left: 2em;
    margin: 0 0 1em;
}
.hsd-page-entry .wp-block-search {
    display: flex;
    gap: 8px;
    margin: 1em 0;
}
.hsd-page-entry .wp-block-search__input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.hsd-page-entry .wp-block-search__button {
    padding: 8px 20px;
    background: var(--hsd-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    min-width: auto;
    width: auto;
}
.hsd-page-banner .hsd-post-meta {
    font-size: 14px;
    opacity: 0.8;
}
.hsd-page-banner .hsd-post-meta span + span::before {
    content: ' | ';
}

/* ===================== 文章详情 ===================== */
.hsd-article-body {
    font-size: 15px;
    line-height: 2;
    color: #444;
}
.hsd-article-body .MsoNormal,
.hsd-article-body p[class] {
    background: none !important;
    font-size: 15px !important;
    line-height: 2 !important;
}
.hsd-article-body span[style*='font-size'] {
    font-size: inherit !important;
}
.hsd-article-body h2 { font-size: 20px; color: var(--hsd-secondary); margin: 30px 0 15px; border-bottom: 2px solid #f0f2f8; padding-bottom: 10px; position: relative; }
.hsd-article-body h2::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background: var(--hsd-accent); }
.hsd-article-body h3 { font-size: 17px; color: var(--hsd-primary); margin: 25px 0 12px; }
.hsd-article-body p { margin: 0 0 14px; text-indent: 2em !important; }
.hsd-article-body p[style*='text-align:center'] { text-indent: 0 !important; }
.hsd-article-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 16px auto; display: block; }
.hsd-article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.hsd-article-body table th, .hsd-article-body table td { border: 1px solid #ddd; padding: 10px 12px; font-size: 14px; }
.hsd-article-body table th { background: var(--hsd-primary); color: #fff; }

/* 文章导航 */
.hsd-post-nav { display: flex; gap: 16px; margin-top: 30px; }
.hsd-post-nav-prev,
.hsd-post-nav-next {
    flex: 1;
    background: #f8f9fc;
    border: 1px solid #e8eaf0;
    border-radius: 8px;
    padding: 16px;
    transition: all .2s;
}
.hsd-post-nav-prev:hover,
.hsd-post-nav-next:hover {
    border-color: var(--hsd-primary);
    background: #fff;
}
.hsd-post-nav-prev a,
.hsd-post-nav-next a {
    color: var(--hsd-secondary);
    text-decoration: none;
    font-size: 14px;
    display: block;
}
.hsd-post-nav-prev a:hover,
.hsd-post-nav-next a:hover { color: var(--hsd-accent); }
.hsd-post-nav-next { text-align: right; }

/* ===================== 文章列表 ===================== */
.hsd-news-list { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.hsd-news-date { flex-shrink: 0; width: 70px; text-align: center; padding: 12px 8px; background: var(--hsd-bg-light); border-radius: 8px; border-left: 3px solid var(--hsd-accent); }
.hsd-news-day { display: block; font-size: 28px; font-weight: 700; color: var(--hsd-primary); line-height: 1; }
.hsd-news-month { display: block; font-size: 12px; color: var(--hsd-text-light); margin-top: 4px; }
.hsd-news-info { flex: 1; min-width: 0; }
.hsd-news-info h2 { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--hsd-text); transition: color 0.2s; }
.hsd-news-info p { font-size: 14px; color: var(--hsd-text-light); margin: 0; line-height: 1.6; }
.hsd-pagination { text-align: center; margin-top: 30px; }
.hsd-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--hsd-text);
    text-decoration: none;
    font-size: 14px;
}
.hsd-pagination .page-numbers.current {
    background: var(--hsd-primary);
    color: #fff;
    border-color: var(--hsd-primary);
}
.hsd-pagination .page-numbers:hover {
    border-color: var(--hsd-accent);
    color: var(--hsd-accent);
}

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
    .hsd-top-info .hsd-container {
        flex-wrap: wrap;
        gap: 12px;
    }
    .hsd-top-center {
        order: 3;
        padding: 0;
        width: 100%;
    }
    .hsd-search-form {
        max-width: 100%;
    }
    .hsd-top-right {
        margin-left: auto;
        padding-right: 56px;
    }
    .hsd-top-right .hsd-hotline-label {
        display: none;
    }
    .hsd-top-right .hsd-hotline-number {
        font-size: 14px;
    }

    /* 移动端导航 */
    .hsd-mobile-toggle {
        display: block;
        position: fixed;
        top: 13px;
        right: 10px;
        z-index: 1001;
        background: var(--hsd-primary);
        border-radius: 4px;
    }
    .hsd-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: var(--hsd-primary);
        box-shadow: -4px 0 20px rgba(0,0,0,0.2);
        padding: 70px 0 20px;
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s;
        gap: 0;
    }
    .hsd-nav.active {
        transform: translateX(0);
    }
    .hsd-nav > li {
        text-align: left;
        flex: none;
    }
    .hsd-nav > li > a {
        padding: 14px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .hsd-nav .sub-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        display: none;
        background: rgba(0,0,0,0.1);
        border-top: none;
    }
    .hsd-nav > li:hover > .sub-menu,
    .hsd-nav > li > .sub-menu {
        display: none;
    }
    .hsd-nav > li > .sub-menu.show {
        display: block;
    }
    .hsd-nav .sub-menu li a {
        color: rgba(255,255,255,0.8);
        padding-left: 36px;
    }
    .hsd-nav .sub-menu li a:hover {
        color: #fff;
        background: rgba(255,255,255,0.1);
    }

    .hsd-service-tabs {
        flex-direction: column;
    }
    .hsd-tabs-sidebar {
        width: 100%;
    }
    .hsd-tab-list {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
    }
    .hsd-tab-list li {
        padding: 12px 16px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    .hsd-tab-list li.active {
        border-bottom-color: var(--hsd-accent);
        border-left: none;
    }
    .hsd-industry-grid { grid-template-columns: repeat(2, 1fr); }
    .hsd-cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hsd-banner-swiper { height: 320px; }
    .hsd-banner-swiper .slide-overlay h1 { font-size: 26px; }
    .hsd-banner-swiper .slide-overlay p { font-size: 14px; }
    .hsd-banner-float { display: none; }
    .hsd-banner-swiper .arrow { display: none; }

    .hsd-stats { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .hsd-stat-item .number { font-size: 32px; }
    .hsd-service-cards { grid-template-columns: repeat(2, 1fr); }
    .hsd-industry-grid { grid-template-columns: repeat(2, 1fr); }
    .hsd-news-grid { grid-template-columns: repeat(2, 1fr); }
    .hsd-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .hsd-section { padding: 50px 0; }
    .hsd-footer-grid { grid-template-columns: 1fr; }
    .hsd-footer-grid ul { display: flex; flex-wrap: wrap; gap: 6px 16px; }
    .hsd-footer-grid ul li { margin-bottom: 0; }
    .hsd-footer-grid ul li a { white-space: nowrap; }
    .hsd-cta-bar .hsd-container { flex-direction: column; text-align: center; gap: 20px; }
    .hsd-cta-action { flex-direction: column; }
    .hsd-post-nav { flex-direction: column; gap: 10px; }
    .hsd-service-page { flex-direction: column; padding: 20px 15px; gap: 24px; }
    .hsd-service-sidebar { width: 100%; }
    .hsd-page-banner { padding: 30px 0; }
    .hsd-page-banner h1 { font-size: 24px; }

    .hsd-top-left { gap: 10px; }
    .hsd-logo img { height: 36px; }
    .hsd-slogan { font-size: 16px; }
    .hsd-sub-slogan { font-size: 11px; }
    .hsd-logo-text { padding-left: 10px; }
    .hsd-hotline-number { font-size: 16px; }
    .hsd-view-more { position: static; display: block; margin-top: 8px; }
}

@media (max-width: 480px) {
    .hsd-top-info { padding: 10px 0; }
    .hsd-logo-text { display: none; }
    .hsd-top-right .hsd-hotline-label { display: none; }
    .hsd-hotline-number { font-size: 14px; }
    .hsd-stats { grid-template-columns: repeat(2, 1fr); }
    .hsd-stat-item .number { font-size: 28px; }
    .hsd-cta-text { font-size: 18px; }
    .hsd-cta-phone { font-size: 22px; }
}

/* ===================== 案例列表页 & 详情页 ===================== */

/* Banner */
.hsd-case-banner {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2a5c, #303384);
}
.hsd-case-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}
.hsd-case-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 40px 20px;
    color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}
.hsd-case-banner-info {
    float: right;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}
.hsd-case-banner-consult {
    background: var(--hsd-accent);
    color: #fff;
    padding: 4px 18px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 13px;
}
.hsd-case-banner-consult:hover { background: #c42e27; }
.hsd-case-breadcrumb {
    clear: both;
    font-size: 13px;
    padding-top: 8px;
}
.hsd-case-breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.hsd-case-breadcrumb a:hover { color: #fff; }

/* 主布局：左侧导航 + 右侧内容 */
.hsd-case-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    padding: 24px 16px 60px;
}

/* 左侧导航 */
.hsd-case-sidebar {
    width: 200px;
    flex-shrink: 0;
}
.hsd-case-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.hsd-case-nav li { border-bottom: 1px solid #f0f0f0; }
.hsd-case-nav li:last-child { border-bottom: none; }
.hsd-case-nav a {
    display: block;
    padding: 13px 18px;
    color: var(--hsd-text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.hsd-case-nav a:hover { background: var(--hsd-bg-light); color: var(--hsd-primary); }
.hsd-case-nav a.active {
    background: var(--hsd-primary);
    color: #fff;
    font-weight: 500;
}

/* 右侧内容区 */
.hsd-case-content {
    flex: 1;
    min-width: 0;
}

/* 内容头部 */
.hsd-case-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--hsd-primary);
}
.hsd-case-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.hsd-case-cat-name {
    font-size: 20px;
    color: var(--hsd-text-light);
}
.hsd-case-title-wrap strong {
    font-size: 20px;
    color: var(--hsd-primary);
}
.hsd-case-pager-top { font-size: 13px; color: #999; }

/* 文章卡片（列表式） */
.hsd-case-cards { display: flex; flex-direction: column; gap: 16px; }
.hsd-case-card {
    display: flex;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s, transform 0.25s;
}
.hsd-case-card:hover {
    box-shadow: 0 6px 20px rgba(48,51,132,0.12);
    transform: translateY(-2px);
}
.hsd-case-card-img {
    width: 240px;
    flex-shrink: 0;
    overflow: hidden;
}
.hsd-case-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.hsd-case-card:hover .hsd-case-card-img img { transform: scale(1.05); }
.hsd-case-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--hsd-primary), #4a4eb0);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    min-height: 180px;
}
.hsd-case-card-body {
    flex: 1;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
}
.hsd-case-card-title {
    font-size: 17px;
    color: var(--hsd-text);
    margin: 0 0 6px;
    line-height: 1.4;
}
.hsd-case-card-body > a { text-decoration: none; color: inherit; }
.hsd-case-card-body > a:hover .hsd-case-card-title { color: var(--hsd-primary); }
.hsd-case-card-meta {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 8px;
    display: flex;
    gap: 16px;
}
.hsd-case-card-excerpt {
    font-size: 13px;
    color: var(--hsd-text-light);
    line-height: 1.7;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hsd-case-card-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.hsd-case-card-tags span {
    font-size: 12px;
    color: #888;
    background: #f5f7fa;
    padding: 2px 10px;
    border-radius: 3px;
}
.hsd-case-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}
.hsd-case-card-consult {
    color: var(--hsd-accent);
    text-decoration: none;
    font-weight: 500;
}

/* 底部推荐区 */
.hsd-case-featured {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.hsd-case-featured-item {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.hsd-case-featured-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.hsd-case-featured-item > a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.hsd-case-featured-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.hsd-case-featured-item h4 {
    font-size: 14px;
    padding: 10px 12px 4px;
    margin: 0;
    line-height: 1.4;
    color: var(--hsd-text);
}
.hsd-case-featured-item p {
    font-size: 12px;
    color: #888;
    padding: 0 12px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hsd-case-featured-actions {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px 12px;
}
.hsd-case-consult-sm { font-size: 12px; color: var(--hsd-accent); text-decoration: none; }
.hsd-case-more { font-size: 12px; color: var(--hsd-primary); text-decoration: none; font-weight: 500; }

/* 分页 */
.hsd-case-pagination {
    margin-top: 24px;
    text-align: center;
}
.hsd-case-pagination .nav-links { display: inline-flex; gap: 4px; }
.hsd-case-pagination .page-numbers {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    color: var(--hsd-text);
    text-decoration: none;
    transition: all 0.2s;
}
.hsd-case-pagination .page-numbers:hover { border-color: var(--hsd-primary); color: var(--hsd-primary); }
.hsd-case-pagination .page-numbers.current {
    background: var(--hsd-primary);
    color: #fff;
    border-color: var(--hsd-primary);
}

/* 空状态 */
.hsd-case-empty { text-align: center; padding: 80px 0; color: #999; font-size: 15px; }

/* ===================== 详情页 ===================== */
.hsd-detail-wrap {
    background: #fff;
    border-radius: 6px;
    padding: 28px 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}
.hsd-detail-header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.hsd-detail-title {
    font-size: 24px;
    color: var(--hsd-text);
    margin: 0 0 10px;
    line-height: 1.4;
}
.hsd-detail-meta {
    font-size: 13px;
    color: #999;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hsd-detail-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.hsd-detail-tag {
    display: inline-block;
    padding: 3px 14px;
    background: #f0f2ff;
    color: var(--hsd-primary);
    font-size: 12px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
}
.hsd-detail-tag:hover { background: #e0e4ff; }
.hsd-detail-body {
    line-height: 1.9;
    font-size: 15px;
    color: var(--hsd-text-light);
}
.hsd-detail-body h2,
.hsd-detail-body h3,
.hsd-detail-body h4 { color: var(--hsd-text); margin: 1.2em 0 0.6em; }
.hsd-detail-body p { margin: 0.6em 0; }
.hsd-detail-body img { max-width: 100%; border-radius: 4px; }
.hsd-detail-body ul, .hsd-detail-body ol { padding-left: 1.5em; }

/* 上下篇导航 */
.hsd-detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
}
.hsd-detail-nav a { color: var(--hsd-primary); text-decoration: none; }
.hsd-detail-nav a:hover { color: var(--hsd-accent); }
.hsd-detail-prev, .hsd-detail-next { max-width: 48%; }
.hsd-detail-nav strong { margin-right: 4px; }

/* 推荐文章 */
.hsd-detail-related {
    background: #fff;
    border-radius: 6px;
    padding: 20px 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.hsd-detail-related-title {
    font-size: 16px;
    color: var(--hsd-primary);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hsd-primary);
}
.hsd-detail-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hsd-detail-related-list li {
    padding: 6px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.hsd-detail-related-list li:last-child { border-bottom: none; }
.hsd-detail-related-list a {
    text-decoration: none;
    color: var(--hsd-text);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.hsd-detail-related-list a:hover { color: var(--hsd-primary); }
.hsd-related-dot { color: var(--hsd-accent); font-weight: 700; flex-shrink: 0; }
.hsd-related-date {
    margin-left: auto;
    color: #bbb;
    font-size: 12px;
    flex-shrink: 0;
}

/* 右侧侧边栏 */
.hsd-detail-sidebar {
    width: 260px;
    flex-shrink: 0;
}
.hsd-sidebar-hotline {
    background: var(--hsd-primary);
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}
.hsd-sidebar-services {
    background: #fff;
    border-radius: 6px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.hsd-sidebar-services h4 {
    font-size: 15px;
    color: var(--hsd-primary);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--hsd-primary);
}
.hsd-sidebar-service-item {
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.hsd-sidebar-service-item:last-child { border-bottom: none; }
.hsd-sidebar-service-item h5 { margin: 0 0 4px; font-size: 14px; }
.hsd-sidebar-service-item h5 a { color: var(--hsd-text); text-decoration: none; }
.hsd-sidebar-service-item h5 a:hover { color: var(--hsd-primary); }
.hsd-sidebar-service-item p { font-size: 12px; color: #888; margin: 0 0 4px; line-height: 1.6; }
.hsd-sidebar-service-link {
    font-size: 12px;
    color: var(--hsd-accent);
    text-decoration: none;
}
.hsd-sidebar-service-link:hover { color: #c42e27; }

/* 详情页三栏布局覆盖 */
.single .hsd-case-content { display: flex; gap: 20px; }
.single .hsd-detail-wrap { flex: 1; min-width: 0; }
.single .hsd-detail-sidebar { order: 1; }
.single .hsd-detail-related { order: 0; }
.single .hsd-case-layout { flex-wrap: wrap; }

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
    .hsd-case-layout { flex-direction: column; }
    .hsd-case-sidebar { width: 100%; }
    .hsd-case-nav { display: flex; flex-wrap: wrap; }
    .hsd-case-nav li { border-bottom: none; border-right: 1px solid #f0f0f0; }
    .hsd-case-nav a { padding: 10px 14px; white-space: nowrap; }
    .hsd-case-featured { grid-template-columns: repeat(2, 1fr); }
    .single .hsd-case-content { flex-direction: column; }
    .hsd-detail-sidebar { width: 100%; }
}

@media (max-width: 768px) {
    .hsd-case-banner { height: 160px; }
    .hsd-case-card { flex-direction: column; }
    .hsd-case-card-img { width: 100%; height: 180px; }
    .hsd-case-featured { grid-template-columns: 1fr; }
    .hsd-detail-wrap { padding: 16px; }
    .hsd-detail-title { font-size: 20px; }
}
