/* .faq__wrapper {
    max-width: 1340px !important;
    padding: 64px 52px;
}
.faq__wrapper h2 {
    text-align: center;
    font-size: 52px !important;
}

.accord__item h3,
p {
    margin: 0;
}

@media (max-width: 768px) {
    .faq__wrapper {
        padding: 48px 24px;
    }
}

.faq p {
    margin-bottom: 0;
} */

/* ===== FAQ styles ===== */

.faq__wrap {
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.faq__item {
    background: #fff;
    border: 1px solid #e7e8ee;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
    padding: 20px;
}

.faq__item h3 {
    font-weight: 600;
    margin-bottom: 0;
}

.faq__q {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;

    color: #0a0f1a;
}

.faq__icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    position: relative;
}
.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    background: #0a0f1a;
    border-radius: 1px;
}
.faq__icon::before {
    width: 12px;
    height: 2px;
}
.faq__icon::after {
    width: 2px;
    height: 12px;
}

/* Answer panel */
/* .faq__a {
    padding: 0 22px 22px;
    color: #4b5563;
} */

.faq__a {
    overflow: hidden;
    max-height: 0; /* закрыто */
    visibility: hidden;
    color: #4b5563;
    margin: 0;

    /* закрытое не видно */
}
.faq__item--open .faq__a {
    visibility: visible; /* открытое видно */
}

/* 
.faq__item--open .faq__a {
    display: block;
}
.faq__item:not(.faq__item--open) .faq__a {
    display: none;
}
.faq__item:not(.faq__item--open) .faq__a[hidden] {
    display: none;
} 
.faq__item--open .faq__q .faq__icon::after {
    display: none;
}  */
