/**
 * OKisam Category FAQs — front office styles.
 *
 * Answers render closed by default. The .faq-item--open class set by front.js
 * drives the question/icon styling; the actual show/hide animation of
 * .faq-answer is handled by jQuery (slideDown/slideUp) in front.js.
 */

.okisam-faqs {
    margin-top: 30px;
}

.okisam-faqs .faq-item {
    margin-bottom: 15px;
}

.okisam-faqs .faq-heading {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* .faq-question is a <button>: reset the UA styling so it reads as a heading. */
.okisam-faqs .faq-question {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: #2c3e50;
    font-family: inherit;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

.okisam-faqs .faq-question:hover,
.okisam-faqs .faq-question:focus-visible {
    text-decoration: underline;
}

.okisam-faqs .faq-toggle-icon {
    flex: 0 0 20px;
    width: 20px;
    margin-right: 8px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    user-select: none;
}

/* U+2212 minus when open, plain plus when closed. Rendered from CSS so the
   markup carries no throwaway text node. */
.okisam-faqs .faq-toggle-icon::before {
    content: '+';
}

.okisam-faqs .faq-item--open .faq-toggle-icon::before {
    content: '\2212';
}

.okisam-faqs .faq-answer {
    padding-top: 5px;
    color: #555;
    display: none;
}
