    /* 容器样式 */
.oak-project-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* 标题样式 */
.oak-project-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #000;
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.oak-project-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #165DFF, #0E42D2);
    border-radius: 3px;
}

/* 卡片网格布局 */
.oak-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* 卡片样式 */
.oak-project-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(226, 232, 240, 0.5);
}


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

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

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

.oak-project-card-content {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.oak-project-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.3;
}

.oak-project-card-description {
    color: #64748b;
    margin-bottom: 1.8rem;
    flex: 1;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 按钮容器 */
.oak-project-buttons {
    display: flex;
    gap: 1rem;
}

.oak-project-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1rem;
    flex: 1; /* 两个按钮平分宽度 */
    text-decoration: none; /* 链接按钮去除下划线 */
}

/* 在线查看按钮样式 */
.oak-project-view-online {
    background: linear-gradient(135deg, #165DFF, #0E42D2);
    color: white;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

.oak-project-view-online:hover {
    box-shadow: 0 6px 16px rgba(22, 93, 255, 0.35);
    transform: translateY(-1px);
    color: white;
}

/* 查看详情按钮样式 */
.oak-project-view-details {
    background-color: #f1f5f9;
    color: #334155;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E6EB;
}

.oak-project-view-details:hover {
    background-color: #e2e8f0;
    transform: translateY(-1px);
    color: #1e293b;
    border: 1px solid #E5E6EB;
}

/* 分页样式 */
.oak-project-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 3rem;
}

.oak-project-pagination-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background-color: #ffffff;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.oak-project-pagination-link:hover {
    color: #3b82f6;
    border-color: #93c5fd;
}

.oak-project-pagination-link.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.oak-project-pagination-link.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* 空状态样式 */
.oak-project-empty {
    text-align: center;
    padding: 5rem 2rem;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.oak-project-empty-text {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* 弹窗样式 */
.oak-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255 255 255 / 70%);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.oak-modal {
    background-color: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.oak-modal-overlay.active .oak-modal {
    transform: translateY(0);
}

/* 弹窗头部高度调整为原来的一半 */
.oak-modal-header {
    padding: 0.75rem 1.5rem; /* 原1.5rem 2rem，缩减为一半 */
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto; /* 自动适应内容高度 */
}

.oak-modal-title {
    font-size: 1.25rem; /* 略微减小标题字体 */
    font-weight: 600;
    color: #1e293b;
    margin: 0; /* 移除默认margin */
}

.oak-modal-close {
    background: none;
    border: none;
    font-size: 1.25rem; /* 略微减小关闭按钮 */
    cursor: pointer;
    color: #64748b;
    transition: color 0.3s ease;
    width: 36px; /* 减小关闭按钮尺寸 */
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oak-modal-close:hover {
    color: #ef4444;
    background-color: #f8fafc;
}

.oak-modal-body {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.oak-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 500px;
}

/* 加载指示器 */
.oak-modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.oak-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #165DFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .oak-project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .oak-project-grid {
        grid-template-columns: 1fr;
    }
    
    .oak-project-title {
        font-size: 2rem;
    }
    
    .oak-project-card-image {
        height: 180px;
    }
    
    .oak-modal {
        max-height: 85vh;
    }
    
    .oak-modal-iframe {
        min-height: 400px;
    }
    
    /* 移动设备上进一步调整弹窗头部 */
    .oak-modal-header {
        padding: 0.6rem 1.2rem;
    }
    
    .oak-modal-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .oak-project-pagination-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .oak-project-container {
        padding: 1.5rem 0.8rem;
    }
    
    .oak-modal-iframe {
        min-height: 300px;
    }
    
    .oak-project-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
}