:root {
   --main-btn-bk: #008de4;
   --main-color: #1dd519;
   --selected-text: #228B22;
}

html {
   height: calc(100% - 32px);
}

body {
   background: #fff;
   overflow-x: hidden;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   min-height: 100%;
}

h1,
h2,
h3,
h4,
h5 {
   font-size: 20px;
   font-weight: 600;
}

a {
   transition: .2s;
}

.container {
   width: 100%;
   padding-right: 15px;
   padding-left: 15px;
   margin: 0 auto;
   max-width: 1325px;
}

.btn {
   position: relative;
   border-radius: 8px;
   cursor: pointer;
   transition: .2s;
   background: var(--main-btn-bk);
   color: #fff;
   font-weight: 600;
   padding: 8px 20px;
}

.btn::before {
   content: '';
   position: absolute;
   bottom: 5px;
   left: 6px;
   width: 0;
   height: 2px;
   background: #fff;
   transition: .2s;
}

.btn:hover::before {
   width: calc(100% - 12px);
}

/* header */
.header {
   position: fixed;
   top: 0;
   width: 100%;
   padding: 10px 0;
   display: flex;
   gap: 10px;
   background: #fff;
   z-index: 10;
}

.menu-wrapper {
   width: 100%;
   display: flex;
   gap: 20px;
   justify-content: center;
   align-items: center;
}

.logo {
   display: block;
   margin: 0 auto;
   width: 250px;
   /*   display: flex;
   justify-content: center;
   align-items: center; */
}

.logo img {
   width: 100%;
}

.header-menu {
   display: flex;
}

.menu-item {
   position: relative;
   padding: 14px 30px;
   transition: .3s;
   border-radius: 4px;
   cursor: pointer;
}

.menu-item a {
   color: #000080;
   font-size: 16px;
   font-weight: 600;
}

/* .menu-item:hover {
   background: var(--main-color);
} */

.menu-item:hover>a {
   color: var(--selected-text);
   text-decoration: underline;
}

/* .current-menu-item {
   background: var(--main-color);
} */

.current-menu-item a {
   color: var(--selected-text)
}

.sub-menu {
   position: absolute;
   overflow: hidden;
   top: 100%;
   max-height: 0px;
   background: #fff;
   transition: .2s;
}

.menu-item:hover .sub-menu {
   max-height: 200px;
}

/* header END */

main {
   display: flex;
   flex-direction: column;
   gap: 40px;
   margin-top: 90px !important;
}

/* main banner */
.main__banner {
   width: 100%;
   border-radius: 30px;
   overflow: hidden;
}

.main__banner-wrapper {
   display: flex;
   flex-direction: column;
   padding: 80px 40px;
   align-items: center;
   color: #fff;
   text-shadow: 2px 4px 5px #00000066;
   text-align: center;
   background: #00000082;
}

.main__banner_title,
.page-title {
   font-size: 40px;
   line-height: 1.2em;
   font-weight: 800;
}

.main__banner_text {
   margin-top: 20px;
   font-size: 20px;
}

.main__banner_sub-title {
   margin-top: 20px;
   font-size: 26px;
}

.main__banner_sub-title span {
   font-weight: 600;
}

/* main banner END */

/* info_blocks */
.info_blocks-wrapper {
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
}

