.faq-page-section {
    padding: 177px 0 80px;
    background: linear-gradient(180deg, #f4f9ff 0%, #fff 55%);
}

.faq-page-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 50%));
    gap: 16px;
    align-items: stretch;
}

.faq-page-layout__left,
.faq-page-layout__right {
    min-width: 0;
}

.faq-hero__media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 694px;
    padding: 16px 32px 32px;
    background-image: linear-gradient(180deg, #0f3a72 0%, #001934 100%);
    background-color: #001f48;
    display: flex;
    flex-direction: column;
}

.faq-hero {
    position: sticky;
    top: 128px;
}

.faq-accordion__qa {
    margin-bottom: 24px;
}

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

.faq-accordion__qa-title {
    font-family: Arimo;
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    color: #001f48;
    margin: 0;
}

.faq-hero__media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-hero__overlay {
    position: relative;
    height: 100%;
    z-index: 2;
    flex: 1;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.faq-hero__content {
    max-width: 520px;
}

.faq-hero__title {
    margin: 0 0 8px;
    font-family: Arimo;
    font-weight: 700;
    font-size: 48px;
    line-height: 140%;
    color: #fff;
}

.faq-hero__subtitle {
    margin: 0 0 32px;
    font-family: Arimo;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #fff;
}


.faq-hero__cta {
    margin: 0;
    max-width: 240px;
    width: 100%;
    min-height: 55px;
    padding: 12px 20px;
    border-radius: 57px;
    border: 1px solid #fff;
    background: #fff;
    color: #1e17e0;
    font-family: Manrope;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.faq-hero__cta svg path {
    transition: stroke 0.25s ease;
    stroke: #1e17e0;
}

@media (hover: hover) {
    .faq-hero__cta:hover {
        text-decoration: none;
        background: transparent;
        color: #fff;
    }

    .faq-hero__cta:hover svg path {
        stroke: #fff;
    }
}

.faq-hero__stats {
    font-family: Manrope;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 12px;
}

.faq-hero__stat {
    justify-content: center;
}

.faq-hero__stats .testimonials-stat-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin: 0;
}

.faq-hero__stats .testimonials-stat-title {
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    color: #1e17e0;
}

.faq-hero__stats .testimonials-stat-label {
    font-weight: 400;
    font-size: 24px;
    line-height: 140%;
    color: #1e17e0;
}

.faq-page-layout__right {
    display: flex;
    flex-direction: column;
}

.faq-accordion__mobile-title {
    display: none;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.faq-accordion::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.faq-content-block {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 10px;
}

.faq-accordion__item {
    position: relative;
    border-radius: 16px;
    border: 1px solid transparent;
    background-color: #fff;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    padding-right: 8px;
}

.faq-accordion__item[open] {
    border-color: #d9eafc;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    max-height: 385px;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c3c3c3 #fff;
}

.faq-accordion__item[open]::-webkit-scrollbar {
    width: 6px;
}

.faq-accordion__item[open]::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 6px;
}

.faq-accordion__item[open]::-webkit-scrollbar-thumb {
    background: #c3c3c3;
    border-radius: 6px;
}

.faq-accordion__question {
    list-style: none;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 10px 32px;
    font-family: Arimo;
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: #001f48;
}

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

.faq-accordion__toggle {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f2f8ff;
    background-image: url('/skin/ukexpes_skin/frontend/img/faq-page/icons/plus.svg?v=1');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    transition: background-color 0.25s ease, background-image 0.25s ease, box-shadow 0.25s ease;
}

.faq-accordion__item[open] .faq-accordion__toggle {
    background-color: #fff;
    background-image: url('/skin/ukexpes_skin/frontend/img/faq-page/icons/minus.svg?v=1');
}

.faq-accordion__answer {
    padding: 0 32px 24px;
}

.faq-accordion__answer p {
    margin: 16px 0 0;
    font-family: Arimo;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #001f48;
}

.faq-search__field {
    position: relative;
    --input-color: #d9eafc;
}

.faq-search__field:has(.faq-search__input:focus) {
    --input-color: #66afe9;
}

.faq-search__field .search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    z-index: 2;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--input-color);
}

.faq-search__input {
    display: flex;
    align-items: center;
    vertical-align: middle;
    width: 100%;
    height: 44px;
    padding: 2px 16px 0 38px;
    font-family: Arimo, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 44px;
    color: #001f48;
    border-color: #d9eafc;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    border: 1px solid var(--input-color);
    border-radius: 16px;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-synthesis: none;
}

.faq-search__input::-webkit-input-placeholder {
    font-size: 16px;
    color: #bccbda;
    line-height: normal;
}

.faq-search__input::-moz-placeholder {
    font-size: 16px;
    color: #bccbda;
    line-height: normal;
    opacity: 1;
}

.faq-search__input::placeholder {
    font-size: 16px;
    color: #bccbda;
    line-height: normal;
}

.faq-search__message {
    padding: 5px 0;
    font-size: 14px;
}

.faq-search__message strong {
    color: #66afe9;
}

.faq-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.faq-search__clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: #8fa3b8;
    cursor: pointer;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease, visibility 0.2s ease, color 0.2s ease;
}

.faq-search__clear:hover {
    color: #001f48;
}

.faq-search__input:placeholder-shown ~ .faq-search__clear {
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 1280px) {
    .faq-page-layout {
        gap: 20px;
    }

    .faq-hero__title {
        font-size: 40px;
    }

    .faq-hero__subtitle {
        font-size: 18px;
    }

    .faq-hero__stats .testimonials-stat-title {
        font-size: 40px;
    }

    .faq-hero__stats .testimonials-stat-label {
        font-size: 20px;
    }

    .faq-accordion {
        padding-right: 4px;
    }

    /* .faq-hero__media > img {
        display: none;
    } */
}

@media (max-width: 991px) {
    .faq-page-section {
        padding: 80px 0 60px;
    }

    .faq-page-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-hero__media {
        position: relative;
        top: 0;
        min-height: 420px;
    }

    .faq-accordion {
        padding-right: 0;
    }

    .faq-accordion__answer {
        padding: 0 20px 24px;
    }

    .faq-hero__stats {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .faq-page-layout__left {
        display: none;
    }

    .faq-accordion__mobile-title {
        display: block;
        font-family: Manrope;
        font-weight: 700;
        font-size: 32px;
        line-height: 120%;
        letter-spacing: 0px;
        text-align: center;
        color: #001f48;
        margin-bottom: 24px;
    }

    .faq-accordion {
        padding-right: 0;
    }

    .faq-accordion__question {
        padding: 10px 16px;
        font-size: 16px;
    }

    .faq-accordion__answer {
        padding: 0 16px 24px;
    }

    .faq-accordion__answer p {
        font-size: 16px;
    }
}

