﻿.faq__button {
    display: inline;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
    padding: 0 8px;
}

.faq__action {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 165px;
    height: 40px;
    box-sizing: border-box;
    padding: 0 10px 0 34px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    background: #f3f4f6;
    border: 1px solid #d2d3d4;
    border-radius: 20px;
    cursor: pointer;
}

@media (min-width: 768px) {
    .faq__action {
        width: 165px;
    }
}

.faq__action svg {
    width: 18px;
    height: 18px;
    flex: none;
}

@media (min-width: 768px) {
    html.mstrip-close-desk .mstrip-side .mstrip-actions-wrapper {
        display: grid !important;
        grid-template-columns: 44px;
        grid-auto-rows: 44px;
        justify-content: center;
        align-content: start;
        row-gap: 12px !important;
    }

        html.mstrip-close-desk .mstrip-side .mstrip-actions-wrapper > .mstrip-newchat,
        html.mstrip-close-desk .mstrip-side .mstrip-actions-wrapper > .faq__action,
        html.mstrip-close-desk .mstrip-side .mstrip-actions-wrapper > .mstrip-sharechat {
            display: flex;
            position: relative !important;
            top: auto !important;
            bottom: auto !important;
            transform: none !important;
            align-items: center;
            justify-content: center;
            width: 44px !important;
            max-width: 44px !important;
            height: 44px !important;
            min-height: 44px !important;
            box-sizing: border-box;
            padding: 0 !important;
            margin: 0 !important;
            gap: 0;
            color: #222;
            background: #f3f4f6;
            border: 0;
            border-radius: 8px;
            box-shadow: none;
            text-decoration: none;
        }

            html.mstrip-close-desk .mstrip-side .mstrip-actions-wrapper > .mstrip-newchat svg,
            html.mstrip-close-desk .mstrip-side .mstrip-actions-wrapper > .faq__action svg,
            html.mstrip-close-desk .mstrip-side .mstrip-actions-wrapper > .mstrip-sharechat svg {
                width: 22px;
                height: 22px;
                flex: none;
            }

            html.mstrip-close-desk .mstrip-side .mstrip-actions-wrapper > .mstrip-newchat span,
            html.mstrip-close-desk .mstrip-side .mstrip-actions-wrapper > .faq__action span,
            html.mstrip-close-desk .mstrip-side .mstrip-actions-wrapper > .mstrip-sharechat span {
                display: none;
            }
}

.faq__footer-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

    .faq__footer-links .faq__button {
        color: #0000ee;
        padding: 0;
    }

    /* FAQ - PAGE*/

.faq-page {
    min-height: calc(100vh - 140px);
    padding: 30px 16px 60px;
    background: #f5f5f5;
    color: #333;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

.faq-page__wrapper {
    box-sizing: border-box;
    width: min(100%, 1024px);
    margin: 0 auto;
    padding: 24px 48px 30px;
    border-radius: 26px;
    background: #fff;
}

.faq__title {
    margin: 0 0 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid #dce3ed;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
}

.faq__item {
    border-bottom: 1px solid #dce3ed;
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: clamp(14px, calc(14px + .3vw), 16px);
    color: #333;
    font-weight: 500;
    padding: 15px 10px;
    margin: 0;
    cursor: pointer;
    position: relative;
    list-style: none;
    line-height: 1.4;
    transition: color .2s ease;
}

    .faq__question::-webkit-details-marker {
        display: none;
    }

.faq__arrow {
    width: 12px;
    height: 12px;
    flex: none;
    position: relative;
}

    .faq__arrow span {
        position: absolute;
        top: 5px;
        width: 7px;
        height: 2px;
        background: #333;
    }

        .faq__arrow span:first-child {
            left: 0;
            transform: rotate(45deg);
        }

        .faq__arrow span:last-child {
            right: 0;
            transform: rotate(-45deg);
        }

.faq__item[open] .faq__arrow span:first-child {
    transform: rotate(-45deg);
}

.faq__item[open] .faq__arrow span:last-child {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 0 15px 0;
    animation: faq-fade-in .4s ease-out;
}

.faq__text {
    padding: 0 10px;
    margin: 0 0 15px 0;
    font-size: clamp(15px, calc(15px + .2vw), 16px);
    color: #333;
    line-height: 1.7;
}

@keyframes faq-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.faq__item ul {
    margin: 0 0 15px;
    padding-left: 34px;
    color: #333;
    line-height: 1.7;
    font-size: clamp(15px, calc(15px + .2vw), 16px);
}

@media (max-width: 600px) {
    .faq-page {
        padding: 16px 10px 36px;
    }

    .faq-page__wrapper {
        padding: 24px 12px;
        border-radius: 22px;
    }

    .faq__title {
        line-height: 1.3;
    }
}