/** Faqs css **/
html {
    scroll-behavior: smooth;
}

/* MAIN WRAPPER */
.faq-page,
.faq-wrapper {
    width: 100%;
    margin: auto;
}

/* ========================================
   MOST FREQUENTLY ASKED QUESTIONS
======================================== */

.faq-popular {
    margin-bottom: 60px;
}

.faq-popular h2,
.faq-category-section h2 {
    font-family: var(--e-global-typography-ba02243-font-family), Baskerville;
    font-size: var(--e-global-typography-ba02243-font-size);
    font-weight: var(--e-global-typography-ba02243-font-weight);
    line-height: var(--e-global-typography-ba02243-line-height);
    letter-spacing: var(--e-global-typography-ba02243-letter-spacing);
    color: var(--e-global-color-2ec9704);
	margin-bottom: 31px;
}

/* ========================================
   CATEGORY NAVIGATION
======================================== */

.faq-nav {
    display: flex;
    gap: 10px;
    margin: 30px 0 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-nav a {
    padding: 10px 18px;
    border-radius: 25px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--e-global-typography-c7b325a-font-family), Baskerville;
    font-size: 16px;
    font-weight: var(--e-global-typography-c7b325a-font-weight);
    color: var(--e-global-color-4e342ee)!important;
}
/* Hover */

.faq-nav a:hover {
    background: #A7812C;
    border-color: #A7812C;
    color: #fff!important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(167,129,44,.25);
}

/* Active */

.faq-nav a.active {
    background: #A7812C;
    border-color: #A7812C;
    color: #fff;
    box-shadow: 0 6px 14px rgba(167,129,44,.25);
}

/* ========================================
   CATEGORY SECTIONS
======================================== */

.faq-category-section {
    margin-top: 80px;
    scroll-margin-top: 120px;
}

/* ========================================
   FAQ ITEM
======================================== */

.faq-item {
    width: 100%;
    transition: all 0.2s ease;
}

/* ========================================
   QUESTION
======================================== */

.faq-question {
    cursor: pointer;
    padding: 12px 25px;
    background: #ffffff;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    box-shadow: 1px 1px 6px #d8d8d8;
    font-family: var(--e-global-typography-cc47b7e-font-family), Baskerville;
    font-size: 18px;
    font-weight: var(--e-global-typography-cc47b7e-font-weight);
    line-height: var(--e-global-typography-cc47b7e-line-height);
    letter-spacing: var(--e-global-typography-cc47b7e-letter-spacing);
    color: var(--e-global-color-2ec9704);

    transition: all 0.2s ease;
}

.faq-question:hover {
    background: #3B3B3B;
    color: #ffffff;
}

/* ========================================
   ANSWER
======================================== */

.faq-answer {
    display: block;
    background: #ffffff;
    font-family: var(--e-global-typography-c7b325a-font-family), Baskerville;
    font-size: var(--e-global-typography-c7b325a-font-size);
    font-weight: var(--e-global-typography-c7b325a-font-weight);
    line-height: 1.7;
    color: var(--e-global-color-4e342ee);
    padding: 0 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: 1px 1px 6px #d8d8d8;
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 15px 16px;
}

/* ========================================
   ICONS
======================================== */

.faq-question .icon {
    display: flex;
    align-items: center;
    margin-left: 10px;
    flex-shrink: 0;
}

.icon-open {
    display: none;
}

.faq-item.active .icon-closed {
    display: none;
}

.faq-item.active .icon-open {
    display: inline-block;
}

.icon span,
.icon svg {
    transition: opacity 0.2s ease;
}

/* ========================================
   ANSWER CONTENT
======================================== */

.faq-answer p:first-child {
    margin-top: 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .faq-popular h2,
    .faq-category-section h2 {
        font-size: 24px;
    }

    .faq-nav {
        gap: 8px;
        margin: 25px 0 40px;
    }

    .faq-nav a {
        font-size: 14px;
        padding: 8px 14px;
    }

    .faq-question {
        padding: 12px 15px;
        font-size: 16px;
    }

    .faq-category-section {
        margin-top: 60px;
    }
}

.faq-sidebar-title {
    font-size: 20px;
    font-weight: 600;
    color: #292524;
    margin-bottom: 20px;
}

.faq-sidebar-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-sidebar-nav li {
    margin-bottom: 8px;
}

.faq-sidebar-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
	font-family: var(--e-global-typography-cc47b7e-font-family), Baskerville;
    font-size: var(--e-global-typography-cc47b7e-font-size);
    font-weight: var(--e-global-typography-cc47b7e-font-weight);
    line-height: var(--e-global-typography-cc47b7e-line-height);
    letter-spacing: var(--e-global-typography-cc47b7e-letter-spacing);
    color: var(--e-global-color-2ec9704)!important;

}
.faq-sidebar-nav a::before {
    content: "›";
    font-size: 20px;
    font-weight: 600;
    color: #A7812C;
    transition: transform .25s ease;
}

.faq-sidebar-nav a:hover::before,
.faq-sidebar-nav a.active::before {
    transform: translateX(4px);
}
.faq-sidebar-nav a:hover {
    background: rgba(167,129,44,.12);
    color: #A7812C;
}

.faq-sidebar-nav a.active {
    background: rgba(167,129,44,.15);
    color: #A7812C;
    font-weight: 600;
}

.faq-search-wrapper {
    margin-bottom: 10px;
}

.faq-search-box {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.faq-search-box input {
    width: 100%!important;
    height: 56px;
    border: 1px solid #D6D3D1!important;
    border-radius: 999px!important;
    padding: 0 25px 0 60px!important;
    background: #fff;
    font-size: 16px;
    color: #292524;
    outline: none;
    transition: all .25s ease!important;
}

.faq-search-box input:focus {
    border-color: #A7812C;
    box-shadow: 0 0 0 3px rgba(167,129,44,.12);
}

.faq-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #78716C;
}
#faq-no-results{
    text-align:center;
    padding:40px 20px;
    color:#78716C;
    font-size:18px;
}