/* 卡片基础样式 */
.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(8, 66, 138, 0.08);
}

/* 服务卡片基础样式 - 降低优先级 */
:not(.core-services) .service-card {
    padding: 40px 30px;
    text-align: center;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.4s ease;
}

:not(.core-services) .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(8, 66, 138, 0.12);
}

:not(.core-services) .service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

:not(.core-services) .service-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

/* 新闻卡片 */
.news-card {
    display: flex;
    flex-direction: column;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

/* 案例卡片 */
.case-card {
    position: relative;
}

.case-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .service-card,
    .news-card,
    .case-card {
        margin-bottom: 20px;
    }
} 