.info-block__item {
   width: calc(25% - 15px);
   display: flex;
   flex-direction: column;
   padding: 30px;
   border-radius: 20px;
   gap: 20px;
   align-items: center;
   background: linear-gradient(128deg, #008de482 0%, #1dd51973 100%);
   box-shadow: 0 1px 4px rgb(0 0 0), -23px 0 20px -23px rgb(0 0 0 / 80%), 23px 0 20px -23px rgb(0 0 0 / 80%), 0 0 40px rgb(0 0 0 / 10%) inset;
}

.info-block__item_img {
   width: 100px;
   aspect-ratio: 1 / 1;
   object-fit: contain;
}

.info-block__item_title {
   width: 100%;
   font-size: 20px;
   font-weight: 600;
   line-height: 1.3;
}

.info-block__item_text {
   width: 100%;
   font-size: 20px;
   font-weight: 400;
   line-height: 1.6;
}

/* info_blocks END */

/* logo_compaines */
.logo_compaines {
   padding: 20px 0;
   border-top: 1px solid #ccc;
   border-bottom: 1px solid #ccc;
}

.logo_compaines-wrapper {
   display: block;
   /*flex;*/
   margin: 0 auto;
   flex-wrap: wrap;
   gap: 40px;
}

.logo-compaines__item {
   width: calc(15% - 44px);
   display: flex;
   filter: grayscale(1);
}

.logo-compaines__item_img {
   width: 100%;
   height: 100%;
   object-fit: contain;
}

/* logo_compaines END */

/* footer */
footer {
   width: 100%;
   margin-top: 40px;
   background-color: #1e1e1e;
   padding: 20px 0;
   color: #9d9d9d;
   font-weight: 600;
   font-size: 18px;
}

.footer-wrapper {
   display: flex;
   gap: 40px;
   align-items: center;
   justify-content: center;
}

footer .logo img {
   width: 100%;
   filter: grayscale(1);
}

.logo-col {
   display: flex;
   gap: 10px;
   flex-direction: column;
}

.logo-col a {
   color: #9d9d9d;
}

.logo-col a:hover {
   color: var(--selected-text);
}

/* footer END */

/* form  */
.form-wrapper {
   display: flex;
   border-radius: 20px;
   background: #1e1e1e;
   color: #fff;
   font-size: 18px;
}

.form-wrapper a {
   display: block;
   color: #fff;
   text-decoration: underline;
}

.form-wrapper a:hover {
   color: var(--selected-text);
}

.form-left-part,
.form-right-part {
   width: 50%;
   padding: 35px;
   display: flex;
   flex-direction: column;
   gap: 10px;
}

.form-wrapper h3 {
   font-size: 26px;
   font-weight: 600;
}

.wpcf7-text,
.wpcf7-textarea {
   width: 100%;
   padding: 15px;
   border-radius: 10px;
   font-size: 16px;
}

.form-left-part {
   font-size: 20px;
}

label {
   display: block;
   width: 100%;
}

.form-row p {
   display: flex;
   gap: 5px;
}

.form-row label {
   flex: 1;
}

.form-wrapper textarea {
   width: 100%;
   height: 120px;
   font-size: 18px;
   font-family: inherit;
   resize: none;
}

label br {
   display: none;
}

.wpcf7-submit {
   width: 100%;
   border-radius: 20px;
   padding: 15px;
   color: #fff;
   background: #903a39;
   cursor: pointer;
   font-size: 18px;
}

.wpcf7-form-control-wrap {
   display: flex;
   width: 100%;
   gap: 10px;
   justify-content: center;
   flex-direction: column;
   align-items: center;
}

/* form  END */

/* page category */
.category-description {
   margin: 20px 0;
   font-size: 20px;
   line-height: 1.4;
}

.posts-list {
   width: 100%;
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
}

.post-card {
   width: calc(25% - 15px);
   display: flex;
   flex-direction: column;
   gap: 20px;
   border: 1px solid #ccc;
   transition: .2s;
   overflow: hidden;
}

.post-card_img {
   width: 100%;
   height: 200px;
   object-fit: cover;
   transition: .2s;
}

.post-content {
   padding: 20px;
   text-align: center;
}

.post-title {
   font-size: 20px;
   color: #000;
   transition: .2s;
}

.post-card:hover {
   box-shadow: 0 1px 4px rgb(0 0 0), -23px 0 20px -23px rgb(0 0 0 / 80%), 23px 0 20px -23px rgb(0 0 0 / 80%), 0 0 40px rgb(0 0 0 / 10%) inset;
}

.post-card:hover .post-card_img {
   scale: 1.06;
}

.post-card:hover .post-title {
   color: var(--selected-text);
   text-decoration: underline;
}

/* page category END */

/* single-post */
.single-post .main__banner {
   min-height: 400px;
}

.content {
   font-size: 18px;
   line-height: 1.4;
}

.content p {
   text-indent: 30px;
}

/* single-post END */