/* ============================================================
   FAQs — accordion (shortcode rendered)
   ============================================================ */

.faq-accordion {
    max-width: 820px;
    margin: 32px auto;
    padding: 0 24px;
}

/* ---------- Group (when group_by_category="1") ---------- */

.faq-group {
    margin: 0 0 32px;
}

.faq-group:last-child {
    margin-bottom: 0;
}

.faq-group__title {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #C4853A;
    border-bottom: 2px solid #C4853A;
    padding-bottom: 8px;
}

/* ---------- FAQ item ---------- */

.faq-item {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin: 0 0 12px;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item[open] {
    border-color: #C4853A;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.faq-item__question {
    cursor: pointer;
    padding: 18px 22px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    line-height: 1.4;
    user-select: none;
    transition: color 150ms ease;
}

/* Hide the default disclosure triangle in WebKit/Blink and Firefox */
.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::marker {
    display: none;
    content: '';
}

.faq-item__question:hover {
    color: #C4853A;
}

.faq-item__question-text {
    flex: 1;
}

.faq-item__chevron {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F9FAFB;
    color: #C4853A;
    transition: transform 250ms ease, background-color 150ms ease;
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
    background: #C4853A;
    color: #FFFFFF;
}

.faq-item__answer {
    padding: 0 22px 20px;
    color: #4B5563;
    line-height: 1.7;
    font-size: 15px;
}

.faq-item__answer > *:first-child {
    margin-top: 0;
}

.faq-item__answer > *:last-child {
    margin-bottom: 0;
}

.faq-item__answer p {
    margin: 0 0 12px;
}

.faq-item__answer ul,
.faq-item__answer ol {
    margin: 0 0 12px;
    padding-left: 24px;
}

.faq-item__answer li {
    margin: 4px 0;
}

.faq-item__answer a {
    color: #C4853A;
    text-decoration: underline;
}

.faq-item__answer a:hover {
    color: #1F2937;
}

.faq-item__answer strong {
    color: #1F2937;
}

/* ============================================================
   Reduced-motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-item__chevron {
        transition: none;
    }
}
