/* ==========================================================================
   1. CSS 变量 & 基础重置
   ========================================================================== */
:root {
    --dc-primary: #1e2a3a;
    --dc-primary-light: #2d3f55;
    --dc-accent: #c8a86b;
    --dc-accent-hover: #b8955a;
    --dc-accent-soft: #f0e6d3;
    --dc-bg: #f7f5f2;
    --dc-card-bg: #ffffff;
    --dc-text: #333333;
    --dc-text-secondary: #6b7280;
    --dc-text-light: #9ca3af;
    --dc-border: #e8e4de;
    --dc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --dc-shadow-md: 0 8px 28px rgba(0, 0, 0, 0.1);
    --dc-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.18);
    --dc-radius-sm: 8px;
    --dc-radius-md: 14px;
    --dc-radius-lg: 20px;
    --dc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --dc-transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    --dc-max-width: 1200px;
    --dc-gutter: 24px;
    --dc-section-gap: 50px;
    --dc-font-family: 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--dc-font-family);
    background-color: var(--dc-bg);
    color: var(--dc-text);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--dc-transition);
}

a:hover {
    color: var(--dc-accent);
}

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   2. 通用容器与工具类
   ========================================================================== */
.dc-container {
    width: 100%;
    max-width: var(--dc-max-width);
    margin: 0 auto;
    padding-left: var(--dc-gutter);
    padding-right: var(--dc-gutter);
}

.dc-flex {
    display: flex;
}
.dc-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.dc-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dc-flex-wrap {
    flex-wrap: wrap;
}
.dc-gap-16 {
    gap: 16px;
}
.dc-gap-20 {
    gap: 20px;
}
.dc-gap-24 {
    gap: 24px;
}

/* ==========================================================================
   3. 页面 Banner（卡片化改造）
   ========================================================================== */
.dc-banner {
    width: 100%;
    max-width: 1200px;          /* 保证最大宽度 */
    margin: 0 auto;             /* 居中 */
    overflow: hidden;
    background: var(--dc-primary);
    position: relative;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 卡片化新增 */
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;  /* 覆盖原来的深色背景，改为白色卡片 */
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.dc-banner:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
}

.dc-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity var(--dc-transition);
}

.dc-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* 下面这段是原有统一样式，我们保留但会覆盖部分属性 */
.GS-list-banner,
.NEWS-list-banner,
.dc-banner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f8fc;
    transition: box-shadow 0.3s ease, border-radius 0.3s ease;
}

/* 但我们需要覆盖 .dc-banner 的背景、边框等，因为上面统一样式可能会再次应用，所以我们使用更高的特异性 */
.dc-banner {
    background-color: #ffffff !important; /* 覆盖为白色卡片 */
    border: 1px solid #e0e0e0 !important;
    margin-top: 2rem;
}

.GS-list-banner img,
.NEWS-list-banner img,
.dc-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.GS-list-banner:hover,
.NEWS-list-banner:hover,
.dc-banner:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.10);
}

/* ============================================================
   响应式断点优化（Bootstrap 5 六断点）
   ============================================================ */
