/* === 1. Block: Stats Bar === */
.stats-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-3xl);
    padding: var(--space-xl) 0;
    background-color: var(--color-bg-alt);
}

.stats-bar__item {
    text-align: center;
}

.stats-bar__number {
    font-family: var(--font-family-en);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    line-height: var(--line-height-tight);
}

.stats-bar__number sup {
    font-size: 50%;
    vertical-align: super;
}

.stats-bar__label {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-2xs);
}

/* === 2. Block: Timeline === */
.timeline {
    padding: var(--space-lg) 0 var(--space-lg);
    background-color: var(--color-white);
}

/* 省略号只在移动端显示 */
.timeline__ellipsis {
    display: none;
}

.timeline__years {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

/* 水平主线 */
.timeline__years::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background-color: var(--color-black);
}

.timeline__year {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-family);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-black);
    color: var(--color-black);
    white-space: nowrap;
    cursor: pointer;
    padding-top: 12px;
    transition:
        font-size var(--transition-fast),
        font-weight var(--transition-fast);
}

/* 垂直刻度线 */
.timeline__year::before {
    content: "";
    position: absolute;
    top: 0;
    width: 1px;
    height: 8px;
    background-color: var(--color-black);
}

/* 选中状态样式 */
.timeline__year--active {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-black);
}

/* === 3. Block: Case Grid === */
.cases-section {
    background-color: var(--color-white);
    padding: var(--space-2xl) 0 var(--space-md);
}

.cases-intro {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.cases-intro__title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.cases-intro__desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin: 0 auto;
    line-height: var(--line-height-loose);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    padding: var(--space-md) 0;
}

.case-card {
    display: block;
    border: 2px solid var(--color-border);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
    background-color: var(--color-white);
    text-decoration: none;
    color: inherit;
}

.case-card:hover {
    border: 2px solid black;
}

.case-card__image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 10%;
    overflow: hidden;
    background-color: var(--color-bg-alt);
}

/* 图片左侧渐变遮罩 - 从图片实际左边缘开始渐隐 */
.case-card__image-wrapper::after {
    content: "";
    position: absolute;
    right: 0; /* 从右侧开始定位，匹配图片右对齐位置 */
    top: 0;
    width: 40%; /* 扩大遮罩宽度，让渐变过渡区域更长 */
    height: 100%;
    background: linear-gradient(
        to left,
        transparent 0%,
        transparent 0%,
        var(--color-bg-alt) 70%,
        var(--color-bg-alt) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.case-card__image-label {
    position: absolute;
    left: var(--space-sm);
    top: 50%;
    transform: translateY(-50%);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    color: var(--color-text);
    z-index: 2;
}

.case-card__image-label--mobile {
    display: none;
}

.case-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 220%;
    object-fit: contain; /* 保持图片比例完整显示 */
    object-position: right center; /* 图片右对齐 */
    transition: transform var(--transition-slow);
    margin-top: -20px;
}

.case-card__content {
    padding: var(--space-md);
}

.case-card__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: var(--line-height-base);
}

