.activity-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem;
}

.activity-item {
    flex: 1 1 300px;
    max-width: 30%;
    background-color: transparent;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.activity-item h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.activity-item h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.activity-item .description p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: justify;
}

.activity-item .date {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-align: right;
}


@media (max-width: 600px) {
    #activity-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      flex-direction: row; /* <-- Ensure horizontal layout */
    }

    .activity-item {
      flex: 1 1 80%;
      max-width: 100%;
    }

    .activity-item h3 {
      font-size: 1.2rem;
    }
}
