/* ============================================================
   FAQ PAGE — faq.css  (redesigned to match screenshot)
   ============================================================ */

/* ---------- Page Wrapper ---------- */
.faq-page {
    background: #fff;
    min-height: 60vh;
    font-size: 14px;
    color: #222;
    padding: 30px 0;
}

/* ---------- Optional page heading ---------- */
.faq-heading {
    padding: 32px 0 8px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 0;
}

/* ---------- FAQ List ---------- */
.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---------- FAQ Item ---------- */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:first-child {
    border-top: 2px solid #222;
}

/* ---------- Question Row ---------- */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 8px 17px 0;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 54px;
    background: #fff;
    transition: background 0.15s;
}

/* .faq-question:hover {
    background: #fafafa;
} */

.faq-question-left {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

/* ---------- Category Tag ---------- */
.faq-cat {
    flex-shrink: 0;
    font-size: 13.5px;
    font-weight: 400;
    white-space: nowrap;
    min-width: 200px;
    display: inline-block;
    color: #a8a8a8;
}

/* ---------- Question Text ---------- */
.faq-question-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
    flex: 1;
    color: #222;
    transition: color 0.15s;
}

/* ---------- Chevron ---------- */
.faq-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    line-height: 1;
    transition: transform 0.22s ease;
    font-style: normal;
}

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

/* ---------- Answer ---------- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(.4, 0, .2, 1);
}

.faq-item.open .faq-answer {
    max-height: 800px;
}

.faq-answer-inner {
    padding: 0 8px 20px 0;
    font-size: 14px;
    color: #444;
    line-height: 1.8;
}

/* ---------- Container width ---------- */
.faq-page .ctnr {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .faq-cat {
        min-width: 80px;
        font-size: 12px;
    }

    .faq-question {
        padding: 14px 4px 14px 0;
    }

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