.case-card__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.case-card__info-item {
    display: flex;
    flex-wrap: nowrap;
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.case-card__info-label {
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
    flex-shrink: 0;
    min-width: 70px;
}

.case-card__info-value {
    color: var(--color-text-secondary);
}

.case-card__desc {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: var(--line-height-loose);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === 4. Block: Cases Hero === */
.cases-hero {
    position: relative;
    padding-top: var(--header-height);
}

.cases-hero__inner {
    position: relative;
    min-height: 500px;
}

.cases-hero__image {
    position: absolute;
    left: -200px;
    top: 50%;
    width: 35%;
    height: 65%;
    transform: translateY(-50%) translateX(40%);
    z-index: 2;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cases-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cases-hero__content {
    position: relative;
    padding-left: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
}

.cases-hero__content::before {
    content: "";
    position: absolute;
    left: 300px;
    top: 5%;
    right: calc(-50vw + 50%);
    bottom: 5%;
    background-color: var(--color-bg-alt);
    z-index: 0;
}

.cases-hero__stats {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 100px;
    margin-bottom: var(--space-xl);
    padding: var(--space-2xl) var(--space-xl);
    padding-bottom: 0;
    padding-right: 30%;
    max-width: 800px;
    font-weight: bold;
}

.cases-hero__stat {
    text-align: left;
    flex: 0 0 auto;
    white-space: nowrap;
}

.cases-hero__stat-number {
    font-family: DINCcond-Bold, serif;
    font-size: var(--font-size-5xl);
    font-weight: 900;
    color: var(--color-text);
    line-height: var(--line-height-tight);
}

.cases-hero__stat-number sup {
    font-size: 50%;
    vertical-align: super;
}

.cases-hero__stat-label {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    margin-top: var(--space-xs);
}

.cases-hero__desc {
    position: relative;
    z-index: 1;
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-loose);
    max-width: 600px;
}

.cases-hero__desc p {
    margin: 0;
}

/* Case Card Arrow - Positioned at bottom left, visible on hover */
.case-card {
    position: relative;
}

.case-card__arrow {
    position: absolute;
    right: var(--space-md);
    bottom: var(--space-md);
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 2;
}

.case-card:hover .case-card__arrow {
    opacity: 1;
}

/* Load More Button - Hidden on desktop */
.load-more-btn {
    display: none;
}

.page-title__btn {
    margin-top: var(--space-sm);
    margin-left: -100px;
}

/* === 5. Block: Pagination === */
.pagination {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md) 0;
}

.pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--space-xs);
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
}

.pagination__item:hover {
    color: var(--color-text);
}

.pagination__item--active {
    color: var(--color-text);
    font-weight: var(--font-weight-bold);
    border-bottom: 2px solid var(--color-text);
}

.pagination__arrow {
    font-size: 18px;
}

/* === 6. Block: Case Detail Page === */
.case-detail__nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid #e0e0e0;
}

.case-detail__nav--bottom {
    border-bottom: none;
    margin-top: var(--space-sm);
}

.case-detail__nav-link {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition-fast);
}

.case-detail__nav-link:hover {
    color: var(--color-text);
}

.case-detail__nav-link--prev {
    text-align: left;
}

.case-detail__nav-link--next {
    text-align: right;
}

.nav-link__arrow {
    width: 8px;
    line-height: 1;
    color: #999;
}

.nav-link__arrow--prev {
    margin-left: var(--space-xs);
}

.nav-link__arrow--next {
    margin-left: var(--space-xs);
}

/* Case Header Section */
.case-detail__header-section {
    padding: var(--space-md) 0;
}

.case-detail__main-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.case-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
}

.case-detail__meta-item {
    color: var(--color-text-secondary);
}

.case-detail__meta-divider {
    color: var(--color-text-light);
}

/* Case Detail Section */
.case-detail__section {
    padding: var(--space-md) 0;
}

.case-detail__section:last-of-type {
    border-bottom: none;
}

.case-detail__section-title-table {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    padding: 10px var(--space-md);
    background-color: rgb(234, 234, 234);
    border: 2px solid var(--color-border-table);
    border-bottom: none;
}

.case-detail__section-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    padding: 10px var(--space-md);
    background-color: rgb(234, 234, 234);
    border: 2px solid var(--color-border-table);
    border-bottom: none;
}

/* Case Detail Info List */
.case-detail__info-list {
    border: 2px solid black;
    padding: var(--space-xs) 0;
}

.case-detail__info-row {
    display: flex;
    padding: var(--space-2xs) var(--space-md);
    font-size: var(--font-size-base);
}

.case-detail__info-row:last-child {
    border-bottom: none;
}

.case-detail__info-label {
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    min-width: 80px;
    flex-shrink: 0;
}

.case-detail__info-value {
    color: var(--color-text-secondary);
    flex: 1;
}

/* Case Detail Gallery */
.case-detail__gallery {
    border: solid 2px black;
    position: relative;
    padding: var(--space-md) var(--space-3xl);
    margin-bottom: var(--space-sm);
}

