@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

html {
    margin-top: 0px !important;
}

html, body {
    overflow-x: hidden;
}

:root {
    --fs-psy: 20px;
}
@media (max-width: 599px) {
    :root {
        --fs-psy: 15px;
    }
}

#all-block {
    padding-right: 0;
    padding-left: 0;
    min-height: 600px;
    max-width: 1440px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 70px 40px;
}

#first-block, #first-block-v2 {
    position: relative;
    /* overflow: hidden; */
}
#first-block .image-link-home, #first-block-v2 .image-link-home {
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 50;
    max-width: 220px;
}
#first-block .image-link-home img, #first-block-v2 .image-link-home img {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 992px) {
    #first-block .image-link-home, #first-block-v2 .image-link-home {
        max-width: 115px;
        top: 8px;
        left: 8px;
    }
}
@media (max-width: 576px) {
    #first-block .image-link-home, #first-block-v2 .image-link-home {
        max-width: 110px;
        top: 5px;
        left: 5px;
    }
}

#all-block a {
    color: darkslategrey;
}
.p-4, .my-3, .bg-primary {
    padding: 2rem !important;
}
.my-3 {
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
}
.btn-warning {
    position: relative;
    font-size: 25px;
    padding: 1.2em 0em;
    border-radius: 3em;
    background: #f1bb5d;
    z-index: 1;
}
.btn-warning span, .btn-warning-seven-block span {
    font-family: "Rubik", sans-serif;
    font-weight: 300;
}
/*
.btn-warning::before {
    content: "";
    position: absolute;
    top: -50%;
    left: 0%;
    width: 100%;
    height: 200%;
    background: url(/wp-content/themes/psyhol/img/btn-border.svg) no-repeat center / 100%;
    z-index: -1;
}
*/

/* MENU: start*/
#menu-header {
    font-family: "Literata", serif;
    font-weight: 400;
    margin-top: -30px;
}
#menu-header .nav-link {
  color: darkslategrey; /* базовый цвет */
  /* mix-blend-mode: difference; */
}
.nav-link {
    color: #2d3d46;
    font-size: 1.4em;
    padding: 5px 25px;
}
.nav-link-lang {
    font-family: "Literata", serif;
    font-weight: 400;
    border-left: 1px #76909f solid;
}
.hamburger-menu {
    display: none;
}
/* MENU: end */

/* FIRST BLOCK: start*/
#first-block {
    background:
        url('/wp-content/themes/psyhol/img/img-1.png') no-repeat 0% 0% / 60%,
        url('/wp-content/themes/psyhol/img/img-line-1.png') no-repeat 90% 90% / 80% 140%,
        url('/wp-content/themes/psyhol/img/img-2.svg') no-repeat 130% calc(130% - 130px) / 73% 69%;
    background-color: #f7f6f1;
    padding: 2rem 2rem 0rem 2rem !important;
}
#first-block-v2 {
    background:
        url('/wp-content/themes/psyhol/img/img-1-v2.png') no-repeat top left / 52%,
        url('/wp-content/themes/psyhol/img/img-line-1-v2.svg') no-repeat calc(100% - 10%) calc(100% - 55%) / 50%;
    background-color: #f7f6f1;
    padding: 2rem 2rem 0rem 2rem !important;
}
#first-block.terapevt {
    background: url('/wp-content/themes/psyhol/img/img-1-terapevt.png') no-repeat 0% 0% / 50%;
    background-color: #f7f6f1;
    padding: 2rem 2rem 0rem 2rem !important;
}
#first-block.biz {
    background:
        url('/wp-content/themes/psyhol/img/img-biz.png') no-repeat 0% 0% / 60%,
        url('/wp-content/themes/psyhol/img/img-line-biz.svg') no-repeat right / 100%;
    background-color: #f7f6f1;
    padding: 2rem 2rem 0rem 2rem !important;
}
#first-block.pos {
    background: url('/wp-content/themes/psyhol/img/img-pos.png') no-repeat 0% 0% / 60%;
    background-color: #f7f6f1;
    padding: 2rem 2rem 0rem 2rem !important;
}

#first-block.par {
    background:
        url('/wp-content/themes/psyhol/img/img-par.png') no-repeat 0% 0% / 60%,
        url('/wp-content/themes/psyhol/img/img-line-par.svg') no-repeat right / 100%;
    background-color: #f7f6f1;
    padding: 2rem 2rem 0rem 2rem !important;
}

#first-block.contact {
    background: url('/wp-content/themes/psyhol/img/img-contact.png') no-repeat 0% 0% / 60%;
    background-color: #f7f6f1;
    padding: 2rem 2rem 0rem 2rem !important;
}

#first-block.spec {
    background:
        url('/wp-content/themes/psyhol/img/img-spec.png') no-repeat left top / 60%,
        url('/wp-content/themes/psyhol/img/img-line-biz.svg') no-repeat right / 100%;
    background-color: #f7f6f1;
    padding: 2rem 2rem 0rem 2rem !important;
}

#first-block.blog {
    background: url('/wp-content/themes/psyhol/img/img-blog.png') no-repeat left top / 60%;
    background-color: #f7f6f1;
    padding: 2rem 2rem 0rem 2rem !important;
}

#first-block-v2 .btn-warning-v2 {
    background: #f8aa96;
    --bs-btn-border-color: #f8aa96;
}
#five-block-after-v2 .btn-five-block-after {
    background: #e1def3;
    --bs-btn-border-color: #e1def3;
}

.first-block-text {
    font-family: "Rubik", sans-serif;
    margin: 2em 0;
    font-size: var(--fs-psy);
    font-weight: 400;
    color: darkslategrey;
}
#first-block-1, #first-block-1-v2 {
    margin-top: 13%;
    margin-bottom: 45px;
}
#first-block-1-v2 {
    margin-left: 4em;
}
#first-block-2 {
    /* min-height: 600px; */
    background: url('/wp-content/themes/psyhol/img/img-3.png') no-repeat center bottom / auto 90%;
    background-size: contain;
}
#first-block-2.ind {
    /* min-height: 600px; */
    background: url('/wp-content/themes/psyhol/img/img-3-ind.png') no-repeat center bottom / auto 90%;
    background-size: contain;
}
#first-block-2.biz {
    /* min-height: 600px; */
    background: url('/wp-content/themes/psyhol/img/img-3-biz.png') no-repeat center bottom / 100%;
    background-size: contain;
}
#first-block-2.pos {
    /* min-height: 600px; */
    background: url('/wp-content/themes/psyhol/img/img-3-pos.png') no-repeat center bottom / 100%;
    background-size: contain;
}
#first-block-2.par {
    /* min-height: 600px; */
    background: url('/wp-content/themes/psyhol/img/img-3-par.png') no-repeat center bottom / 100%;
    background-size: contain;
}
#first-block-2.contact {
    /* min-height: 600px; */
    background: url('/wp-content/themes/psyhol/img/img-3-contact.png') no-repeat center bottom / 100%;
    background-size: contain;
}
#first-block-2.spec {
    /* min-height: 600px; */
    background: url('/wp-content/themes/psyhol/img/img-3-spec.png') no-repeat center bottom / 100%;
    background-size: contain;
}
#first-block-2.blog {
    /* min-height: 600px; */
    background: url('/wp-content/themes/psyhol/img/img-3-blog.png') no-repeat center bottom / 100%;
    background-size: contain;
}
.first-block-btn {
    padding: 20px;
    margin-right: 17%;
    margin-left: 17%;
}
/* FIRST BLOCK: end */

