/*
Theme Name: Template
Author: Template
Version: 1
Description: Required plugins: Yoast SEO
*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
:root {
    --white: #FFFFFF;
    --bg-1: #1A2C38;
    --bg-2: #FFFFFF;
    --black: #161616;
    --button1: #1475E1;
    --button1-hover: #4AA0FF;
    --button2: #00E701;
    --button2-hover: #72FF60;
    --advantages: #0CA652;
    --disadvantages: #FF2237;
    --h1: 800 32px/34px 'Outfit';
    --h2: 800 28px/30px 'Outfit';
    --h3: 700 22px/24px 'Outfit';
    --text3: 600 20px/36px 'Outfit';
    --text2: 600 18px/30px 'Outfit';
    --text1: 400 16px/24px 'Outfit';
    --text1-small: 400 12px/14px 'Outfit';
    --text1-bold: 700 16px/24px 'Outfit';
}
body {
    font-family: 'Outfit', 'Trebuchet MS';
    font: var(--text1);
    margin: 0;
    padding: 0;
    background-color: var(--white);
    color: var(--black);
}
main {
    min-height: 75vh;
}

.top .breadcrumbs{
    color: white;
}

.top .breadcrumbs a {
    color: white;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: auto;
}
.header {
    background-color: var(--bg-1);
}
.header .container {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 72px;
}
.header-nav {
	display: flex;
    align-items: center;
    justify-content: space-between;
	flex-grow: 1;
}
.header-menu {
    display: flex;
    gap: 70px;
    list-style-type: none;
    margin: 0;
}
.header-menu a {
    font: var(--text1-bold);
    color: #ffffff;
    text-decoration: none;
}
.header-menu a:hover {
    color: var(--button1-hover);
    text-decoration: none;
}
.menu-button {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
.menu-button div {
    width: 24px;
    height: 3px;
    border-radius: 1px;
    background-color: #ffffff;
}
.header-buttons {
    display: flex;
    gap: 20px;
}
.button {
    height: 48px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 8px;
    color: var(--black);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: var(--text2);
}
.button1 {
    background-color: var(--button1);
    color: var(--white);
}
.button1:hover {
    background-color: var(--button1-hover);
}
.button2 {
    color: white;
    border: 1px solid var(--button1);
}
.button2:hover {
    border: 1px solid var(--button1-hover);
}
table, .wp-block-table table {
    margin: 1em 0;
    border-collapse: separate;
    border-spacing: 0;
}
.wp-block-table td, .wp-block-table th {
    padding: 15px 30px;
    text-align: left;
    border: 2px solid var(--black);
    border-style: none solid solid none;
/*     text-align: center; */
}
tr:first-child td:first-child {border-top-left-radius: 10px;}
tr:first-child td:last-child {border-top-right-radius: 10px;}
tr:last-child td:first-child {border-bottom-left-radius: 10px;}
tr:last-child td:last-child {border-bottom-right-radius: 10px;}
tr:first-child td { border-top-style: solid; }
tr td:first-child { border-left-style: solid; }
th {
    background-color: var(--bg-2);
    color: var(--text-color);
}
tr th:nth-of-type(1) {
    border-radius: 6px 0 0 6px;
}
tr th:nth-of-type(3) {
    border-radius: 0 6px 6px 0;
}
table tr:nth-of-type(even) td {
    background-color: var(--bg-2);
}
h1 {
    margin-top: 0;
    margin-bottom: 0;
    font: var(--h1);
    color: black;
}

.top h1 {
    color: white;
}

