/* activities.css — section padding, heading style and .section-intro come
   from all.css. Everything below is scoped to #activity-timeline. */

#GlobalNavWrapper {
    --hero-image: url("../../assets/image11.jpg");
}

#activity-timeline {

    h2 {
        max-width: 22ch;
    }

    /* Two terms side by side, stacking on narrow screens */
    .term-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
        gap: var(--space-xl);
        align-items: start;
    }

    .term-column {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .term-heading {
        display: flex;
        gap: 12px;
        align-items: baseline;
        justify-content: space-between;
        padding-bottom: 12px;
        border-bottom: 6px solid var(--titan-blue);

        h3 {
            margin: 0;
            color: var(--titan-blue);
            font-size: 1.75rem;
            font-weight: 900;
            line-height: 1.1;
        }

        /* The current term gets the orange rule so it reads as "now". */
        &.term-heading-current {
            border-bottom-color: var(--titan-orange);
        }
    }

    .activity-rows {
        display: flex;
        flex-direction: column;
    }

    .activity-row {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        gap: var(--space-sm);
        padding-block: 18px;
        border-bottom: 2px solid var(--titan-blue);

        @media screen and (max-width: 600px) {
            grid-template-columns: 1fr;
            gap: var(--space-xs);
        }
    }

    .activity-category {
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .activity-detail {
        display: flex;
        flex-direction: column;
        gap: 6px;

        h4 {
            margin: 0;
            color: var(--titan-blue);
            font-size: 1.15rem;
            font-weight: 900;
            line-height: 1.2;
        }

        p {
            margin: 0;
            font-size: 0.95rem;
            line-height: 1.65;
        }
    }

    .activity-map {
        /* Deliberately not a light grey: this sits on white and must clear
           4.5:1 (this value measures 8.9:1). */
        color: #4a4a4a;
        font-size: 0.85rem;
    }

    .activity-list {
        margin: 0;
        padding-left: 18px;
        font-size: 0.95rem;
        line-height: 1.75;
    }
}