/* SECOND BLOCK: start */
.second-block-h2 {
    margin-left: 10%;
    margin-right: 10%;
}
#second-block-content-1, #second-block-content-2, #second-block-content-3 {
    padding: 20px;
    text-align: left;
}
#second-block-v2 {
    background:
        url('/wp-content/themes/psyhol/img/second-block-v2-1-img-4.svg') no-repeat calc(100% - 170px) center / auto 100%,
        url('/wp-content/themes/psyhol/img/second-block-v2-1-img-3.svg') no-repeat right calc(100% - 35px) / auto 50%,
        url('/wp-content/themes/psyhol/img/second-block-v2-1-img-1.svg') no-repeat  left calc(100% - 200px) / auto 50%;
    padding-bottom: 2em;
}
#second-block-v2.ru-page {
    background:
        url('/wp-content/themes/psyhol/img/second-block-v2-1-img-4.svg') no-repeat calc(100% - 170px) center / auto 100%,
        url('/wp-content/themes/psyhol/img/second-block-v2-1-img-3.svg') no-repeat right calc(100% - 35px) / auto 50%,
        url('/wp-content/themes/psyhol/img/second-block-v2-1-img-1-ru.svg') no-repeat  left calc(100% - 200px) / auto 50%;
    padding-bottom: 2em;
}

#second-block-v2.par{
    background:
        url('/wp-content/themes/psyhol/img/second-block-v2-1-img-4.svg') no-repeat calc(100% - 170px) center / auto 100%,
        url('/wp-content/themes/psyhol/img/second-block-v2-1-img-3.svg') no-repeat right calc(100% - 35px) / auto 50%;
    padding-bottom: 2em;
}
#second-block-v2-1 {
    min-height: 600px;
    background: url('/wp-content/themes/psyhol/img/second-block-v2-1-img-2.svg') no-repeat calc(100% - 100px) top / 80%;
}
#second-block-v2-par {
    min-height: 600px;
    background: url('/wp-content/themes/psyhol/img/second-block-v2-1-img-2-par.svg') no-repeat center / 90%;
}
#second-block-v2-par.ru-page {
    /* min-height: 600px; */
    background: url('/wp-content/themes/psyhol/img/second-block-v2-1-img-2-par-ru.svg') no-repeat center / 90%;
}
#second-block-v2-2 {
    display: flex;
    align-items: center;
}
/* SECOND BLOCK: end */

/* THREE BLOCK: start */
#three-block {
    background: url(/wp-content/themes/psyhol/img/three-block-line.png) no-repeat center 5% / 100%;
}
#three-block-img-pc {
    background: url("/wp-content/themes/psyhol/img/three-block-img-1.svg") no-repeat center center / 35%;
}
/* THREE BLOCK: end */

/* FOUR BLOCK: start */
#four-block .btn-warning {
    padding: 0.5em;
}
.block-70hv {
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
  font-size: 2rem;
  font-weight: bold;
}
#image-blocks-container,
#image-blocks-container .row,
#image-blocks-container .col-lg-6,
#image-blocks-container .col-sm-6 {
  overflow: visible;
}
#image-blocks-container, #logo-for-anamation .col {
    padding-right: 0;
    padding-left: 0;
}

#image-blocks-container-1, #image-blocks-container-2, #image-blocks-container-4 {
    min-height: 20em;
}

#image-blocks-container-1{
    background: url("/wp-content/themes/psyhol/img/image-blocks-container-1-img.svg") no-repeat center center / 100%;
}
#image-blocks-container-2 {
    background: url("/wp-content/themes/psyhol/img/image-blocks-container-2-img.svg") no-repeat center center / 80%;
}
#image-blocks-container-4 {
    background: url("/wp-content/themes/psyhol/img/image-blocks-container-4-img.svg") no-repeat center center / 80%;
}

#image-blocks-container-v2 {
    background: url("/wp-content/themes/psyhol/img/image-blocks-container-v2.png") no-repeat center center / 100%;
    background-size: contain;
}
/*
#image-terapevt-2 {
    background: url("/wp-content/themes/psyhol/img/image-terapevt-2.svg") no-repeat center right; / 100%;
    background-size: contain;
}
*/
#image-blocks-container-v2.biz {
    background: url("/wp-content/themes/psyhol/img/biz-team.png") no-repeat center center / 100%;
    background-size: contain;
}
#image-blocks-container-v2.pos {
    background: url("/wp-content/themes/psyhol/img/pos-footer.png") no-repeat center center / 100%;
    background-size: contain;
}
#image-blocks-container-v2.par {
    background: url("/wp-content/themes/psyhol/img/par-footer.png") no-repeat center center / 100%;
    background-size: contain;
}
#image-blocks-container-v2.spec {
    background: url("/wp-content/themes/psyhol/img/spec-team.png") no-repeat center center / 100%;
    background-size: contain;
}

#image-blocks-container-v2.blog {
    background: url("/wp-content/themes/psyhol/img/blog-footer.png") no-repeat center center / 100%;
    background-size: contain;
    min-height: 400px;
}

#image-blocks-spec-container {
    min-height: 250px;
    background: url("/wp-content/themes/psyhol/img/img-spec-hearts.svg") no-repeat center center / 100%;
    background-size: contain;
}

