/* Контентная часть */

section {
    padding: 100px 0;
    /* border-bottom: 1px solid var(--color-line); */
}

.padding-half {
    padding: 50px 0;
}

.padding-half-top {
    padding-top: 50px;
}

.padding-0 {
    padding: 0;
}

.page-head {
    position: relative;
    z-index: 1;
}

/* .page-head > img {
    position: absolute;
    z-index: -2;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
} */

/* .page-head .image-bg {
    position: absolute;
    top: 0;
    z-index: -2;
    height: 100%;
    width: 100%;
    object-fit: cover;
} */

.page-head:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: rgb(0 0 0 / 25%);
    background: linear-gradient(90deg, rgb(0 0 0 / 75%), transparent);
    background: linear-gradient(90deg, #192a5d, rgb(226 162 255 / 50%));
    width: 100%;
    height: 100%;
    top: 0;
}

.page-head .text {
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-head .text h1 {
    font-size: 3rem;
}

.kama_breadcrumbs {
    /* margin-bottom: 10px; */
    font-size: 0.8rem;
    color: #888;
    mix-blend-mode: screen;
}

.kama_breadcrumbs a {
    font-weight: 500; 
    /* text-decoration: none; */
}

/* .page-head .excerpt {
    margin-top: 15px;
} */

.page-head .buttons {
    margin-top: 30px;
}

.page-head .buttons .btn {
    padding: 10px 40px;
    height: 55px;
    font-size: 1rem;
}



.max-width-1200 {
    max-width: 1200px;
}

.max-width-800 {
    max-width: 800px;
}

.block-center {
    margin: 0 auto;
}

.grey-bg {
    background-color: var(--color-line);
}


section .title {
    font-size: 3rem;
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 50px;
}

section .title span {
    color: var(--color-1);
}

section .title b {
    font-weight: 500;
    display: block;
}

section .title-text {
    margin-bottom: 50px;
    margin-top: -30px;
    font-size: 1.3rem;
    line-height: 135%;
    font-weight: 500;
}

.title-text.center {
    margin-left: auto;
    margin-right: auto;
}

.center {
    text-align: center;
}

.post-content {
    margin: 0 auto;
}




@media (max-width: 1200px) { 
    #content {width: 100%;} 
    .page-head .text h1 {font-size: 2.5rem;}
    section .title {font-size: 2.5rem;}
    section .title-text {font-size: 1.2rem;}
}

@media (max-width:  992px) { 
    section {padding: 75px 0;}
    .padding-half {padding: 30px 0;}
    .page-head .text h1 {font-size: 2.2rem;}
    section .title {font-size: 2.2rem;}
}

@media (max-width:  768px) { 
    .page-head .text h1 {font-size: 2rem;}
    section .title {font-size: 2rem; margin-bottom: 30px;}
    section .title-text {font-size: 1.1rem; margin-top: -10px; margin-bottom: 40px;}
}

@media (max-width:  576px) { 
    section {padding: 50px 0;}
	.kama_breadcrumbs {display: none;}
    section .title {font-size: 1.8rem;}
    section .title-text {margin-bottom: 30px;}
}

@media (max-width:  480px) { 
	.page-head .text h1 {font-size: 1.5rem;}
    section .title {font-size: 1.4rem; font-weight: 500;}
    section .title-text {font-size: 1rem;}
}

@media (max-width:  380px) { 
    section .title {font-size: 1.25rem;}
    section .title-text {font-size: 0.9rem;}
}




/* Форматирование на странице */

.area {font-size: 1.1rem; text-align: left;}

.area p, .area h2, .area h3, .area h4, .area > figure, .area .wp-block-image, .area > img, .area > div, .area table, .area > ul, .area > ol {margin-bottom: var(--bs-gutter-x);}
.area > h2:not(:first-child) {margin-top: calc(var(--bs-gutter-x) * 2);}
.area > *:last-child {margin-bottom: 0;}

.area p, .area li {
    line-height: 1.5;
    /* text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto; */
}

.area > ul, .area > ol {display: inline-block; width: 100%; padding-left: 20px;}
.area ul li, .area ol li {width: 100%; margin-bottom: calc(var(--bs-gutter-x) / 2); position: relative;}
.area ul li:last-child, .area ol li:last-child {margin-bottom: 0;}
.area ul li::marker {color: var(--color-1);}

.area td, .area th, .area .wp-block-table td {padding: calc(var(--bs-gutter-x) / 2); border: 1px solid var(--color-line);}
.area th {font-weight: 600;}

blockquote {position: relative; font-style: italic; border-left: 3px solid var(--color-1); padding-left: var(--bs-gutter-x); margin-bottom: var(--bs-gutter-x); color: #555;}
  
.alignleft {display: inline; float: left; margin-right: 30px; margin-bottom: 15px;}
.alignright {display: inline; float: right; margin-left: 30px; margin-bottom: 15px;}
.aligncenter {display: block; margin-right: auto; margin-left: auto; margin-bottom: 15px;}

.page-body hr.wp-block-separator {
    margin-bottom: 30px;
    width: 50px;
}

.buttons {display: flex; flex-wrap: wrap; gap: 15px 30px;}
.buttons.center {justify-content: center;}

.buttons .btn {
    background: var(--color-1);
    color: #fff;
    padding: 10px 45px;
    margin: 0;
    height: 70px;
    line-height: 135%;
    font-weight: 500;
    font-size: 1.1rem;
    border: 2px solid var(--color-1);
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    /* white-space: nowrap; */
    text-align: center;
    align-items: center;
}

.buttons .btn:hover {border-color: var(--color-1-2); background: var(--color-1-2);}

.buttons .btn.blue {
    background: var(--color-2);
    border-color: var(--color-2);
}

.buttons .btn.blue:hover {
    background: var(--color-2-2);
    border-color: var(--color-2-2);
}



.buttons .btn.btn-o {background: none; color: inherit;}
.buttons .btn.btn-o:hover {color: var(--color-1);}

.clear {clear: both;}


@media (max-width: 1200px) { img.alignleft, img.alignright {max-width: 400px;} }

@media (max-width: 992px) { 
    .buttons .btn {padding: 10px 40px; height: 55px; font-size: 1rem; line-height: 120%;}
}

@media (max-width: 576px) { 
	.area table {font-size: 0.9rem; overflow-x: scroll; display: inline-block;} 
	.area img {display: block;}
	.area > h2:after, .post-content > h2:after {display: none;}
}

@media (max-width: 380px) { 
    .area p, .area li {line-height: 1.4;}
	.area p, .area h2, .area h3, .area h4, .area > figure, .area > img, .area > div, .area table, .area > ul, .area > ol {margin-bottom: 20px;}
    .area > h2:not(:first-child) {margin-top: var(--bs-gutter-x);}
    .buttons .btn {height: unset; border-radius: 10px; font-size: 0.9rem;}
}




/* Медиа / Текст */

.wp-block-media-text__content ul, .wp-block-media-text__content ol {padding-left: 20px;}

@media (max-width: 768px) { 
    .wp-block-media-text.is-stacked-on-mobile {grid-template-columns: 100%!important;}
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {grid-column: 1; grid-row: 1; margin-bottom: var(--bs-gutter-x);}
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {grid-column: 1; grid-row: 2; padding: 0;}
}






/* Расходники */

.row .item > * {
    height: 100%;
    background: #fff;
    border: 1px solid var(--color-line);
    display: block;
    color: inherit;
	text-decoration: none;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    line-height: 150%;
}

.row .item > a:hover {border-color: var(--color-1);}

.icon-text .item > * {display: flex; align-items: center; padding: 30px;}
.icon-text .image {width: 20%; font-size: 4rem; text-align: center; color: var(--color-1);}
.icon-text .text {width: 80%; padding-left: 30px; font-family: "Geologica", sans-serif;}

.icon-text-vertical .item > * {text-align: center; padding: 30px;}
.icon-text-vertical .image {margin-bottom: 30px;}
.icon-text-vertical .image img {opacity: 0.9;}
.icon-text-vertical .text {font-family: "Geologica", sans-serif; line-height: 130%; font-size: 1.1rem; font-weight: 500;}


.image-text .item > * {display: flex; align-items: center;}
.image-text .image {flex: 0 0 150px; height: 100%;}
.image-text .image img {object-fit: cover; height: 100%;}
.image-text .text {flex: 1 0 0%; padding: 30px;}

.image-text-vertical .item > * {text-align: center; padding: 0; overflow: hidden; gap: 0;}
.image-text-vertical .image {aspect-ratio: 3 / 2; position: relative;}
.image-text-vertical .image:after {
    content: "";
    height: 3px;
    background: linear-gradient(45deg, #79b6ff, var(--color-2));
    display: block;
}
.image-text-vertical .image img {width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1);}
.image-text-vertical .item > *:hover .image img {filter: none;}
.image-text-vertical .text {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
}
.image-text-vertical .text h3 {font-weight: 400; font-size: 1.5rem; line-height: 150%;}
.image-text-vertical .text .buttons {margin-top: auto;}


.number-text .item > * {display: flex; align-items: center;}
.number-text .number {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    font-weight: 600;
    color: #eee;
}
.number-text .text {width: 70%; padding: 30px;}


.number-text-vertical .item > * {text-align: center; padding: 30px;}
.number-text-vertical .number {margin-bottom: 15px; font-size: 4rem; color: var(--color-1);}

.number-text.in-order {counter-reset: schetchik;}
.number-text.in-order .item {counter-increment: schetchik;}
.number-text.in-order .number:before {content: counter(schetchik);}


.items.owl-carousel {margin: 0 0 30px;}
.items.owl-carousel .owl-stage {display: flex; flex-wrap: wrap;}
.items.owl-carousel .item {padding: 0; margin-bottom: 0; height: 100%; width: 100%;}


.hentry .excerpt {display: none;}




@media (max-width: 1200px) {
    .icon-text-vertical .image img {max-width: 85px;}
    .image-text-vertical .text h3 {font-size: 1.3rem;}
}

@media (max-width: 992px) {
    .icon-text-vertical .item {width: 50%;}
}

@media (max-width: 768px) {
    .image-text-vertical .text h3 {font-size: 1.1rem;}
}

@media (max-width: 576px) {
    .icon-text-vertical .image {margin-bottom: 15px;}
    .icon-text-vertical .text {font-size: 1rem;}
    .image-text-vertical .text h3 {font-weight: 500;}
}

@media (max-width: 480px) {
    .icon-text-vertical .item > * {padding: 20px 15px;}
    .icon-text-vertical .image {margin-bottom: 5px;}
    .icon-text-vertical .image img {max-width: 70px;}
    .icon-text-vertical .text {font-size: 0.9rem;}
}

@media (max-width: 380px) {
    .icon-text-vertical .item {width: 100%;}
}


/* Подвал */

body > footer {
    position: relative;
    z-index: 66;
    background: #333;
    background: linear-gradient(45deg, #111, #333);
    color: #fff;
    padding: 40px 0;
    margin-top: auto;
}

body > footer a {color: #fff;}
body > footer a:hover {text-decoration: underline;}
  
body > footer p {margin-bottom: 15px;}
body > footer p.title {margin-bottom: 30px; opacity: 0.5;}

body > footer .contacts p {display: flex; gap: 10px;}
body > footer .contacts p i {flex: 0 0 20px; text-align: center; color: var(--color-1);}
body > footer .contacts p span {flex: 1 0 0%;}

body > footer ul {display: flex; flex-direction: column; padding-left: 20px; gap: 15px 50px;}
body > footer li {list-style: none; text-align: left;}
body > footer li:last-child {margin-bottom: 0;}

body > footer li a:before {
    content: "\ec1b";
    font-family: "icomoon";
    color: var(--color-1);
    display: inline-block;
    margin-left: -20px;
    width: 20px;
	font-size: 0.8rem;
}

body > footer ul.sub-menu, body > footer ul.children {display: none;}

body > footer .social {font-size: 1.8rem; display: flex; justify-content: center;}

body > footer .footer-info {font-size: 0.8rem; opacity: 0.5;}


@media (max-width: 768px)  { 
	body > footer .row {gap: 50px;} 
	body > footer .col {flex: 1 0 100%;} 
}




/* плавное изменение прозрачности placeholder-а при фокусе */
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder       {opacity: 1; color: #fff; transition: opacity 0.3s ease;}
input::-moz-placeholder, textarea::-moz-placeholder                {opacity: 1; color: #fff; transition: opacity 0.3s ease;}
input:-moz-placeholder, textarea:-moz-placeholder                 {opacity: 1; color: #fff; transition: opacity 0.3s ease;}
input:-ms-input-placeholder, textarea:-ms-input-placeholder            {opacity: 1; color: #fff; transition: opacity 0.3s ease;}

input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {opacity: 0;}
input:focus::-moz-placeholder, textarea:focus::-moz-placeholder        {opacity: 0;}
input:focus:-moz-placeholder, textarea:focus:-moz-placeholder           {opacity: 0;}
input:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder      {opacity: 0;}

/* Текст предназначен только для чтения с экрана */
.screen-reader-text {clip: rect(1px, 1px, 1px, 1px); position: absolute !important;	height: 1px; width: 1px; overflow: hidden;}


#Go_Top {
	position: fixed;
	right: 70px;
	bottom: -70px;
	z-index: 291;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    height: 55px;
	width: 55px;
    border-radius: 5px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.8);
	border: 2px solid var(--color-line);
    color: inherit;
	cursor: pointer;
}

#Go_Top:hover i {
    -webkit-animation: animArrow 1s infinite;
    animation: animArrow 1s infinite;
}

@keyframes animArrow {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

#Go_Top i {margin: 0; display: inline-block;}
#Go_Top:hover {background: var(--color-2); color: #fff;}
#Go_Top.up {bottom: 70px;}

@media (max-width: 1200px) { #Go_Top {right: 0;} #Go_Top.up {bottom: 0;} }
@media (max-width: 992px) { #Go_Top {display: none;} }


/* Анимации */

.hidden {opacity: 0;}
.animated{animation-duration:1s;animation-fill-mode:both}
.animated.infinite{animation-iteration-count:infinite}
.animated.hinge{animation-duration:2s}

@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
.fadeIn{animation-name:fadeIn}

@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,25%,0)}to{opacity:1;transform:none}}
.fadeInUp{animation-name:fadeInUp}

@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-25%,0,0)}to{opacity:1;transform:none}}
.fadeInLeft{animation-name:fadeInLeft}

@keyframes fadeInRight{0%{opacity:0;transform:translate3d(25%,0,0)}to{opacity:1;transform:none}}
.fadeInRight{animation-name:fadeInRight}

@keyframes pulse{0%{transform:scaleX(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleX(1)}}
.pulse{animation-name:pulse}


