.stm-help-page {
    --help-blue: #001b72;
    --help-accent: #315cff;
    --help-light: #f3f6ff;
    --help-border: #e1e7f3;
    --help-text: #252b38;
    --help-green: #1baa1d;

    display: block !important;
    width: 100% !important;
    max-width: 2000px !important;
    min-width: 0 !important;

    margin: 0 auto !important;
    padding: 0 !important;

    box-sizing: border-box !important;
    color: var(--help-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.7;
}

.stm-help-page *,
.stm-help-page *::before,
.stm-help-page *::after {
    box-sizing: border-box;
}

.stm-help-page p {
    margin: 0 0 15px;
}

.stm-help-page h2 {
    margin: 0 0 12px;
    color: #111;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: none;
}

.stm-help-page a {
    text-decoration: none;
}

.stm-help-page svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Описание */

.stm-help-intro {
    width: 100%;
    margin: 0 0 30px;
}

.stm-help-page .stm-help-intro p {
    margin: 0;
    color: #444 !important;
    font-size: 16px;
    line-height: 1.75;
}

/* Карточки разделов */

.stm-help-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin: 0 0 42px;
}

.stm-help-page .stm-help-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--help-border);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.stm-help-page .stm-help-card:hover {
    border-color: #b9c9ff;
    box-shadow: 0 5px 18px rgba(0, 27, 114, .06);
}

.stm-help-page .stm-help-card > img {
    display: block;
    width: 100%;
    height: 205px;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

.stm-help-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
}

.stm-help-page .stm-help-card h2 {
    margin: 0 0 10px;
    color: #111;
    font-size: 19px;
}

.stm-help-page .stm-help-card p {
    flex: 1;
    margin: 0 0 22px;
    color: #333;
    font-size: 14px;
    line-height: 1.8;
}

/* Зелёные кнопки карточек */

.stm-help-page .stm-help-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: auto;
    padding: 12px 18px;
    border: 1px solid #1baa1d;
    border-radius: 0;
    background: #1baa1d !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s, border-color .2s;
}

.stm-help-page .stm-help-card__button:hover,
.stm-help-page .stm-help-card__button:focus {
    border-color: #168b19;
    border-radius: 5px !important;
    background: #168b19 !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* FAQ */

.stm-help-faq {
    width: 100%;
    margin: 0 0 40px;
    padding: 0;
}

.stm-help-faq__header {
    max-width: 1050px;
    margin: 0 0 23px;
}

.stm-help-page .stm-help-faq__header h2 {
    margin: 0 0 10px;
    color: #111;
    font-size: 25px;
}

.stm-help-page .stm-help-faq__header p {
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.8;
}

.stm-help-faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.stm-help-page .stm-help-faq__item {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--help-border);
    background: #fff;
    transition: border-color .2s;
}

.stm-help-page .stm-help-faq__item[open] {
    border-color: var(--help-accent);
}

.stm-help-page .stm-help-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 70px;
    margin: 0;
    padding: 17px 22px;
    border: 0;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.stm-help-page .stm-help-faq__item summary::-webkit-details-marker {
    display: none;
}

.stm-help-page .stm-help-faq__item summary::marker {
    content: "";
}

.stm-help-page .stm-help-faq__item summary:hover {
    color: var(--help-accent);
}

.stm-help-page .stm-help-faq__item[open] > summary {
    border-bottom: 1px solid var(--help-border);
    color: var(--help-accent);
}

.stm-help-faq__chevron {
    position: relative;
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #edf2ff;
    color: var(--help-accent);
    transition: transform .2s, background .2s, color .2s;
}

.stm-help-faq__chevron::before {
    width: 9px;
    height: 9px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    content: "";
    transform: translateY(-2px) rotate(45deg);
}

.stm-help-page .stm-help-faq__item[open] .stm-help-faq__chevron {
    transform: rotate(180deg);
    background: var(--help-accent);
    color: #fff;
}

.stm-help-page .stm-help-faq__answer {
    padding: 19px 22px 22px;
    color: #566176;
    font-size: 14px;
    line-height: 1.9;
}

.stm-help-page .stm-help-faq__answer p {
    margin: 0 0 14px;
}

.stm-help-page .stm-help-faq__answer p:last-child {
    margin-bottom: 0;
}

/* Контактный блок */

.stm-help-page .stm-help-contact {
    width: 100%;
    margin: 40px 0 30px;
    padding: 30px;
    border: 1px solid var(--help-border);
    background: var(--help-light);
}

.stm-help-page .stm-help-contact > h2 {
    margin: 0 0 10px;
    color: #171717;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}

.stm-help-page .stm-help-contact__description {
    max-width: none;
    margin: 0 0 22px;
    color: #333;
    font-size: 15px;
    line-height: 1.75;
}

.stm-help-contact__methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin: 0;
    align-items: stretch;
}

.stm-help-page .stm-help-contact-card,
.stm-help-page .stm-return-contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    min-width: 0;
    min-height: 105px;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--help-border);
    border-radius: 0;
    background: #fff;
    color: var(--help-text);
    font-family: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

