.hs-faqs-toc {
    display: grid;
    grid-template-columns: 30% 1fr;
    column-gap: 56px;
    width: 100%;
    color: var(--hs-text);
}

.hs-faqs-toc__sidebar {
    min-width: 0;
}

.hs-faqs-toc__sidebar-inner {
    position: sticky;
    top: 190px;
}

.hs-faqs-toc__title {
    margin: 0 0 40px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--hs-text);
}

.hs-faqs-toc__title:empty {
    display: none;
}

.hs-faqs-toc__nav {
    display: flex;
    flex-direction: column;
}

body .hs-faqs-toc__nav-link {
    position: relative;
    display: block;
    padding: 4px 0;
    color: var(--hs-secondary-text-hover);
    font-size: 16px;
    line-height: 1.45;
    text-decoration: none;
    margin-bottom: 16px;
    transition:
        color .2s ease,
        background-color .2s ease;
}

.hs-faqs-toc__nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
}

.hs-faqs-toc__nav-link.is-active {
    padding-left: 16px;
    color: var(--hs-text);
    font-weight: 600;
}

.hs-faqs-toc__nav-link.is-active::before {
    background: var(--hs-primary);
}

.hs-faqs-toc__content {
    min-width: 0;
    margin-top: -92px;
}

body .hs-faqs-toc__search-wrap {
    position: relative;
    margin: -2px 0 39px;
}

body .hs-faqs-toc__search-wrap .hs-faqs-toc__search {
    display: block;
    width: 100%;
    height: 56px;
    padding: 0 18px 0 43px;
    border: 0;
    border-radius: 8px;
    outline: 0;
    background: #f5f5f5;
    color: var(--hs-text);
    font-family: inherit;
    font-size: 16px;
}

body .hs-faqs-toc__search-wrap .hs-faqs-toc__search::placeholder {
    color: var(--hs-secondary-text-hover);
}

body .hs-faqs-toc__search-wrap .hs-faqs-toc__search:focus {
    box-shadow: 0 0 0 1px #dedede;
}

.hs-faqs-toc__search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    display: flex;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    color: #777;
    pointer-events: none;
}

.hs-faqs-toc__search-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.hs-faqs-toc__section {
    scroll-margin-top: 30px;
}

.hs-faqs-toc__section + .hs-faqs-toc__section {
    margin-top: 0px;
    padding-top: 64px;
    border-top: 1px solid var(--hs-light-silver);
}

.hs-faqs-toc__section-header {
    margin-bottom: 16px;
}

.hs-faqs-toc__section-header h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--hs-text);
}

.hs-faqs-toc__section-description {
    color: var(--hs-secondary-text-hover);
    font-size: 14px;
    line-height: 1.5;
}

.hs-faqs-toc__item {
    border-bottom: 1px solid var(--hs-light-silver);
}

.hs-faqs-toc__item:last-child {
    border-bottom: 0;
}

body .hs-faqs-toc__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    width: 100%;

    padding: 24px 0;

    border: 0;
    background: transparent;

    color: var(--hs-text);
    font: inherit;
    font-size: 18px;
    line-height: 1.4;

    text-align: left;
    cursor: pointer;
}

body .is-open .hs-faqs-toc__question {
    padding-bottom: 0px;
}

body .hs-faqs-toc__question:hover,
body .hs-faqs-toc__question:focus {
    background-color: transparent;
    color: var(--hs-text);
}

.hs-faqs-toc__question > span {
    flex: 1 1 auto;
    white-space: normal;
}

.hs-faqs-toc__chevron {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #767676;
    stroke-width: 1.5;
    transition: transform .2s ease;
}

.hs-faqs-toc__item.is-open
.hs-faqs-toc__chevron {
    transform: rotate(180deg);
}

.hs-faqs-toc__answer {
    display: none;
}

.hs-faqs-toc__item.is-open .hs-faqs-toc__answer {
    display: block;
}

.hs-faqs-toc__answer-inner {
    padding: 8px 64px 24px 0;
    color: var(--hs-secondary-text-hover);
    font-size: 16px;
    line-height: 1.55;
}

.hs-faqs-toc__answer-inner p {
    margin: 0 0 10px;
}

.hs-faqs-toc__answer-inner p:last-child {
    margin-bottom: 0;
}

.hs-faqs-toc__answer-inner a {
    color: inherit;
    text-decoration: underline;
}

.hs-faqs-toc__no-results {
    padding: 30px 0;
    color: var(--hs-faqs-muted);
    font-size: 13px;
}

.hs-faqs-toc-empty {
    padding: 30px;
    border: 1px dashed #ccc;
    color: #666;
}


/* Mobile */
@media (max-width: 767px) {

    .hs-faqs-toc {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .hs-faqs-toc__sidebar-inner {
        position: static;
    }

    .hs-faqs-toc__title {
        margin-bottom: 14px;
    }

    .hs-faqs-toc__nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 18px;
    }

    .hs-faqs-toc__search-wrap {
        margin: 0 0 28px;
    }

    .hs-faqs-toc__section + .hs-faqs-toc__section {
        margin-top: 0px;
        padding-top: 40px;
    }

    .hs-faqs-toc__sidebar {
        display: none;
    }

    .hs-faqs-toc__section-header h2 {
        font-size: 20px;
    }

    body .hs-faqs-toc__question {
        font-size: 16px;
        padding: 20px 0;
    }

    body .is-open .hs-faqs-toc__question {
        padding-bottom: 0;
    }

    .hs-faqs-toc__answer-inner {
        font-size: 14px;
        padding: 8px 40px 20px 0;
    }

    .hs-faqs-toc__content {
        margin-top: 0;
    }
}