.faq-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(36px, 5.5vw, 72px);
    background: radial-gradient(ellipse at top, #263f57, #102337 74%);
}
.faq-banner::after {
    position: absolute;
    z-index: -1;
    inset-block: 0;
    inset-inline-end: 0;
    width: 55%;
    background: repeating-linear-gradient(135deg, transparent 0 15px, #b7ccdc2b 15px 16px);
    mask-image: linear-gradient(to left, #000, transparent);
    content: "";
}
[dir="rtl"] .faq-banner::after { mask-image: linear-gradient(to right, #000, transparent); }
.faq-banner p { color: #dfebf6; }

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(22px, 4vw, 55px);
    max-width: 1176px;
}
.faq-layout:has(.faq-sidebar) { grid-template-columns: minmax(0, 1fr) minmax(238px, 300px); }
.faq-accordion, .faq-sidebar { display: grid; min-width: 0; gap: 12px; }
.faq-accordion { overflow-wrap: anywhere; }
.faq-item {
    border: 1px solid #d7e0e7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 12px #1c344e08;
}
.faq-item[open] { border-color: #b5c6d6; box-shadow: 0 8px 24px #1c344e12; }
.faq-question {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 13px clamp(14px, 2vw, 24px);
    border-radius: 13px;
    color: #18344e;
    cursor: pointer;
    list-style: none;
    font-size: clamp(1rem, .96rem + .35vw, 1.23rem);
    font-weight: 750;
    line-height: 1.4;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:focus-visible { outline-offset: -4px; }
.faq-question:hover { background: #f5f8fb; }
.faq-item[open] > .faq-question {
    border-end-start-radius: 0;
    border-end-end-radius: 0;
    background: #eef4f9;
    box-shadow: inset 0 -2px #d9a740;
}
.faq-toggle {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d5e0ea;
    border-radius: 50%;
    color: #1e4363;
    background: #edf3f8;
}
.faq-toggle::before, .faq-toggle::after {
    grid-area: 1 / 1;
    width: 13px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
}
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle { border-color: #1e4363; color: #fff; background: #1e4363; }
.faq-item[open] .faq-toggle::after { display: none; }
.faq-answer {
    padding: 17px clamp(14px, 2vw, 24px) 20px;
    color: #334657;
    line-height: 1.75;
}
.faq-answer p:last-child, .faq-note :is(p, ul):last-child { margin-block-end: 0; }
.faq-note { padding: 12px 0; color: #334657; }
.faq-note h2 { margin-block-end: 10px; color: #18344e; font-size: 1.2rem; }

.faq-support {
    padding: clamp(18px, 2.3vw, 28px);
    border-block-start: 3px solid var(--amber);
    border-radius: 14px;
    background: linear-gradient(155deg, #203f5b, #11273b);
    color: #fff;
    box-shadow: 0 8px 22px #132b4326;
    overflow-wrap: anywhere;
}
.faq-support h2 { font-size: 1.35rem; line-height: 1.35; }
.faq-support ul { display: grid; gap: 5px; margin: 16px 0 0; padding: 0; list-style: none; }
.faq-support .button { width: 100%; justify-content: space-between; border-radius: 8px; }
.faq-support-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    gap: 8px;
    padding-inline: 4px;
    border-block-end: 1px solid #c8ddeb39;
    color: #e1ebf4;
    font-weight: 650;
}
.faq-support-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.faq-support a:focus-visible { outline-color: var(--amber); }
.faq-cover { width: 100%; max-height: 48vh; object-fit: contain; border-radius: 14px; }

@media (max-width: 760px) {
    .faq-layout:has(.faq-sidebar) { grid-template-columns: minmax(0, 1fr); }
    .faq-question { min-height: 60px; }
    .faq-toggle { width: 30px; height: 30px; }
}
