#how-text .how-header {
    text-align: left;
}

/* Снимки сохраняют настоящий интерфейс и ближайшие элементы для ориентира */
#how-text .s.how-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 585px);
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
}

#how-text .how-step > .t {
    order: 0;
    margin-right: 0;
    line-height: 1.5;
}

#how-text .s.how-step_wide,
#how-text .s.how-step_text {
    grid-template-columns: minmax(0, 1fr);
}

.how-screenshot {
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

.how-screenshot > a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid #e5e1dd;
    border-radius: 4px;
    overflow: hidden;
    cursor: zoom-in;
}

.how-screenshot > a:focus-visible {
    outline: 2px solid #f47a42;
    outline-offset: 3px;
}

.how-screenshot img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.how-screenshot figcaption {
    margin-top: 8px;
    color: #696969;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.how-screenshots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 450px));
    gap: 24px;
    justify-content: center;
    align-items: start;
}

@media (max-width: 991.999px) {
    #how-text .s.how-step {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

@media (max-width: 767.999px) {
    #how-text .how-header {
        line-height: 1.25;
    }

    #how-text .how-step > .t {
        font-size: 16px;
    }

    .how-screenshots {
        grid-template-columns: minmax(0, 450px);
    }
}
