﻿.content.faq {
    background: #f7f9fd;
    color: #0c234f;
    padding: 34px 0 46px;
}

.content.faq > .blueTriangleMain { display: none; }
.content.faq > .inner { padding-bottom: 0; }
.content.faq .contentright { overflow: visible; padding-bottom: 0; }

.faq-page {
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 30px;
}

.faq-page > .breadcrumbs {
    align-items: center;
    display: flex;
    font-size: 13px;
    gap: 9px;
    margin-bottom: 18px;
}

.faq-page > .breadcrumbs a { color: #1458d7; text-decoration: none; }
.faq-page__header h1 { font-size: 38px; line-height: 1.1; margin: 0 0 10px; }
.faq-page__header p { font-size: 15px; margin: 0; }

.faq-search {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 112px;
    margin: 22px 0;
}

.faq-search__field { position: relative; }
.faq-search__field .faq-icon {
    height: 21px;
    left: 18px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 21px;
}

.faq-search input {
    background: #fff;
    border: 1px solid #cad5e7;
    border-radius: 7px;
    box-sizing: border-box;
    color: #0c234f;
    font: inherit;
    height: 50px;
    padding: 0 18px 0 52px;
    width: 100%;
}

.faq-search button,
.faq-contact__button {
    align-items: center;
    background: #0d347f;
    border: 0;
    border-radius: 7px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    text-decoration: none;
}

.faq-layout {
    align-items: start;
    display: grid;
    gap: 30px;
    grid-template-columns: 265px 1fr;
}

.faq-categories,
.faq-items {
    background: #fff;
    border: 1px solid #dce3ee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-category {
    align-items: center;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #dce3ee;
    color: #0c234f;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-weight: 700;
    gap: 16px;
    min-height: 62px;
    padding: 12px 20px;
    text-align: left;
    width: 100%;
}

.faq-category:last-child { border-bottom: 0; }
.faq-category:hover, .faq-category:focus-visible, .faq-category.is-active { background: #eef3ff; }
.faq-category .faq-icon { flex: 0 0 auto; height: 22px; width: 22px; }

.faq-icon {
    fill: none;
    stroke: #165bea;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.faq-item { border-bottom: 1px solid #dce3ee; }
.faq-item:last-of-type { border-bottom: 0; }
.faq-item h2 { font-size: 15px; margin: 0; }
.faq-item__toggle {
    align-items: center;
    background: #fff;
    border: 0;
    color: #0c234f;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-weight: 700;
    justify-content: space-between;
    min-height: 45px;
    padding: 10px 20px;
    text-align: left;
    width: 100%;
}

.faq-item__toggle:hover, .faq-item__toggle:focus-visible { background: #f7f9fd; }
.faq-chevron { border-bottom: 2px solid #0d347f; border-right: 2px solid #0d347f; height: 7px; margin: 0 4px 4px 18px; transform: rotate(45deg); width: 7px; }
.faq-item__toggle[aria-expanded="true"] .faq-chevron { margin-bottom: -4px; transform: rotate(225deg); }
.faq-item__answer { padding: 0 20px 14px; }
.faq-item__answer[hidden] { display: none; }
.faq-richtext { background: #f0f4fc; border-radius: 6px; line-height: 1.45; padding: 14px 18px; }
.faq-richtext > :first-child { margin-top: 0; }
.faq-richtext > :last-child { margin-bottom: 0; }
.faq-empty { margin: 0; padding: 28px; text-align: center; }
.faq-empty[hidden] { display: none; }

.faq-contact {
    align-items: center;
    background: #eef3ff;
    border-radius: 12px;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(250px, 1fr) auto auto auto 74px;
    margin-top: 24px;
    min-height: 112px;
    padding: 20px 28px;
}

.faq-contact__copy h2 { font-size: 22px; margin: 0 0 8px; }
.faq-contact__copy p { margin: 0; }
.faq-contact > a:not(.faq-contact__button) { align-items: center; color: #0c234f; display: flex; gap: 10px; text-decoration: none; white-space: nowrap; }
.faq-contact > a .faq-icon { height: 20px; width: 20px; }
.faq-contact__button { min-height: 48px; padding: 0 30px; }
.faq-contact__bubble { align-items: center; background: #91adea; border-radius: 50%; display: flex; height: 66px; justify-content: center; width: 66px; }
.faq-contact__bubble .faq-icon { stroke: #fff; height: 32px; width: 32px; }

.visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

@media (max-width: 1050px) {
    .faq-contact { grid-template-columns: 1fr auto auto; }
    .faq-contact__copy { grid-column: 1 / -1; }
    .faq-contact__bubble { display: none; }
}

@media (max-width: 800px) {
    .faq-page { padding: 0 20px; }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-categories { display: grid; grid-template-columns: repeat(2, 1fr); }
    .faq-category { border-bottom: 1px solid #dce3ee; }
    .faq-category:nth-child(odd) { border-right: 1px solid #dce3ee; }
}

@media (max-width: 560px) {
    .content.faq { padding-top: 24px; }
    .faq-page { padding: 0 14px; }
    .faq-page__header h1 { font-size: 31px; }
    .faq-search { grid-template-columns: 1fr; }
    .faq-search button { min-height: 46px; }
    .faq-categories { grid-template-columns: 1fr; }
    .faq-category:nth-child(odd) { border-right: 0; }
    .faq-contact { align-items: stretch; grid-template-columns: 1fr; padding: 22px; }
    .faq-contact > a:not(.faq-contact__button) { white-space: normal; }
}
