.lawyers-page {
    background: #fff;
    color: #111;
}

.lawyers-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(0,0,0,.44) 0%, rgba(0,0,0,.16) 58%, rgba(0,0,0,.2) 100%),
        url('/images/main banner pc 260309.jpg');
    background-size: cover;
    background-position: center 57%;
}

.lawyers-hero__inner {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    padding: 0 0 58px;
    color: #fff;
}

.lawyers-hero__eyebrow {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    opacity: .78;
}

.lawyers-hero h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.18;
    letter-spacing: -.045em;
    font-weight: 700;
}

.lawyers-hero__desc {
    margin: 18px 0 0;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    opacity: .92;
}

.lawyers-list-section {
    padding: 64px 0 120px;
}

.lawyers-grid {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 46px;
}

.lawyer-card {
    min-width: 0;
}

.lawyer-card__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4f4f4;
}

.lawyer-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.lawyer-card:hover .lawyer-card__photo img {
    transform: scale(1.015);
}

.lawyer-card__role {
    margin: 14px 0 0;
    color: #9a9a9a;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: -.02em;
}

.lawyer-card h2 {
    margin: 7px 0 0;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -.04em;
    font-weight: 500;
}

@media (max-width: 900px) {
    .lawyers-hero {
        min-height: 390px;
    }

    .lawyers-hero__inner,
    .lawyers-grid {
        width: calc(100% - 48px);
    }

    .lawyers-grid {
        column-gap: 16px;
        row-gap: 36px;
    }

    .lawyer-card h2 {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .lawyers-hero {
        min-height: 420px;
        background-image:
            linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.1) 45%, rgba(0,0,0,.5) 100%),
            url('/images/main banner m 260309.jpg');
        background-position: center center;
    }

    .lawyers-hero__inner {
        width: calc(100% - 40px);
        padding-bottom: 36px;
    }

    .lawyers-hero__eyebrow {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .lawyers-hero h1 {
        font-size: 32px;
    }

    .lawyers-hero__desc {
        margin-top: 13px;
        font-size: 13px;
        line-height: 1.65;
    }

    .lawyers-list-section {
        padding: 36px 0 80px;
    }

    .lawyers-grid {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
        row-gap: 42px;
    }

    .lawyer-card__photo {
        aspect-ratio: 1 / 1;
    }

    .lawyer-card__role {
        margin-top: 12px;
        font-size: 10px;
    }

    .lawyer-card h2 {
        margin-top: 5px;
        font-size: 19px;
    }
}
