/* About page (/about) — only what pages.css has no component for:
   a milestone timeline, leadership cards with initial avatars, and a credential list. */

.v4-about-lede { margin-top: 18px; }
.v4-about-ticks { margin-top: 26px; }

/* Milestone timeline: a rule with a dot per year; vertical on phones. */
.v4-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 32px; }
.v4-timeline li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 30px 0 28px; border-top: 2px solid var(--v4-line); }
.v4-timeline li::before {
    content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%;
    background: #fff; border: 3px solid var(--v4-teal-600);
}
.v4-timeline__year { font-family: var(--v4-font-display); font-style: italic; font-weight: 500; font-size: 2rem; line-height: 1; color: var(--v4-teal-700); }
.v4-timeline h3 { font-size: 1.0625rem; }
.v4-timeline li > p:last-child { font-size: .9375rem; color: var(--v4-text-3); }

/* Leadership cards */
.v4-team__head { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.v4-team__avatar {
    width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--v4-ink-900), var(--v4-teal-800)); color: #fff;
    font-family: var(--v4-font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: .04em;
}
.v4-team .v4-team__role { margin-top: 2px; font-size: .875rem; font-weight: 600; color: var(--v4-teal-700); }

/* Credential list */
.v4-creds { display: grid; gap: 10px; }
.v4-creds li {
    display: grid; grid-template-columns: 40px 76px minmax(0, 1fr); align-items: center; gap: 14px;
    padding: 14px 18px; background: #fff; border: 1px solid var(--v4-line); border-radius: var(--v4-r);
}
.v4-creds__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--v4-teal-50); color: var(--v4-teal-700); }
.v4-creds strong { font-family: var(--v4-font-display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.01em; }
.v4-creds li > span:last-child { font-size: .9375rem; color: var(--v4-text-2); }

/* Three-card grids: the odd card out spans the row instead of sitting alone at tablet width. */
@media (max-width: 960px) and (min-width: 641px) {
    .v4-grid--balance > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .v4-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .v4-timeline { grid-template-columns: minmax(0, 1fr); gap: 0; margin-left: 7px; border-left: 2px solid var(--v4-line); }
    .v4-timeline li { padding: 0 0 28px 26px; border-top: 0; }
    .v4-timeline li:last-child { padding-bottom: 0; }
    .v4-timeline li::before { top: 2px; left: -8px; }
    .v4-creds li { grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; }
    .v4-creds__icon { grid-row: span 2; }
}


/* Short icon cards: icon beside the text on phones so three cards don't fill two screens. */
@media (max-width: 640px) {
    .v4-minicards .v4-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
    .v4-minicards .v4-card__icon { grid-row: span 2; margin-bottom: 0; }
}

/* Client & learner feedback (anonymous quotes) */
.v4-feedback .v4-stars .is-off { color: var(--v4-line-2); }
.v4-feedback .v4-avatar { background: var(--v4-teal-50); color: var(--v4-teal-700); }
.v4-feedback .v4-avatar .v4-ico { width: 20px; height: 20px; }

/* Backing & partner channel cards */
.v4-about-partner { display: flex; flex-direction: column; gap: 12px; }
.v4-about-partner h3 a { color: var(--v4-text); }
.v4-about-partner .v4-card__link { margin-top: auto; }