@media (max-width: 575.98px) {
    .GS-list-banner,
    .NEWS-list-banner,
    .dc-banner {
        border-radius: 10px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .GS-list-banner,
    .NEWS-list-banner,
    .dc-banner {
        border-radius: 12px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .GS-list-banner,
    .NEWS-list-banner,
    .dc-banner {
        border-radius: 14px;
    }
}

/* ==========================================================================
   4. 案例区块（Section）整体样式（卡片化改造）
   ========================================================================== */
.dc-case-section {
    padding: var(--dc-section-gap) 0;
    position: relative;
    /* 卡片化新增 */
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.dc-case-section:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.dc-case-section + .dc-case-section {
    padding-top: 10px;
}

/* 为保持内部内容边距，给 section 内的容器增加左右内边距（原 .dc-container 已有，但需额外处理） */
.dc-case-section .dc-container {
    padding-left: var(--dc-gutter);
    padding-right: var(--dc-gutter);
}

.dc-section-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.dc-section-header h2 {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
    letter-spacing: 1px;
    margin: 0;
    background: linear-gradient(0deg, #f18212, rgb(186 97 6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dc-section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--dc-accent);
    border-radius: 4px;
}

.dc-section-header h2::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--dc-accent);
    border-radius: 50%;
    opacity: 0.4;
}

.dc-section-subtitle {
    font-size: 0.95rem;
    color: var(--dc-text-secondary);
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* 下面所有样式保持原样，不修改 */
/* ==========================================================================
   5. 卡片网格布局
   ========================================================================== */
.dc-case-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--dc-gutter);
    justify-content: center;
    align-items: stretch;
}

/* ==========================================================================
   6. 案例卡片样式
   ========================================================================== */
.dc-case-card {
    background: var(--dc-card-bg);
    border-radius: var(--dc-radius-md);
    box-shadow: var(--dc-shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--dc-transition), transform var(--dc-transition), border-color var(--dc-transition);
    border: 1px solid var(--dc-border);
    cursor: default;
    position: relative;
    flex: 1 1 280px;
    max-width: 360px;
    min-width: 260px;
}

.dc-case-card:hover {
    box-shadow: var(--dc-shadow-md);
    transform: translateY(-4px);
    border-color: var(--dc-accent);
}

.dc-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.dc-card-badge--d {
    background: #e74c3c;
}
.dc-card-badge--l {
    background: #3498db;
}
.dc-card-badge--m {
    background: #2ecc71;
}
.dc-card-badge--n {
    background: #9b59b6;
}
.dc-card-badge--o {
    background: #e67e22;
}

.dc-card-body {
    padding: 22px 24px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dc-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dc-primary);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.dc-card-title a {
    color: inherit;
}
.dc-card-title a:hover {
    color: var(--dc-accent);
}

.dc-card-desc {
    font-size: 14px;
    color: var(--dc-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
    flex: 1;
}

.dc-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--dc-border);
}

.dc-card-date {
    font-size: 0.8rem;
    color: var(--dc-text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.dc-card-date svg {
    width: 14px;
    height: 14px;
    fill: var(--dc-text-light);
}

.dc-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--dc-transition);
    letter-spacing: 0.3px;
    white-space: nowrap;
    line-height: 1.4;
}

.dc-btn-primary {
    background: var(--dc-primary);
    color: #fff;
}
.dc-btn-primary:hover {
    background: var(--dc-primary-light);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 42, 58, 0.3);
}

.dc-btn-accent {
    background: var(--dc-accent);
    color: #fff;
}
.dc-btn-accent:hover {
    background: var(--dc-accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 168, 107, 0.35);
}

.dc-btn-outline {
    background: transparent;
    color: var(--dc-accent);
    border: 1.5px solid var(--dc-accent);
}
.dc-btn-outline:hover {
    background: var(--dc-accent);
    color: #fff;
    transform: translateY(-1px);
}

/* ==========================================================================
   7. "更多案例"入口卡片（特殊样式）
   ========================================================================== */
.dc-case-card--more {
    background: linear-gradient(135deg, var(--dc-primary) 0%, var(--dc-primary-light) 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 260px;
    position: relative;
    overflow: hidden;
    transition: transform var(--dc-transition), box-shadow var(--dc-transition);
}

.dc-case-card--more::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(200, 168, 107, 0.2) 0%, transparent 60%);
    pointer-events: none;
    animation: dc-pulse-glow 4s ease-in-out infinite;
}

@keyframes dc-pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.dc-case-card--more:hover {
    transform: translateY(-4px);
    box-shadow: var(--dc-shadow-lg);
}

.dc-more-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    padding: 24px;
}

.dc-more-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(200, 168, 107, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dc-accent);
    border: 2px solid var(--dc-accent);
    transition: all var(--dc-transition);
}

.dc-case-card--more:hover .dc-more-icon {
    background: var(--dc-accent);
    color: #fff;
    transform: scale(1.08);
}

.dc-more-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.dc-more-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.dc-more-arrow {
    font-size: 1.5rem;
    animation: dc-arrow-bounce 2s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes dc-arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ==========================================================================
   8. 模态框（Modal）样式
   ========================================================================== */
.dc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 25, 35, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.dc-modal-overlay.dc-active {
    opacity: 1;
    visibility: visible;
}

.dc-modal {
    background: #fff;
    border-radius: var(--dc-radius-lg);
    width: 100%;
    max-width: 780px;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.96);
    transition: transform var(--dc-transition-bounce);
    box-shadow: var(--dc-shadow-lg);
}

