.jqap-qa-wrap{
    margin: 32px 0;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.jqap-qa-header{
    padding: 18px 22px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.jqap-qa-title{
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 700;
}

.jqap-qa-list{
    display: block;
}

.jqap-qa-item{
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: #fff;
}

.jqap-qa-item:last-child{
    border-bottom: 0;
}

.jqap-qa-trigger{
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    font: inherit;
    color: inherit;
}

.jqap-qa-trigger:hover{
    background: rgba(37, 99, 235, 0.03);
}

.jqap-qa-qbadge,
.jqap-qa-abadge{
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
}

.jqap-qa-qbadge{
    background: #2563eb;
}

.jqap-qa-abadge{
    background: #10b981;
    margin-top: 2px;
}

.jqap-qa-question-text{
    flex: 1;
    font-size: 1.04rem;
    line-height: 1.55;
    font-weight: 700;
}

.jqap-qa-icon{
    width: 12px;
    height: 12px;
    min-width: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s ease;
    opacity: .7;
    margin-right: 4px;
}

.jqap-qa-item.is-open .jqap-qa-icon{
    transform: rotate(-135deg);
}

.jqap-qa-content{
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.jqap-qa-answer-inner{
    display: flex;
    gap: 14px;
    padding: 0 22px 20px 22px;
}

.jqap-qa-answer-text{
    flex: 1;
    color: inherit;
    opacity: .95;
    line-height: 1.85;
    font-size: 1rem;
}

.jqap-qa-answer-text p:last-child{
    margin-bottom: 0;
}

@media (max-width: 767px){
    .jqap-qa-wrap{
        margin: 24px 0;
        border-radius: 14px;
    }

    .jqap-qa-header{
        padding: 14px 16px;
    }

    .jqap-qa-title{
        font-size: 1.05rem;
    }

    .jqap-qa-trigger{
        padding: 14px 16px;
        gap: 10px;
        align-items: flex-start;
    }

    .jqap-qa-question-text{
        font-size: .98rem;
        line-height: 1.5;
    }

    .jqap-qa-qbadge,
    .jqap-qa-abadge{
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 12px;
    }

    .jqap-qa-answer-inner{
        padding: 0 16px 16px 16px;
        gap: 10px;
        align-items: flex-start;
    }

    .jqap-qa-answer-text{
        font-size: .95rem;
        line-height: 1.75;
    }
}

/* Better integration with content areas */
.entry-content .jqap-qa-wrap,
.post-content .jqap-qa-wrap,
.single-post .jqap-qa-wrap,
.page .jqap-qa-wrap{
    clear: both;
}

/* Soft Jannah-friendly look */
body .jqap-qa-wrap{
    font-family: inherit;
    color: inherit;
}