/* static/css/faq.css */

.faq-page-wrap {
    max-width: 720px;
    width: 90%;
    margin: calc(10vh + 3rem) auto 6rem;
    color: #e8eaf0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.faq-page-wrap h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.4rem;
}

.faq-subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    margin: 0 0 2rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.15s;
}

.faq-item[open] {
    border-color: rgba(74,144,217,0.4);
}

.faq-item summary {
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.97rem;
    color: #c9d4f0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
    -webkit-user-select: none;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    line-height: 1;
    color: rgba(255,255,255,0.35);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin: 0;
    padding: 0 1.2rem 1rem;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 0.85rem;
}

.faq-contact {
    margin-top: 2.5rem;
    padding: 1.2rem 1.4rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
}

.faq-contact strong { color: #fff; display: block; margin-bottom: 0.25rem; }
.faq-contact a { color: #7aa3e5; text-decoration: none; }
.faq-contact a:hover { text-decoration: underline; }