.dc-modal-overlay.dc-active .dc-modal {
    transform: translateY(0) scale(1);
}

/* 模态框头部 */
.dc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: var(--dc-primary);
    color: #fff;
    flex-shrink: 0;
    position: relative;
}

.dc-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--dc-accent), transparent);
}

.dc-modal-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dc-modal-title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dc-accent);
    display: inline-block;
}

.dc-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dc-transition);
    line-height: 1;
    padding: 0;
}

.dc-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
    color: #fff;
}

/* 模态框主体 */
.dc-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
    background: #faf9f7;
}

.dc-modal-body::-webkit-scrollbar {
    width: 5px;
}
.dc-modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.dc-modal-body::-webkit-scrollbar-thumb {
    background: #d1ccc5;
    border-radius: 10px;
}

/* ==========================================================================
   9. 模态框内文章列表（卡片式）
   ========================================================================== */
.dc-case-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dc-case-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: #fff;
    border-radius: var(--dc-radius-sm);
    border: 1px solid var(--dc-border);
    transition: all var(--dc-transition);
    cursor: pointer;
    flex-shrink: 0;
}

.dc-case-list-item:hover {
    border-color: var(--dc-accent);
    box-shadow: var(--dc-shadow-sm);
    transform: translateX(4px);
}

.dc-case-list-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dc-text);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.dc-case-list-item:hover .dc-case-list-title {
    color: var(--dc-accent);
}

.dc-case-list-date {
    font-size: 0.8rem;
    color: var(--dc-text-light);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.dc-case-list-arrow {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--dc-accent-soft);
    color: var(--dc-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    transition: all var(--dc-transition);
}

.dc-case-list-item:hover .dc-case-list-arrow {
    background: var(--dc-accent);
    color: #fff;
}

/* ==========================================================================
   10. 分页样式
   ========================================================================== */
.dc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--dc-border);
}

.dc-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--dc-border);
    background: #fff;
    color: var(--dc-text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dc-transition);
    user-select: none;
    letter-spacing: 0.2px;
}

.dc-page-btn:hover {
    border-color: var(--dc-accent);
    color: var(--dc-accent);
    background: var(--dc-accent-soft);
}

.dc-page-btn.dc-active {
    background: var(--dc-primary);
    color: #fff;
    border-color: var(--dc-primary);
    box-shadow: 0 2px 8px rgba(30, 42, 58, 0.3);
}

.dc-page-btn.dc-disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.dc-page-ellipsis {
    padding: 0 4px;
    color: var(--dc-text-light);
    font-size: 0.85rem;
}

/* ==========================================================================
   11. 空状态提示
   ========================================================================== */
.dc-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--dc-text-light);
    font-size: 0.9rem;
}

/* ==========================================================================
   12. 响应式设计 - Bootstrap 5 的 6 个断点
   ========================================================================== */

