.faq main > p {
    text-align: justify;
}

.faq-tabs {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    border-bottom: 1px solid var(--border);
}

.faq-tab {
    appearance: none;
    width: 200px;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background: var(--gray1);
    color: var(--gray5);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.faq-tab:hover,
.faq-tab.is-active {
    background: var(--blue1);
    color: var(--white);
    border-color: var(--blue1);
}

.faq-wrap {
    margin-bottom: 60px;
}

.faq-panel h2 {
    margin: 35px 0 12px;
}

.faq-category {
    margin-top: 30px;
}

.faq-category h3 {
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 3px solid var(--blue1);
}

.faq-accordion {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    appearance: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 18px 0;
    border: none;
    background: transparent;
    color: var(--black);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
}

.faq-question:hover {
    color: var(--blue1);
}

.faq-icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: var(--blue1);
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: 0.2s;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
    padding: 0 0 22px;
}

.faq-answer p {
    text-align: justify;
}

.faq-answer p:not(:first-child),
.faq-list {
    margin-top: 10px;
}

.faq-list {
    list-style-type: disc;
    margin-left: 20px;
    line-height: 1.8;
}

.faq-list li {
    text-align: justify;
}

@media only screen and (max-width: 600px) {
    .faq-tabs {
        gap: 6px;
    }

    .faq-tab {
        width: 50%;
        padding: 12px 5px;
        font-size: 0.9rem;
    }

    .faq-question {
        gap: 12px;
        padding: 16px 0;
    }
}