.image-block {
  height: 18em;
  position: relative;
  overflow: hidden;
}
.image-block img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  width: 200px;
  height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
  z-index: 1;
}
.image-block.active {
  overflow: visible;
}
.image-block.active img {
  transform: translate(-50%, -50%) scale(1);
  z-index: 10;
}
#logo-for-anamation {
  background: url(/wp-content/themes/psyhol/img/logo-for-movie.png) no-repeat center center;
  background-size: 15%;
  animation: heartbeat 2s infinite ease-in-out;
}
@keyframes heartbeat {
  0%   { background-size: 15%; opacity: 0.85; } 
  10%  { background-size: 17%; opacity: 1; }
  20%  { background-size: 15%; opacity: 0.85; }
  30%  { background-size: 18%; opacity: 1; }
  40%  { background-size: 15%; opacity: 0.85; }
  100% { background-size: 15%; opacity: 0.85; }
}
/* FOUR BLOCK: end */


/* FOUR BLOCK before: start */
#four-block-before {
    background-color: #f7f6f1;
    padding: 1em;
}
#four-block-before.spec {
    background-color: #fff;
    padding: 1em;
}
#four-block-before li {
    line-height: 2em;
}
#four-block-before-img-1 {
    background: url("/wp-content/themes/psyhol/img/six-block-img-2.png") no-repeat right / 100%;
    background-size: contain;
}
#four-block-before-img-2 {
    background: url("/wp-content/themes/psyhol/img/six-block-img-5.png") no-repeat right / 100%;
    background-size: contain;
}
#four-block-before-img-3 {
    background: url("/wp-content/themes/psyhol/img/six-block-img-3.png") no-repeat right / 100%;
    background-size: contain;
}
#four-block-before-img-4 {
    background: url("/wp-content/themes/psyhol/img/six-block-img-1.png") no-repeat calc(100% - -40px) / 100%;
    background-size: contain;
}
.terapevt-list {
    min-height: 1em;
    background: url("/wp-content/themes/psyhol/img/terapevt-list.svg") no-repeat center / 30% !important;
    background-size: contain;
}

.terapevt-edu {
    list-style: none;
    padding-left: 0;
}
.terapevt-edu li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 5px;
}
.terapevt-edu li::before {
    content: "";
    position: absolute;
    background: url("/wp-content/themes/psyhol/img/terapevt-list.svg") no-repeat center center / contain; 
    width: 10px;
    height: 10px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.terapevt-edu a {
    color: darkslategrey;
}

.price-terapevt {
	/* font-family:'Rubik',sans-serif; /*
	/* font-weight:600; */
	/* font-size:5em; */
	color:#3c5459;
	margin:0;
}

#four-block-before-img-1-v2 {
    background: url("/wp-content/themes/psyhol/img/four-block-before-img-1.svg") no-repeat center / 85%;
}
#four-block-before-img-2-v2 {
    background: url("/wp-content/themes/psyhol/img/four-block-before-img-2.svg") no-repeat center / 85%;
}
#four-block-before-img-3-v2 {
    background: url("/wp-content/themes/psyhol/img/four-block-before-img-3.svg") no-repeat center / 85%;
}
#four-block-before-img-4-v2 {
    background: url("/wp-content/themes/psyhol/img/four-block-before-img-4.svg") no-repeat center / 50%;
}
#four-block-before-img-5-v2 {
    background: url("/wp-content/themes/psyhol/img/four-block-before-img-5.png") no-repeat center / 85%;
    background-size: contain;
}
#four-block-before-img-6-v2 {
    background: url("/wp-content/themes/psyhol/img/four-block-before-img-6.svg") no-repeat center / 85%;
}
#four-block-v2 {
    background: #f7f6f1;
}
#four-block-v2.terapevt {
    min-height: 500px;
    background: url(/wp-content/themes/psyhol/img/image-terapevt-2.svg) no-repeat center right / 100%;
    background-size: contain;
}
#four-block-v2 button.btn-warning {
    padding: 0.5em 0.5em;
}
.four-icon {
    min-height: 80px; /* или 60–120px под твой svg */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#four-block-before.terapevt {
    background: url('/wp-content/themes/psyhol/img/price-terapevt-line.svg') no-repeat center / 125%;
}

/* FOUR BLOCK before: end */

/* FIVE BLOCK after: start */
#five-block-after {
    padding: 1em;
    background:
        url("/wp-content/themes/psyhol/img/five-block-after-img-1.png") no-repeat 96% 5% / 14%,
        url("/wp-content/themes/psyhol/img/six-block-img-4.png") no-repeat right bottom / 15%;
}
#five-block-after li {
    line-height:1.6em;
}

#five-block-after-v2 {
    padding: 1em;
    background: url("/wp-content/themes/psyhol/img/five-block-after-v2-img.svg") no-repeat calc(0% - -30px) bottom / 85% #f7f6f1;
}
#five-block-after-v2.contact {
    padding: 1em;
    background: none;
}

#four-block-biz {
    width: 100%;
    background: url("/wp-content/themes/psyhol/img/five-block-after-biz-pc.svg") no-repeat center bottom;
    background-size: contain; /* Показывает всё изображение целиком */
    aspect-ratio: 16 / 9;     /* Пропорции изображения — подбери под своё */
}

#four-block-biz.ru-page {
    width: 100%;
    background: url("/wp-content/themes/psyhol/img/five-block-after-biz-pc-ru.svg") no-repeat center bottom;
    background-size: contain;
    aspect-ratio: 16 / 9; 
}

/* FIVE BLOCK before: end */

/* FIVE BLOCK: start */
#five-block-btn .btn-warning {
    padding: 0.8em 1em;
    padding: 20px;
    margin-right: 0%;
    margin-left: 0%;
}
#five-block-after-v2 .five-block-h2-v2 {
    padding: 1em 0 13em 0;
}
#five-block-after-v2 .contact {
    padding: 0;
}
.five-block-h2-v2.par {
    margin-top:.5em;
    margin-bottom:4.5em;
}
/* FIVE BLOCK: end */

/* SIX BLOCK: start */

.faq-question {
    font-family: "Rubik", sans-serif;
    font-size: var(--fs-psy);
    font-weight: 700;
    color: darkslategrey;
}
.faq-answer {
    font-family: "Rubik", sans-serif;
    font-size: var(--fs-psy);
    font-weight: 400;
    font-style: normal;
    margin-top: 5px;
}
#faq-img-1 {
    background: url(/wp-content/themes/psyhol/img/faq-img-1.svg) no-repeat center;
    background-size: contain;
}
#faq-img-2 {
    background: url(/wp-content/themes/psyhol/img/faq-img-2.svg) no-repeat center;
    background-size: contain;
}
#faq-img-3 {
    background: url(/wp-content/themes/psyhol/img/faq-img-3.svg) no-repeat center;
    background-size: contain;
}
#faq-img-4 {
    background: url(/wp-content/themes/psyhol/img/faq-img-4.svg) no-repeat center;
    background-size: contain;
}
#faq-img-5 {
    background: url(/wp-content/themes/psyhol/img/faq-img-5.svg) no-repeat center;
    background-size: contain;
}
#six-block .btn-six-block-after {
    background: #93ad97;
    --bs-btn-border-color: #93ad97;
}
.btn-warning.btn-six-block-after{
    padding: 0.5em;
}

