/* =============================================================================
   pages/faq.css
   ----
   Page-specific decorations + tweaks for /faq.
   Concept: three floating question marks at varied sizes and rotations —
   the universal symbol of curiosity, painted in the brand's gold and navy.
   ========================================================================== */

/* Shared base for all three sizes */
.faq-deco {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    display: grid; place-items: center;
    font-weight: 900;
    font-family: inherit;
    line-height: 1;
}

/* Big "?" pill — gold tinted, rotated */
.faq-deco--lg {
    top: -36px; left: 28px;
    width: 130px; height: 130px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 211, 74, .18), rgba(255, 194, 24, .10));
    border: 1px solid var(--gold-line);
    color: var(--gold-300);
    font-size: 4.5rem;
    transform: rotate(-12deg);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, .35),
        0 0 0 1px rgba(255, 194, 24, .12) inset;
    opacity: .92;
}

/* Medium "?" — navy tinted, tipped forward */
.faq-deco--md {
    top: 84px; left: 158px;
    width: 86px; height: 86px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(65, 84, 173, .22), rgba(54, 71, 130, .12));
    border: 1px solid rgba(138, 150, 209, .22);
    color: var(--navy-200);
    font-size: 3rem;
    transform: rotate(8deg);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .30);
    opacity: .82;
}

/* Small "?" — outline only, dashed gold border */
.faq-deco--sm {
    top: 161px; left: 60px;
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(255, 194, 24, .04);
    border: 1px dashed rgba(255, 194, 24, .55);
    color: var(--gold-400);
    font-size: 1.8rem;
    transform: rotate(-6deg);
    opacity: .85;
}

/* Hide all decos on small screens */
@media (max-width: 980px) {
    .faq-deco { display: none; }
}

/* =============================================================================
   FAQ-only tweaks
   ========================================================================== */

/* Search results status text under the search bar */
.faq-meta:not(:empty)::before {
    content: "نتایج: ";
    color: var(--ink-faint);
    margin-inline-end: 4px;
}

/* No-results fallback (empty state when JS search filters everything) */
.faq-empty {
    padding: 32px 20px;
    text-align: center;
    color: var(--ink-muted);
    border: 1px dashed var(--line);
    border-radius: var(--r);
    background: var(--surface-1);
}
.faq-empty i {
    display: block;
    font-size: 2rem;
    color: var(--gold-400);
    margin-bottom: 8px;
    opacity: .6;
}
