/* Activity pages (<slug>.html, built by tools/activities.py) */

/* Breadcrumb above the title */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Intro: photo, summary, key facts and the two ways to enquire */
.activity-intro {
    padding: 70px 0 60px;
}

.activity-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
}

.activity-intro__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--card-border-radius);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.activity-intro__lead {
    margin-bottom: 26px;
    color: #33433b;
    font-size: 1.15rem;
    line-height: 1.85;
}

.activity-facts {
    display: grid;
    gap: 12px;
    margin: 0 0 30px;
    padding: 20px 22px;
    list-style: none;
    border: 1px solid rgba(52, 181, 116, 0.18);
    border-radius: 14px;
    background-color: #f6faf8;
}

.activity-facts li {
    display: grid;
    grid-template-columns: 34px 6.5em minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

html[lang="en"] .activity-facts li {
    grid-template-columns: 34px 7.5em minmax(0, 1fr);
}

.activity-facts i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.9rem;
}

.activity-facts__label {
    color: #4a5a52;
    font-size: 0.95rem;
}

.activity-facts__value {
    color: #1f2d27;
    font-weight: 700;
}

.activity-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.activity-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
}

.activity-actions .btn-whatsapp {
    background-color: #0E7A62;
    color: #fff;
}

.activity-actions .btn-whatsapp:hover {
    background-color: #0B6652;
    color: #fff;
}

/* What participants gain */
.activity-outcomes {
    padding: 70px 0;
    background-color: #f6faf8;
}

.activity-outcomes__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.activity-outcome {
    padding: 30px 26px;
    border: 1px solid rgba(52, 181, 116, 0.16);
    border-radius: 16px;
    background-color: #fff;
}

.activity-outcome__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #34B574, #3691C8);
    color: #fff;
    font-size: 1.3rem;
}

.activity-outcome h3 {
    margin-bottom: 8px;
    color: #1f2d27;
    font-size: 1.25rem;
}

.activity-outcome p {
    margin: 0;
    color: #4a5a52;
    line-height: 1.7;
}

/* Sample schedule: the home page's 合作流程 steps, without icons */
.activity-schedule {
    background-color: #fff;
}

.activity-schedule .flow-step h3 {
    padding-right: 44px;
}

.flow__list--3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
}

.activity-schedule__note {
    max-width: 640px;
    margin: 28px auto 0;
    color: #4a5a52;
    font-size: 0.95rem;
    text-align: center;
}

/* What's included, who it's for, before you go */
.activity-detail {
    padding: 70px 0;
    background-color: #f6faf8;
}

.activity-detail__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.activity-panel {
    padding: 28px 26px;
    border: 1px solid rgba(52, 181, 116, 0.16);
    border-radius: 16px;
    background-color: #fff;
}

.activity-panel h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #1f2d27;
    font-size: 1.3rem;
}

.activity-panel h2 i {
    color: var(--primary-color);
}

.activity-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.activity-checklist li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px;
    color: #33433b;
    line-height: 1.65;
}

.activity-checklist li::before {
    content: '\f00c';
    position: absolute;
    top: 1px;
    left: 0;
    color: var(--primary-color);
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.activity-checklist--notes li::before {
    content: '\f05a';
    color: var(--secondary-color);
}

/* Related activities reuse the home page's compact cards */
.activity-related .program-grid {
    margin-top: 40px;
}

.activity-related__all {
    margin-top: 36px;
    text-align: center;
}

.activity-related__all a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.activity-related__all a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .activity-intro__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 680px;
    }

    .activity-outcomes__grid,
    .activity-detail__grid {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .flow__list--3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .activity-intro {
        padding: 44px 0 40px;
    }

    .activity-outcomes,
    .activity-detail {
        padding: 50px 0;
    }

    .activity-facts {
        padding: 16px;
    }

    .activity-facts li {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .activity-facts__value {
        grid-column: 2;
        margin-top: -8px;
    }

    html[lang="en"] .activity-facts li {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .activity-actions .btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}
