﻿/*************************************FAQ[Start]*************************************/
/* عنوان بخش سوالات متداول */
.hp-faq-title {
    position: relative;
    margin: 2.1em 0 .9em;
    padding: 4px 16px 4px 0;
    border-right: 4px solid var(--hp-accent);
    color: var(--hp-ink);
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 800;
    line-height: 1.7;
}

.item-mg{
    margin-top:15px;
}
/* ظرف اصلی سوالات متداول */
.btm-bx-bc1 {
    direction: rtl;
    margin: 20px 0;
}

    /* هر آیتم سوال */
    .btm-bx-bc1 .bx-mg-hd {
        margin: 12px 0 0;
    }

        /* بخش کلیک‌پذیر سوال */
        .btm-bx-bc1 .bx-mg-hd > section,
        .btm-bx-bc1 .bx-mg-hd > div:first-child {
            box-sizing: border-box;
        }

    /* عنوان سوال */
    .btm-bx-bc1 .title-q {
        position: relative;
        margin: 0 !important;
        padding: 15px 62px 15px 60px !important;
        background: #fff;
        border: 1px solid var(--hp-border);
        border-radius: 12px;
        color: var(--hp-ink);
        font-size: 15.5px !important;
        font-weight: 700;
        line-height: 1.8;
        text-align: right !important;
        cursor: pointer;
        user-select: none;
        outline: none;
        transition: background .25s, border-color .25s, color .25s, border-radius .25s, box-shadow .25s;
    }

/* آیکن علامت سوال */
.btm-bx-bc1 .title-q::before {
    content: "؟";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--hp-accent-soft);
    color: var(--hp-accent-dark);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    transition: background .25s, color .25s;
}

/* آیکن فلش */
.btm-bx-bc1 .title-q::after {
    content: "\f107";
    font-family: FontAwesome;
    position: absolute;
    left: 16px;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--hp-accent-dark);
    font-size: 18px;
    font-weight: 400;
    transition: transform .35s;
}

/* متن سوال */
.btm-bx-bc1 .zeus-q {
    display: block;
    margin: 0;
}

/* هاور سوال */
.btm-bx-bc1 .title-q:hover {
    border-color: var(--hp-accent);
    box-shadow: var(--hp-shadow);
}

/* وضعیت سوال باز */
.btm-bx-bc1 .bx-mg-hd:not(.bx-mg-hd) {
    display: block;
}

/* وضعیت باز بودن آیتم */
.btm-bx-bc1 section:not(.bx-mg-hd) .title-q {
    background: var(--hp-accent-soft);
    border-color: var(--hp-accent);
    border-radius: 12px 12px 0 0;
    color: var(--hp-accent-dark);
    box-shadow: none;
}

    .btm-bx-bc1 section:not(.bx-mg-hd) .title-q::before {
        background: var(--hp-accent);
        color: #fff;
    }

    .btm-bx-bc1 section:not(.bx-mg-hd) .title-q::after {
        transform: rotate(180deg);
    }

/* دکمه مشاهده پاسخ */
.btm-bx-bc1 .reply-btn {
    display: none;
}

/* بخش پاسخ */
.btm-bx-bc1 .more-info-zeus {
    display: none;
    margin: 0 !important;
    padding: 4px 22px;
    background: #fff;
    border: 1px solid var(--hp-accent);
    border-top: 0;
    color: var(--hp-text);
    font-size: 15px;
    line-height: 2;
}

/* نمایش پاسخ هنگام باز بودن سوال */
.btm-bx-bc1 section:not(.bx-mg-hd) .more-info-zeus {
    display: block;
    padding-top: 16px;
    padding-bottom: 16px;
    border-radius: 0 0 12px 12px;
    border-bottom: 1px solid var(--hp-accent);
    animation: hpFaqIn .35s ease both;
}

/* متن پاسخ */
.btm-bx-bc1 .nd-reply {
    color: var(--hp-text);
    font-size: 15px;
    line-height: 2;
}

/* انیمیشن */
@keyframes hpFaqIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* موبایل */
@media (max-width: 600px) {

    .btm-bx-bc1 .title-q {
        padding: 13px 54px 13px 42px !important;
        font-size: 14px !important;
    }

        .btm-bx-bc1 .title-q::before {
            right: 12px;
            width: 28px;
            height: 28px;
            margin-top: -14px;
        }

        .btm-bx-bc1 .title-q::after {
            left: 10px;
        }

    .btm-bx-bc1 .more-info-zeus {
        padding-right: 14px;
        padding-left: 14px;
        font-size: 14px;
    }
}
/*************************************FAQ[End]*************************************/