/* -------- X-Small 设备（< 576px，竖屏手机） -------- */
@media (max-width: 575.98px) {
    :root {
        --dc-gutter: 14px;
        --dc-section-gap: 32px;
        --dc-radius-md: 10px;
        --dc-radius-lg: 14px;
    }

    .dc-container {
        padding-left: var(--dc-gutter);
        padding-right: var(--dc-gutter);
    }

    .dc-section-header {
        margin-bottom: 20px;
    }
    .dc-section-header h2 {
        font-size: 18px;
        padding-bottom: 8px;
    }
    .dc-section-header h2::after {
        width: 40px;
        height: 2px;
    }

    .dc-case-grid {
        gap: 14px;
        flex-direction: column;
        align-items: stretch;
    }

    .dc-case-card {
        flex: 1 1 auto;
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .dc-card-body {
        padding: 16px 18px 14px;
    }
    .dc-card-title {
        font-size: 16px;
        min-height: 2.4em;
        margin-bottom: 6px;
    }
    .dc-card-desc {
        font-size: 13px;
        -webkit-line-clamp: 2;
        margin-bottom: 10px;
    }
    .dc-card-meta {
        margin-bottom: 10px;
        padding-top: 8px;
        flex-wrap: wrap;
        gap: 6px;
    }
    .dc-card-actions {
        gap: 6px;
        flex-wrap: wrap;
    }
    .dc-btn {
        padding: 6px 14px;
        font-size: 0.78rem;
        border-radius: 40px;
    }

    .dc-case-card--more {
        min-height: 180px;
    }
    .dc-more-icon {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }
    .dc-more-title {
        font-size: 1rem;
    }
    .dc-more-subtitle {
        font-size: 0.78rem;
    }

    .dc-modal {
        max-width: 100%;
        max-height: 90vh;
        border-radius: var(--dc-radius-lg);
    }
    .dc-modal-header {
        padding: 14px 16px;
    }
    .dc-modal-title {
        font-size: 1rem;
    }
    .dc-modal-close {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
    .dc-modal-body {
        padding: 14px 16px;
    }

    .dc-case-list {
        gap: 8px;
    }
    .dc-case-list-item {
        padding: 10px 14px;
        gap: 10px;
    }
    .dc-case-list-title {
        font-size: 0.82rem;
    }
    .dc-case-list-date {
        font-size: 0.72rem;
    }
    .dc-case-list-arrow {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }

    .dc-pagination {
        gap: 4px;
        margin-top: 14px;
        padding-top: 12px;
    }
    .dc-page-btn {
        min-width: 30px;
        height: 30px;
        padding: 0 8px;
        font-size: 0.75rem;
        border-radius: 6px;
    }

    /* 卡片化容器在小屏的内边距与圆角调整 */
    .dc-banner {
        border-radius: 12px;
    }
    .dc-case-section {
        padding: 1rem;
        border-radius: 12px;
    }
}

/* -------- Small 设备（≥576px，横屏手机） -------- */
@media (min-width: 576px) and (max-width: 767.98px) {
    :root {
        --dc-gutter: 16px;
        --dc-section-gap: 36px;
    }

    .dc-section-header h2 {
        font-size: 20px;
    }

    .dc-case-grid {
        gap: 16px;
    }

    .dc-case-card {
        flex: 1 1 calc(50% - 16px);
        max-width: calc(50% - 16px);
        min-width: 0;
    }

    .dc-card-body {
        padding: 18px 20px 16px;
    }
    .dc-card-title {
        font-size: 18px;
        min-height: 2.6em;
    }
    .dc-card-desc {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    .dc-btn {
        padding: 7px 15px;
        font-size: 0.8rem;
    }

    .dc-case-card--more {
        min-height: 200px;
        flex: 1 1 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }

    .dc-modal {
        max-width: 92%;
        max-height: 85vh;
    }
    .dc-modal-header {
        padding: 16px 20px;
    }
    .dc-modal-body {
        padding: 16px 20px;
    }
    .dc-case-list-item {
        padding: 12px 16px;
    }
    .dc-case-list-title {
        font-size: 0.85rem;
    }

    /* 卡片化容器调整 */
    .dc-banner {
        border-radius: 14px;
    }
    .dc-case-section {
        padding: 1.25rem;
        border-radius: 14px;
    }
}

/* -------- Medium 设备（≥768px，平板） -------- */
@media (min-width: 768px) and (max-width: 991.98px) {
    :root {
        --dc-gutter: 18px;
        --dc-section-gap: 42px;
    }

    .dc-section-header h2 {
        font-size: 22px;
    }

    .dc-case-grid {
        gap: 18px;
    }

    .dc-case-card {
        flex: 1 1 calc(50% - 18px);
        max-width: calc(50% - 18px);
        min-width: 0;
    }

    .dc-case-card--more {
        min-height: 220px;
        flex: 1 1 calc(50% - 18px);
        max-width: calc(50% - 18px);
    }

    .dc-card-body {
        padding: 20px 22px 16px;
    }
    .dc-card-title {
        font-size: 20px;
    }
    .dc-card-desc {
        font-size: 14px;
    }

    .dc-modal {
        max-width: 85%;
        max-height: 80vh;
    }
    .dc-modal-header {
        padding: 16px 22px;
    }
    .dc-modal-body {
        padding: 18px 22px;
    }
    .dc-case-list-item {
        padding: 13px 18px;
    }
    .dc-case-list-title {
        font-size: 0.88rem;
    }

    /* 卡片化容器 */
    .dc-banner {
        border-radius: 14px;
    }
    .dc-case-section {
        padding: 1.5rem;
        border-radius: 14px;
    }
}

/* -------- Large 设备（≥992px，桌面） -------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
    :root {
        --dc-gutter: 20px;
        --dc-section-gap: 48px;
    }

    .dc-case-grid {
        gap: 20px;
    }

    .dc-case-card {
        flex: 1 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
        min-width: 0;
    }

    .dc-case-card--more {
        min-height: 240px;
        flex: 1 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }

    .dc-card-body {
        padding: 20px 22px 18px;
    }
    .dc-card-title {
        font-size: 20px;
    }
    .dc-card-desc {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .dc-modal {
        max-width: 72%;
        max-height: 80vh;
    }
    .dc-modal-header {
        padding: 18px 24px;
    }
    .dc-modal-body {
        padding: 18px 24px;
    }

    /* 卡片化容器 */
    .dc-banner {
        border-radius: 16px;
    }
    .dc-case-section {
        padding: 1.5rem 2rem;
        border-radius: 16px;
    }
}

/* -------- X-Large 设备（≥1200px，大桌面） -------- */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    :root {
        --dc-gutter: 22px;
        --dc-section-gap: 54px;
    }

    .dc-case-grid {
        gap: var(--dc-gutter);
    }

    .dc-case-card {
        flex: 1 1 calc(33.333% - var(--dc-gutter));
        max-width: calc(33.333% - var(--dc-gutter));
        min-width: 0;
    }

    .dc-case-card--more {
        min-height: 250px;
        flex: 1 1 calc(33.333% - var(--dc-gutter));
        max-width: calc(33.333% - var(--dc-gutter));
    }

    .dc-card-body {
        padding: 22px 26px 20px;
    }
    .dc-card-title {
        font-size: 20px;
    }
    .dc-card-desc {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .dc-modal {
        max-width: 680px;
        max-height: 78vh;
    }

    /* 卡片化容器 */
    .dc-banner {
        border-radius: 16px;
    }
    .dc-case-section {
        padding: 1.5rem 2rem;
        border-radius: 16px;
    }
}

/* -------- XX-Large 设备（≥1400px，超大桌面） -------- */
@media (min-width: 1400px) {
    :root {
        --dc-gutter: 24px;
        --dc-section-gap: 60px;
    }

    .dc-case-grid {
        gap: var(--dc-gutter);
    }

    .dc-case-card {
        flex: 1 1 calc(33.333% - var(--dc-gutter));
        max-width: calc(33.333% - var(--dc-gutter));
        min-width: 0;
    }

    .dc-case-card--more {
        min-height: 260px;
        flex: 1 1 calc(33.333% - var(--dc-gutter));
        max-width: calc(33.333% - var(--dc-gutter));
    }

    .dc-card-body {
        padding: 24px 28px 20px;
    }
    .dc-card-title {
        font-size: 20px;
    }
    .dc-card-desc {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .dc-modal {
        max-width: 700px;
        max-height: 76vh;
    }

    .dc-section-header h2 {
        font-size: 22px;
    }

    /* 卡片化容器 */
    .dc-banner {
        border-radius: 16px;
    }
    .dc-case-section {
        padding: 1.5rem 2rem;
        border-radius: 16px;
    }
}

/* ==========================================================================
   13. 防止 body 滚动（模态框打开时）
   ========================================================================== */
.dc-body-lock {
    overflow: hidden;
    height: 100vh;
}

/* ==========================================================================
   14. 打印样式（可选）
   ========================================================================== */
@media print {
    .dc-modal-overlay {
        display: none !important;
    }
    .dc-case-card--more {
        display: none;
    }
    .dc-case-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    .dc-banner {
        min-height: 80px;
    }
}

.dc-case-section {
    margin: 2rem auto;
}