#six-block.biz {
    background: url("/wp-content/themes/psyhol/img/line-biz-all.svg") no-repeat left top / 50%,
                url("/wp-content/themes/psyhol/img/line-biz.svg") no-repeat calc(100% - -120px) calc(100% - 45px) / 50%;
}

.contact-info p, .contact p {
    font-family: "Rubik", sans-serif;
    font-size: var(--fs-psy);
    font-weight: 400;
    color: darkslategrey;
}

/*
#six-block-img-1 {
    background: url("/wp-content/themes/psyhol/img/six-block-img-1.png") no-repeat 0% / 130%;
    background-size: contain; 
}
#six-block-img-2 {
    background: url("/wp-content/themes/psyhol/img/six-block-img-2.png") no-repeat 0% / 130%;
    background-size: contain; 
}
#six-block-img-3 {
    background: url("/wp-content/themes/psyhol/img/six-block-img-3.png") no-repeat 0% / 130%;
    background-size: contain; 
}
#six-block-img-4 {
    background: url("/wp-content/themes/psyhol/img/six-block-img-4.png") no-repeat 0% / 130%;
    background-size: contain; 
}
#six-block-img-5 {
    background: url("/wp-content/themes/psyhol/img/six-block-img-5.png") no-repeat 0% / 130%;
    background-size: contain; 
}
#six-block-img-6 {
    background: url("/wp-content/themes/psyhol/img/six-block-img-6.png") no-repeat 0% / 130%;
    background-size: contain; 
}
.six-block-text {
    font-family: "Rubik", sans-serif;
    font-size: 1.5em;
    font-weight: 400;
    line-height: 1.3em;
    color: darkslategrey;
}
*/

/* SIX BLOCK: end */

/* SEVEN BLOCK: start */
#seven-block {
    padding: 0.5em;
}
#seven-block-4 {
    background: url(/wp-content/themes/psyhol/img/seven-block-img-4.png) no-repeat center bottom;
    background-size: contain;
    /* min-height: 60vh; */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 20px;
}
#seven-block-4-in-1 {
    margin-bottom: 2em;
}
.seven-block-4-in-1-text-1 {
    font-size: 2em;
    font-family: 'Literata';
    color: #4d6165;
    text-align: center;
    line-height: 1.2em;
}
.seven-block-4-in-1-text-2 {
    font-family: "Rubik", sans-serif;
    font-size: var(--fs-psy);
    font-weight: 400;
    line-height: 1.3em;
    color: darkslategrey;
    margin-top: 0.8em;
}

/* SEVEN BLOCK: end */

/* EIGHT BLOCK: start */
.eight-block-text {
    margin: 10px;
}
/* EIGHT BLOCK: end */

.pos-pshyterapija {
    padding: 3em;
    background: url('/wp-content/themes/psyhol/img/pos-line-block-2.svg') no-repeat calc(150% + 10px) calc(10% - 40px) / 105%;
}

/* TOTAL STYLE: start */
h1 {
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5em;
}
h2, .second-block-h2, .three-block-h2, .four-block-h2, .five-block-h2, .seven-block-h2 {
    font-size: 26px;
    line-height: 1.5em;
}
.eight-block-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5em;
}
h1, h2, h3, .second-block-h2, .three-block-h2, .four-block-h2, .seven-block-h2, .eight-block-title, #four-block-before .v2, .contact-info h3 {
    font-family: "Literata", serif;
    font-weight: 700;
    line-height: 1.2;
    color: #3c5459;
}
.second-block-text, .three-block-text, .four-block-text, .five-block-text, .eight-block-text {
    font-family: "Rubik", sans-serif;
    font-size: var(--fs-psy);
    font-weight: 400;
    line-height: 1.3em;
    color: darkslategrey;
}
#three-block, #five-block, #seven-block {
    background-color: #f7f6f1;
}
ol.list, ul.list, #four-block .v2, #four-block-v2 p, .text-spec {
    font-family: "Rubik", sans-serif;
    font-size: var(--fs-psy);
    font-weight: 400;
    line-height: 1.3em;
    color: darkslategrey;
}

.contact-info {
    background: url(/wp-content/themes/psyhol/img/img-bg-contact.svg) no-repeat center / 100%;
}
.contact-info {
    padding: 5em;
}
.contact-info p {
    margin-top: 1em;
}
.contact-info a {
    font-weight: 400;
    font-size: 1.1em;
    text-decoration: none;
    color: darkslategrey;
}
.contact input, .contact textarea, .contact select {
    font-family: "Rubik", sans-serif;
    font-size: 1.3em;
    font-weight: 300;
    color: darkslategrey;
    background: #d9d9d9;
}

.contact .form-label {
    font-family: "Literata", serif;
    font-size: 1.6em;
    font-weight: 600;
    color: #3c5459;
}
#contactForm .form-label {
    margin-bottom: .2rem !important;
    font-weight: 600;
}
#contactForm .mb-3 {
    margin-bottom: 1em !important;
}

/* TOTAL STYLE: end */

/* Гелерея дипломов: старт */
#diplom-gallery {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 12px 0;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}
#diplom-gallery::-webkit-scrollbar {
    height: 8px;
}
#diplom-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
#diplom-gallery::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
#diplom-gallery img {
    height: 180px;
    width: auto;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
#diplom-gallery img:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.diplom-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(240 240 240);
    z-index: 1050;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}
.diplom-modal.active {
    display: flex;
}
.diplom-main-img {
    max-width: 94%;
    max-height: 76vh;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}
.diplom-close-btn {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 60px;
    color: #7798ad;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    font-weight: 400;
    transition: opacity 0.2s;
}
.diplom-close-btn:hover {
    opacity: 0.7;
}
.diplom-nav-btn {
    position: absolute;
    top: 93%;
    transform: translateY(-50%);
    color: #fff;
    background: rgb(119 152 173 / 69%);
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 20px;
    border-radius: 5%;
    transition: opacity 0.2s;
}
.diplom-nav-btn:hover {
    opacity: 0.8;
}
.diplom-nav-btn.prev {
    left: 10px;
}
.diplom-nav-btn.next {
    right: 10px;
}
.diplom-desc-container {
    margin-top: 1em;
    background: #f8f7f2;
    padding: 0.5em;
    border-radius: 0.3em;
    box-shadow: 0 1px 24px rgba(0,0,0,0.3);
}
/* Гелерея дипломов: конец */

