/* ============================================
   FAQ Section — style.css
   ============================================ */

.block--faq-section {
    padding: var(--section-padding-y, 300px) 0;
    background: #ffffff;
    color: #111111;
}

.block--faq-section .main-default-header,
.block--faq-section .mini-header,
.block--faq-section .right-section-text-value {
    color: #111111;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #e0e0e0;
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    margin-top: 40px;
}

.faq-item {
    background: #ffffff;
    transition: background 0.2s ease;
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
    border-left: 3px solid var(--color-accent, #0A706C);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--fs-base, 18px);
    font-weight: 600;
    color: var(--color-text, #111);
    text-align: left;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--color-accent, #0A706C);
}

.faq-question[aria-expanded="true"] {
    color: var(--color-accent, #0A706C);
}

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

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: currentColor;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    max-height: 0;
}

.faq-answer:not([hidden]) {
    max-height: 2000px;
}

.faq-answer-inner {
    padding: 0 24px 24px 24px;
    font-size: calc(var(--fs-base, 18px) * 0.95);
    line-height: 1.7;
    color: var(--color-text-light, #444);
}

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

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner ul,
.faq-answer-inner ol {
    margin: 0 0 12px;
    padding-left: 20px;
}

.faq-answer-inner li {
    margin-bottom: 6px;
}

.faq-answer-inner strong {
    color: var(--color-text, #111);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px 20px;
        font-size: 16px;
    }

    .faq-answer-inner {
        padding: 0 20px 20px 20px;
        font-size: 15px;
    }
}
