/*
 * "От знаний - к профессиональной зрелости" (sections/about-approach.php):
 * photo and copy side by side, then the competency cards the client's text
 * enumerates in one sentence. The cards carry a name and an icon only -
 * there is no description behind them in the source text, and inventing one
 * is forbidden.
 */

.about-approach {
    padding: 3vw 0;
    background: var(--color-surface-muted);
}

.about-approach__grid {
    --bs-gutter-x: 3.33vw;
    --bs-gutter-y: 2.5vw;
    margin-bottom: 2.5vw;
}

.about-approach__photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-panel);
}

.about-approach__paragraph {
    color: var(--color-text);
    margin: 0 0 1.04vw;
}

.about-approach__paragraph:last-child {
    margin-bottom: 0;
}

.about-approach__competencies-lead {
    font-family: var(--font-heading);
    font-size: 1.25vw;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1.67vw;
}

.about-approach__competencies {
    --bs-gutter-x: 1.67vw;
    --bs-gutter-y: 1.67vw;
    margin: 0;
    list-style: none;
    padding: 0;
}

.about-approach__competency {
    display: flex;
    flex-direction: column;
    gap: 0.83vw;
    padding: 1.46vw;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.about-approach__competency-icon {
    color: var(--color-accent);
}

.about-approach__competency-name {
    font-size: 1.04vw;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-primary);
    margin: 0;
}

@media only screen and (max-width: 767.98px) {
    .about-approach {
        padding: 6vw 0;
    }

    .about-approach__grid {
        --bs-gutter-x: 4.27vw;
        --bs-gutter-y: 5.33vw;
        margin-bottom: 6.4vw;
    }

    .about-approach__paragraph {
        margin: 0 0 4vw;
    }

    .about-approach__competencies-lead {
        font-size: 4.8vw;
        margin: 0 0 5.33vw;
    }

    .about-approach__competencies {
        --bs-gutter-x: 4.27vw;
        --bs-gutter-y: 4.27vw;
    }

    .about-approach__competency {
        gap: 3.2vw;
        padding: 5.33vw 4.27vw;
    }

    .about-approach__competency-name {
        font-size: 4.27vw;
    }
}
