.template-faq .section-heading h1 {
    margin-top: 41px;
}
.faq-heading-wrapper {
    padding: 18px 0;
}
.faq-heading-wrapper.sticky {
    position: sticky;
    z-index: 11;
    background-color: #ffffff;
    top: calc(var(--height-header) + var(--wpadminbar-height));
    box-shadow: rgb(0 0 0 / 16%) 0 10px 13px 0;
}
.faq-heading {
    display: flex;
    justify-content: center;
    gap: 20px 16px;
}
.faq-heading .btn {
    width: auto;
    padding: 10px 19px;
    height: auto;
    color: #000000;
}
.faq-heading .btn:not(.btn-secondary) {
    background-color: #5f7935;
    color: #ffffff;
}
.faq-content.active {
    display: block;
}

.faq-content {
    display: none;
}
.faq-container {
    max-width: 1040px;
    margin: 33px auto 107px;
}
.faq-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    background-image: linear-gradient(to right, #000000 50%, white 50%);
    background-position: left -4px bottom;
    background-size: 17.6px 1px;
    background-repeat: repeat-x;
}
.faq-item h4 {
    margin: 0;
    padding: 19px 40px 19px 0;
    background-position: top 20px right;
    background-size: 25px;
    background-repeat: no-repeat;
    cursor: pointer;
}
.faq-item .h4 {
    margin: 0;
    padding: 19px 40px 19px 0;
    background-position: top 20px right;
    background-size: 25px;
    background-repeat: no-repeat;
    cursor: pointer;
}
.faq-answer {
    display: none;
    margin: 0;
    max-width: 800px;
    padding-bottom: 20px;
}
.faq-question {
    position: relative;
}

.faq-question:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 13px;
    background: #fff;
    right: 11px;
    top: 32.5px;
    z-index: 9;
    border-radius: 3px;
    transform: translateY(-50%) rotate(90deg);
    transition: all 0.3s ease-in-out;
}

.faq-question:after {
    content: '';
    position: absolute;
    width: 2px;
    height: 13px;
    background: #fff;
    right: 11px;
    top: 32.5px;
    z-index: 9;
    border-radius: 3px;
    transform: translateY(-50%) rotate(0);
    transition: all 0.3s ease-in-out;
}

.faq-item.active .faq-question:after {
    transform: translateY(-50%) rotate(-90deg);
    transition: all 0.3s ease-in-out;
}

.faq-item h4:before {
    content: "";
    width: 24px;
    height: 24px;
    right: 0px;
    position: absolute;
    top: 21px;
    background: #5F7935;
    transition: 0.3s ease-in-out;
    border-radius: 30px;
}
.faq-item .h4:before {
    content: "";
    width: 24px;
    height: 24px;
    right: 0px;
    position: absolute;
    top: 21px;
    background: #5F7935;
    transition: 0.3s ease-in-out;
    border-radius: 30px;
}

.faq-item.active h4:before, .faq-item:hover h4:before {
    background-color: #A1AE59;
}
.faq-answer p {
    margin: 16px 0;
}
.faq-answer > *:last-child {
    margin: 0;
}
.faq-answer ul {
    padding: 0;
    list-style: none;
}

.faq-answer ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
}

.faq-answer ul li:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 9px;
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background-color: #000000;
}
.faq-answer ol {
    padding-left: 25px;
}
.faq-answer ol li {
    margin-bottom: 12px;
}
.faq-heading.visible-mobile {
    display: none;
}
@media (max-width: 1023.98px) {
    .faq-container {
        margin: 0 auto 140px;
    }
    .faq-heading.visible-desktop {
        display: none;
    }
    .faq-heading.visible-mobile {
        display: flex;
        margin-top: 0;
    }
    .template-faq .section-heading h1 {
        margin-top: 41px;
        margin-bottom: 10px;
    }
    .faq-heading-wrapper {
        padding: 10px 0;
        margin-bottom: 10px;
    }
    .faq-heading.faq-heading-dropdown {
        max-width: 290px;
        margin: 0px auto 3px;
        width: 100%;
        padding-top: 1px;
        position: relative;
        z-index: 3;
    }
    
    .faq-heading .btn {
        color: #5f7935;
        background-color: #ffffff;
        text-align: left;
        padding: 8px 45px 8px 23px;
        height: auto;
        width: 100%;
        justify-content: flex-start;
        text-align: left;
        position: relative;
        z-index: 1;
        line-height: 26px;
    }
    .faq-heading.faq-heading-dropdown > label.btn {
        background-image: url(../images/arrow-up.svg);
        background-repeat: no-repeat;
        background-position: right 23px center;
        color: #000000;
    }
    .faq-heading label.btn:not(.btn-secondary) {
        background-color: #ffffff;
        color: #000000;
    }
    .faq-heading.faq-heading-dropdown .categories-dropdown button.btn:not(.btn-secondary) {
        background-color: #5f7935;
        color: #ffffff;
    }
    .faq-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        z-index: -1;
        overflow: hidden;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        border: 1px solid #6A6A6A;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .faq-heading .faq-dropdown button.btn {
        border-radius: 0;
        border-width: 0px 0 1px 0;
        background: transparent;
        color: #000000;
        background-color: #ffffff;
        border: none;
        padding: 10.5px 23px;
    }
    .faq-heading .faq-dropdown button.btn:not(.btn-secondary) {
        background-color: #F5F5F5;
    }
    .faq-heading .faq-dropdown button.btn:last-child {
        border-width: 0;
    }
}