.faq-page {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
    background: #f6f8fb;
}

.faq-page [hidden] {
    display: none !important;
}

.faq-page__header {
    max-width: 780px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.faq-page__eyebrow {
    display: inline-block;
    margin-bottom: .65rem;
    color: var(--primary, #173b7a);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.faq-page__header h1 {
    margin: 0 0 .75rem;
    color: #263447;
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
}

.faq-page__header p {
    max-width: 620px;
    margin: 0 auto;
    color: #626d7b;
    font-size: 1.08rem;
    line-height: 1.65;
}

.faq-page__search {
    max-width: none;
    margin: 0 auto 1.25rem;
    padding: 1.25rem 1.5rem 1rem;
    border: 1px solid #e0e6ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(31, 52, 81, .045);
}

.faq-page__search label {
    display: block;
    margin-bottom: .45rem;
    color: #344255;
    font-weight: 700;
}

.faq-page__search-control {
    position: relative;
}

.faq-page__search-control > i {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 1;
    color: #778397;
    transform: translateY(-50%);
}

.faq-page__search-control input {
    min-height: 48px;
    padding-left: 2.7rem;
    border-color: #d7deea;
    border-radius: 8px;
    color: #263447;
}

.faq-page__search-control input:focus {
    border-color: var(--primary, #173b7a);
    box-shadow: 0 0 0 .2rem rgba(23, 59, 122, .12);
}

.faq-page__result-count {
    margin: .65rem 0 0;
    color: #778397;
    font-size: .9rem;
}

.faq-page__list {
    max-width: none;
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
    margin-bottom: .8rem;
    border: 1px solid #e0e6ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(31, 52, 81, .04);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.faq-item:hover,
.faq-item:focus-within {
    border-color: #c6d2e4;
    box-shadow: 0 7px 20px rgba(31, 52, 81, .08);
}

.faq-item__heading {
    margin: 0;
    font-size: 1rem;
}

.faq-item__question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.2rem 1.35rem;
    border: 0;
    background: transparent;
    color: #2d3b4f;
    font: inherit;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

.faq-item__question:focus {
    outline: none;
}

.faq-item__question:focus-visible {
    outline: 2px solid rgba(45, 59, 79, .24);
    outline-offset: -3px;
    border-radius: 9px;
}

.faq-item__toggle {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f3f8;
    color: var(--primary, #173b7a);
    transition: transform .2s ease, background-color .2s ease;
}

.faq-item__question[aria-expanded="true"] .faq-item__toggle {
    transform: rotate(180deg);
    background: #e8eef8;
}

.faq-item__answer {
    padding: 0 1.35rem 1.35rem;
    color: #596575;
    font-size: 1rem;
    line-height: 1.75;
}

.faq-item__answer-content {
    padding-top: 1rem;
    border-top: 1px solid #edf0f5;
    overflow-wrap: anywhere;
}

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

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

.faq-item__answer-content p,
.faq-item__answer-content ul,
.faq-item__answer-content ol {
    margin-bottom: .85rem;
}

.faq-item__answer-content ul,
.faq-item__answer-content ol {
    padding-left: 1.4rem;
}

.faq-page__no-results,
.faq-page__empty {
    max-width: none;
    margin: 1.25rem auto 0;
    padding: 2rem;
    border: 1px solid #e0e6ef;
    border-radius: 14px;
    background: #fff;
    color: #626d7b;
    text-align: center;
}

.faq-page__empty-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
    border-radius: 50%;
    background: #eef2f8;
    color: var(--primary, #173b7a);
    font-size: 1.35rem;
}

.faq-page__empty h2 {
    margin: 0 0 .45rem;
    color: #2d3b4f;
    font-size: 1.25rem;
    font-weight: 700;
}

.faq-page__empty p {
    margin: 0;
}

@media (max-width: 575.98px) {
    .faq-page {
        padding: 2.5rem 0 3rem;
    }

    .faq-page__header {
        margin-bottom: 1.75rem;
    }

    .faq-page__header p {
        font-size: 1rem;
    }

    .faq-page__search {
        padding: 1rem 1rem .8rem;
    }

    .faq-item__question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-item__answer {
        padding: 0 1rem 1rem;
        font-size: .96rem;
    }
}