/*
#hand-page-terapevt {
    min-height: 400px;
    background: url(/wp-content/themes/psyhol/img/hand-page-terapevt.svg) no-repeat center / 70%;
}
*/
#price-terapevt {
    min-height: 400px;
    background: url(/wp-content/themes/psyhol/img/price-terapevt.svg) no-repeat center / 100%;
    background-size: contain;
}

#four-block-par {
    background: url(/wp-content/themes/psyhol/img/hand-1-par.svg) no-repeat top left / 16%,
                url(/wp-content/themes/psyhol/img/line-par-block-x.png) no-repeat calc(40% - 10px) calc(28% - 40px) / 59%;
}
#hand-2-par {
    background: url(/wp-content/themes/psyhol/img/hand-2-par.svg) no-repeat center / 100%;
}

/* STYLE FOR MOBILE: start */
@media (max-width: 425px) {
    #seven-block-4-in-1-4 .seven-block-content {
        padding: 5em 0em 6em 1em;
    }
}
@media (max-width: 484px) {
    .seven-block-content {
        padding: 5em 1em;
    }
}
@media (max-width: 524px) {
    #first-block {
        background: url(/wp-content/themes/psyhol/img/img-11-1.png) no-repeat 0% 0% / 110%, url(/wp-content/themes/psyhol/img/img-2.svg) no-repeat 50% 100% / 95% 45%;
        background-color: #f7f6f1;
        padding: 0rem 1rem 0rem 1rem !important;
    }
    #first-block-2.biz {
        min-height: 275px;
        background: url(/wp-content/themes/psyhol/img/img-3-biz.png) no-repeat center bottom / 100%;
        background-size: contain;
    }
    #first-block-2.ind {
        min-height: 275px;
        background: url(/wp-content/themes/psyhol/img/img-3-ind.png) no-repeat center bottom / 100%;
        background-size: contain;
    }
    #first-block-2.contact {
        min-height: 275px;
        background: url(/wp-content/themes/psyhol/img/img-3-contact.png) no-repeat center bottom / 100%;
        background-size: contain;
    }
    #first-block-2.pos {
        min-height: 275px;
        background: url(/wp-content/themes/psyhol/img/img-3-pos.png) no-repeat center bottom / 100%;
        background-size: contain;
    }
    #first-block-2.par {
        min-height: 275px;
        background: url(/wp-content/themes/psyhol/img/img-3-par.png) no-repeat center bottom / 100%;
        background-size: contain;
    }
    #first-block-v2 {
        background:
            url(/wp-content/themes/psyhol/img/img-1-v2.png) no-repeat top left / 100%;
        background-size: contain;
        background-color: #f7f6f1;
        padding: 1rem 2rem 0rem 1rem !important;
    }
    #first-block-1-v2 {
        margin-left: 0em;
    }
    #first-block.terapevt {
        background: url('/wp-content/themes/psyhol/img/img-1-terapevt.png') no-repeat top left / 100%;
        background-color: #f7f6f1;
        padding: 1rem 2rem 0rem 1rem !important;
    }
    #first-block.biz{
        background: url(/wp-content/themes/psyhol/img/img-biz.png) no-repeat top left / 100%;
        background-color: #f7f6f1;
        padding: 1rem 2rem 0rem 1rem !important;
    }
    #first-block.pos{
        background: url(/wp-content/themes/psyhol/img/img-pos.png) no-repeat top left / 100%;
        background-color: #f7f6f1;
        padding: 1rem 2rem 0rem 1rem !important;
    }
    #first-block.par{
        background: url(/wp-content/themes/psyhol/img/img-par.png) no-repeat top left / 100%;
        background-color: #f7f6f1;
        padding: 1rem 2rem 0rem 1rem !important;
    }
    #first-block.contact{
        background: url(/wp-content/themes/psyhol/img/img-contact.png) no-repeat top left / 100%;
        background-color: #f7f6f1;
        padding: 1rem 2rem 0rem 1rem !important;
    }
    #first-block.spec {
        background: url('/wp-content/themes/psyhol/img/img-spec.png') no-repeat left top / 100%;
        background-color: #f7f6f1;
        padding: 1rem 2rem 0rem 1rem !important;
    }
    #first-block.blog {
        background: url('/wp-content/themes/psyhol/img/img-blog.png') no-repeat left top / 100%;
        background-color: #f7f6f1;
        padding: 1rem 2rem 0rem 1rem !important;
    }
    .hamburger-menu {
        display: block;
        cursor: pointer;
        padding: 0px 15px;
        color: #f7f6f1;
        background: url(/wp-content/themes/psyhol/img/img-11-2.png) no-repeat 0% 0% / 100%;
    }
    .hamburger-menu.biz {
        display: block;
        cursor: pointer;
        padding: 0px 15px;
        color: #f7f6f1;
        background: url(/wp-content/themes/psyhol/img/img-11-2-biz.png) no-repeat 0% 0% / 100%;
    }
    .hamburger-menu.ind {
        display: block;
        cursor: pointer;
        padding: 0px 15px;
        color: #f7f6f1;
        background: url(/wp-content/themes/psyhol/img/img-11-2-v2.png) no-repeat 0% 0% / 100%;
    }
    .hamburger-menu.par {
        display: block;
        cursor: pointer;
        padding: 0px 15px;
        color: #f7f6f1;
        background: url(/wp-content/themes/psyhol/img/img-11-2-par.png) no-repeat 0% 0% / 100%;
    }
    .hamburger-menu.contact {
        display: block;
        cursor: pointer;
        padding: 0px 15px;
        color: #f7f6f1;
        background: url(/wp-content/themes/psyhol/img/img-11-2-contact.png) no-repeat 0% 0% / 100%;
    }
    #first-block-v2 .hamburger-menu, #first-block .hamburger-menu  {
        background: none;
    }
    .btn-warning {
        padding: 0.5em 0em;
        font-size: 1.5em;
    }
    #first-block-2 {
        min-height: 310px;
    }
    #scrollLeft, #scrollRight {
        padding: 20px 100px;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    #scrollLeft {
        background: url(/wp-content/themes/psyhol/img/arrow-left.svg) no-repeat 50% 100% / 48% 100%;
    }
    #scrollRight {
        background: url(/wp-content/themes/psyhol/img/arrow-right.svg) no-repeat 50% 100% / 48% 100%;
    }
}
@media (max-width: 670px) {
     .btn-warning::before {
        top: -25%;
        left: -5%;
        width: 110%;
        height: 150%;
        background: none;
    }
}
@media (max-width: 767px) {
    #three-block-img-pc {
        display: none;
    }
    #three-block-img-mob {
        display: block !important;
        width: 100%;
        padding-top: 100%;
        background: url("/wp-content/themes/psyhol/img/three-block-img-1.svg") no-repeat center center / 80%;
    }
    .seven-block-h2 {
        text-align: center !important;
    }
    #seven-block-4 {
        background: url(/wp-content/themes/psyhol/img/seven-block-img-4.png) no-repeat center bottom;
        background-size: contain;
        min-height: 60vh;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        padding-bottom: 20px;
    }
    #seven-block-4-in-1-3 .seven-block-content {
        padding: 6em 1em 2em 1em;
    }
    /*
    #hand-page-terapevt {
        display: none;
    }
    */
}

