.tab-accordion__panel:not(.is-active) .tab-accordion__panel__content {
    display: none;
}

.tab-accordion__tabs {
    display: flex;
    flex-wrap: wrap;
    top: 1px;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid #efefef;
}

.tab-accordion__tab,
.tab-accordion__panel__toggle {
    list-style-type: none !important;
    margin: 5px 0 0;
    padding: 0;
    display: block;
    color: #000;
    position: relative;
    font-weight: 700;
    line-height: normal;
    background: transparent;
    padding: 0px 6px 13px 6px;
    text-decoration: none;
    border: none;
    border-radius: 0;
    width: 50%;
    text-align: center;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 1.2em;
}

.tab-accordion__tab:after {
    content: "";
    display: block;
    position: absolute;
    height: 3px;
    background-color: #c5502b;
    left: 0;
    bottom: 0;
    width: 0;
    transition: all ease 0.3s;
}

.tab-accordion__tab.is-active:after {
    width: 100%;
}

.tab-accordion__tab:before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 15px;
    height: 8.864px;
    transition: all ease 0.3s;
    opacity: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAHCAYAAADTcMcaAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB9SURBVHgBjcuxEUAwGIbhL+64Q2MPDbXKBkyADYxiBCNkA407rcIARlBIlSKSQyHC5Wvy3uV/yFTGlRCoYTlC0BMVYxGrqCwIzehSOio53FY+8++5/A+wN1efG4ok8sAHmYkJ+GB5Stftgb6gDl5IhyZgRDd0wbsQrNWB2gHmNy0bXUdEdwAAAABJRU5ErkJggg==");
}

.tab-accordion__tab.is-active:before {
    opacity: 1;
}

.tab-accordion__tab.is-active,
.tab-accordion__panel__toggle.is-active {
    border: none;
}

.tab-accordion__panel__toggle.is-active {
    border-radius: 4px 4px 0 0;
}

.tab-accordion__tab.is-active,
.tab-accordion__tab:hover,
.tab-accordion__tab:focus,
.tab-accordion__panel__toggle.is-active,
.tab-accordion__panel__toggle:hover,
.tab-accordion__panel__toggle:focus {
    color: inherit;
    background: #fff;
    text-decoration: none;
    outline: none;
}

.tab-accordion__tab:hover {
    color: #4797a3;
}

.tab-accordion__panel__content {
    padding: 0;
    border: none;
    overflow: hidden;
}

.tab-accordion {
    position: relative;
}

.tab-accordion__panel__content .blog-listing__pagination [class*="col-"] {
    padding-left: 0;
}

@media (min-width: 768px) {
    .tab-accordion__tab {
        font-size: 16px;
        letter-spacing: 0.08em;
        width: auto;
        padding: 0px 6px 18px 6px;
    }

    .tab-accordion__tabs {
        justify-content: space-between;
    }
}
