.process {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    max-width: none;
    margin: 48px auto 0;
    padding: 0;
    color: #051c48;
    font-family: inherit;
    box-sizing: border-box;
}

/* Top row: cards 1, 2 and 3 */
.process .pcard.s2 {
    grid-column: span 2;
}

/* Full-width HCM-BuyLine card */
.process .pcard.buyline-card {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Full-width HCM-BuyLine card */
.footnote {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
    padding: 20px 28px 16px;
}

/* ==========================================
   Cards
========================================== */

.process .pcard {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px 28px 16px;
    background: #fff;
    border: 1px solid #d5d8dc;
    border-radius: 14px;
    box-sizing: border-box;
}

/* Number: left-aligned */
.process .pnum {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
}

/* ==========================================
   Typography
========================================== */

.process h3,
.process p,
.process small,
.process b,
.process a,
.process span,
.process li,
.process .circ,
.process .times,
.process .gauge-lbl {
    font-family: inherit;
}

.process .pcard h3 {
    margin: 16px 0 20px;
    color: #051c48;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

/* Center descriptive text in cards 1–3 */
.process .pcard > p {
    margin: 0 0 10px;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

.process .pcard p b {
    color: #051c48;
    font-weight: 700;
}

.process .pcard .fine {
    margin-top: auto;
    font-size: 13px;
    font-style: italic;
}

.process .pcard .fine a {
    color: #051c48;
    font-style: normal;
    font-weight: 700;
    text-decoration: underline;
}

/* ==========================================
   Graphics area
========================================== */

.process .pvis {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 12px 0 20px;
    padding-top: 8px;
    box-sizing: border-box;
}

/* Card 1: S&P 500 pyramid */

.process .pyramid {
    display: block;
    width: 150px;
    height: auto;
    margin: 0 auto;
}

/* Card 2: factor scoring icons */

.process .pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.process .ficon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.process .circ {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}

.process .ficon small {
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.process .plus {
    font-size: 24px;
    font-weight: 700;
}

/* Card 3: sector dots and 5 × 10 */

.process .swatch {
    display: grid;
    grid-template-columns: repeat(6, 24px);
    justify-content: center;
    gap: 10px;
}

.process .swatch i {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.process .times {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 18px;
}

.process .times div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process .times b {
    font-size: 50px;
    line-height: 1;
}

.process .times small {
    font-size: 13px;
}

.process .times span {
    font-size: 24px;
}

/* ==========================================
   HCM-BuyLine: full-width card (#4)
========================================== */

.process .pcard.buyline-card {
    grid-column:span 6;
    align-items: stretch;
}

/* Keep the number and title left-aligned */
.process .pcard > .pnum {
    align-self: center;
}

.process .pcard > h3 {
    text-align: center;
}

/* Center the BuyLine graphic and gauge labels */
.process .pcard.buyline-card .pvis {
    align-items: center;
    justify-content: center;
    height: auto !important;
    min-height: 0;
    margin: 20px 0;
    padding-top: 8px;
}

.process .pcard.buyline-card .pvis svg[aria-label^="Gauge"] {
    display: block;
    width: 100%;
    max-width: 340px !important;
    height: auto;
    margin: 0 auto;
}

.process .pcard.buyline-card .gauge-lbl {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 340px;
    margin: -6px auto 0;
    padding: 0 26px;
    font-size: 12px;
    box-sizing: border-box;
    text-align: center;
}

/* Center BuyLine descriptive text */
.process .pcard.buyline-card > p {
    width: 100%;
    margin: 0 auto 5px;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

/* ==========================================
   Desktop alignment for the top three cards
========================================== */

@media (min-width: 769px) {
    .fund__infographic .process .pcard.s2 h3 {
        min-height: 2.6em;
    }

    .fund__infographic .process .pcard.s2 .pvis {
        height: 160px;
        min-height: 0;
        justify-content: flex-start;
        box-sizing: border-box;
    }
}

/* ==========================================
   Mobile layout
========================================== */

@media (max-width: 768px) {
    .process {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-top: 28px;
    }

    .process .pcard.s2,
    .process .pcard.buyline-card {
        grid-column: 1 / -1;
    }

    .process .pcard {
        padding: 24px 22px;
    }

    .process .pcard h3 {
        min-height: 0;
        font-size: 19px;
    }

    .process .pcard.s2 .pvis {
        height: auto;
        min-height: 0;
    }

    .process .pcard.buyline-card .pvis {
        height: auto !important;
    }

    .process .pcard.buyline-card .pvis svg[aria-label^="Gauge"] {
        max-width: 300px !important;
    }

    .process .pcard.buyline-card .gauge-lbl {
        max-width: 300px;
    }
}