.faq-section {
    --primary-color: #000;
    padding: 24px 0 32px;
    color: #000;
    background: #f5f7fb;
}

.faq-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.faq-heading h1,
.faq-heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.faq-heading i {
    color: #000;
    font-size: 20px;
}

.faq-heading > a {
    color: #000;
    font-weight: 600;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    min-width: 0;
    border: 1px solid #e1e6ed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 20px rgb(15 23 42 / 5%);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    padding: 12px 20px;
    color: #000;
    font-weight: 600;
    line-height: 24px;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:focus-visible {
    outline: 2px solid #000;
    outline-offset: -3px;
    border-radius: 14px;
}

.faq-toggle {
    flex: 0 0 auto;
    color: #000;
    font-size: 18px;
}

.faq-toggle::before {
    content: "+";
}

.faq-item[open] .faq-toggle::before {
    content: "−";
}

.faq-answer {
    padding: 0 20px 16px;
    color: #000;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

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

.faq-section a,
.faq-section a:hover,
.faq-section a:focus {
    color: #000;
}

.faq-answer a,
.faq-heading > a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-answer img {
    max-width: 100%;
    height: auto;
}

.faq-answer table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.faq-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

@media (max-width: 767px) {
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-heading h1,
    .faq-heading h2 {
        font-size: 21px;
    }

    .faq-item summary {
        padding: 12px 16px;
    }

    .faq-answer {
        padding: 0 16px 16px;
    }
}