@media (min-width: 768px) {
    .w-pc-90 {
        max-width: 90%;
    }
    .w-pc-70 {
        max-width: 70%;
    }
}
@media (max-width: 778px) {
    #first-block-2 {
        background: url(/wp-content/themes/psyhol/img/img-3.png) no-repeat right / 100%;
        background-size: contain;
    }
    .first-block-btn, .theree-block-btn {
        margin-right: 0%;
        margin-left: 0%;
    }
    #three-block-btn-mob {
        display: block !important;
    }
    #three-block {
        background: none;
        background-color: #f7f6f1;
    }
    #three-block-dop-2 {
        display: none;
    }
    .btn-warning {
        padding: 0.5em 0em;
    }
}
@media (max-width: 779px) {
    #four-block .btn-warning {
        display: none;
    }
    #four-block .four-block-v2-btn {
        display: block;
        margin-right: 15%;
        margin-left: 15%;
    }
    .contact-info {
        padding: 1em;
    }
}
@media (max-width: 900px) and (min-width: 525px) {
    #first-block-2 {
        min-height: 450px;
    }
}

@media (max-width: 991px) {
    #second-block-v2, #second-block-v2.ru-page {
        background: url(/wp-content/themes/psyhol/img/second-block-v2-1-img-3.svg) no-repeat right calc(100% - 20px) / auto 50%;
    }
    #second-block-v2-1, #second-block-v2-par {
        display: none;
    }
    #second-block-v2 .three-block-text {
        padding: 2em 0;
    }
    #four-block-par {
        background: none;
    }
    .five-block-h2-v2.par {
        margin-top:.5em;
        margin-bottom:.5em;
    }
    #image-blocks-container-1, #image-blocks-container-2, #image-blocks-container-4, #image-blocks-container-v2 {
        display: none;
    }
    #eight-block {
        background:
            url(/wp-content/themes/psyhol/img/img-eight-block-3.png) no-repeat 98% bottom / 20%,
            url(/wp-content/themes/psyhol/img/img-eight-block-1-1.png) no-repeat right bottom / 40%;
    }
    .four-block-h2.terapevt {
        display: none;
    }
    .container-fluid.terapevt {
        margin-top: 30em;
    }
    .pos-pshyterapija {
        padding: 3em;
        background: none;
    }
    /*
    #seven-block-4-in-1-4 {
        display: none;
    }
    */
    
    #seven-block-4-in-1 {
        position: relative;
        overflow: visible;
    }
    #seven-block-4-in-1::before {
        content: "";
        position: absolute;
        top: -140px;
        left: -150px;
        right: 0;
        bottom: 0;
        background: url(/wp-content/themes/psyhol/img/img-for-write.png) no-repeat left / 50%;
        z-index: 0;
        pointer-events: none;
        background-size: contain;
    }

    #seven-block-4-in-1 > * {
        position: relative;
        z-index: 1;
    }

    #seven-block-4-in-1-1 .seven-block-content, #seven-block-4-in-1-2 .seven-block-content, #seven-block-4-in-1-3 .seven-block-content, #seven-block-4-in-1-4 .seven-block-content {
        padding: 0em;
    }

	.price-terapevt {
		/* font-family:'Rubik',sans-serif; */
		/* font-weight:600; */
		/* font-size:3em; */
		color:#3c5459;
		margin:0;
	}
}
@media (max-width: 991px) and (min-width: 485px) {
    .seven-block-content {
        padding: 10em 4em;
    }
}
@media (min-width: 992px) {
    #seven-block-4-in-1-1 {
        padding: 2em;
        background: url(/wp-content/themes/psyhol/img/seven-block-img-1.svg) no-repeat center center / 100% 100%;
    }
    #seven-block-4-in-1-2 {
        background: url(/wp-content/themes/psyhol/img/seven-block-img-2.svg) no-repeat center center / 100% 100%;
    }
    #seven-block-4-in-1-3 {
        background: url(/wp-content/themes/psyhol/img/seven-block-img-3.svg) no-repeat center center / 100% 100%;
    }
    #seven-block-4-in-1-4 {
        background: url(/wp-content/themes/psyhol/img/seven-block-img-5.svg) no-repeat center center / 100% 100%;
        background-size: contain;
    }
    #seven-block-4-in-1-1 .seven-block-content {
    padding: 2em 0em;
}
#seven-block-4-in-1-2 .seven-block-content {
    padding: 6em 1em;
}
#seven-block-4-in-1-3 .seven-block-content {
    padding: 9em 1em 2em 1em;
}
#seven-block-4-in-1-4 .seven-block-content {
    padding: 8em 2em;
}
}
@media (max-width: 1197px) {
    .btn-warning::before {
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        background: none;
    }
    #four-block-biz {
        width: 100%;
        background: url("/wp-content/themes/psyhol/img/five-block-after-biz-mob.png") no-repeat center bottom;
        background-size: contain;
        aspect-ratio: 16 / 9;
    }
    #four-block-biz.ru-page {
        width: 100%;
        background: url("/wp-content/themes/psyhol/img/five-block-after-biz-mob-ru.png") no-repeat center bottom;
        background-size: contain;
        aspect-ratio: 16 / 9;
    }
}
@media (max-width: 1197px) and (min-width: 779px) {
    #first-block-2 {
        background: url(/wp-content/themes/psyhol/img/img-3.png) no-repeat right / 100%;
        background-size: contain;
    }
    .btn-warning {
        padding: 1.2em 1em;
    }
    .first-block-btn, .theree-block-btn  {
        margin-right: 15%;
        margin-left: 15%;
    }
}
@media (max-width: 1199px) and (min-width: 525px) {
    #first-block {
        background:
            url(/wp-content/themes/psyhol/img/img-11-1.png) no-repeat 0% 0% / 70%,
            url(/wp-content/themes/psyhol/img/img-2.svg) no-repeat 110% 102% / 90% 50%;
        background-color: #f7f6f1;
        padding: 0rem 2rem 0rem 2rem !important;
    }
    #first-block-v2 {
        background: url(/wp-content/themes/psyhol/img/img-1-v2.png) no-repeat top left / 52%;
        background-color: #f7f6f1;
        padding: 2rem 2rem 0rem 2rem !important;
    }
    #first-block-1-v2 {
        margin-left: 0em;
    }
    #first-block.terapevt {
        background: url('/wp-content/themes/psyhol/img/img-1-terapevt.png') no-repeat 0% 0% / 80%;
        background-color: #f7f6f1;
        padding: 2rem 2rem 0rem 2rem !important;
    }
    #first-block.biz{
        background: url('/wp-content/themes/psyhol/img/img-biz.png') no-repeat 0% 0% / 80%;
        background-color: #f7f6f1;
        padding: 2rem 2rem 0rem 2rem !important;
    }
    #first-block.pos{
        background: url('/wp-content/themes/psyhol/img/img-pos.png') no-repeat 0% 0% / 80%;
        background-color: #f7f6f1;
        padding: 2rem 2rem 0rem 2rem !important;
    }
    #first-block.par{
        background: url('/wp-content/themes/psyhol/img/img-par.png') no-repeat 0% 0% / 80%;
        background-color: #f7f6f1;
        padding: 2rem 2rem 0rem 2rem !important;
    }
    #first-block-2.biz {
        min-height: 400px;
        background: url(/wp-content/themes/psyhol/img/img-3-biz.png) no-repeat center bottom / 100%;
        background-size: contain;
    }
    #first-block-2.ind {
        min-height: 400px;
        background: url(/wp-content/themes/psyhol/img/img-3-ind.png) no-repeat center bottom / 100%;
        background-size: contain;
    }
    #first-block-2.contact {
        min-height: 400px;
        background: url(/wp-content/themes/psyhol/img/img-3-contact.png) no-repeat center bottom / 100%;
        background-size: contain;
    }
    #first-block-2.pos {
        min-height: 400px;
        background: url(/wp-content/themes/psyhol/img/img-3-pos.png) no-repeat center bottom / 100%;
        background-size: contain;
    }
    #first-block-2.par {
        min-height: 400px;
        background: url(/wp-content/themes/psyhol/img/img-3-par.png) no-repeat center bottom / 100%;
        background-size: contain;
    }
    #first-block.contact{
        background:url('/wp-content/themes/psyhol/img/img-contact.png') no-repeat 0% 0% / 80%;
        background-color: #f7f6f1;
        padding: 2rem 2rem 0rem 2rem !important;
    }
    #first-block.spec {
        background:
            url('/wp-content/themes/psyhol/img/img-spec.png') no-repeat left top / 80%;
        background-color: #f7f6f1;
        padding: 2rem 2rem 0rem 2rem !important;
    }
    #first-block.blog {
        background:
            url('/wp-content/themes/psyhol/img/img-blog.png') no-repeat left top / 80%;
        background-color: #f7f6f1;
        padding: 2rem 2rem 0rem 2rem !important;
    }
    .hamburger-menu {
        display: block;
        cursor: pointer;
        padding: 1em;
        color: #f7f6f1;
        background: url(/wp-content/themes/psyhol/img/img-11-2.png) no-repeat 0% 0% / 100%;
    }

    .hamburger-menu.biz {
        display: block;
        cursor: pointer;
        padding: 1em;
        color: #f7f6f1;
        background: url(/wp-content/themes/psyhol/img/img-11-2-biz.png) no-repeat 0% 0% / 100%;
    }
    .hamburger-menu.ind {
        display: block;
        cursor: pointer;
        padding: 1em;
        color: #f7f6f1;
        background: url(/wp-content/themes/psyhol/img/img-11-2-v2.png) no-repeat 0% 0% / 100% !important;
    }

    .hamburger-menu.spec {
        display: block;
        cursor: pointer;
        padding: 1em;
        color: #f7f6f1;
        background: url(/wp-content/themes/psyhol/img/img-11-2-spec.png) no-repeat 0% 0% / 100%;
    }

    .hamburger-menu.blog {
        display: block;
        cursor: pointer;
        padding: 1em;
        color: #f7f6f1;
        background: url(/wp-content/themes/psyhol/img/img-11-2-blog.png) no-repeat 0% 0% / 100%;
    }
    .hamburger-menu.par {
        display: block;
        cursor: pointer;
        padding: 1em;
        color: #f7f6f1;
        background: url(/wp-content/themes/psyhol/img/img-11-2-par.png) no-repeat 0% 0% / 100%;
    }

    #first-block-v2 .hamburger-menu {
        background: url(/wp-content/themes/psyhol/img/img-11-2-par.png) no-repeat 0% 0% / 100%;
    }
}