.case-detail__gallery-wrapper {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.case-detail__gallery-wrapper::-webkit-scrollbar {
    display: none;
}

.case-detail__gallery-item {
    flex: 0 0 calc((100% - 2 * var(--space-md)) / 3);
    min-width: 280px;
    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

/* Gallery Item Active State */
.case-detail__gallery-item--active {
    opacity: 1;
}

.case-detail__gallery-item--inactive {
    opacity: 0.5;
}

/* Gallery Arrow Disabled State */
.case-detail__gallery-arrow--disabled {
    opacity: 0.1;
    cursor: not-allowed;
    pointer-events: none;
}

/* Gallery Pagination Dots */
.case-detail__gallery-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.case-detail__gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-border);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.case-detail__gallery-dot--active {
    background-color: var(--color-text);
}

.case-detail__gallery-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--color-bg-alt);
    border: 2px solid var(--color-border);
}

.case-detail__gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-detail__gallery-caption {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
    line-height: var(--line-height-base);
}

/* Gallery Arrows */
.case-detail__gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 27px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.case-detail__gallery-arrow:hover {
    background-color: var(--color-bg-alt);
}

.case-detail__gallery-arrow--left {
    left: 0;
}

.case-detail__gallery-arrow--right {
    right: 0;
}

.case-detail__gallery-arrow svg {
    width: 40px;
    height: 40px;
    color: white;
}

/* Case Detail Table */
.case-detail__table-wrapper {
    overflow-x: auto;
}

.case-detail__table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid var(--color-border);
    font-size: var(--font-size-base);
}

.case-detail__table th,
.case-detail__table td {
    padding: var(--space-xs) var(--space-md);
    border: 2px solid var(--color-border-table);
    text-align: center;
    vertical-align: middle;
}

