/*
FAQ Component Styles
*/

.frag-faq {
    --pb: #1a73e8;
    --pd: #0d5bb5;
    --pl: #e8f0fe;
    --td: #202124;
    --tm: #5f6368;
    --bl: #e8eaed;
    --bgl: #f8f9fa;
    --bgw: #fff;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--td);
    line-height: 1.8;
    background: var(--bgl);
    padding-bottom: 80px;
}

html[dir="rtl"] .frag-faq {
    font-family: 'Cairo', 'Plus Jakarta Sans', system-ui, sans-serif;
}

.frag-faq a {
    text-decoration: none;
    color: var(--pb);
    font-weight: 600;
    transition: .2s;
}

.frag-faq a:hover {
    color: var(--pd);
    text-decoration: underline;
}

.ffq-c {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

@keyframes ffqIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.ffq-fi {
    opacity: 0;
    animation: ffqIn .5s cubic-bezier(.22, 1, 0.36, 1) forwards;
}

.ffq-hd {
    text-align: center;
    padding: 72px 24px 36px;
    background: var(--bgw);
    border-bottom: 1px solid var(--bl);
    margin-bottom: 48px;
}

.ffq-hd h1 {
    font-size: 40px;
    font-weight: 900;
    color: var(--pb);
    margin-bottom: 12px;
    letter-spacing: -.5px;
}

.ffq-hd p {
    font-size: 16px;
    font-weight: 500;
    color: var(--tm);
    font-weight: 500;
}

.ffq-paper {
    background: var(--bgw);
    border: 1px solid var(--bl);
    border-radius: 16px;
    padding: 56px 44px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

.ffq-sec-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pd);
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bl);
}

.ffq-sec-title:first-of-type {
    margin-top: 0;
}

.ffq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ffq-item {
    border: 1px solid var(--bl);
    border-radius: 12px;
    background: var(--bgl);
    overflow: hidden;
    transition: 0.2s;
}

.ffq-item:hover {
    border-color: var(--pb);
}

.ffq-item.open {
    border-color: var(--pb);
    background: var(--bgw);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.ffq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--td);
    gap: 16px;
    user-select: none;
}

.ffq-q i {
    color: var(--tm);
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.ffq-item.open .ffq-q i {
    transform: rotate(180deg);
    color: var(--pb);
}

.ffq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ffq-a-inner {
    padding: 0 24px 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--tm);
    line-height: 1.7;
}

@media(max-width:768px) {
    .ffq-hd {
        padding: 56px 20px 28px;
    }

    .ffq-paper {
        padding: 32px 20px;
    }

    .ffq-q {
        padding: 16px 20px;
    }
}