@media (max-width: 1199px) {
    #first-block-btn-mob .btn-warning-v2 {
        background: #f8aa96;
        --bs-btn-border-color: #f8aa96;
    }
    #second-block-img-dop-1 {
        background: none;
        padding: 0px;
    }
    #second-block-v2-1, #second-block-v2-par {
        /* min-height: 600px; */
        /* background: none; */
    }
    #menu-header-last-element {
        display: none;
    }
    #menu-header .nav-link {
      color: #537080;
    }
    .nav-link-lang {
        border-left: none;
        border-bottom: none;
    }
    .navbar {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    #menu-header {
        display: none;
        position: absolute;
        top: 130px;
        left: 0;
        width: 100%;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 2px 65px rgb(118 144 159 / 44%);
        z-index: 100;
    }
    #menu-header.active {
        display: flex;
        border-radius: 40px 10px;
        background: url("/wp-content/themes/psyhol/img/bg-botton-menu.png") no-repeat 57% 110% / 272% 25% #f7f6f1;
        z-index: 9999;
    }
    #five-block-after-v2 {
        background: #f7f6f1;
    }
    #five-block-after-v2 .five-block-h2-v2 {
        padding: 1em 0 2em 0;
    }
    /*
    #first-block-v2 #menu-header.active {
        background: url("/wp-content/themes/psyhol/img/bg-botton-menu-v2.png") no-repeat 57% 110% / 272% 25% #f7f6f1;
    }
    */
    .nav-item {
        position: relative;
        width: 94%;
        margin-left: 3%;
        margin-right: 3%;
    }
    .nav-item::after {
        content: "";
        display: block;
        width: 60%;
        height: 1px;
        background-color: #76909f4d;
        position: absolute;
        bottom: 0;
        left: 20%;
    }
    .nav-item:last-child {
        border-bottom: none;
    }
    .nav-link {
        padding: 15px;
        display: block;
    }

    h1 {
        font-size: 27px;
        text-align: left !important;
    }
    h2, .second-block-h2, .three-block-h2, .four-block-h2, .five-block-h2 {
        font-size: 24px;
        text-align: left !important;
        margin-left: 0%;
        margin-right: 0%;
    }
    /*
    p {
        font-size: 1.2em !important;
    }
    */
    .p-4, .my-3, .bg-primary {
        padding: 1rem !important;
    }
    .second-block-text, .five-block-text {
        text-align: left !important;
    }
    #first-block-1, #first-block-1-v2 {
        margin-bottom: 0;
    }
    #first-block-btn-pc {
        display: none !important;
    }
    #first-block-btn-mob {
        display: block !important;
        background-color: #f7f6f1;
    }
    #second-block-pc {
        display: none;
    }
    #second-block-mob {
        display: block !important;
    }
    #second-block-mob-img-1 {
        background: url(/wp-content/themes/psyhol/img/img-second-block-1-mob.svg) no-repeat center center / 100% 100%;
    }
    #second-block-mob-img-2 {
        background: url(/wp-content/themes/psyhol/img/img-second-block-2-mob.svg) no-repeat center center / 100% 100%;
    }
    #second-block-mob-img-3 {
        background: url(/wp-content/themes/psyhol/img/img-second-block-3-mob.svg) no-repeat center center / 100% 100%;
    }
    #second-block-first-text {
        background: none;
    }
}
@media (max-width: 1279px) {
    .nav-link {
        font-size: 1.3em;
    }
}
@media (max-width: 1287px) {
    .seven-block-4-in-1-text-1 {
        font-size: 1.5em;
    }
    .contact-info {
        background: none;
    }
}
@media (max-width: 1287px) and (min-width: 780px) {
    #four-block .btn-warning {
        font-size: 1.4em;
    }

}
@media (max-width: 1287px) and (min-width: 992px) {
    #eight-block {
        background:
            url(/wp-content/themes/psyhol/img/img-eight-block-3.png) no-repeat 3% bottom / 23%,
            url(/wp-content/themes/psyhol/img/img-eight-block-2.png) no-repeat 102% bottom / 23%,
            url(/wp-content/themes/psyhol/img/img-eight-block-1-1.png) no-repeat right bottom / 40%;
    }
    .seven-block-content {
        padding: 5em 1em;
    }
}
@media (min-width: 1288px) {
    #eight-block {
        background:
        url(/wp-content/themes/psyhol/img/img-eight-block-4.png) no-repeat 32% 7% / 10%,
        url(/wp-content/themes/psyhol/img/img-eight-block-3.png) no-repeat 3% bottom / 15%,
        url(/wp-content/themes/psyhol/img/img-eight-block-2.png) no-repeat 102% bottom / 20%,
        url(/wp-content/themes/psyhol/img/img-eight-block-1-1.png) no-repeat right bottom / 30%;
    }
}
@media (max-width: 1317px) and (min-width: 1287px) {
    #four-block .btn-warning {
        padding: 0.8em;
    }
    /*
    #four-block .btn-warning::before {
        background: url(/wp-content/themes/psyhol/img/btn-border.svg) no-repeat 50% 65% / 70% 80%;
    }
    */
}
@media (max-width: 1354px) and (min-width: 1198px) {
    #first-block-2 {
        background: url(/wp-content/themes/psyhol/img/img-3.png) no-repeat center calc(90% + 20px) / auto 85%;
        background-size: contain;
    }
    .four-block-btn .btn-warning {
        padding: 1.2em 1em;
    }
}
@media (min-width: 1355px) {
    .four-block-btn .btn-warning {
        padding: 1.2em 1em;
    }
    #four-block-v2 .four-block-btn .btn-warning {
        margin: 2em;
    }
}
/* STYLE FOR MOBILE: end */

