/* ============================================================
   FAQ component, used by every post type.
   Native details and summary, so there is no JavaScript to load
   and the answers are in the HTML whether they are open or shut.
   Replaces three separate accordion implementations.
   ============================================================ */

.article-content .ths-faq {
    margin: 52px 0 32px;
}

.article-content .ths-faq-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 0;
    padding-left: 0;
}

.article-content .ths-faq-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--ind-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.article-content .ths-faq-item {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    background: var(--paper);
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}

.article-content .ths-faq-item:hover {
    border-color: rgba(0, 0, 0, .16);
}

.article-content .ths-faq-item[open] {
    border-color: rgba(0, 0, 0, .14);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.article-content .ths-faq-q {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ink);
}

.article-content .ths-faq-q::-webkit-details-marker {
    display: none;
}

.article-content .ths-faq-q::after {
    content: '+';
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 400;
    color: var(--ind-primary);
    flex-shrink: 0;
    transition: transform .2s;
}

.article-content .ths-faq-item[open] .ths-faq-q::after {
    content: '\2212';
}

.article-content .ths-faq-a {
    padding: 0 18px 16px;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-2);
}

.article-content .ths-faq-a p {
    margin: 0;
}

@media (max-width: 560px) {
    .article-content .ths-faq {
        margin: 36px 0 24px;
    }
    .article-content .ths-faq-q {
        padding: 14px 14px;
        font-size: 0.9375rem;
    }
    .article-content .ths-faq-a {
        padding: 0 14px 14px;
        font-size: 0.9375rem;
    }
}
