/* 主题额外样式 */

/* 案例网格布局 */
.cases-grid {
    display: grid;
    gap: 2rem;
}

/* 详情页相关案例布局 */
.related-cases .cases-grid {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}

/* 详情页相关案例 - 2个案例时居中 */
.related-cases .cases-grid[style*="repeat(2, 1fr)"] {
    max-width: 800px;
}

/* 详情页相关案例响应式 */
@media (max-width: 992px) {
    .related-cases .cases-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .related-cases .cases-grid {
        grid-template-columns: 1fr !important;
        max-width: 100%;
    }
}

/* 档案页响应式样式 */
.archive-page .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    .archive-page article[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .archive-page article[style*="grid-template-columns: repeat(3, 1fr)"],
    .archive-page article[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .archive-page article[style*="display: flex; flex-direction: row;"] {
        flex-direction: column !important;
    }

    .archive-page article[style*="display: flex; flex-direction: row;"] a {
        flex-direction: column !important;
    }

    .archive-page article[style*="display: flex; flex-direction: row;"] > a > div:first-child {
        width: 100% !important;
        height: 250px !important;
    }

    /* 专家详情页响应式 */
    .expert-header {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .expert-header .expert-photo {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .archive-page article[style*="grid-template-columns: repeat(2, 1fr)"],
    .archive-page article[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .archive-page header h1 {
        font-size: 2rem !important;
    }

    .archive-page header p {
        font-size: 1rem !important;
    }

    /* 专家详情页标题 */
    .expert-header h1 {
        font-size: 2.2rem !important;
    }

    .expert-patents-section h2,
    .expert-honors-section h2 {
        font-size: 1.5rem !important;
    }
}

/* 联系方式卡片样式 */
.contact-methods-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-card {
    display: flex;
    gap: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-card-icon {
    flex-shrink: 0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon svg {
    color: white;
}

.contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contact-card-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.contact-card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    word-break: break-all;
    line-height: 1.4;
    text-align: center;
}

/* 邮箱卡片 */
.contact-card-email {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-card-email:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 电话卡片 */
.contact-card-phone {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.contact-card-phone:hover {
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .consultation-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card-icon {
        width: 64px;
        height: 64px;
    }

    .contact-card-icon svg {
        width: 32px;
        height: 32px;
    }

    .contact-card-label {
        font-size: 0.875rem;
    }

    .contact-card-value {
        font-size: 1.125rem;
    }
}

/* 平板端响应式 */
@media (max-width: 992px) {
    .consultation-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 移动端菜单样式 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    z-index: 999;
    padding-top: 80px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 2rem;
}

.mobile-menu-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-content li {
    border-bottom: 1px solid #eee;
}

.mobile-menu-content a {
    display: block;
    padding: 1rem;
    font-size: 1.2rem;
    color: #212121;
}

.mobile-language-switcher {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

body.menu-open {
    overflow: hidden;
}

/* 专家卡片悬停效果 */
.expert-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.expert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30,136,229,0.15);
}

/* 专家横向卡片 */
.expert-card-horizontal {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.expert-card-horizontal:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30,136,229,0.15);
}

/* 专家图片容器 */
.expert-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5; /* 统一背景色,确保跨浏览器一致 */
    -webkit-transform: translateZ(0); /* 开启硬件加速,避免iOS重绘问题 */
    transform: translateZ(0);
}

.expert-image img,
.expert-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-object-fit: cover;
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    display: block; /* 防止图片底部出现空隙 */
    -webkit-backface-visibility: hidden; /* iOS兼容性 */
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    vertical-align: bottom;
    max-width: 100%;
}

.expert-image:hover img,
.expert-image:hover .expert-card-img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05); /* Safari兼容 */
}

/* 详情页专家照片 */
.expert-photo-container {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-sizing: border-box;
}

.expert-photo-img {
    -webkit-object-fit: contain;
    object-fit: contain;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

/* 专家标签 */
.expert-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.expert-badge-horizontal {
    display: inline-block;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: white;
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 服务项目波浪背景 */
.services-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="%23ffffff" d="M0,50 C360,100 1080,0 1440,50 L1440,100 L0,100 Z"></path></svg>');
    background-size: cover;
}

/* 按钮悬停效果增强 */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* 新闻卡片 */
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* 语言切换按钮悬停 */
.lang-btn {
    transition: all 0.2s ease;
}

.lang-btn:hover {
    transform: scale(1.05);
}

/* 案例卡片悬停效果 */
.case-card {
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .mobile-menu {
        display: none;
    }

    .mobile-menu.active {
        display: block;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* cases-grid的移动端样式由mobile-scroll.css控制 */

    .case-meta-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .expert-header {
        grid-template-columns: 1fr;
    }

    .patents-section > div {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    /* 专家卡片移动端优化 */
    .experts-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
    }

    .expert-card-horizontal {
        flex-direction: column !important;
        min-height: auto !important;
    }

    .expert-card-horizontal .expert-image {
        width: 100% !important;
        height: 250px !important;
        min-height: 250px !important;
    }

    .expert-card-horizontal .expert-info {
        width: 100% !important;
        padding: 1.5rem !important;
    }

    .expert-card .expert-image {
        height: 250px !important;
    }

    .expert-card .expert-info {
        padding: 1.5rem !important;
    }

    .expert-card h3 {
        font-size: 1.4rem !important;
    }
}

/* 平板端专家卡片优化 */
@media (min-width: 769px) and (max-width: 992px) {
    .experts-grid {
        gap: 1.5rem !important;
    }

    .expert-card-horizontal {
        min-height: 500px !important;
    }

    .expert-card-horizontal .expert-image {
        min-height: 500px !important;
    }
}

/* 平板端专家卡片优化 */
@media (min-width: 769px) and (max-width: 992px) {
    .experts-grid {
        gap: 1.5rem !important;
    }

    .expert-card-horizontal {
        min-height: 500px !important;
    }

    .expert-card-horizontal .expert-image {
        min-height: 500px !important;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.expert-card,
.case-card {
    animation: fadeInUp 0.5s ease forwards;
}

/* 延迟动画 */
.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { animation-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { animation-delay: 0.6s; }
.services-grid .service-card:nth-child(7) { animation-delay: 0.7s; }
.services-grid .service-card:nth-child(8) { animation-delay: 0.8s; }
.services-grid .service-card:nth-child(9) { animation-delay: 0.9s; }

/* 打印样式 */
@media print {
    .site-header,
    .mobile-contact-bar,
    .footer-social {
        display: none;
    }
}

/* 专家详情页会议区块响应式 */
@media (max-width: 768px) {
    .expert-conferences-section {
        padding: 1.5rem !important;
    }

    .expert-conferences-section h2 {
        font-size: 1.5rem !important;
    }

    .expert-conferences-section > div[style*="display: grid"] > div {
        flex-direction: column !important;
    }

    .expert-conferences-section > div[style*="display: grid"] > div > div:first-child {
        width: 100% !important;
        height: 200px !important;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .expert-conferences-section h2 {
        font-size: 1.3rem !important;
    }

    .expert-conferences-section > div[style*="display: grid"] > div > div:first-child {
        width: 100% !important;
        height: 180px !important;
    }

    .expert-conferences-section h3 {
        font-size: 1.1rem !important;
    }
}

/* 专家详情页整体响应式 */
/* 大屏幕优化 - 增加padding-top避免与导航栏重叠 */
@media (min-width: 1025px) {
    .expert-detail .container {
        padding-top: 140px !important;
        padding-bottom: 60px !important;
    }
}

@media (max-width: 1024px) {
    .expert-detail .container {
        padding-top: 140px !important;
        padding-bottom: 50px !important;
    }

    .expert-header {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .expert-header .expert-photo > div {
        max-width: 400px !important;
        width: 100% !important;
    }

    .expert-header .expert-photo > div img {
        height: auto !important;
        max-height: 600px !important;
        object-fit: contain !important;
        -webkit-object-fit: contain; /* Safari兼容 */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@media (max-width: 768px) {
    .expert-detail .container {
        padding-top: 130px !important;
        padding-bottom: 40px !important;
    }

    .expert-header {
        gap: 1.5rem !important;
    }

    .expert-header h1 {
        font-size: 2rem !important;
    }

    .expert-content h2 {
        font-size: 1.5rem !important;
    }

    .expert-summary-section {
        padding: 1.5rem !important;
    }

    .expert-summary-section h2 {
        font-size: 1.5rem !important;
    }

    .expert-header .expert-photo > div {
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .expert-header .expert-photo > div img {
        max-height: 500px !important;
    }
}

@media (max-width: 480px) {
    .expert-detail .container {
        padding-top: 120px !important;
        padding-bottom: 30px !important;
    }

    .expert-header h1 {
        font-size: 1.8rem !important;
    }

    .expert-summary-section h2 {
        font-size: 1.3rem !important;
    }

    .expert-summary-section > div[style*="background: white"] {
        padding: 1.5rem !important;
        font-size: 1rem !important;
    }

    /* 专家照片移动端优化 */
    .expert-header .expert-photo > div {
        border-radius: 16px !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .expert-header .expert-photo > div img {
        max-width: 100% !important;
        height: auto !important;
        max-height: 400px !important;
        object-fit: contain !important;
        -webkit-object-fit: contain; /* Safari兼容 */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* 专家详情页寄语区块响应式 */
@media (max-width: 768px) {
    .expert-message-section {
        padding: 2rem 1.5rem !important;
    }

    .expert-message-section h2 {
        font-size: 1.5rem !important;
    }

    .expert-message-section > div > div {
        padding: 1.5rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .expert-message-section {
        padding: 1.5rem 1rem !important;
    }

    .expert-message-section h2 {
        font-size: 1.3rem !important;
    }

    .expert-message-section > div > div {
        padding: 1.2rem !important;
        font-size: 0.95rem !important;
    }

    .expert-message-section > div > div > div:first-child {
        width: 32px !important;
        height: 32px !important;
        top: -12px !important;
    }

    .expert-message-section > div > div > div:first-child svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* 移动端和安卓端全局优化 */
@media (max-width: 600px) and (min-width: 481px) {
    /* 安卓端咨询准备和联系方式卡片优化 */
    .consultation-wrapper {
        max-width: 100% !important;
        padding: 0 1rem;
    }

    /* 安卓端页脚优化 */
    .site-footer {
        padding-bottom: 150px !important;
    }

    /* 安卓端详情页优化 */
    .expert-detail .container {
        padding-top: 125px !important;
    }

    /* 安卓端导航栏确保显示 */
    .site-header {
        z-index: 1000 !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    /* 页脚移动端优化 */
    .site-footer {
        padding-bottom: 140px !important;
        padding-bottom: calc(120px + env(safe-area-inset-bottom, 20px)) !important;
    }

    .footer-main {
        padding: 2rem 0 !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-brand img {
        margin: 0 0 0.75rem 0 !important;
    }

    .footer-links-section,
    .footer-contact-section {
        text-align: left;
    }

    .footer-contact li {
        justify-content: flex-start;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-contact svg {
        flex-shrink: 0;
        width: 18px !important;
        height: 18px !important;
    }

    .footer-bottom {
        padding: 0.75rem 1rem !important;
        line-height: 1.6;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        word-wrap: break-word;
    }

    /* 咨询准备和联系方式卡片移动端优化 */
    .consultation-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        padding: 0;
    }

    .consultation-prep,
    .consultation-contact {
        width: 100%;
    }

    .contact-methods-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        margin: 0 auto !important;
    }

    .contact-card {
        padding: 1.25rem !important;
        flex-direction: column !important;
        text-align: center !important;
    }

    .contact-card-content {
        align-items: center !important;
        text-align: center !important;
    }

    .contact-card-icon {
        width: 60px !important;
        height: 60px !important;
    }

    .contact-card-icon svg {
        width: 32px !important;
        height: 32px !important;
    }

    .contact-card-label {
        font-size: 0.85rem !important;
    }

    .contact-card-value {
        font-size: 1rem !important;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .expert-detail .container {
        padding-top: 60px !important;
    }

    .mobile-contact-bar {
        display: none !important;
    }

    .site-footer {
        padding-bottom: 1.5rem !important;
    }
}

/* 专家详情页基础样式 */
.expert-detail {
    position: relative;
    z-index: 1;
    background: var(--bg-white);
}

/* 页脚联系方式图标样式修复 */
.footer-contact svg {
    flex-shrink: 0;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
}

.footer-contact li {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    word-break: break-word;
}

/* iPad端页脚优化 */
@media (max-width: 1024px) and (min-width: 768px) {
    .site-footer {
        padding-bottom: 130px !important;
    }

    .footer-contact li {
        gap: 0.6rem !important;
    }

    /* iPad端专利、荣誉、会议区块优化 */
    .expert-patents-section,
    .expert-honors-section,
    .expert-conferences-section {
        padding: 2rem !important;
    }

    .expert-patents-section > div > div,
    .expert-honors-section > div > div,
    .expert-conferences-section > div > div {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    .expert-patents-section > div > div > div:first-child,
    .expert-honors-section > div > div > div:first-child,
    .expert-conferences-section > div > div > div:first-child {
        margin: 0 auto !important;
    }
}

/* 专家图片跨浏览器兼容性优化 - 安卓和iOS */
@media (max-width: 767px) {
    /* 首页专家卡片图片优化 */
    .expert-image {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform; /* 性能优化 */
    }

    .expert-image img,
    .expert-card-img {
        -webkit-object-fit: contain; /* Safari/Chrome移动端兼容 */
        object-fit: contain;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        image-rendering: -webkit-optimize-contrast; /* iOS图片渲染优化 */
        image-rendering: crisp-edges; /* Android图片渲染优化 */
        vertical-align: bottom; /* 消除底部间隙 */
        max-width: 100%; /* 防止溢出 */
        height: auto; /* 保持宽高比 */
        display: block;
    }

    /* 详情页专家照片优化 */
    .expert-header .expert-photo > div {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }

    .expert-header .expert-photo > div img,
    .expert-photo-img {
        -webkit-object-fit: contain;
        object-fit: contain;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        vertical-align: bottom;
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* 专家照片容器优化 */
    .expert-photo {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .expert-photo > div,
    .expert-photo-container {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        box-sizing: border-box; /* 确保padding不影响宽度 */
    }
}

/* 针对Safari(iOS)的特殊优化 */
@supports (-webkit-touch-callout: none) {
    .expert-image img,
    .expert-card-img,
    .expert-photo-img,
    .expert-header .expert-photo > div img {
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        -webkit-filter: blur(0) !important;
        filter: blur(0) !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
    }
}

/* 针对Android Chrome的特殊优化 */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .expert-image img,
    .expert-card-img,
    .expert-photo-img,
    .expert-header .expert-photo > div img {
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
    }
}

/* 移动端专利、荣誉、会议区块优化 */
@media (max-width: 767px) {
    .expert-patents-section,
    .expert-honors-section,
    .expert-conferences-section {
        padding: 1.5rem !important;
    }

    .expert-patents-section h2,
    .expert-honors-section h2,
    .expert-conferences-section h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        gap: 0.75rem !important;
    }

    .expert-patents-section h2 svg,
    .expert-honors-section h2 svg,
    .expert-conferences-section h2 svg {
        width: 24px !important;
        height: 24px !important;
    }

    .expert-patents-section > div > div,
    .expert-honors-section > div > div,
    .expert-conferences-section > div > div {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
        padding: 1.25rem !important;
    }

    .expert-patents-section > div > div > div:first-child,
    .expert-honors-section > div > div > div:first-child,
    .expert-conferences-section > div > div > div:first-child {
        width: 100px !important;
        height: 100px !important;
        margin: 0 auto !important;
    }

    .expert-patents-section > div > div > div:first-child svg,
    .expert-honors-section > div > div > div:first-child svg,
    .expert-conferences-section > div > div > div:first-child svg {
        width: 40px !important;
        height: 40px !important;
    }

    .expert-patents-section h3,
    .expert-honors-section h3,
    .expert-conferences-section h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.4rem !important;
    }

    .expert-patents-section p,
    .expert-honors-section p,
    .expert-conferences-section p {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .expert-patents-section,
    .expert-honors-section,
    .expert-conferences-section {
        padding: 1.2rem !important;
    }

    .expert-patents-section h2,
    .expert-honors-section h2,
    .expert-conferences-section h2 {
        font-size: 1.3rem !important;
    }

    .expert-patents-section > div > div > div:first-child,
    .expert-honors-section > div > div > div:first-child,
    .expert-conferences-section > div > div > div:first-child {
        width: 90px !important;
        height: 90px !important;
    }

    .expert-patents-section h3,
    .expert-honors-section h3,
    .expert-conferences-section h3 {
        font-size: 1rem !important;
    }

    .expert-patents-section p,
    .expert-honors-section p,
    .expert-conferences-section p {
        font-size: 0.8rem !important;
    }
}

/* 针对特定设备优化 */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }

    .expert-detail .container {
        padding-top: 110px !important;
    }

    .expert-header h1 {
        font-size: 1.6rem !important;
    }

    .site-footer {
        padding-bottom: 70px !important;
    }
}

/* 植发项目专题样式 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.project-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.05);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.project-placeholder svg {
    opacity: 0.8;
}

.project-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.95);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-card-content {
    padding: 1.5rem;
}

.project-card-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.project-card-content .project-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

/* 项目专题列表页响应式 */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid article[style*="grid-template-columns: repeat(auto-fit, minmax(400px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
}

/* 项目专题详情页响应式 */
@media (max-width: 992px) {
    .project-hero .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .project-hero .hero-image,
    .project-hero .hero-info {
        max-width: 100%;
        flex: none;
    }

    .project-hero .hero-info {
        margin-top: 2rem;
    }

    .project-metrics {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .project-hero {
        padding: 2rem 0;
    }

    .project-hero h1 {
        font-size: 2rem !important;
    }

    .project-hero .project-subtitle {
        font-size: 1.2rem !important;
    }

    .project-metrics {
        grid-template-columns: 1fr !important;
    }

    .features-grid[style*="repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }

    .cases-grid[style*="repeat(auto-fill, minmax(400px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
}

/* ========== 植发项目专题美化样式 ========== */

/* 专题列表页卡片增强 */
.archive-ht_project .project-card {
    position: relative;
    border: 1px solid #e8ecef;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.archive-ht_project .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.archive-ht_project .project-card:hover::before {
    opacity: 1;
}

.archive-ht_project .project-card-image {
    height: 280px;
}

.archive-ht_project .project-card-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.archive-ht_project .project-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
}

.archive-ht_project .project-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-radius: 8px;
    color: #7b1fa2;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* 专题详情页美化 */
.single-ht_project .project-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #7c4dff 100%);
    position: relative;
}

.single-ht_project .project-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: inherit;
    filter: blur(20px);
    opacity: 0.3;
}

.single-ht_project .project-title {
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #ffffff 0%, #e8eaf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.single-ht_project .project-subtitle {
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.single-ht_project .metric {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.single-ht_project .metric:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.single-ht_project .metric-label {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.single-ht_project .metric-value {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
}

.single-ht_project .case-count {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.single-ht_project .case-count:hover {
    background: rgba(255,255,255,0.35);
    transform: scale(1.02);
}

/* 项目特点区块美化 */
.single-ht_project .project-features {
    background: linear-gradient(180deg, #fafbfc 0%, #f3f4f6 100%);
}

.single-ht_project .feature-item {
    background: white;
    border: 1px solid #e8ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.single-ht_project .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(102,126,234,0.15);
    border-color: #667eea;
}

.single-ht_project .feature-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.single-ht_project .feature-text {
    color: #495057;
    font-weight: 500;
}

/* 项目介绍区块美化 */
.single-ht_project .project-description h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.single-ht_project .project-description h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.single-ht_project .description-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.single-ht_project .description-content h2 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

.single-ht_project .description-content h2:first-child {
    margin-top: 0;
}

.single-ht_project .description-content h3 {
    color: #495057;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-ht_project .description-content p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.single-ht_project .description-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.single-ht_project .description-content li {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* 相关案例区块美化 */
.single-ht_project .related-cases {
    background: linear-gradient(180deg, #fafbfc 0%, #f3f4f6 100%);
}

.single-ht_project .related-cases h2 {
    position: relative;
    display: inline-block;
}

.single-ht_project .related-cases h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.single-ht_project .case-card {
    transition: all 0.3s ease;
    border: 1px solid #e8ecef;
}

.single-ht_project .case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(102,126,234,0.2);
}

.single-ht_project .case-card h3 a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 返回按钮美化 */
.single-ht_project .back-to-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.single-ht_project .back-to-list a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(102,126,234,0.4);
}

/* 首页专题区块美化 */
.projects-section {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    position: relative;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.projects-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(118,75,162,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.projects-section .container {
    position: relative;
    z-index: 1;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .archive-ht_project .project-card-content h3 {
        font-size: 1.5rem;
    }

    .single-ht_project .project-title {
        font-size: 2.5rem !important;
    }

    .single-ht_project .description-content {
        padding: 1.5rem;
    }

    .single-ht_project .description-content h2 {
        font-size: 1.5rem;
    }

    .single-ht_project .description-content h3 {
        font-size: 1.2rem;
    }
}


