.activities-page {
    padding: 80px 60px;
    background-color: white;
}

.activities-page .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;
    color: #333;
}

.activity-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 0;
    transition: transform 0.3s;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.activity-item--no-link {
    cursor: default;
}

.activity-item:hover {
    transform: translateY(-5px);
}

.activity-item:hover .activity-item-content {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.activity-item:nth-child(even) {
    flex-direction: row-reverse;
}

.activity-item img {
    width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 1;
}

.activity-item:hover img {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transform: scale(1.02);
}

.activity-item-content {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-left: -50px;
    margin-right: 0;
    z-index: 2;
    position: relative;
}

.activity-item:nth-child(even) .activity-item-content {
    margin-left: 0;
    margin-right: -50px;
}

.activity-item-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    transition: color 0.3s;
}

.activity-item:hover .activity-item-content h3 {
    color: #FF6B35;
}

.activity-item-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.activity-join {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.activity-join-btn {
    padding: 10px 28px; /* 覆盖全局按钮的默认padding，让按钮更贴合卡片 */
    transform: translateY(-20%);
}

.activity-join-btn:hover {
    transform: translateY(calc(-20% - 2px)); /* 保持全局hover上浮效果并叠加20%上移 */
}

@media (max-width: 1024px) {
    .activity-item {
        flex-direction: column !important;
        text-align: center;
    }

    .activity-item img {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .activities-page {
        padding: 40px 20px;
    }

    .activity-item {
        margin-bottom: 50px;
    }

    .activity-item img {
        height: 250px;
    }

    .activity-item-content h3 {
        font-size: 24px;
    }
}