.stm-help-page .stm-help-contact-card:hover,
.stm-help-page .stm-return-contact-card:hover {
    border-color: var(--help-accent);
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 27, 114, .08);
    text-decoration: none;
}

.stm-help-contact-icon,
.stm-return-contact-icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--help-light);
    color: var(--help-blue);
}

.stm-help-contact-icon svg,
.stm-return-contact-icon svg {
    width: 25px;
    height: 25px;
}

.stm-help-contact-info,
.stm-return-contact-info {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.stm-help-contact-info small,
.stm-return-contact-info small {
    display: block;
    margin-bottom: 4px;
    color: #596579;
    font-size: 13px;
    line-height: 1.4;
}

.stm-help-contact-info strong,
.stm-return-contact-info strong {
    display: block;
    color: var(--help-blue);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.stm-help-page .stm-help-contact-card:hover strong,
.stm-help-page .stm-return-contact-card:hover strong {
    color: var(--help-accent);
}

/* Кнопка формы — не подчёркивать текст и не менять его цвет */

.stm-help-page button.stm-return-contact-card {
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    outline-offset: 3px;
}

.stm-help-page button.stm-return-contact-card,
.stm-help-page button.stm-return-contact-card:hover,
.stm-help-page button.stm-return-contact-card:focus,
.stm-help-page button.stm-return-contact-card:active {
    text-decoration: none !important;
}

.stm-help-page button.stm-return-contact-card strong,
.stm-help-page button.stm-return-contact-card:hover strong,
.stm-help-page button.stm-return-contact-card:focus strong,
.stm-help-page button.stm-return-contact-card:active strong {
    text-decoration: none !important;
}

.stm-help-page button.stm-return-contact-card:focus-visible {
    outline: 2px solid var(--help-accent);
}

/* Нижнее изображение */

.stm-help-page .wp-image-8107 {
    display: block;
    width: 100% !important;
    max-width: 1500px;
    height: 200px !important;
    margin: 20px 0 0 !important;
    object-fit: cover;
    object-position: center;
}

/* Планшеты */

@media (max-width: 1000px) {
    .stm-help-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stm-help-contact__methods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stm-help-page .stm-return-contact-card {
        grid-column: 1 / -1;
    }
}

/* Мобильные устройства */

@media (max-width: 600px) {
    .stm-help-page {
        font-size: 14px;
    }

    .stm-help-page .stm-help-intro p {
        font-size: 14px;
        line-height: 1.8;
    }

    .stm-help-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }

    .stm-help-page .stm-help-card > img {
        height: 190px;
    }

    .stm-help-card__body {
        padding: 18px;
    }

    .stm-help-page .stm-help-card h2 {
        font-size: 18px;
    }

    .stm-help-page .stm-help-card p {
        font-size: 13px;
    }

    .stm-help-page .stm-help-contact {
        margin-top: 26px;
        margin-bottom: 30px;
        padding: 21px 17px;
    }

    .stm-help-page .stm-help-contact > h2 {
        margin-bottom: 10px;
        font-size: 23px;
    }

    .stm-help-page .stm-help-contact__description {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .stm-help-contact__methods {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .stm-help-page .stm-help-contact-card,
    .stm-help-page .stm-return-contact-card {
        min-height: 88px;
        padding: 17px;
        gap: 13px;
    }

    .stm-help-contact-icon,
    .stm-return-contact-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .stm-help-contact-info small,
    .stm-return-contact-info small {
        font-size: 12px;
    }

    .stm-help-contact-info strong,
    .stm-return-contact-info strong {
        font-size: 15px;
    }

    .stm-help-page .stm-help-faq__header h2 {
        font-size: 22px;
    }

    .stm-help-page .stm-help-faq__header p {
        font-size: 13px;
    }

    .stm-help-page .stm-help-faq__item summary {
        gap: 10px;
        min-height: 62px;
        padding: 13px 11px;
        font-size: 13px;
    }

    .stm-help-faq__chevron {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .stm-help-page .stm-help-faq__answer {
        padding: 15px 12px 17px;
        font-size: 13px;
        line-height: 1.8;
    }

    .stm-help-page .wp-image-8107 {
        width: 100% !important;
        height: 180px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stm-help-page *,
    .stm-help-page *::before,
    .stm-help-page *::after {
        transition: none !important;
        animation: none !important;
    }
}



/* Зелёные кнопки карточек — постоянное скругление */
.stm-help-page a.stm-help-card__button,
.stm-help-page a.stm-help-card__button:link,
.stm-help-page a.stm-help-card__button:visited,
.stm-help-page a.stm-help-card__button:hover,
.stm-help-page a.stm-help-card__button:focus,
.stm-help-page a.stm-help-card__button:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: auto;
    padding: 12px 18px;

    border: 1px solid #1baa1d !important;
    border-radius: 5px !important;

    background: #1baa1d !important;
    color: #fff !important;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none !important;

    transition: background .2s, border-color .2s;
}

/* Изменение цвета при наведении без изменения скругления */
.stm-help-page a.stm-help-card__button:hover,
.stm-help-page a.stm-help-card__button:focus {
    border-color: #168b19 !important;
    border-radius: 5px !important;
    background: #168b19 !important;
    color: #fff !important;
    text-decoration: none !important;
}