h2 {
    margin: 1em 0;
    font: var(--h2);
}
h3 {
    margin: 1em 0;
    font: var(--h3);
}
p {
    margin: 1em 0;
    font: var(--text1);
}
.footer {
    background-color: var(--bg-1);
    color: #ffffff;
    min-height: 110px;
    display: flex;
    clear: both;
}
.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}
.copyright {
    display: flex;
    align-items: center;
    gap: 12px;
}
article {
    padding: 35px 0;
}
article ul, article ol {
    list-style: none;
    margin: 1em 0;
}
article ul {
    gap: 0;
}
article a {
    color: var(--button1-hover);
}
article a:hover {
    text-decoration: none;
}
article li {
    padding: 8px 16px 8px 40px;
    position: relative;
    font: var(--text1);
}
/*
article ul li::before,
article ul li::after {
    content: '';
    display: block;
    border-bottom: none;
    border-left: none;
    border-right: 3px solid var(--button1);
    border-top: 3px solid var(--button1);
    padding: 7px;
    position: absolute;
    top: calc(50% - 8px);
    left: 3px;
    rotate: 45deg;
}
article ul li::after {
    left: 10px;
}
*/
article ul li::before {
    content: '';
    position: absolute;
    display: block;
    width: 12px;
    height: 12px;
    border: none;
    left: 16px;
    top: calc(50% - 6px);
    border-radius: 6px;
    padding: 0;
    background-color: var(--button1);
}
article ol {
    counter-reset: ol-counter;
}
article ol li::before {
    background-color: var(--white);
    border: 3px solid var(--bg-1);
    border-radius: 15px;
    color: var(--button1);
    width: 22px;
    height: 22px;
    position: absolute;
    top: calc(50% - 14px);
    left: 0;
    content: counter(ol-counter);
    counter-increment: ol-counter;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
}
.schema-faq {
    margin: 1em 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.schema-faq-section {
    padding: 16px 56px 16px 30px;
    border: 2px solid var(--button1);
    border-radius: 10px;
    position: relative;
}
.schema-faq-section::before,
.schema-faq-section::after {
    content: '';
    display: block;
    position: absolute;
    background-color: var(--button1-hover);
}
.schema-faq-section::before {
    top: 16px;
    right: 31px;
    width: 3px;
    height: 26px;
}
.schema-faq-section.open::before {
    display: none;
}
.schema-faq-section::after {
    top: 27px;
    right: 20px;
    width: 26px;
    height: 3px;
}
.schema-faq-section h3 {
    margin: 0;
}
.schema-faq-question {
    cursor: pointer;
    background: white;
	user-select: none;
}
.schema-faq-answer {
    display: none;
}
.open .schema-faq-answer {
    display: block;
}
.proscons {
    gap: 20px;
    margin: 1em 0;
}
.proscons > div {
    border-radius: 10px;
    border: 2px solid var(--advantages);
}
.proscons > div h3 {
    margin: 0;
    padding: 10px 0;
    text-align: center;
    color: var(--white);
    border-radius: 5px 5px 0 0;
}
.proscons > div:nth-of-type(1) {
    border: 2px solid var(--advantages);
}
.proscons > div:nth-of-type(1) h3 {
    background-color: var(--advantages);
}
.proscons > div:nth-of-type(2) {
    border: 2px solid var(--disadvantages);
}
.proscons > div:nth-of-type(2) h3 {
    background-color: var(--disadvantages);
}
.proscons ul {
    margin: 10px 0;
}
.proscons li {
    font: var(--text1);
}
.proscons li::before {
    width: 12px;
    height: 12px;
    border: none;
    left: 16px;
    top: calc(50% - 6px);
    border-radius: 6px;
    padding: 0;
}
.proscons li::after {
    display: none;
    border: none;
    padding: 0;
}
.proscons > div:nth-of-type(1) li::before {
    background-color: var(--advantages);
}
.proscons > div:nth-of-type(2) li::before {
    background-color: var(--disadvantages);
}
.top {
    background-image: url(images/main-bg-1.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    position: relative;
    height: 560px;
    overflow: hidden;
}

.page-template-page-1 .top {
    background-image: url(images/main-bg-2.webp);
}
.page-template-page-2 .top {
    background-image: url(images/main-bg-3.webp);
    height: 592px;    
}
.page-template-page-3 .top {
    background-image: url(images/main-bg-4.webp);
    height: 592px;
}
.top .container {
    height: 500px;
    position: relative;
    z-index: 3;
}
.top_b {
    width: 100%;
    height: 100%;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: right center;
    margin: 30px auto 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
}
.top_b__title {
    color: white;
    font: var(--text1);
    width: 60%;
}
.top_b h1 {
    width: 60%;
}
.toc-btn {
    border-radius: 8px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    user-select: none;
    border: 2px solid var(--button1-hover);
}
.toc-btn::after {
    content: '';
    display: block;
    border: 6px solid transparent;
    border-top: 6px solid var(--button1);
    margin-top: 8px;
    margin-left: 3px;
}
.toc-btn:hover {
    border: 2px solid var(--button1-hover);
    background-color: var(--button1-hover);
}
.toc-btn:hover::after {
    border: 6px solid transparent;
    border-top: 6px solid var(--button1);    
}
.toc {
    display: none;
    margin: 1em 0 0 0;
    padding: 10px 20px;
    border: 2px solid var(--button1);
    border-radius: 10px;
    justify-content: center
}
.toc a {
    font: var(--text1-bold);
    color: var(--black);
    text-decoration: none;
}
.toc a:hover {
    color: var(--button1-hover);
}
.toc.toc-open {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    gap: 10px;
}
.toc-btn-open::after {
    rotate: 180deg;
    margin-top: -3px;
}
.klski {
    padding: 0 20px;
    border: 2px solid var(--button1);
    border-radius: 10px;
    margin: 1em 0;
    text-align: center;
}
.klski ul, .klski ol {
    display: grid;
    position: relative;
    padding: 0 250px;
}
.klski ul li, .klski ol li {
    min-height: 105px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    font: var(--text1);
	text-align: left;
}
.klski ul li strong, .klski ol li strong {
	display: contents;
}
.klski ul li::before {
    rotate: 0deg;
    width: 32px;
    height: 38px;
    border: none;
    padding: 0;
    background-image: url(images/arrows.png);
    background-color: transparent;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
}

.klski ol li::before {
    rotate: 0deg;
    width: 25px;
    height: 25px;
    border: 3px solid var(--button1);
    padding: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.klski ul li::after, .klski ol li::after {
    content: '';
    rotate: 0deg;
    border: none;
    padding: 0;
    width: 4px;
    height: calc(100% - 60px);
    background-color: var(--button1);
    left: 14px;
    top: 50px;
    display: block;
    position: absolute;
}
.klski ul li:last-child, .klski ol li:last-child {
    height: calc(100% + 40px);
}
.klski ul li:last-child::after, .klski ol li:last-child::after {
    height: calc(100% - 100px);
}
.klski ul::after, .klski ol::after {
    content: '';
    display: block;
    width: 32px;
    height: 38px;
    background-image: url(images/arrows.png);
    background-repeat: no-repeat;
    position: relative;
}

.hr {
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    opacity: 0.2;
}
.klski li img {
    max-width: 100%;
    height: auto;
}
.reviews {
    gap: 20px;
    margin: 1em 0;
}
.reviews > div {
    border-radius: 8px;
    border: 2px solid var(--button1);
    padding: 0 1em 0 calc(2em + 48px);
    position: relative;
}
.reviews > div::before {
    position: absolute;
    content: url(images/face.png);
    top: 1em;
    left: 1em;
}
#footer-menu, .copyright {
    padding: 40px 0;
    flex-wrap: wrap;
    gap: 20px;
}
@media (max-width: 1600px) {
    .container {
        max-width: 100%;
        padding: 15px;
    }
    article {
        padding: 20px 0;
    }
}
@media (max-width: 1200px) {
    .header .container {
        max-width: 100%;
        position: relative;
        gap: 20px;
    }
    .site-logo {
        flex-grow: 1;
    }
    .menu-button.open div {
        background-color: var(--button2-hover);
    }
    .menu-button {
        display: flex;
        position: relative;
    }
    .header-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        flex-grow: 0;
        gap: 20px;
        min-width: 300px;
        max-width: 450px;
        width: 100%;
        position: absolute;
        left: 0;
        top: 118px;
        padding: 30px;
        background-color: var(--bg-1);
        z-index: 10;
    }
    .header-nav.open {
        display: flex;
    }
    .header-menu {
        flex-direction: column;
        gap: 20px;
    }
    .header-buttons {
        display: flex;
    }
    .alignright, .alignleft {
        float: unset;
        margin: 10px 0;
        max-width: 100%;
        height: auto;
    }
    table td {
        padding: 15px 20px;
    }
    .schema-faq {
        gap: 10px;
    }
    .schema-faq-section {
        padding: 14px 46px 14px 14px;
    }
    .schema-faq-section::before {
        top: 13px;
        right: 27px;
    }
    .schema-faq-section::after {
        top: 24px;
        right: 16px;
    }
    .proscons {
        gap: 10px;
    }
    .top {
        padding: 0;
        height: auto;
    }
    .top_b {
        margin-top: 0;
        justify-content: flex-start;
        gap: 20px;
    }
    .klski ul {
        padding: 0;
    }
}
@media (max-width: 900px) {
    .top .container {
        height: auto;
    }
    .top_b {
        justify-content: flex-start;
        background-position: center bottom;
    }
}
@media (max-width: 600px) {
    :root {
        --h1: 800 28px/30px 'Outfit';
        --h2: 800 24px/26px 'Outfit';
        --h3: 700 20px/22px 'Outfit';
        --text2: 600 20px/26px 'Outfit';
        --text1: 400 16px/20px 'Outfit';
        --text1-small: 400 12px/14px 'Outfit';
        --text1-bold: 700 16px/20px 'Outfit';
    }
    .header {
        height: 150px;
    }
    .header .container {
        height: 150px;
        flex-wrap: wrap;
        row-gap: 0;
        column-gap: 10px;
        align-items: flex-start;
    }
    .container {
        padding: 10px;
    }
    .site-logo {
        order: 1;
    }
    .menu-button {
        order: 2;
        margin-top: 12px;
    }
    .header-buttons {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    .header-nav {
        width: 100%;
        max-width: 100%;
        top: 150px;
    }
    .header-buttons .button1, .header-buttons .button2 {
		padding-left: 30px;
		padding-right: 30px;
		height: 40px;
		line-height: 1;
		font-size: 19px;
	}
    .footer .container {
        gap: 44px;
    }
    .copyright {
        gap: 6px;
    }
    .copyright span {
        font-size: 16px;
    }
    .wp-block-table td, .wp-block-table th {
        padding: 10px;
    }
    article {
        padding: 0;
    }
    article ul  {
        gap: 0;
    }
    .top {
        padding: 20px 0;
        background: url(images/main-bg-1-mob.webp), var(--bg-1);
        background-size: 100% auto, auto;
        background-repeat: no-repeat;
        background-position: center bottom, center;
        height: auto;
    }
    .page-template-page-1 .top {
        background: url(images/main-bg-2-mob.webp), var(--bg-1);
        background-size: 100% auto, auto;
        background-repeat: no-repeat;
        background-position: center bottom, center;
        height: auto;
    }
    .page-template-page-2 .top {
        background: url(images/main-bg-3-mob.webp), var(--bg-1);
        background-size: 100% auto, auto;
        background-repeat: no-repeat;
        background-position: center bottom, center;
        height: auto;
    }
    .page-template-page-3 .top {
        background: url(images/main-bg-4-mob.webp), var(--bg-1);
        background-size: 100% auto, auto;
        background-repeat: no-repeat;
        background-position: center bottom, center;
        height: auto;
    }
    .top_b {
        margin: 0 auto 0 auto;
        padding: 10px 10px 280px 10px;
        justify-content: space-evenly;
    }
    .top_b h1, .top_b__title {
        width: 100%;
    }
    .top_b .button {
		height: 42px;
		padding-left: 15px;
		padding-right: 15px;
		width: 100%;
	}
    .toc {
        padding: 20px 10px;
    }
    .klski {
        padding: 0 10px;
    }
	
	.klski ul, .klski ol {
		padding: 0;
	}
	
    #footer-menu {
        padding: 30px 0 0 0;
        flex-direction: row;
    }
    .copyright {
        padding: 0 0 30px 0;
    }
}