/* =================================================================== AGENDA section css =================================================================== */
.agenda {
    position: relative;
    padding-block: calc(var(--sectionGap) + var(--stair2)) var(--sectionGap);
    background: var(--cream);
    overflow: clip;

    /* the last 100px step of the market panel, which bleeds past the top of
       this band (measured x0->427, y7760->7860) */
    & .agenda__step {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        width: 22.2%;
        height: var(--sp100);
        background: var(--ink);
        pointer-events: none;
    }

    & .container {
        position: relative;
        z-index: 1;
    }
    & .section-title-wrap {
        margin-bottom: var(--sp60);
    }
    /* Website.pdf splits the section at x979 in the 100->1820 measure and
       holds that split for both the header row and the item grid below it. */
    & .agenda__grid {
        display: grid;
        grid-template-columns: minmax(0, 879fr) minmax(0, 841fr);
    }

    /* measured 40px on a 50px leading, and it now sits beside the h2 rather
       than under it; the 60px inset clears the column rule */
    & .agenda__lede { font-size: var(--f30);font-weight: var(--fw-medium); }

    /* the four steps became a 2x2 grid: a full-measure rule between the rows
       and a column rule at x979 running the height of the grid */
    & .agenda__list {
        display: grid;
        grid-template-columns: 1fr;
    }

    & .agenda__item {
        display: grid;
        grid-template-columns: var(--sp50) minmax(0, 1fr);
        gap: var(--sp40);
        padding-block: var(--sp40);
        border-top: 1px solid var(--line);
       
        
        
        

        &:first-child {padding-top: 0;border-top: 0;}
        &:nth-child(n + 3) {}

        &:nth-child(even) {
        }
    }

    & .agenda__num {
        font-family: var(--font-body);
        font-size: var(--f40);
        font-weight: var(--fw-heading);
        line-height: 1;
        color: var(--primary);
    }

    & .agenda__title {margin-bottom: var(--sp10);}

    /* the inset dark CTA box — measured x100->1820 (the full measure, not the
       inset one), 460 tall, with a two-step 40px notch */
    & .agenda__cta {
        --notch: var(--sp40);

        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, .65fr);
        gap: var(--g100);
        align-items: center;
        margin-top: var(--sp45);
        padding: var(--sp120) var(--sp110);
        background: var(--ink);
        align-items: end;
        overflow: clip;
    }

    /* the + / dot checkerboard, which the new artboard adds inside the box */
    & .agenda__cta > *:not(.grid-dots) {
        position: relative;
        z-index: 1;
    }

    & .agenda__cta-title { margin-bottom: var(--sp25); }

    & .agenda__cta-body p {
        max-width: 560px;
        color: var(--muted-invert);
    }

    & .agenda__cta-note {
        margin-top: var(--sp20);
        font-size: var(--f18);
        color: var(--muted-invert);
    }
}

/* =================================================================== responsive =================================================================== */
@media (max-width: 1365.98px) {
    .agenda {
        & .agenda__cta { padding-inline: var(--sp110); }
    }
}

@media (max-width: 991.98px) {
    .agenda {
        /* the panel this step continues is hidden at this width, so the step
           would otherwise read as a stray black block */
        & .agenda__step { display: none; }

        /* the row gap matters here: stacked with no gap, "01" sat directly on
           the baseline of the lede with nothing separating the two halves */
        & .agenda__grid {
            grid-template-columns: 1fr;
            gap: var(--sp60);
        }

        & .agenda__lede { margin-top: var(--sp30); }

        & .agenda__list { grid-template-columns: 1fr; }

        & .agenda__item {
            padding-block: var(--sp45);
            border-top: 1px solid var(--line);

            &:nth-child(-n + 2) { padding-top: var(--sp45); }

            &:first-child {
                padding-top: 0;
                border-top: 0;
            }

            &:nth-child(even) {
                padding-left: 0;
                border-left: 0;
            }
        }

        & .agenda__cta {
            grid-template-columns: 1fr;
            align-items: start;
            padding: var(--sp50) ;
        }
    }
}

@media (max-width: 575.98px) {
    .agenda {
        & .agenda__item { grid-template-columns: 1fr; }

        /* the artboard's break leaves "to" alone on a line at this measure */
        & .agenda__cta-title br { display: none; }
        & .agenda__cta {           
            padding: 30px 40px;
        }
    }
}
