/* About page — extends terms-legal.css + mg-page-hero.css */

.mg-about-page .mg-about-photo-wrap {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--terms-line);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    background: #fff;
}

.mg-about-page .mg-about-photo-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.mg-about-page .mg-about-photo-caption {
    padding: 1rem 1.15rem;
    font-size: var(--terms-text);
    line-height: 1.5;
    color: var(--terms-muted);
    background: linear-gradient(180deg, #fff, #fffbf7);
    border-top: 1px solid var(--terms-line);
}

.mg-about-page .mg-about-photo-caption strong {
    display: block;
    color: var(--terms-ink);
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
}

.mg-about-sidebar {
    display: grid;
    gap: 1rem;
}

.mg-about-fact-card {
    padding: 1.15rem 1.2rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--terms-line);
    box-shadow: 0 4px 16px rgba(28, 25, 23, 0.04);
}

.mg-about-fact-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--terms-ink);
}

.mg-about-fact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.mg-about-fact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: var(--terms-text);
    line-height: 1.5;
    color: var(--terms-muted);
}

.mg-about-fact-list li i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: #7c3aed;
}

.mg-about-cambridge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.3rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7ed, #faf5ff);
    border: 1px solid rgba(124, 58, 237, 0.14);
}

.mg-about-cambridge img {
    width: 4.5rem;
    height: auto;
    flex-shrink: 0;
}

.mg-about-cambridge p {
    margin: 0;
    font-size: var(--terms-text);
    line-height: 1.6;
    color: var(--terms-muted);
}

.mg-about-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 1199px) {
    .mg-about-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .mg-about-pillars {
        grid-template-columns: 1fr;
    }
}

.mg-about-pillar {
    height: 100%;
    padding: 1.35rem 1.25rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--terms-line);
    box-shadow: 0 6px 20px rgba(28, 25, 23, 0.04);
}

.mg-about-pillar-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ea580c, #7c3aed);
    margin-bottom: 0.85rem;
}

.mg-about-pillar-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    margin-bottom: 0.85rem;
    background: rgba(255, 237, 213, 0.85);
    color: #c2410c;
}

.mg-about-pillar h3 {
    margin: 0 0 0.5rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--terms-ink);
}

.mg-about-pillar p {
    margin: 0;
    font-size: var(--terms-text);
    line-height: 1.6;
    color: var(--terms-muted);
}

.mg-about-bio-panel {
    margin-top: 1.5rem;
    padding: 1.75rem 1.6rem;
    border-radius: 22px;
    background: linear-gradient(135deg, #1e293b, #312e81);
    color: #fff;
}

.mg-about-bio-panel h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.mg-about-bio-panel p {
    font-size: var(--terms-text);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.mg-about-bio-panel p:last-of-type {
    margin-bottom: 0;
}

.mg-about-credentials {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.55rem;
}

.mg-about-credentials li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: var(--terms-text);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.mg-about-credentials li i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: #fde68a;
}

.mg-about-section-lead {
    font-size: var(--terms-text);
    line-height: 1.65;
    color: var(--terms-muted);
    margin: 0 0 1rem;
}

.mg-about-section-lead:last-child {
    margin-bottom: 0;
}

.mg-about-pillars-head {
    border: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 1rem !important;
}

.mg-about-pillars-head h2 {
    margin-bottom: 0.35rem;
}
