.photoblock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* background: #f4f6fb; */
    position: relative;
}

.photoblock-text {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 96px 64px 72px 96px;
}

.photoblock-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    max-width: 548px;
    .section-title {
        font-size: 34px;
        text-wrap: balance;
    }
    .btn {
        margin-top: 8px;
    }
}

.photoblock .section-lead {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;

    p {
        margin: 0;

        &:first-of-type {
            margin-bottom: 12px;
        }
    }

    li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 17px;
        line-height: 1.6;
        color: #4a566f;

        &::before {
            content: '';
            width: 10px;
            height: 10px;
            background-color: #2050c8;
            border-radius: 50%;
        }
    }
}

.photoblock-media {
    /* min-height: 400px; */
    left: 50%;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 900px) {
    .photoblock {
        grid-template-columns: 1fr;
    }
    .photoblock-text {
        justify-content: flex-start;
        padding: 64px 32px;
    }
    .photoblock-copy {
        max-width: none;
        .section-title {
            font-size: 30px;
        }
    }
    .photoblock-media {
        min-height: 0;
        height: 420px;
        position: static;
    }
}

@media (max-width: 600px) {
    .photoblock-text {
        padding: 56px 20px;
    }
    .photoblock-copy .section-title {
        font-size: 28px;
    }
    .photoblock-media {
        height: 320px;
    }
}
