/* Переменные блока FAQ */
:root {
    --section-default-color: #fff;
    --section-primary-color: #f8f8f8;
    --section-secondary-color: #222;

    --faq-section-background: #FFF;
    --faq-section-title-color: #45494e;


    --faq-item-border: 1px;
    --faq-item-border-radius: 10px;
    --faq-item-border-color: #D8D8D8;


    --faq-header-background: #F5F5F5;
    --faq-header-background-hover: #F5F5F5;
    --faq-header-background-active: #F5F5F5;
    --faq-header-font-size: 14px;

    --faq-answer-background: #FFF;
    --faq-answer-background-hover: #FFF;
    --faq-answer-background-active: #FFF;
    --faq-answer-font-size: 14px;

    --faq-toggle-background: #e76e76;
    --faq-toggle-background-hover: #e76e76;
    --faq-toggle-color: #FFF;
    --faq-toggle-color-hover: #FFF;
}

body {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.33334;
}

/* Cтили блока */
.section {
    background-color: var(--background-color, transparent);
    margin-right: auto;
    margin-left: auto;
    padding: 30px 16px;
}

.section *,
.section ::before,
.section ::after {
    box-sizing: border-box;
}

.section__header {
    margin: 0 0 20px;
}

.section--left_header .section__container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 12px;
}


.section--left_header .section__header {
    width: 100%;
}

.section--left_header .section__content {
    width: 100%;
}

.section__title {
    margin: 0;
    padding: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.143;
    color: var(--faq-section-title-color, #000);
    letter-spacing: -.02em;
}

.accordion {
    width: 100%;
    margin: 0 auto;
}

.accordion__item {
    border: var(--faq-item-border, 1px) solid var(--faq-item-border-color, #D8D8D8);
    border-radius: var(--faq-item-border-radius, 5px);
    overflow: hidden;
    break-inside: avoid;
    page-break-inside: avoid;
}

.accordion__item:nth-child(n+2) {
    margin-top: 20px;
}

.accordion__item-header {
    cursor: pointer;
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    background-color: #f5f5f5;
    padding: 10px 10px 10px 20px;
    font-size: var(--faq-header-font-size, 14px);
    font-weight: 700;
    color: #45494e;
    transition: background-color 0.2s;
}

.accordion__item-header::after {
    content: '\002B';
    display: flex;
    flex: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background-color: var(--faq-toggle-background, #e9e9e9);
    border-radius: 50px;
    font-size: 24px;
    font-weight: 400;
    color: var(--faq-toggle-color, #000);
    transition: 0.2s ease-in-out;
    transition-property: color, background-color;
}

.accordion__item-header:hover::after {
    background-color: var(--faq-toggle-background-hover, #f5f5f5);
    color: var(--faq-toggle-color-hover, #000);
}

.accordion__item-header:hover {
    background-color: #e9e9e9;
}

.accordion__item-content {
    padding: 0px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    font-size: var(--faq-answer-font-size, 14px);
    color: var(--faq-item-content-color, #333);
    line-height: 1.42;
}

.accordion__item-content > :first-child {
    margin-top: 0;
}

.accordion-content > :last-child {
    margin-bottom: 0;
}

.accordion__item--active .accordion__item-header::after {
    content: '\2212';
}

.accordion__item--active .accordion__item-content {
    padding: 20px;
    max-height: 1000px;
}

.accordion__item p,
.accordion__item ul,
.accordion__item ol {
    margin: 0.5em 0;
}

@media (min-width: 640px) {
    .section {
        padding: 30px 24px;
    }

    .section--left_header .section__container {
        column-gap: 24px;
    }
}

@media (min-width: 960px) {
    .section {
        padding: 30px 24px;
    }

    .section__header {
        margin: 0 0 30px;
    }

    .section--left_header .section__container {
        column-gap: 36px;
    }

    .section--left_header .section__header {
        width: calc(33.333% - 18px);
        margin-bottom: 0;
    }

    .section--left_header .section__content {
        width: calc(66.667% - 18px);
    }

    .section--two_column .accordion {
        column-count: 2;
        column-gap: 20px;
        margin-top: -20px;
    }

    .section--two_column .accordion__item {
        display: inline-block;
        height: auto;
        margin-top: 20px;
    }

    .section__title {
        font-size: 40px;
        line-height: 1.1;
        letter-spacing: -.04em;
    }

    .tabs__nav {
        max-width: 280px;
    }
}

@media (min-width: 1200px) {
    .section {
        padding: 50px;
    }

    .section--left_header .section__container {
        column-gap: 40px;
    }

    .section--left_header .section__header {
        width: calc(33.333% - 24px);
    }

    .section--left_header .section__content {
        width: calc(66.667% - 24px);
    }
}