@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Regular.eot');
    src: local('Gilroy Regular'), local('fonts/Gilroy-Regular'),
    url('fonts/Gilroy-Regular.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-Regular.woff2') format('woff2'),
    url('fonts/Gilroy-Regular.woff') format('woff'),
    url('fonts/Gilroy-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-ExtraboldItalic.eot');
    src: local('Gilroy Extrabold Italic'), local('fonts/Gilroy-ExtraboldItalic'),
    url('fonts/Gilroy-ExtraboldItalic.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-ExtraboldItalic.woff2') format('woff2'),
    url('fonts/Gilroy-ExtraboldItalic.woff') format('woff'),
    url('fonts/Gilroy-ExtraboldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Bold.eot');
    src: local('Gilroy Bold'), local('fonts/Gilroy-Bold'),
    url('fonts/Gilroy-Bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-Bold.woff2') format('woff2'),
    url('fonts/Gilroy-Bold.woff') format('woff'),
    url('fonts/Gilroy-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Black.eot');
    src: local('Gilroy Black'), local('fonts/Gilroy-Black'),
    url('fonts/Gilroy-Black.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-Black.woff2') format('woff2'),
    url('fonts/Gilroy-Black.woff') format('woff'),
    url('fonts/Gilroy-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Light.eot');
    src: local('Gilroy Light'), local('fonts/Gilroy-Light'),
    url('fonts/Gilroy-Light.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-Light.woff2') format('woff2'),
    url('fonts/Gilroy-Light.woff') format('woff'),
    url('fonts/Gilroy-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Semibold.eot');
    src: local('Gilroy Semibold'), local('fonts/Gilroy-Semibold'),
    url('fonts/Gilroy-Semibold.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-Semibold.woff2') format('woff2'),
    url('fonts/Gilroy-Semibold.woff') format('woff'),
    url('fonts/Gilroy-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Medium.eot');
    src: local('Gilroy Medium'), local('fonts/Gilroy-Medium'),
    url('fonts/Gilroy-Medium.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-Medium.woff2') format('woff2'),
    url('fonts/Gilroy-Medium.woff') format('woff'),
    url('fonts/Gilroy-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-MediumItalic.eot');
    src: local('Gilroy Medium Italic'), local('fonts/Gilroy-MediumItalic'),
    url('fonts/Gilroy-MediumItalic.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-MediumItalic.woff2') format('woff2'),
    url('fonts/Gilroy-MediumItalic.woff') format('woff'),
    url('fonts/Gilroy-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-BlackItalic.eot');
    src: local('Gilroy Black Italic'), local('fonts/Gilroy-BlackItalic'),
    url('fonts/Gilroy-BlackItalic.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-BlackItalic.woff2') format('woff2'),
    url('fonts/Gilroy-BlackItalic.woff') format('woff'),
    url('fonts/Gilroy-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-UltraLight.eot');
    src: local('Gilroy UltraLight'), local('fonts/Gilroy-UltraLight'),
    url('fonts/Gilroy-UltraLight.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-UltraLight.woff2') format('woff2'),
    url('fonts/Gilroy-UltraLight.woff') format('woff'),
    url('fonts/Gilroy-UltraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-RegularItalic.eot');
    src: local('Gilroy Regular Italic'), local('fonts/Gilroy-RegularItalic'),
    url('fonts/Gilroy-RegularItalic.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-RegularItalic.woff2') format('woff2'),
    url('fonts/Gilroy-RegularItalic.woff') format('woff'),
    url('fonts/Gilroy-RegularItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-SemiboldItalic.eot');
    src: local('Gilroy Semibold Italic'), local('fonts/Gilroy-SemiboldItalic'),
    url('fonts/Gilroy-SemiboldItalic.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-SemiboldItalic.woff2') format('woff2'),
    url('fonts/Gilroy-SemiboldItalic.woff') format('woff'),
    url('fonts/Gilroy-SemiboldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-HeavyItalic.eot');
    src: local('Gilroy Heavy Italic'), local('fonts/Gilroy-HeavyItalic'),
    url('fonts/Gilroy-HeavyItalic.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-HeavyItalic.woff2') format('woff2'),
    url('fonts/Gilroy-HeavyItalic.woff') format('woff'),
    url('fonts/Gilroy-HeavyItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Extrabold.eot');
    src: local('Gilroy Extrabold'), local('fonts/Gilroy-Extrabold'),
    url('fonts/Gilroy-Extrabold.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-Extrabold.woff2') format('woff2'),
    url('fonts/Gilroy-Extrabold.woff') format('woff'),
    url('fonts/Gilroy-Extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-BoldItalic.eot');
    src: local('Gilroy Bold Italic'), local('fonts/Gilroy-BoldItalic'),
    url('fonts/Gilroy-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-BoldItalic.woff2') format('woff2'),
    url('fonts/Gilroy-BoldItalic.woff') format('woff'),
    url('fonts/Gilroy-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-UltraLightItalic.eot');
    src: local('Gilroy UltraLight Italic'), local('fonts/Gilroy-UltraLightItalic'),
    url('fonts/Gilroy-UltraLightItalic.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-UltraLightItalic.woff2') format('woff2'),
    url('fonts/Gilroy-UltraLightItalic.woff') format('woff'),
    url('fonts/Gilroy-UltraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-LightItalic.eot');
    src: local('Gilroy Light Italic'), local('fonts/Gilroy-LightItalic'),
    url('fonts/Gilroy-LightItalic.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-LightItalic.woff2') format('woff2'),
    url('fonts/Gilroy-LightItalic.woff') format('woff'),
    url('fonts/Gilroy-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Heavy.eot');
    src: local('Gilroy Heavy'), local('fonts/Gilroy-Heavy'),
    url('fonts/Gilroy-Heavy.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-Heavy.woff2') format('woff2'),
    url('fonts/Gilroy-Heavy.woff') format('woff'),
    url('fonts/Gilroy-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Thin.eot');
    src: local('Gilroy Thin'), local('fonts/Gilroy-Thin'),
    url('fonts/Gilroy-Thin.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-Thin.woff2') format('woff2'),
    url('fonts/Gilroy-Thin.woff') format('woff'),
    url('fonts/Gilroy-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-ThinItalic.eot');
    src: local('Gilroy Thin Italic'), local('fonts/Gilroy-ThinItalic'),
    url('fonts/Gilroy-ThinItalic.eot?#iefix') format('embedded-opentype'),
    url('fonts/Gilroy-ThinItalic.woff2') format('woff2'),
    url('fonts/Gilroy-ThinItalic.woff') format('woff'),
    url('fonts/Gilroy-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

/* ====== Шрифт по умолчанию: Gilroy ====== */
body {
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    line-height: 140%;
    color: #333;
    background-color: #fff;
    margin: 0;
    overflow-x: hidden;
}

html, body {
    height: 100%;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

/* ====== Сброс ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ====== Ссылки ====== */
a {
    color: #ed7f27;
    font-weight: 500;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ====== Заголовки ====== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 2.25rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

.title {
    color: #333;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
}

/* ====== Текст ====== */
p {
    margin-bottom: 1em;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

.text--green {
    color: #3d9322;
}

.text--orange {
    color: #ed7f27;
}

.text--cream {
    color: #ffffa7;
}

.text--gray {
    color: #818181;
}

/* ====== Списки ====== */
ul, ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.5em;
}

/* ====== Формы ====== */
input, textarea, select, button {
    color: #898989;
    font-family: inherit;
    font-size: 1em;
    padding: 1em 1.5em;
    border: 1px solid #e3e3e3;
    border-radius: 4px;

}

input:focus:not([type="submit"]), textarea:focus, select:focus {
    outline: none;
    border-color: #3d9322;
    box-shadow: 0 0 0 2px rgba(61, 147, 34, 0.2);
}

button {
    cursor: pointer;
    background-color: #007BFF;
    color: #fff;
    border: none;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #0056b3;
}
@media (max-width: 1200px) {
    input, textarea, select, button {
        padding: .8em 1.25em;
        font-size: 14px;
    }
}
/* ====== Изображения ====== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ====== Контейнер ====== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.font--italic {
    font-style: italic;
}

.width--wide {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
}

.margin-vertical {
    margin-top: 50px;
    margin-bottom: 50px;
}

@media (max-width: 1200px) {
    .margin-vertical {
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

blockquote {
    padding: 30px 37px;
    border-radius: 30px;
    background: #fffbcc;
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 20px;
    font-style: italic;
    font-weight: 500;
}

blockquote::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: url("/wp-content/themes/mentalpress/assets/new-images/blocks/blog-warning-sign.svg");
}

/* ====== Адаптивность ====== */
@media (max-width: 1200px) {
    .title {
        font-size: 30px;
        line-height: 130%;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 30px;
    }
}

@media (max-width: 758px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 30px;
    }

    body {
        font-size: 14px;
    }

    .container {
        padding: 0 20px;
        margin: 0;
    }

    blockquote {
        padding: 30px;
        font-size: 16px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    button, input, textarea {
        font-size: 14px;
    }
}

/** Типография */
.typography.font--big {
    font-size: 20px;
    line-height: 130%;
}

.typography.font--big p strong {
    font-size: 24px;
    font-weight: 500;
}

.typography .frame {
    margin-bottom: 30px;
    border-radius: 30px;
    padding: 25px 40px;
    background-color: #f4fff1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.typography p {
    margin-bottom: 30px;
}

.typography ol,
.typography ul:not(.slick-dots) {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.typography .frame_ul--row ul:not(.slick-dots) {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

.typography.list-column ol,
.typography.list-column ul:not(.slick-dots) {
    display: block;
    margin: 40px 0;
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    column-gap: 20px;
}

.typography.list-column .frame ol,
.typography.list-column .frame ul:not(.slick-dots) {
    margin: 0;
}

.typography ul:not(.slick-dots) li,
.typography ol li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.typography.list-column .frame ol li,
.typography.list-column ol li {
    margin-bottom: 20px;
}

.typography .frame_ul--row ul:not(.slick-dots) li {
    width: calc(33% - 20px);
}

.typography ul:not(.slick-dots) li::before {
    content: '';
    flex-shrink: 0;
    display: block;
    width: 57px;
    height: 57px;
    background-repeat: no-repeat;
    background-position: center;
}

.typography li:nth-child(odd)::before {
    background: url("/wp-content/themes/mentalpress/assets/new-images/design/li-marker-fill-odd.svg");
}

.typography li:nth-child(even)::before {
    background: url("/wp-content/themes/mentalpress/assets/new-images/design/li-marker-fill-even.svg");
}

.typography .frame li:nth-child(odd)::before {
    background: url("/wp-content/themes/mentalpress/assets/new-images/design/li-marker-odd.svg");
}

.typography .frame li:nth-child(even)::before {
    background: url("/wp-content/themes/mentalpress/assets/new-images/design/li-marker-even.svg");
}

.typography.list-column ul:not(.slick-dots) li {
    min-width: calc(50% - 10px);
    margin-bottom: 20px;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.typography .ul-two-column ul {
    flex-direction: row;
    flex-wrap: wrap;
}

.ul-two-column ul li {
    width: calc(50% - 10px);
}

.typography .ul-two-column li:nth-child(4n + 1)::before,
.typography .ul-two-column li:nth-child(4n + 2)::before
{
    background: url(/wp-content/themes/mentalpress/assets/new-images/design/li-marker-odd.svg);
}

.typography .ul-two-column li:nth-child(4n + 3)::before,
.typography .ul-two-column li:nth-child(4n + 4)::before
{
    background: url(/wp-content/themes/mentalpress/assets/new-images/design/li-marker-even.svg);
}

.typography .frame a {
    color: #3d9322;
}

.typography .frame p {
    margin-bottom: 0;
}

.counter-list-wrapper {
    counter-reset: structure-counter;
}

.typography:not(:has(.counter-list-wrapper)) ol {
    counter-reset: structure-counter;
}

ol li {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
}

.typography .frame ol li::before,
ol li::before {
    counter-increment: structure-counter;
    content: counter(structure-counter);
    flex-shrink: 0;
    width: 57px;
    height: 57px;
    background: none !important;
    border-radius: 50px;
    border: 2px dashed #3d9322;
    color: #3d9322;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 130%;
}

.typography blockquote p {
    margin: 0;
}

@media (max-width: 1000px) {
    .typography.list-column ol,
    .typography.list-column ul:not(.slick-dots) {
        display: flex;
        columns: unset;
        -webkit-columns: unset;
        -moz-columns: unset;
    }

    .typography.list-column li {
        min-width: unset;
        margin-bottom: 0;
    }

    .typography .frame_ul--row ul:not(.slick-dots) {
        gap: 20px;
    }

    .typography .frame_ul--row ul:not(.slick-dots) li {
        width: 100%;
    }

    .typography.list-column ol {
        display: block;
        columns: 2;
    }

    .typography.list-column ol li {
        margin-bottom: 20px;
    }
}

@media (max-width: 758px) {
    .typography.font--big {
        font-size: 16px;
    }

    .typography.font--big p strong {
        font-size: 21px;
    }

    .typography .frame {
        padding: 26px 24px;
    }

    .typography .frame ul:not(.slick-dots) li {
        align-items: flex-start;
    }

    .ul-two-column ul {
        flex-direction: column;
    }

    .ul-two-column ul li {
        width: 100%;
    }

    .typography .ul-two-column li:nth-child(odd)::before {
        background: url(/wp-content/themes/mentalpress/assets/new-images/design/li-marker-odd.svg);
    }

    .typography .ul-two-column li:nth-child(even)::before {
        background: url(/wp-content/themes/mentalpress/assets/new-images/design/li-marker-even.svg);
    }

    .typography.list-column ol {
        display: flex;
        columns: unset;
    }

    .typography.list-column ol li {
        margin-bottom: 0;
    }

    .typography.list-column .frame ol li,
    .typography.list-column ol li {
        margin-bottom: 0;
    }
}
/** Типография – Конец */

/** Хедер */
.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding-top: 20px;
    padding-bottom: 28px;
}

.header__middle {
    display: none;
}

.header__bottom {
    display: none;
}

.header__logo {
    width: fit-content;
}

.header__contacts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.contacts__column {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
}

.contacts__column--text {
    gap: 24px;
}

.contacts__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.contacts__info {
    display: flex;
    flex-direction: column;
}

.contacts__column--text .contacts__info {
    gap: 3px;
}

.contacts__link {
    color: #333;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.contacts__link:hover {
    text-decoration: none;
}

.contacts__text {
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.header__buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.button {
    width: 209px;
    height: fit-content;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-radius: 70px;
    background: #3d9322;
    padding: 2px 3px;
    cursor: pointer;
}

.content .button:not(.button--disabled):hover {
    background: #ed7f27;
}

.button input {
    background: #3d9322;
    cursor: pointer;
}

.button--orange,
.button--orange input {
    background: #ed7f27;
}

.content .button--orange:not(.button--disabled):hover,
.content .button--orange:not(.button--disabled):hover input {
    background: #3d9322;
}

.button--disabled,
.button--disabled input {
    cursor: not-allowed;
}

.button--light-green,
.button--light-green input {
    background: #76ba61;
}

.button__link, .button__link:hover {
    display: block;
    width: 203px;
    color: #fff;
    padding: 13px;
    border-radius: 60px;
    border: 1px dashed #fff;
    text-decoration: none;
}

.buttons__round {
    display: none;
}

.round__link {
    display: none;
}

.menu__burger {
    display: none;
}

@media (max-width: 1200px) {
    .header__top {
        background: #f4fff1;
    }

    .contacts__column--desktop {
        display: none;
    }

    .contacts__link {
        font-size: 16px;
    }

    .contacts__text {
        font-size: 10px;
    }

    .header__buttons {
        flex-direction: column;
        gap: 3px;
    }

    .button {
        width: 171px;
        font-size: 13px;
    }

    .button__link, .button__link:hover {
        width: 166px;
        padding: 11px;
    }

    .buttons__round {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 10px;
    }

    .menu__burger {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .burger--hide {
        display: none;
    }

    .burger--open {
        display: flex;
    }

}

@media (max-width: 758px) {
    .header__top {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header__contacts {
        display: none;
    }

    .header__buttons {
        display: none;
    }

    .round__link {
        display: block;
    }

    .phone__mobile {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .menu__burger img {
        width: auto;
        height: auto;
    }
}

/** Меню */
.header__menu--desktop {
    background: #3d9322;
}

.header__menu {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.header__menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu__top--desktop {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu__top--desktop li {
    margin: 0;
    cursor: pointer;
}

.menu__top--desktop a {
    color: #fff;
    padding: 1rem 10px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
}

.menu__top--desktop li:hover a {
    background: #ed7f27;
    text-decoration: none;
}

.menu__top--desktop .menu-item-has-children {
    position: relative;
}

.menu__top--desktop .menu-item-has-children a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
}

.menu__top--desktop .menu-item-has-children > a:after {
    content: '';
    display: block;
    width: 10px;
    height: 7px;
    background-image: url("/wp-content/themes/mentalpress/assets/new-images/design/menu-arrow.svg");
}

.menu__top--desktop .sub-menu {
    display: none;
}

.menu__top--desktop .sub-menu.sub-menu--open {
    position: absolute;
    top: 100%;
    padding: 24px 25px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    background: #ed7f27;
    z-index: 1;
}

.menu__top--desktop li:last-child .sub-menu.sub-menu--open {
    right: 0;
}

.menu__top--desktop .sub-menu a {
    padding: 0;
    white-space: nowrap;
}

.menu__top--desktop .sub-menu a:hover {
    color: #ffffa7;
}

.contacts__row--mobile {
    display: none;
}

@media (max-width: 1200px) {
    .header__menu--desktop {
        display: none;
    }

    .header__bottom {
        display: block;
    }

    .header__menu--mobile {
        background: #fffbcc;
        padding: 38px 30px 48px;
    }

    .header__menu--mobile ul {
        margin: 0;
        list-style: none;
    }

    .header__menu--mobile li {
        margin-bottom: 0;
    }

    .header__menu--mobile a {
        padding: 0;
        color: #3d9322;
        font-size: 17px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
    }

    .header__menu--mobile .sub-menu {
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
        padding-left: 0.7rem;
    }

    .header__menu--mobile .sub-menu a {
        color: #ed7f27;
        font-size: 13px;
    }

    .menu__top--mobile {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
    }

    .menu__column {
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }

    .menu__footer {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        padding: 45px 35px;
        background: #f4fff1;
    }

    .menu__footer .contacts__text {
        color: #333;
        font-size: 12px;
    }

    .header__block--hide {
        display: none;
    }
}

@media (max-width: 758px) {
    .header__middle {
        display: flex;
        background: #f4fff1;
        padding: 3px 20px 15px;
    }

    .header__middle .header__buttons {
        display: flex;
        flex-direction: row;
    }

    .header__middle .button {
        width: 166px;
        padding: 2px 3px;
    }

    .header__middle .button__link, .button__link:hover {
        width: 160px;
        padding: 8px;
    }

    .header__menu--mobile {
        padding: 30px 20px;
    }

    .menu__top--mobile {
        flex-direction: column;
    }

    .menu__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 32px 20px;
    }

    .contacts__row--mobile {
        display: flex;
    }

    .menu__footer .contacts__text.text--gray {
        color: #818181;
    }

    .menu__footer .contacts__text.contacts__text--small {
        font-size: 10px;
    }

    .header__block--hide {
        display: none;
    }
}

@media (max-width: 370px) {
    .header__middle .header__buttons {
        flex-direction: column;
    }
}

/** Хлебные крошки */
ol.breadcrumbs {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 5px;
    font-size: 14px;
}

ol.breadcrumbs li {
    margin: 0;
}

ol.breadcrumbs li:before {
    content: none;
}

@media (max-width: 758px) {
    ol.breadcrumbs {
        font-size: 12px;
    }
}

/** Контент страницы */
.content__header {
    margin: 39px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 758px) {
    .content__header {
        margin: 21px 0;
        gap: 20px;
    }
}

/** Футер */
.footer {
    background: #3d9322;
}

.footer__block {
    padding: 52px 20px;
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.footer__block p {
    margin: 0;
}

.footer__block a {
    color: #fff;
}

.footer__block .hr {
    height: 1px;
    margin: 24px 0;
    background: rgba(255, 255, 255, 0.50);
}

.footer__main {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer__column {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__contacts {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 9px;
    width: 35%;
}

.footer__contacts .contacts__row {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
}

.footer__contacts .contacts__text {
    color: #fff;
}

.contacts__text.text--cream {
    color: #ffffa7;
}

.contact {
    display: flex;
    gap: 10px;
    align-items: center;
}

.contact__first {
    width: 52%;
}

.line {
    width: 1px;
    background: #dedede;
}

.desktop--hide {
    display: none;
}

.footer__socials {
    display: flex;
    gap: 5px;
}

.footer__text {
    max-width: 490px;
    font-size: 13px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer__bottom ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__bottom ul li {
    margin: 0;
}

.bottom__column,
.bottom__column .menu,
.bottom__column .pixel {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.flex--column {
    flex-direction: column;
}

.align--center {
    align-items: center;
}

@media (max-width: 1200px) {
    .desktop--hide {
        display: inherit;
    }

    .tablet--hide {
        display: none;
    }

    .footer__block {
        padding: 40px;
    }

    .footer__main {
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer__contacts {
        width: 70%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 17px;
        row-gap: 10px;
    }

    .footer__contacts .contacts__row {
        gap: 17px;
        row-gap: 10px;
    }

    .contact__first {
        width: fit-content;
    }

    .contacts__row:not(:last-child) .contact {
        min-height: 38px;
    }

    .footer__main .contacts__row:not(:last-child) {
        flex-direction: column;
    }

    .contacts__row:last-child .contact {
        min-width: 160px;
    }

    .footer__contacts .contacts__link {
        font-size: 20px;
    }

    .footer__contacts .contacts__text {
        font-size: 12px;
    }

    .footer__text {
        width: 100%;
        max-width: unset;
        gap: 24px;
        text-align: center;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 758px) {
    .footer__block {
        padding: 30px 20px;
    }

    .footer__column {
        width: 100%;
        justify-content: space-between;
        flex-direction: row;
    }

    .footer__contacts,
    .footer__text {
        width: 100%;
        flex-direction: column;
    }

    .footer__main .contacts__row:last-child {
        order: 2;
        justify-content: space-between;
    }

    .contacts__row:last-child .contact {
        min-width: unset;
    }

    .footer__main .contacts__row:nth-child(2) {
        order: 3;
    }

    .footer__buttons {
        gap: 4px;
    }

    .button {
        width: 166px;
    }

    .button__link, .button__link:hover {
        width: 160px;
        padding: 9px;
    }

    .footer__bottom {
        text-align: center;
    }

    .bottom__column:first-child {
        width: 70%;
        gap: 5px;
    }

    .bottom__column .menu {
        flex-direction: column;
        font-size: 12px;
        line-height: 24px;
        gap: 0;
    }

    .bottom__column:nth-child(2) {
        line-height: 24px;
    }

    .bottom__column .pixel {
        text-align: start;
    }
}

/** Слайдер */
.cirpp-slider {
    position: relative;
}

.cirpp-slider .slick-slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cirpp-slider .slick-dotted.slick-slider {
    margin-bottom: 0;
}

.cirpp-slider .slick-track {
    display: flex;
    padding: 10px 0 20px;
}

.cirpp-slider__navigation {
    position: absolute;
    top: 50%;
    left: -20px;
    display: flex;
    justify-content: space-between;
    width: calc(100% + 40px);
}

.cirpp-slider__button {
    width: fit-content;
}

.cirpp-slider__button:not(.slick-disabled) {
    cursor: pointer;
}

.cirpp-slider__button-prev {
    transform: rotate(180deg);
}

.cirpp-slider .slick-dots {
    position: unset;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cirpp-slider .slick-dots li {
    width: 12px;
    height: 11px;
}

.cirpp-slider .slick-dots li button {
    width: 12px;
    height: 11px;
    padding: 0;
}

.cirpp-slider .slick-dots li button:before {
    content: '';
    width: 12px;
    height: 11px;
    display: block;
    background: url("/wp-content/themes/mentalpress/assets/new-images/design/slider-dot.svg");
    background-position: center;
    background-repeat: no-repeat;
}

.cirpp-slider .slick-dots li.slick-active button:before {
    background: url("/wp-content/themes/mentalpress/assets/new-images/design/slider-dot-active.svg");
}

@media (max-width: 1200px) {
    .cirpp-slider__navigation {
        left: 20px;
        width: calc(100% - 40px);
    }
}
/** Слайдер – Конец */

/** Формы 'Задать вопрос' и 'Оставить заявку' */
.form {
    padding: 60px 0;
}

.form--wide {
    padding: 42px 0;
}

.form__body {
    border-radius: 30px;
    background: #fffbcc;
    padding: 20px 36px 20px 27px;
    display: flex;
    gap: 35px;
}

.form__picture {
    flex-shrink: 0;
    max-width: 243px;
}

.form--tablet,
.form--mobile {
    display: none;
}

.form__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form__header {
    display: flex;
}

.header--flex-block {
    display: flex;
}

.form__title {
    color: #333;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.form__fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.field__row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.field__row span:not(.wpcf7-spinner) {
    width: 100%;
}

.field__row .wpcf7-spinner {
    background-color: #3d9322;
    margin: 0;
}

.field__column {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.button__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.form__description {
    font-size: 20px;
}

.field__row span.wpcf7-not-valid-tip {
    color: #ed7f27;
    padding: 10px 0 0 25px;
}

.field__row input:not([type='submit']),
.field__row textarea,
.field__row span input,
.field__row span select,
.field__row span textarea {
    width: 100%;
    border-radius: 40px;
    background: #fff;
}

.field__row input.error,
.field__row span input.wpcf7-not-valid:not(:focus),
.field__row span textarea.wpcf7-not-valid:not(:focus) {
    border: 1px solid #ed7f27;
}

.field__row span select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("/wp-content/themes/mentalpress/assets/new-images/design/form-select-arrow.svg");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 13px 7px;
    padding-right: 18px;
    cursor: pointer;
}

.field__row span input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("/wp-content/themes/mentalpress/assets/new-images/design/form-calendar.svg");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px 21px;
    padding-right: 18px;
}

.field__row span input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 40px;
    height: 100%;
    cursor: pointer;
}

.field__row textarea,
.field__row span textarea {
    resize: none;
    overflow: hidden;
}

.form__request input.wpcf7-validates-as-required {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctext x='12' y='18' font-size='20' text-anchor='middle' fill='%23ff0000'%3E*%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.form__request .wpcf7-form-control-wrap.recaptcha {
    width: fit-content;
    margin: 0 auto;
}

.wpcf7-form-control-wrap[data-name^="acceptance-"],
span[data-name^="acceptance-"] {
    margin-top: 15px;
    font-size: 15px;
}

.wpcf7-form-control-wrap[data-name^="acceptance-"] .wpcf7-list-item {
    margin: 0;
}

.field__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.field__checkbox + .wpcf7-list-item-label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    display: inline-block;
    line-height: 1.4;
}

.field__checkbox + .wpcf7-list-item-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(50% - 8px);
    width: 16px;
    height: 16px;
    background-image: url("/wp-content/themes/mentalpress/assets/new-images/design/form-checkbox.svg");
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.field__checkbox:checked + .wpcf7-list-item-label::before {
    background-image: url("/wp-content/themes/mentalpress/assets/new-images/design/form-checkbox-checked.svg");
}

.field__row a {
    color: #3d9322;
}

form .field__row .wpcf7-response-output {
    margin: 0;
    width: 100%;
}

form.invalid .field__row .wpcf7-response-output {
    border-color: #ed7f27;
}

.form__text-error {
    display: none;
}

.form__text-error.active {
    display: flex;
    padding: 0.2em 1em;
    border: 2px solid #ed7f27;
}

.field {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field .field--error {
    color: #ed7f27;
    padding-left: 25px;
}

.wpcf7-form-control-wrap[data-name="your-last-name"] {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

@media (max-width: 1200px) {
    .form:not(.form__request) {
        padding: 30px;
    }

    .form--wide {
        padding: 12px 0;
    }

    .form--desktop {
        display: none;
    }

    .form--tablet {
        display: flex;
        width: 103px;
    }

    .form__content {
        width: 100%;
    }

    .form__body {
        padding: 35px 20px;
        gap: 0;
    }

    .form--wide .form__body {
        padding: 25px 20px;
    }

    .form:not(.form__request) .form__header {
        justify-content: center;
        align-items: center;
    }

    .header--flex-block {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .form__title {
        font-size: 30px;
    }

    .form__description {
        font-size: 18px;
    }

    .field__row {
        justify-content: center;
        text-align: center;
    }

    .field__row .button__link {
        padding: 9px;
    }

    .form__request .field__row {
        text-align: left;
    }

    .form__request .field__row span textarea {
        border-radius: 30px;
    }

    .form__text {
        font-size: 13px;
    }

    .wpcf7-form-control-wrap[data-name^="acceptance-"] {
        margin-top: 10px;
        font-size: 13px;
    }
}

@media (max-width: 1100px) {
    .field__row span.wpcf7-form-control-wrap[data-name^="acceptance-"] {
        margin-top: 0;
        width: 70%;
    }

    .form__request-footer {
        justify-content: flex-start;
    }
}

@media (max-width: 991px) {
    .form:not(.form--wide):not(.form__request) .header--flex-block {
        width: 75%;
    }

    .form__request .form__body {
        padding: 40px 80px;
    }

    .form__request .field__row {
        flex-wrap: wrap;
        gap: 20px;
    }

    .form__request .field__row:not(.field__row_with-column):not(.form__request-footer)
    span.wpcf7-form-control-wrap {
        width: calc(50% - 10px);
        flex-grow: 1;
    }

    .field__row_with-column {
        flex-direction: column;
    }

    .field__column {
        width: 100%;
    }

    .form__request-footer {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .field__row span.wpcf7-form-control-wrap[data-name^="acceptance-"] {
        width: 100%;
    }

    .form__request-footer .button__wrapper {
        flex-direction: row;
    }
}

@media (max-width: 758px) {
    .form {
        padding: 37px 20px;
    }

    .form--wide {
        padding: 22px 0;
    }

    .form__body {
        padding: 23px 33px;
    }

    .form__request .form__body {
        padding: 28px 24px;
    }

    .header--flex-block {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .form--mobile {
        display: flex;
    }

    .form--tablet,
    .form--mobile {
        width: 165px;
    }

    .form__title {
        text-align: center;
    }

    .field__row {
        flex-direction: column;
    }

    .form__request .field__row {
        gap: 15px;
    }

    .form__request-footer {
        flex-direction: column-reverse;
    }

    .field__row label {
        font-size: 12px;
        text-align: center;
    }

    .form__request-footer.field__row label {
        text-align: left;
    }

    form.invalid .field__row .wpcf7-response-output {
        text-align: center;
    }

    .field__row span.wpcf7-not-valid-tip {
        text-align: center;
        padding: 5px 0 0;
    }

    .form__request
    .field__row:not(.field__row_with-column):not(.form__request-footer)
    span.wpcf7-form-control-wrap {
        width: 100%;
    }
}
/** Формы 'Задать вопрос' и 'Оставить заявку' – Конец */

/** Блок телефонов/времени работы */
.contacts-content__block {
    margin: 20px 0;
    display: flex;
    gap: 40px;
}

.contacts-content__item {
    display: flex;
    gap: 10px;
}

.contacts-content__icon {
    margin-top: 10px;
}

.contacts-content__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contacts-content__info-title {
    color: #818181;
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
}

.contacts-content__info-text {
    font-weight: 500;
}

.contacts-content__info-text a {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
}

.contacts-content__info-text a:hover {
    color: #333;
}

@media (max-width: 758px) {
    .contacts-content__block {
        flex-direction: column;
        gap: 20px;
    }
}
/** Блок телефонов/времени работы */

.text--red {
    color: #ff0f00;
}

.link--green {
    color: #3d9322;
}

.background--orange,
.typography .frame.background--orange {
    background-color: #fffbcc;
}

.background--light-green {
    background-color: #f4fff1;
}

.error-404 {
    margin: 0 auto;
}


/** Стили старого попапа (пока нового нет) */
#pum-14451 {
    background: rgba(0, 0, 0, 0.7)
}

#popmake-14451 {
    padding: 30px 30px 28px 30px;
    width: 335px;
    min-height: 262px;
    border-radius: 5px;
    background-color: #fff
}

#popmake-14451 button.pum-close.popmake-close {
    width: 17px;
    height: 17px;
    background: url(/wp-content/themes/mentalpress/assets/images/popup_close.png) no-repeat;
    top: 11px;
    right: 9px;
    box-shadow: unset
}

#popmake-14451 div.callback_title {
    text-align: center;
    font-size: 21px;
    color: #000000;
    margin-bottom: 20px
}

#popmake-14451 input.callback_name.wpcf7-not-valid, #popmake-14451 input.callback_phone.wpcf7-not-valid {
    border-color: #ff0000
}

#popmake-14451 input.callback_name, #popmake-14451 input.callback_phone {
    width: 274px;
    height: 37px;
    border: 1px solid #d3d3d3;
    box-sizing: border-box;
    border-radius: 4px;
    padding: 11px 13px 11px 11px;
    background-color: white;
    font-size: 14px;
    color: #000000;
    background: url(/wp-content/themes/mentalpress/assets/images/popup_req.png) no-repeat;
    background-position-x: right
}

#popmake-14451 input.callback_name {
    margin-bottom: 15px
}

#popmake-14451 input.callback_phone {
    margin-bottom: 22px
}

#popmake-14451 input.callback_name:hover, #popmake-14451 input.callback_phone:hover {
    border-color: #add49e
}

#popmake-14451 input.callback_name:focus, #popmake-14451 input.callback_phone:focus, #popmake-14451 input.callback_submit:focus {
    outline: unset
}

#popmake-14451 input.callback_submit {
    box-sizing: border-box;
    width: 272px;
    height: 51px;
    border: 1px solid #b86228;
    background: linear-gradient(to bottom, #eb8d4c, #d4712e);
    font-size: 16px;
    color: #fdfccd;
    font-weight: bold;
    border-radius: 4px;
    margin-right: 2px
}

#popmake-14451 .wpcf7 .wpcf7-validation-errors {
    color: #ff0000;
    background-color: unset;
    padding: 0;
    margin-top: 0;
    border: unset;
    padding-left: 5px
}

#popmake-14451 .wpcf7 .wpcf7-not-valid-tip {
    margin-bottom: 10px;
    margin-top: -10px;
    padding-left: 5px
}