.case-detail__table th {
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.case-detail__table td {
    color: var(--color-text-secondary);
}

/*.case-detail__table tbody tr:hover {*/
/*    background-color: rgba(0, 0, 0, 0.02);*/
/*}*/

/* ============================================
   Mobile Styles - Contact Page
   ============================================ */
@media (max-width: 769px) {
    .cases-intro {
        margin-top: var(--space-xl);
    }

    .cases-intro__desc {
        text-align: left;
        font-size: var(--font-size-base);
    }

    /* Case Detail Page: Move nav to bottom on mobile */
    .case-detail__nav {
        order: 999;
        margin-top: var(--space-lg);
        padding-bottom: var(--space-lg);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: relative;
    }

    /* Apply flex layout to container on case detail page */
    body:has(.case-detail__nav) .container:has(.case-detail__nav) {
        display: flex;
        flex-direction: column;
    }

    .container {
        display: flex;
        flex-direction: column;
    }

    .container:has(.cases-hero__content) {
        padding: 0;
    }

    /* Case Detail Page: Mobile nav links */
    .case-detail__nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: var(--space-md) 0;
        font-size: var(--font-size-base);
        color: var(--color-text);
        border-bottom: 1px solid var(--color-border);
        text-decoration: none;
    }

    .nav-link__text {
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .case-detail__nav-link:first-child {
        border-top: 1px solid var(--color-border);
    }

    /* Hide original arrows, add new right arrow */
    .case-detail__nav-link::after {
        content: ">";
        font-size: var(--font-size-lg);
        color: var(--color-text-muted);
        margin-left: var(--space-sm);
    }

    .case-card__info-item {
        flex-direction: column;
        gap: 2px;
    }

    .case-card__info-label {
        min-width: auto;
    }

    .timeline__years {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: space-between;
        padding-top: 6px;
    }

    .timeline__year {
        font-size: var(--font-size-xs);
        flex-shrink: 0;
        padding: 8px var(--space-2xs) 0;
    }

    .timeline__year:first-child {
        padding-left: 0;
    }

    .timeline__year:last-child {
        padding-right: 0;
    }

    .timeline__year::before {
        height: 6px;
    }

    .timeline__year--active {
        font-size: var(--font-size-base);
    }

    /* Cases Hero Responsive - Mobile Layout */
    .cases-hero {
        padding-top: 0;
        margin: 0 -16px;
    }

    .cases-hero__inner {
        min-height: auto;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .cases-hero__image {
        position: relative;
        width: 100%;
        transform: none;
        box-shadow: none;
        left: 0;
        top: 0;
        order: 1;
    }

    .cases-hero__image img {
        object-fit: cover;
    }

    .cases-hero__content {
        margin-left: 0;
        min-height: auto;
        order: 2;
        display: flex;
        flex-direction: column;
    }

    .cases-hero__content::before {
        display: none;
    }

    /* 统计数据在图片上方叠加 - 相对于 cases-hero__inner 定位 */
    .cases-hero__stats {
        position: absolute;
        top: -200px;
        left: 30px;
        bottom: auto;
        background: rgba(244, 244, 244, 80%);
        z-index: 2;
        padding: var(--space-lg);
        gap: var(--space-lg);
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
    }

    .cases-hero__stat {
        text-align: center;
    }

    .cases-hero__stat-number {
        font-size: var(--font-size-3xl);
        font-weight: var(--font-weight-medium);
    }

    .cases-hero__stat-label {
        font-size: var(--font-size-base);
        color: var(--color-text);
        margin-top: -8px;
    }

    .cases-hero__desc {
        display: none;
    }

    /* Timeline Mobile - 重新设计，与桌面端保持一致效果 */
    .timeline {
        padding: var(--space-md) 0;
        margin-bottom: var(--space-md);
    }

    .timeline__years {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-top: 12px;
        gap: var(--space-lg);
        position: relative;
    }

    /* 隐藏桌面端的横线伪元素 */
    .timeline__years::before {
        display: none;
    }

    /* 移动端时间轴容器 - 使用 flex 布局 */
    .timeline__years {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        /* 隐藏滚动条 */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    /* 隐藏 Webkit 浏览器滚动条 */
    .timeline__years::-webkit-scrollbar {
        display: none;
    }

    /* 移动端时间轴横线 - 使用实际元素，宽度由 JS 动态设置 */
    .timeline__line {
        display: block;
        position: absolute;
        top: 0;
        height: 1px;
        background-color: var(--color-black);
        width: 0; /* 初始宽度为0，由 JS 设置 */
    }

    /* 省略号作为时间轴的一部分 */
    .timeline__ellipsis {
        display: flex;
        position: relative;
        flex-direction: column;
        align-items: center;
        font-family: var(--font-family);
        font-size: var(--font-size-sm);
        font-weight: var(--font-weight-bold);
        color: var(--color-black);
        white-space: nowrap;
        padding-top: 0;
        flex-shrink: 0;
        letter-spacing: 2px;
        padding-right: var(--space-md);
    }

    /* 省略号的刻度线 - 从横线向下延伸 */
    .timeline__ellipsis::before {
        content: "";
        position: absolute;
        top: -12px;
        width: 1px;
        height: 6px;
        background-color: var(--color-black);
    }

    .timeline__year {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: var(--font-size-sm);
        flex-shrink: 0;
        padding: 0 var(--space-xs);
        padding-top: 0;
        margin-top: 0;
    }

    /* 年份的刻度线 - 从横线向下延伸 */
    .timeline__year::before {
        content: "";
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 6px;
        background-color: var(--color-black);
    }

    .timeline__year--active {
        font-size: var(--font-size-lg);
        font-weight: var(--font-weight-bold);
    }

    /* Case Card Mobile Styles */
    .case-grid {
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
        padding: var(--space-md) 0;
    }

    .case-card {
        border: 2px solid var(--color-border);
    }

    /* 移动端案例卡片加载更多功能 */
    .case-card--hidden {
        display: none;
    }

    .case-card--fade-in {
        animation: fadeInUp 0.4s ease forwards;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .case-card__image-wrapper {
        padding-top: 25%;
        background-color: var(--color-white);
    }

    /* 移动端隐藏遮罩效果 */
    .case-card__image-wrapper::after {
        display: none;
    }

    .case-card__image-label {
        display: none;
    }

    .case-card__image-label--mobile {
        display: flex;
        left: var(--space-sm);
        font-size: var(--font-size-base);
        font-weight: var(--font-weight-bold);
        color: var(--color-text);
        padding: var(--space-xs) 0;
    }

    /* 移动端图片完整显示 */
    .case-card__image {
        object-fit: cover;
        object-position: center;
    }

    .case-card__content {
        padding: var(--space-xs) var(--space-xs) calc(var(--space-xs) + 30px);
        position: relative;
    }

    .case-card__title {
        font-size: var(--font-size-lg);
        margin-bottom: var(--space-sm);
        padding-right: 30px;
    }

    .case-card__info {
        gap: var(--space-3xs);
    }

    .case-card__info-item {
        flex-direction: row;
        gap: var(--space-2xs);
        font-size: var(--font-size-base);
        white-space: nowrap;
    }

    .case-card__info-label {
        min-width: 70px;
        font-weight: var(--font-weight-bold);
        color: var(--color-text);
        flex-shrink: 0;
    }

    .case-card__info-value {
        color: var(--color-text-secondary);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .case-card__arrow {
        position: absolute;
        right: var(--space-md);
        bottom: var(--space-md);
        font-size: 20px;
        color: var(--color-text);
    }
}

/* Mobile Carousel for Case Photos */
@media (max-width: 768px) {
    .case-detail__photos {
        position: relative;
        flex-wrap: nowrap;
        overflow: hidden;
        flex-direction: column;
    }

    .case-detail__photo {
        flex: 0 0 100%;
        max-width: 100%;
        display: none;
    }

    .case-detail__photo--active {
        display: block;
    }

    .cases-section {
        padding-top: calc(var(--space-4xl) + 20px);
    }

    .case-detail__carousel-dots {
        display: flex;
        justify-content: center;
        gap: var(--space-xs);
        margin-top: var(--space-md);
    }
}

/* Mobile Case Detail Page Styles */
@media (max-width: 768px) {
    /* 移动端页面标题描述文字 */
    .page-title__desc--mobile {
        display: block;
        font-size: var(--font-size-sm);
        color: var(--color-text-secondary);
        line-height: 1.8;
        margin-top: var(--space-md);
        margin-bottom: var(--space-md);
    }

    /* 移动端查看详情按钮 */
    .page-title__btn--mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: var(--space-sm) var(--space-xl);
        background-color: var(--color-text);
        color: var(--color-white);
        font-size: var(--font-size-sm);
        text-decoration: none;
        align-self: flex-end;
    }

    /* 案例标题 */
    .case-detail__main-title {
        font-size: var(--font-size-xl);
        line-height: 1.4;
        margin-bottom: var(--space-md);
    }

    /* 元信息样式 */
    .case-detail__meta {
        flex-direction: column;
        gap: var(--space-3xs);
        font-size: var(--font-size-sm);
    }

    .case-detail__header-section {
        padding-top: var(--space-lg);
        padding-bottom: var(--space-xs);
    }

    /* 区块标题样式 - 带左边框 */
    .case-detail__section-title {
        font-size: var(--font-size-lg);
        font-weight: var(--font-weight-bold);
        color: var(--color-text);
        padding: var(--space-sm) 0;
        padding-left: var(--space-sm);
        background-color: transparent;
        position: relative;
        border: none;
    }

    .case-detail__section-title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 1em;
        background-color: var(--color-text);
    }

    .case-detail__section-title-table {
        font-size: var(--font-size-lg);
        font-weight: var(--font-weight-bold);
        color: var(--color-text);
        padding: var(--space-sm) 0;
        padding-left: var(--space-sm);
        background-color: transparent;
        margin-bottom: var(--space-sm);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: var(--space-xs);
        position: relative;
        border: none;
    }

    .case-detail__section-title-table::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 1em;
        background-color: var(--color-text);
    }

    /* 表格滑动提示 */
    .case-detail__table-hint {
        font-size: var(--font-size-xs);
        color: rgb(153, 153, 153);
        font-weight: var(--font-weight-normal);
    }

    /* 信息列表 - 移动端紧凑布局 */
    .case-detail__info-list {
        border: none;
    }

    .case-detail__info-row {
        flex-direction: row;
        padding: 0 0;
        border-bottom: none;
    }

    .case-detail__info-label {
        min-width: 70px;
        font-size: var(--font-size-base);
        color: var(--color-text);
    }

    .case-detail__info-value {
        font-size: var(--font-size-base);
        color: var(--color-text-secondary);
        flex: 1;
    }

    /* 图片画廊 - 移动端样式 */
    .case-detail__gallery {
        border: none;
        padding: 0;
        margin-bottom: var(--space-2xs);
        position: relative;
    }

    .case-detail__gallery-wrapper {
        margin-top: 0;
        gap: 0;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .case-detail__gallery-wrapper::-webkit-scrollbar {
        display: none;
    }

    .case-detail__gallery-item {
        flex: 0 0 100%;
        min-width: 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    /* 移除遮罩效果 */
    .case-detail__gallery-item--inactive {
        opacity: 1;
    }

    .case-detail__gallery-img {
        aspect-ratio: 16/10;
        border: none;
    }

    .case-detail__gallery-caption {
        text-align: center;
        font-size: var(--font-size-sm);
        color: var(--color-text-secondary);
        margin-top: var(--space-sm);
    }

    /* 隐藏桌面端箭头 */
    .case-detail__gallery-arrow {
        display: none;
    }

    /* 轮播指示器 */
    .case-detail__gallery-dots {
        display: flex;
        justify-content: center;
        gap: var(--space-sm);
        margin-top: var(--space-md);
    }

    .case-detail__gallery-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: var(--color-border);
        cursor: pointer;
        transition: background-color var(--transition-fast);
    }

    .case-detail__gallery-dot--active {
        background-color: var(--color-text);
    }

    /* 表格容器 */
    .case-detail__table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .case-detail__table-wrapper::-webkit-scrollbar {
        display: none;
    }

    .case-detail__table {
        font-size: var(--font-size-sm);
        min-width: 900px;
        table-layout: auto;
    }

    .case-detail__table th,
    .case-detail__table td {
        padding: 8px 12px;
        white-space: nowrap;
        text-align: center;
        vertical-align: middle;
        height: 48px;
        line-height: 1.4;
    }

    /* 表格列宽设置 */
    .case-detail__table th:first-child,
    .case-detail__table td:first-child {
        width: 90px;
        font-weight: var(--font-weight-bold);
        color: var(--color-text);
    }

    .case-detail__table th:nth-child(2),
    .case-detail__table td:nth-child(2) {
        width: 90px;
    }

    .case-detail__table th:nth-child(3),
    .case-detail__table td:nth-child(3),
    .case-detail__table th:nth-child(4),
    .case-detail__table td:nth-child(4),
    .case-detail__table th:nth-child(5),
    .case-detail__table td:nth-child(5) {
        width: 80px;
    }

    .case-detail__table th:nth-child(6),
    .case-detail__table td:nth-child(6) {
        width: 120px;
    }

    .case-detail__table th:last-child,
    .case-detail__table td:last-child {
        width: 320px;
        white-space: nowrap;
        text-align: center;
    }

    /* 导航 - 移动端底部样式 */
    .case-detail__nav--bottom {
        order: 999;
        margin-top: var(--space-xl);
        padding: 0;
        border-bottom: none;
        border-top: 1px solid var(--color-border);
        display: flex;
        flex-direction: column;
    }

    .case-detail__nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: var(--space-md) 0;
        font-size: var(--font-size-sm);
        color: var(--color-text);
        border-bottom: 1px solid var(--color-border);
    }

    .case-detail__nav-link:last-child {
        border-bottom: none;
    }

    .case-detail__nav-link::after {
        content: ">";
        font-size: var(--font-size-lg);
        color: var(--color-text-muted);
    }

    /* 区块间距 */
    .case-detail__section {
        padding: var(--space-xs) 0;
    }
}

/* Desktop: Hide mobile-only elements */
@media (min-width: 769px) {
    .page-title__desc--mobile,
    .page-title__btn--mobile {
        display: none;
    }

    .case-detail__gallery-dots {
        display: none;
    }

    .case-detail__table-hint {
        display: none;
    }
}
