/* Custom FAQ styles */
.faq-list h3 {
    font-size: 1.25rem;
    color: #70137D;
    font-weight: 600;
    margin-top: 1.5rem;
}

.faq-list p, .faq-list ul {
    font-size: 1rem;
    color: #222;
    font-weight: 400;
}

.faq-list ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.faq-list li {
    margin-bottom: 0.5rem;
}

.faq-list .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e2e2e2;
    width: 100%;
}

.faq-list .btn-link {
    color: #70137D;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: left;
    padding: 1rem;
    display: block; /* ✅ ensure it takes full width */
    word-break: break-word;
    white-space: normal; /* ✅ prevent long words from overflowing */
    line-height: 1.4;
}

.faq-list .btn-link:focus {
    text-decoration: none;
    outline: none;
}

.faq-list .card {
    margin-bottom: 0.5rem;
    border: 1px solid #e2e2e2;
    border-radius: 0.25rem;
    overflow: hidden;
    width: 100%;
}

.faq-list .card-body {
    background: #fff;
    color: #222;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e2e2;
    word-break: break-word; /* ✅ add for mobile safety */
}

.faq-list .collapse:not(.show) {
    display: none;
}

.faq-list .collapse.show {
    display: block;
}

/* ✅ Responsive fixes */
@media (max-width: 767.98px) {
    .faq-list .card-header, .faq-list .btn-link {
        font-size: 1rem;
        padding: 0.75rem 0.5rem;
        word-break: break-word;
    }

    .faq-list .card-body {
        font-size: 0.95rem;
        padding: 0.75rem;
        word-break: break-word;
    }

    .faq-list .btn-link {
        white-space: normal;
        line-height: 1.4;
        display: block;
    }

    .faq-list .card {
        display: block;
        width: 100%;
    }
}
