.faq-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 5%;
}

.faq-back-link {
    font-family: Poppins-regular;
    color: white;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.faq-back-link:hover {
    color: white;
    text-decoration: underline;
}

.faq-title-banner {
    width: 100%;
    height: 100px;
    background-color: rgb(32, 90, 91);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.faq-page-title {
    font-family: Poppins-bold;
    color: white;
    font-size: xx-large;
    text-align: center;
    margin: 0;
}

.faq-intro-text {
    color: white;
    font-family: Poppins-regular;
    text-align: justify;
    margin-top: 30px;
    margin-bottom: 30px;
}

.faq-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.faq-toc-aside {
    flex: 0 0 230px;
    position: sticky;
    top: 30px;
}

.faq-toc-label {
    font-family: Poppins-bold;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.faq-toc {
    display: flex;
    flex-direction: column;
}

.faq-toc a {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-family: Poppins-regular;
    font-size: 14px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    padding: 11px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.faq-toc a:hover,
.faq-toc a:focus-visible {
    color: white;
    padding-left: 8px;
}

.faq-toc a.is-active {
    color: white;
}

.faq-toc a.is-active .faq-toc-index {
    color: rgb(122, 200, 200);
}

.faq-toc-index {
    font-family: Poppins-bold;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.faq-content {
    min-width: 0;
    flex: 1 1 auto;
}

.faq-category {
    margin-bottom: 50px;
    scroll-margin-top: 20px;
}

.faq-category-title {
    font-family: Poppins-bold;
    font-size: x-large;
    color: white;
    margin-bottom: 20px;
}

.faq-list {
    margin-top: 0;
}

.faq-item {
    color: white;
    font-family: Poppins-regular;
    background-color: rgb(27, 75, 76);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
}

.faq-question {
    font-family: Poppins-bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-family: Poppins-regular;
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    font-family: Poppins-regular;
    text-align: justify;
    margin: 15px 0 0;
}

.faq-answer a {
    color: white;
}

/*TABLET*/
@media screen and (max-width:990px) {
    .faq-page-title {
        font-size: 28px;
        margin: 0 0 30px;
    }

    .faq-category-title {
        font-size: 20px;
    }

    .faq-intro-text,
    .faq-question,
    .faq-answer {
        font-size: 15px;
    }

    .faq-layout {
        flex-direction: column;
        gap: 30px;
    }

    .faq-toc-aside {
        position: static;
        flex: none;
        width: 100%;
    }

    .faq-toc {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .faq-toc a {
        flex: 0 0 auto;
        gap: 8px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 20px;
        padding: 9px 16px;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .faq-toc a:hover,
    .faq-toc a:focus-visible,
    .faq-toc a.is-active {
        padding-left: 16px;
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
    }
}

/*MOBILE*/
@media screen and (max-width:767px) {
    .faq-page-title {
        font-size: 28px;
        margin: 0 0 30px;
    }

    .faq-category-title {
        font-size: 20px;
    }

    .faq-intro-text,
    .faq-question,
    .faq-answer {
        font-size: 15px;
    }

    .faq-toc a {
        font-size: 13px;
        padding: 8px 14px;
    }

    .faq-toc-index {
        display: none;
    }

    .faq-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