/* КНОПКА "КОНСУЛЬТАЦIЯ" В НИЖНЕЙ ЧАСТИ ЭКРАНА: start */
.btn-footer-screen {
    position: fixed;
    z-index: 1000;
    background-color: #f1bb5d;
    font-family: "Rubik", sans-serif;
    font-weight: 400;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,.25);
    transition: transform .2s ease, background .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-footer-screen:hover {
    background-color: #ffca2c;
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .btn-footer-screen {
        left: 0;
        bottom: 0;
        width: 100%;
        height: 60px;
        border-radius: 0;
        font-size: 1.4em;
    }
    .btn-footer-screen svg {
        display: none;
    }
}

@media (min-width: 768px) {
    .btn-footer-screen {
        right: 25px;
        bottom: 25px;
        width: 65px;
        height: 65px;
        border-radius: 50%;
        font-size: 1.4em;
    }
}
/* КНОПКА "КОНСУЛЬТАЦIЯ" В НИЖНЕЙ ЧАСТИ ЭКРАНА: end */

/* Кнопка перевода: start */
#lang-to-top ul li a {
    color: #537080 !important;
    text-decoration: none !important;
}
.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 0px !important;
}
.wpml-ls-legacy-list-horizontal {
    border: 0px solid transparent !important;
    padding: 0px !important;
    clear: both;
}
/* Кнопка перевода: end */


/* Стили для картинок внутри статей: start */
#blog-content img {
  display: block;
  margin: 1em auto;
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 600px) {
  #blog-content img {
    float: right;
    margin: 0em 0em 2em 2em;
    width: auto;
    max-width: 40%;
  }
}
@media screen and (max-width: 599px) {
  #blog-content img {
    float: none;
    width: 100%;
    margin: 0.5em 0;
  }
}
/* Стили для картинок внутри статей: end */


#blog-content {
    font-family: "Rubik", sans-serif;
    font-weight: 400;
    font-size: var(--fs-psy);
}

.footer-links {
    color:darkslategrey;
    text-decoration:none;
}