/* Tabbed FAQ - default styles (override as needed) */

.tabbed-faq {
    /* max-width: 1100px; */
    /* margin: 0 auto; */
    /* padding: 24px 16px; */
}

/* Tabs */
.tabbed-faq__tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.tabbed-faq__tabs-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 2px;
    flex: 1;
}
.tabbed-faq__tabs-track::-webkit-scrollbar { display: none; }

.tabbed-faq__tabs-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid #d6dee8;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: #1f2d3d;
}

a.tabbed-faq__tab {
    white-space: nowrap;
    border: 1px solid #d6dee8;
    background: #fff;
    color: #1f2d3d;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

a.tabbed-faq__tab.is-active, 
a.tabbed-faq__tab[aria-selected="true"] {
    background: #0b4f8a;
    border-color: #0b4f8a;
    color: #fff;
}
a.tabbed-faq__tab:not(.is-active):hover {
    background: #f5f5f5;
}

/* Accordion */
.tabbed-faq__accordion {
    display: grid;
    gap: 12px;
}

.tabbed-faq__item {
    border: 1px solid #d6dee8;
    background: #fff;
    overflow: hidden;
}

.tabbed-faq__question {
    margin: 0;
}

h3.tabbed-faq__toggle {
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    text-align: left;
    padding: 1em;
    font-size: 1em;
}

.tabbed-faq__chev {
    transition: transform 180ms ease;
    background: #f5f5f5;
    width: 1.5em;
    display: inline-block;
    text-align: center;
    height: 1.5em;
    padding-top: 0.15em;
    border-radius: 100%;
}

.tabbed-faq__item.is-open .tabbed-faq__chev {
    transform: rotate(180deg);
}

.tabbed-faq__item .tabbed-faq__chev:before {
    font-size: 0.5em;
    width: 1em;
    height: 1em;
    border-right: 2px solid #444;
    border-bottom: 2px solid #444;
    content: '';
    transform: rotate(45deg);
    display: inline-block;
}

.tabbed-faq__answer {
    border-top: 1px solid #edf2f7;
    padding: 1em;
}

.tabbed-faq__answer-inner {
    padding: 14px 18px 18px 18px;
    color: #2c3e50;
    font-size: 15px;
    line-height: 1.6;
}

.tabbed-faq__empty {
    padding: 16px 18px;
    color: #2c3e50;
    opacity: 0.85;
}
