.stm-credit-page {
    --credit-blue: #001b72;
    --credit-accent: #315cff;
    --credit-light: #f3f6ff;
    --credit-border: #e1e7f3;
    --credit-text: #252b38;
    --credit-muted: #596579;

    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0;
    color: var(--credit-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

.stm-credit-page *,
.stm-credit-page *::before,
.stm-credit-page *::after {
    box-sizing: border-box;
}

.stm-credit-page h2,
.stm-credit-page h3 {
    margin-top: 0;
    font-family: inherit;
    text-transform: none;
}

.stm-credit-page h2 {
    color: #333333;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}

.stm-credit-page h3 {
    color: var(--credit-blue);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

.stm-credit-page p {
    margin: 0 0 15px;
}

.stm-credit-page a {
    color: var(--credit-accent);
    text-decoration: none;
    transition: color .2s ease;
}

.stm-credit-page a:hover {
    color: var(--credit-blue);
    text-decoration: underline;
}

.stm-credit-page svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ==========================================
   1. ВСТУПИТЕЛЬНОЕ ОПИСАНИЕ
========================================== */

.stm-credit-page .stm-credit-intro {
    width: 100%;
    margin: 0 0 30px;
}

.stm-credit-page .stm-credit-intro p {
    margin: 0;
    color: #444444 !important;
    font-size: 16px;
    line-height: 1.75;
}

.stm-credit-page .stm-credit-intro p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   2. ЗАГОЛОВКИ РАЗДЕЛОВ
========================================== */

.stm-credit-page .stm-credit-section {
    width: 100%;
    margin: 0 0 36px;
}

.stm-credit-page .stm-credit-section__title {
    margin: 0 0 18px;
    color: #333333 !important;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}

.stm-credit-page .stm-credit-section__description {
    margin: 0 0 20px;
    color: #444444 !important;
    font-size: 16px;
    line-height: 1.75;
}

/* ==========================================
   3. ИНФОРМАЦИОННЫЕ КАРТОЧКИ
========================================== */

.stm-credit-page .stm-credit-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

.stm-credit-page .stm-credit-card {
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--credit-border);
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.stm-credit-page .stm-credit-card:hover {
    border-color: #b9c9ff;
    box-shadow: 0 5px 18px rgba(0, 27, 114, .05);
}

.stm-credit-page .stm-credit-card__heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 17px;
}

.stm-credit-page .stm-credit-card__icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #edf2ff;
    color: var(--credit-accent);
}

.stm-credit-page .stm-credit-card__icon svg {
    width: 24px;
    height: 24px;
}

.stm-credit-page .stm-credit-card h3 {
    margin: 0;
    color: var(--credit-blue);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

.stm-credit-page .stm-credit-card__text {
    color: #444444;
    font-size: 15px;
    line-height: 1.75;
}

.stm-credit-page .stm-credit-card__text p:last-child {
    margin-bottom: 0;
}

/* Списки требований и преимуществ */

.stm-credit-page .stm-credit-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stm-credit-page .stm-credit-list li {
    position: relative;
    margin: 0;
    padding-left: 29px;
    color: #444444;
    font-size: 15px;
    line-height: 1.75;
}

.stm-credit-page .stm-credit-list li::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border: 1px solid #cbd7ff;
    background: #edf2ff;
    color: var(--credit-accent);
    content: "✓";
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

/* ==========================================
   4. УСЛОВИЯ КРЕДИТА
========================================== */

.stm-credit-page .stm-credit-terms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0 0 25px;
}

.stm-credit-page .stm-credit-term {
    min-width: 0;
    padding: 23px 20px;
    border: 1px solid var(--credit-border);
    border-top: 3px solid var(--credit-accent);
    border-radius: 0;
    background: #f8faff;
}

.stm-credit-page .stm-credit-term__value {
    display: block;
    margin-bottom: 7px;
    color: var(--credit-blue);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.stm-credit-page .stm-credit-term__label {
    display: block;
    color: var(--credit-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   5. КАК ОФОРМИТЬ ПОКУПКУ
========================================== */

.stm-credit-page .stm-credit-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.stm-credit-page .stm-credit-step {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--credit-border);
    border-radius: 0;
    background: #ffffff;
}

.stm-credit-page .stm-credit-step__number {
    display: flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    background: var(--credit-blue);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.stm-credit-page .stm-credit-step__content {
    flex: 1;
    min-width: 0;
}

.stm-credit-page .stm-credit-step h3 {
    margin: 0 0 8px;
    color: var(--credit-blue);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

.stm-credit-page .stm-credit-step p {
    margin: 0;
    color: #444444;
    font-size: 15px;
    line-height: 1.75;
}

/* ==========================================
   6. ССЫЛКА НА ПОДРОБНЫЕ УСЛОВИЯ
========================================== */

.stm-credit-page .stm-credit-more {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    margin: 30px 0 42px;
    padding: 23px 25px;
    border: 1px solid var(--credit-border);
    border-left: 4px solid var(--credit-accent);
    border-radius: 0;
    background: var(--credit-light);
}

.stm-credit-page .stm-credit-more__icon {
    flex: 0 0 26px;
    color: var(--credit-accent);
}

.stm-credit-page .stm-credit-more__content {
    flex: 1;
    min-width: 0;
}

.stm-credit-page .stm-credit-more h3 {
    margin: 0 0 8px;
    color: var(--credit-blue);
    font-size: 19px;
    font-weight: 600;
}

.stm-credit-page .stm-credit-more p {
    margin: 0 0 12px;
    color: #444444;
    font-size: 16px;
    line-height: 1.75;
}

.stm-credit-page .stm-credit-more__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.stm-credit-page .stm-credit-more__link svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
}

.wp-image-8107 {
    display: block;
    width: 100% !important;
    max-width: 1200px;
    height: 200px !important;
    margin-top: 20px !important;
    object-fit: cover;
    object-position: center;
}

/* ==========================================
   7. БЛОК «НЕ НАШЛИ НУЖНОГО ОТВЕТА?»
========================================== */

.stm-credit-page .stm-credit-contact {
    width: 100%;
    margin: 0 0 22px;
    padding: 29px 30px 30px;
    border: 1px solid var(--credit-border);
    border-radius: 0;
    background: #f2f5ff;
}

.stm-credit-page .stm-credit-contact__title {
    margin: 0 0 12px;
    color: #333333 !important;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}

.stm-credit-page .stm-credit-contact__description {
    width: 100%;
    margin: 0 0 22px;
    color: #444444 !important;
    font-size: 16px;
    line-height: 1.75;
}

.stm-credit-page .stm-credit-contact__methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin-top: 20px;
}

/* Общий стиль трёх карточек */

.stm-credit-page .stm-credit-method {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    min-width: 0;
    min-height: 105px;
    margin: 0;
    padding: 19px 20px;
    border: 1px solid #dce4f5;
    border-radius: 0;
    background: #ffffff;
    color: var(--credit-blue);
    text-align: left;
    text-decoration: none !important;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.stm-credit-page a.stm-credit-method:hover {
    border-color: #aabce9;
    color: var(--credit-blue);
    text-decoration: none !important;
    box-shadow: 0 5px 18px rgba(0, 27, 114, .05);
}

/* Третья карточка — кнопка открытия всплывающей формы */

.stm-credit-page button.stm-credit-method--question {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.stm-credit-page button.stm-credit-method--question:hover {
    border-color: #aabce9;
    background: #ffffff;
    color: var(--credit-blue);
    box-shadow: 0 5px 18px rgba(0, 27, 114, .05);
}

.stm-credit-page button.stm-credit-method--question:focus-visible {
    outline: 2px solid var(--credit-accent);
    outline-offset: 3px;
}

/* Иконки карточек */

.stm-credit-page .stm-credit-method__icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #f2f5ff;
    color: var(--credit-blue);
}

.stm-credit-page .stm-credit-method__icon svg {
    width: 24px;
    height: 24px;
}

/* Текст карточек */

.stm-credit-page .stm-credit-method__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    gap: 4px;
}

.stm-credit-page .stm-credit-method__label {
    display: block;
    color: #68748c;
    font-size: 13px;
    line-height: 1.5;
}

.stm-credit-page .stm-credit-method__content strong {
    display: block;
    max-width: 100%;
    color: var(--credit-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Текст третьей карточки */

.stm-credit-page .stm-credit-method__question-title {
    display: block;
    color: var(--credit-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.stm-credit-page button.stm-credit-method--question:hover
.stm-credit-method__question-title,
.stm-credit-page button.stm-credit-method--question:focus-visible
.stm-credit-method__question-title {
    color: var(--credit-accent);
    text-decoration: underline;
}

/* Стрелка у контактных ссылок */

.stm-credit-page .stm-credit-method__arrow {
    flex: 0 0 auto;
    margin-left: auto;
    color: #8b98b2;
    font-size: 22px;
}

/* Примечание под карточками */

.stm-credit-page .stm-credit-contact__note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 13px;
    border-left: 3px solid var(--credit-accent);
    background: #ffffff;
    color: #444444;
    font-size: 14px;
    line-height: 1.75;
}

.stm-credit-page .stm-credit-contact__note svg {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-top: 2px;
    color: var(--credit-accent);
}

.stm-credit-page .stm-credit-contact__note p {
    margin: 0;
    color: #444444;
    font-size: 14px;
    line-height: 1.75;
}


/* Текст «Задать вопрос» без подчёркивания и отдельных эффектов */
.stm-credit-method--question,
.stm-credit-method--question span,
.stm-credit-method--question:hover,
.stm-credit-method--question:hover span,
.stm-credit-method--question:focus,
.stm-credit-method--question:focus span {
    text-decoration: none !important;
}

/* Не допускаем изменения оформления текста при наведении */
.stm-credit-method--question span {
    color: inherit !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ==========================================
   8. АДАПТИВНОСТЬ: ПЛАНШЕТЫ
========================================== */

@media (max-width: 1000px) {
    .stm-credit-page .stm-credit-contact {
        padding: 25px 22px;
    }

    .stm-credit-page .stm-credit-contact__methods {
        gap: 12px;
    }

    .stm-credit-page .stm-credit-method {
        gap: 11px;
        padding: 16px 13px;
    }

    .stm-credit-page .stm-credit-method__icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .stm-credit-page .stm-credit-method__content strong,
    .stm-credit-page .stm-credit-method__question-title {
        font-size: 14px;
    }

    .stm-credit-page .stm-credit-method__arrow {
        font-size: 19px;
    }
}

@media (max-width: 850px) {
    .stm-credit-page .stm-credit-contact__methods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stm-credit-page .stm-credit-method:last-child {
        grid-column: 1 / -1;
    }
}

/* ==========================================
   9. АДАПТИВНОСТЬ: МОБИЛЬНЫЕ УСТРОЙСТВА
========================================== */

@media (max-width: 600px) {
    .stm-credit-page {
        font-size: 15px;
        line-height: 1.65;
    }

    .stm-credit-page .stm-credit-intro p {
        font-size: 15px;
        line-height: 1.75;
    }

    .stm-credit-page .stm-credit-section {
        margin-bottom: 27px;
    }

    .stm-credit-page .stm-credit-section__title {
        margin-bottom: 16px;
        font-size: 23px;
    }

    .stm-credit-page .stm-credit-section__description {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.65;
    }

    .stm-credit-page .stm-credit-cards,
    .stm-credit-page .stm-credit-terms,
    .stm-credit-page .stm-credit-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .stm-credit-page .stm-credit-card {
        padding: 20px;
    }

    .stm-credit-page .stm-credit-card h3,
    .stm-credit-page .stm-credit-step h3 {
        font-size: 18px;
    }

    .stm-credit-page .stm-credit-card__text,
    .stm-credit-page .stm-credit-list li,
    .stm-credit-page .stm-credit-step p {
        font-size: 14px;
    }

    .stm-credit-page .stm-credit-term {
        padding: 19px;
    }

    .stm-credit-page .stm-credit-term__value {
        font-size: 23px;
    }

    .stm-credit-page .stm-credit-step {
        gap: 12px;
        padding: 18px;
    }

    .stm-credit-page .stm-credit-step__number {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .stm-credit-page .stm-credit-more {
        margin: 23px 0 30px;
        padding: 18px 15px;
        gap: 11px;
    }

    .stm-credit-page .stm-credit-more h3 {
        font-size: 18px;
    }

    .stm-credit-page .stm-credit-more p {
        font-size: 15px;
    }

    .stm-credit-page .stm-credit-more__link {
        font-size: 14px;
    }

    /* Нижний контактный блок */

    .stm-credit-page .stm-credit-contact {
        margin-bottom: 15px;
        padding: 21px 17px;
    }

    .stm-credit-page .stm-credit-contact__title {
        margin-bottom: 10px;
        font-size: 23px;
        font-weight: 600;
    }

    .stm-credit-page .stm-credit-contact__description {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.65;
    }

    .stm-credit-page .stm-credit-contact__methods {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 18px;
    }

    .stm-credit-page .stm-credit-method,
    .stm-credit-page .stm-credit-method:last-child {
        grid-column: auto;
        min-height: 88px;
        padding: 17px;
        gap: 13px;
    }

    .stm-credit-page .stm-credit-method__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .stm-credit-page .stm-credit-method__icon svg {
        width: 23px;
        height: 23px;
    }

    .stm-credit-page .stm-credit-method__label {
        font-size: 13px;
    }

    .stm-credit-page .stm-credit-method__content strong,
    .stm-credit-page .stm-credit-method__question-title {
        font-size: 16px;
    }

    .stm-credit-page .stm-credit-method__arrow {
        font-size: 21px;
    }

    .stm-credit-page .stm-credit-contact__note {
        padding: 11px;
        font-size: 13px;
    }

    .stm-credit-page .stm-credit-contact__note p {
        font-size: 13px;
    }
	
		.wp-image-8107 {
				width: 100% !important;
        height: 180px !important;
    }
}

/* ==========================================
   10. ДОСТУПНОСТЬ
========================================== */

@media (prefers-reduced-motion: reduce) {
    .stm-credit-page *,
    .stm-credit-page *::before,
    .stm-credit-page *::after {
        transition: none !important;
        animation: none !important;
    }
}