.faq-tabs {
    padding: 3rem 0;
}

.faq-tabs .redesign-title {
    font-size: 32px;
    letter-spacing: -0.67px;
    position: relative;
    font-weight: 400;
    margin-bottom: 48px;
    z-index: 1;
}

.faq-tabs .block {
    position: relative;
    background-color: white;
    min-height: 56px;
    padding: 18px 24px;
    margin-bottom: .5rem;
    margin-top: .5rem;
    border-radius: 4px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.faq-tabs .block:hover {
    background-color: #dceef8;
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.1);
}

.faq-tabs .tab-container {
    flex-wrap: wrap;
    position: relative;
}

.faq-tabs .tab-content {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    order: 1;
    z-index: 0;
}

.faq-tabs .tab-content .links-header {
    font-size: 24px;
    font-weight: normal;
    padding-bottom: 24px;
    line-height: 1.25;
    border-bottom: 1px solid #e6e6e6;
    margin-top: 8px;
}

.faq-tabs .tab-content .links-list {
    margin-left: 0;
    font-weight: normal;
}

.faq-tabs .tab-content .links-list li {
  margin-bottom: 16px;
  margin-left: 32px;
}

.faq-tabs .tab-content .links-list li:before {
    content: "\2022";
    position: absolute;
    left: 24px;
    font-size: 16px;
    vertical-align: middle;
    line-height: 20px;
    color: #920035;
    margin-right: 16px;
}

.faq-tabs .tab-content .links-list li a {
    color: #920035;
}

.faq-tabs .tab-head {
    font-weight: 400;
    text-align: left;
    padding: 0;
    margin: 0;
    font-size: 16px;
    overflow-wrap: break-word;
}

.faq-tabs .tab-text {
    font-size: 14px;
    overflow-wrap: break-word;
}

.faq-tabs .tab-button {
    display: flex;
    width: 100%;
    max-width: 300px;
    list-style: none;
    flex-grow: 1;
    text-align: left;
    cursor: pointer;
    border: solid 1px #f2f2f2;
}


.faq-tabs .tab-button[selected] {
    background-color: #920035;
    border: none;
}

.faq-tabs .tab-button[selected] .tab-head {
    color: #fff;
    font-weight: 500;
}

@media screen and (max-width: 1024px) {
    .faq-tabs .tab-container {
        padding: 0;
    }

    .faq-tabs .tab-content {
        position: initial;
    }

    .faq-tabs .tab-button {
        max-width: 100%;
    }

    .faq-tabs .tab-button:after {
        content: '\a108';
        font-family: 'icons';
        font-size: 1.25em;
        font-weight: 700;
        position: absolute;
        right: 8px;
        top: 12px;
        color: #920035;
    }

    .faq-tabs .tab-button[selected]:after {
        transform: rotate(-180deg);
        transition: transform 0.5s ease;
        color: #fff;
    }

    .faq-tabs .block {
        padding: 18px 36px 18px 16px;
    }

    .faq-tabs .tab-content .links-list {
        margin-top: 32px;
        margin-bottom: 48px;
    }
}

.faq-tabs.edit-mode .tab-content {
    display: block;
    position: initial;
}

.faq-tabs.edit-mode .tab-button {
    max-width: 100%;
}

@media screen and (min-width: 1024px) {
    .faq-tabs .redesign-title {
        font-size: 36px;
        line-height: 1.25;
    }

    @keyframes fadeRight {
        0% {
            opacity: 0;
            transform: translateX(-5%);
        }

        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .faq-tabs .tab-button[selected] + .tab-content {
        display: block;
        animation: fadeRight 0.5s ease-in-out;
        animation-fill-mode: forwards;
    }
}
