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

section {
    padding: 100px 0;
}

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

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

.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:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: rgb(0 0 0 / 25%);
    background: linear-gradient(90deg, rgb(0 0 0 / 75%), transparent);
    width: 100%;
    height: 100%;
    top: 0;
}

.page-head .text {
    color: #fff;
}

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

.kama_breadcrumbs {
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: #888;
}

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

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



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

.block-center {
    margin: 0 auto;
}

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


section .title {
    margin-bottom: 50px;
    text-transform: uppercase;
    line-height: 150%;
    font-size: 2.5rem;
    font-weight: 300;
}

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

.center {
    text-align: center;
}

.post-content {
    margin: 0 auto;
}




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

@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: 1.7rem;}
}

@media (max-width:  768px) { 
    .page-head .text h1 {font-size: 2rem;}
    section .title {font-size: 1.5rem;}
}

@media (max-width:  576px) { 
    section {padding: 50px 0;}
	.kama_breadcrumbs {display: none;}
}

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




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

.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;}

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

.buttons .btn {
    background: #333;
    color: #fff;
    padding: 0 30px;
    line-height: 40px;
    margin: 0;
    font-size: 1.2rem;
    border: 2px solid #333;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    display: block;
	white-space: nowrap;
    text-align: center;
}

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

.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: 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 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);}
}




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

.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;
}

.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: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 115%;
}

.icon-text-vertical .item > * {text-align: center; padding: 30px;}
.icon-text-vertical .image {margin-bottom: 30px;}
.icon-text-vertical .text {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 15px;
    line-height: 135%;
}


.image-text .item > * {display: flex; align-items: center; overflow: hidden;}
.image-text .image {flex: 0 0 230px; height: 100%; aspect-ratio: 1/1;}
.image-text .image img {object-fit: cover; height: 100%; display: block;}
.image-text .text {
    flex: 1 0 0%; 
    padding: 30px;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    line-height: 135%;
}

.image-text-vertical .item > * {text-align: center; overflow: hidden;}
.image-text-vertical .image {aspect-ratio: 3 / 2;}
.image-text-vertical .image img {width: 100%; height: 100%; object-fit: cover;}
.image-text-vertical .text {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    line-height: 135%;
}
.image-text-vertical .text h3 {font-weight: 500; font-size: 1.1rem;}


.number-text .item > * {display: flex; align-items: center;}
.number-text .number {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    font-weight: 600;
    color: #eee;
}
.number-text .text {
    flex: 1 0 0%;
    padding: 30px;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.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;}




/* Сайтбар, Виджеты */

/* aside {min-width: 250px; padding-right: calc(var(--bs-gutter-x) * .5);}

aside .widget {margin-bottom: var(--bs-gutter-x); background: #fff; padding: var(--bs-gutter-x); border: 1px solid var(--color-line);}
aside .widget:first-child {border-top: 0;}
aside > *:last-child {margin-bottom: 0;}
  
aside .widget a {color: inherit;}  

.headwidget, .headwidget a {text-align: center; position: relative; margin-bottom: var(--bs-gutter-x);}

.headwidget:after {
    content: "";
    width: 60px;
    margin-left: -30px;
    height: 2px;
    background: var(--color-1);
    position: absolute;
    bottom: -5px;
    left: 50%;
}

aside .widget > ul, aside .widget > ol, .textwidget > ul {padding: 0 0 0 30px;}
aside .widget > ul li, aside .widget > ol li {margin-bottom: 7px;}

@media (max-width: 1200px) { aside {display: none;} } */


/* Подвал */

body > footer {
    position: relative;
    z-index: 66;
    background: #333;
    background: linear-gradient(45deg, #111, #333);
    color: #fff;
    padding: 50px 0 75px;
    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;}



/* плавное изменение прозрачности placeholder-а при фокусе */
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder       {opacity: 1; transition: opacity 0.3s ease;}
input::-moz-placeholder, textarea::-moz-placeholder                {opacity: 1; transition: opacity 0.3s ease;}
input:-moz-placeholder, textarea:-moz-placeholder                 {opacity: 1; transition: opacity 0.3s ease;}
input:-ms-input-placeholder, textarea:-ms-input-placeholder            {opacity: 1; 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: 576px) { #Go_Top {line-height: 45px; width: 45px;} }


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

.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}


