/* 活动模块样式 */
.events-section {
    margin: 40px 0;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.events-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.view-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-more:hover {
    text-decoration: underline;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.event-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.event-image {
    height: 160px;
    overflow: hidden;
    position: relative;
}

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

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

.event-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-upcoming {
    background: var(--info-color);
    color: white;
}

.status-completed {
    background: var(--text-secondary);
    color: white;
}
.status-ongoing {
    background: var(--success-color);
    color: white;
}
.event-content {
    padding: 16px;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.event-meta-item i {
    color: var(--primary-color);
}

.event-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-contact {
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(76, 175, 80, 0.05);
    border-radius: var(--radius-sm);
}

.event-contact .event-meta-item {
    margin-bottom: 6px;
}

.event-contact .event-meta-item:last-child {
    margin-bottom: 0;
}

.event-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-date {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}

.btn-event {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}
/* 体检服务模块样式 */
.health-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
}

.health-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
}

.health-nav-link.active {
    color: var(--primary-color);
}

.health-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.health-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.health-check-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.health-check-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.health-check-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.health-check-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.health-check-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .health-nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .health-check-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .health-check-grid {
        grid-template-columns: 1fr;
    }
}