.qafaq-item {
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

.qafaq-question {
    display: flex;
    align-items: center;
    padding: 5px;
    cursor: pointer;
    position: relative;
    background: #fff;
}

.qafaq-dropcap {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin-right: 12px;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    line-height: 35px;
}

.qafaq-dropcap.q {
    background: #2ECC71;
}

.qafaq-toggle {
    margin-left: auto;
    font-size: 22px;
    font-weight: bold;
}

.qafaq-answer {
    display: none;
    padding: 15px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.qafaq-answer-inner {
    display: flex;
    align-items: center;   /* FIXES the A alignment */
    gap: 12px;
}


.qafaq-answer-text {
    line-height: 1.55;   /* cleaner spacing */
    margin-top: 2px;     /* slight downward balance */
}


.qafaq-answer-text p {
    margin: 0;
    padding: 0;
}

/* -------------------------
   FAQ ITEM WRAPPER
------------------------- */
.qafaq-item {
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

/* -------------------------
   QUESTION SECTION
------------------------- */
.qafaq-question {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    background: #fff;
}

/* Dropcaps (Q / A icons) */
.qafaq-dropcap {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 36px;
    height: 36px;

    margin-right: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}

.qafaq-dropcap.q {
    background: #2ECC71;
}

.qafaq-dropcap.a {
    background: #6C63FF !important;

    /* FORCE RESET inherited styles */
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;

    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;

    border-radius: 6px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #fff !important;

    flex-shrink: 0 !important; /* prevents stretching */
}

.qafaq-answer-inner {
    display: flex;
    align-items: flex-start !important;
    gap: 12px;
}

.qafaq-dropcap {
    align-self: flex-start !important;
    margin-top: 4px !important;
}


/* Toggle (+, -) */
.qafaq-toggle {
    margin-left: auto;
    font-size: 22px;
    font-weight: bold;
}

/* -------------------------
   ANSWER SECTION
------------------------- */
.qafaq-answer {
    display: none;
    padding: 15px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.qafaq-answer-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.qafaq-answer-text {
    line-height: 1.65;
}

.qafaq-answer-text p {
    margin: 0;
    padding: 0;
}

/* -------------------------
   MOBILE RESPONSIVENESS
------------------------- */
@media (max-width: 480px) {

    .qafaq-question {
        padding: 8px 10px;
    }

    .qafaq-dropcap {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .qafaq-answer-inner {
        gap: 10px;
    }

    .qafaq-answer {
        padding: 12px;
    }
}
