/* FAQ Page */

.faq-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 160px;
}

.faq-header {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    background-color: #ffffff;
}

.faq-title {
    font-size: 48px;
    font-weight: 400;
    color: #222;
    margin: 0;
}

.faq-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 40px) clamp(40px, 6vw, 60px);
    width: 100%;
}

/* Category group */

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

.faq-group-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

/* FAQ item */

.faq-item {
    border-bottom: 1px solid #7e7e7e;
}

.faq-item:first-of-type {
    border-top: 1px solid #7e7e7e;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #222;
    gap: 16px;
}

.faq-question span {
    flex: 1;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: #222;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

/* Answer accordion */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding-bottom: 20px;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: #222;
    line-height: 1.67;
}

/* Responsive */

@media (max-width: 768px) {
    .faq-page {
        margin-top: 120px;
    }

    .faq-header {
        padding: 18px clamp(24px, 4vw, 60px) 18px;
    }

    .faq-title {
        font-size: 36px;
    }

    /* .faq-inner { */
        /* padding: 30px 20px; */
    /* } */

    .faq-group {
        margin-bottom: 40px;
    }

    .faq-group-title {
        font-size: 1.1rem;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 14px 0;
    }

    .faq-answer-inner {
        font-size: 0.9rem;
    }
}
