.ws-faq-wrap {
    border-bottom: 1px solid var(--border);
}
.ws-faq-wrap .container {
    position: relative;
}

/* FAQ Filter Wrapper */
/* sticky */
.ws-faq-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 1;
    background: #fff;
}
@media (min-width: 768px) {
    .ws-faq-filter {
        position: sticky;
        top: 4.5rem;
    }

}

/* Tabs Styles */
.ws-faq-tabs {
    width: 100%;
    position: relative;
}

.ws-faq-tabs__button {
    flex: 1 1 0;
    min-width: 0;
    height: 6.375rem;
    padding: 1.5rem;
    border: none;
    font-weight: 500;
    color: var(--heading);
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.ws-faq-tabs__button:not(:last-child) {
    border-right: 1px solid var(--border);
}
.ws-tabs-add_list i {
    padding-left: .75rem;
}
@media (max-width: 991px) {
    .ws-faq-tabs__button {
        height: 5.5rem;
        line-height: 1.2;
        padding: 1.25rem .5rem;
        hyphens: auto;
        font-size: 1rem!important
    }
}
@media (max-width: 767px) {
    .ws-faq-tabs__button {
        flex-basis: 50%;
        height: auto;
        min-height: 3rem;
        background-color:  #fff;
        font-size: .875rem !important;
        padding: .5rem;
        border-bottom: 1px solid var(--border);
    }
    .ws-faq-tabs__button:nth-child(odd)) {
        border-right: 1px solid var(--border);
    }
    .ws-faq-tabs__button:nth-child(5) {
        flex-basis: 100%
    }
}
.ws-faq-tabs__button--active {
    background-color: var(--brand);
    background-image: url('../../../../inc/assets/images/green_bgr.jpg');
    background-size: cover;
    color: var(--white);
}

.ws-faq-tabs__button:hover:not(.ws-faq-tabs__button--active), .ws-faq-tabs__button:focus:not(.ws-faq-tabs__button--active) {
    background-color: #f5f5f5;
}
/* additional categories in filter */
ul.ws-faq-tabs-more {
    list-style-type: none;
    text-align: center;
    padding: 0;
    position: absolute;
    right: 0;
    width: 20%;
    top: 100%;
    display: none;
    margin-bottom: 0
}
ul.ws-faq-tabs-more.active {
    display: block;
    border: 1px solid var(--border);
    border-top-width: 0;
    background: #fff;
    z-index: 1;
}
ul.ws-faq-tabs-more li {
    padding: 1rem !important;
    list-style-type: none;
    background-color: #fff;
    font-weight: 500;
    cursor: pointer;
}
ul.ws-faq-tabs-more li.active, ul.ws-faq-tabs-more li:hover {
    color: var(--brand);
}
ul.ws-faq-tabs-more li:not(:last-child) {
    border-bottom: 1px solid var(--border)
}
@media (max-width: 767px) {
    ul.ws-faq-tabs-more {
        width: 100%;
        font-size: .875rem !important;
    }
    ul.ws-faq-tabs-more li {
        padding: .5rem !important;
        min-height: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    ul.ws-faq-tabs-more.active {
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
    }
}
/* No Results Message */
.ws-faq-no-results {
    text-align: center;
    font-size: 1.125rem;
    color: var(--headings);
    padding: 2rem 1rem;
}
/**/
.ws-faq-tabs-nav {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    align-self: stretch;
    border-right: 1px solid var(--border);
}
.ws-faq-tab {
    display: flex;
    align-items: flex-start;
    text-align: left;
    padding: 1.5rem;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-radius: 0;
    border-bottom-color: var(--border);
    background: transparent;
    cursor: pointer;
    color: var(--heading);
    font-weight: 500;
    position: relative;
}
.ws-faq-tab.is-active {
    color: var(--brand)
}
.ws-faq-tab:last-child {
    border-bottom-color: transparent;
}
.ws-faq-content, .ws-faq-panel {
    background-color: var(--lightgrey);
}
.ws-faq-panel {
    color: var(--text);
    max-height: 0;
    visibility: hidden;
    opacity: 0;
    position: relative;
    overflow: hidden;
    transition: opacity 1s, visibility 1s
}
.ws-faq-panel.is-active, .ws-faq-panel.active {
    max-height: 100rem;
    visibility: visible;
    opacity: 1;
}
.ws-faq-panel-title {
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 1.5rem
}

@media (max-width: 767px) {
    .ws-faq-tab {
        padding: 1.25rem;
        height: unset;
    }
    .m-accordion__panel:last-child .ws-faq-tab {
        border-bottom-color: transparent;
    }
    .ws-faq-tab.m-accordion__title .ppwricon-chevron-down {
        font-size: 1.25rem;
        right: -.5rem;
        top: calc(50% - .625rem);
        width: 1.25rem;
        height: 1.25rem;
    }
    .ws-faq-tabs-content {
        padding: 2rem 1.25rem;
    }
    .ws-faq-wrap .m-accordion {
        margin-bottom: 0
    }
    .ws-faq-wrap .m-accordion__panel {
        margin-bottom: 0;
        border: none
    }
    .ws-faq-panel.m-accordion__body.active {
        padding: 1.5rem 1.25rem;
    }
    .m-accordion__panel:not(:last-child) .ws-faq-panel.m-accordion__body.active {
        border-bottom: 1px solid var(--border)
    }
}
@media (min-width: 768px) {
    .ws-faq-content {
        position: relative;
    }
    .ws-faq-tabs-content, .ws-faq-tabs-nav {
        width: 50%;
    }
    .ws-faq-tab {
        padding: 1.25rem 3rem 1.25rem 2rem;
    }
    .ws-faq-tab .ppwricon-chevron-down {
        position: absolute;
        display: inline-block;
        transform:rotate(-90deg);
        color: var(--brand);
        font-size: 1.5rem;
        right: 1.25rem;
        top: calc(50% - .75rem);
        width: 1.5rem;
        height: 1.5rem;
        flex-shrink: 0;
    }
    .ws-faq-tabs-content {
        padding: 2rem;
        position: sticky;
        top: 10rem
    }
}
@media (min-width: 992px) {
    .ws-faq-tabs-content {
        top: 10.875rem
    }
}
@media (min-width: 1200px) {
    .ws-faq-tab {
        padding: 1.5rem 4rem 1.5rem 2.5rem;
    }
    .ws-faq-tab .ppwricon-chevron-down {
        right: 2rem
    }
    .ws-faq-tabs-content {
        padding: 2.5rem;
    }
}
