.dynamic-faq,
.dynamic-faq button,
.dynamic-faq div {
    font-family: Tahoma, sans-serif;
}

.dynamic-faq {
    font-size: 16px;
    line-height: 1.4;
    color: #222;
}

/* Category wrapper */
.faq-category {
    margin-bottom: 10px;
    display: block;
}

/* Category bar - Mozart gray with SongU accent */
.faq-category-button {
    width: 99%;
    background-color: #f1f1f1;
    border: 1px solid #d7d7d7;
    border-left: 3px solid #800000;
    padding: 14px 16px;
    text-align: left;
    font-family: Tahoma, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1.4;
    border-radius: 8px;
    display: block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

    .faq-category-button:hover {
        background-color: #efe3e8;
        border-color: #d8c4cc;
        border-left-color: #800000;
    }


/* Category content */
.faq-category-content {
    display: none;
    width: 99%;
    background-color: #fafafa;
    color: #000000;
    border: solid 1px #e5e5e5;
    border-top: none;
    padding: 14px;
    box-sizing: border-box;
    border-radius: 0 0 8px 8px;
}

/* FAQ item */
.faq-item {
    margin-bottom: 10px;
}

/* Question row - Mozart gray */
.faq-question-button {
    width: 98%;
    background-color: #f1f1f1;
    border: solid 1px #d7d7d7;
    padding: 10px 12px 10px 38px;
    text-align: left;
    font-family: Tahoma, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 8px;
    line-height: 1.4;
    position: relative;
}

    .faq-question-button:hover {
        background-color: #efe3e8;
        border-color: #d8c4cc;
    }

/* Answer panel */
.faq-answer {
    display: none;
    width: 95%;
    background-color: #ffffff;
    color: #222222;
    margin-left: 10px;
    margin-right: 10px;
    padding: 12px 14px;
    font-family: Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    box-sizing: border-box;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

/* Plus/minus icon */
.faq-category-icon {
    float: left;
    font-weight: bold;
    margin-right: 10px;
    color: #800000;
}

.faq-question-icon {
    position: absolute;
    left: 14px;
    top: 10px;
    font-weight: bold;
    width: 16px;
    text-align: center;
}

/* Resource links */
.faq-resources {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #dddddd;
}

    .faq-resources a {
        color: #800000;
    }

@media screen and (max-width: 600px) {
    .faq-category-button,
    .faq-question-button,
    .faq-answer {
        width: 100%;
    }

    .faq-answer {
        margin-left: 0;
        margin-right: 0;
    }
}
