/* FAQ question and comment forms */

.faq-form-section {
    padding: 36px 0;
}

.faq-form-card {
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
    padding: 40px;
    box-sizing: border-box;
    background: #FBFBFB;
    border-radius: 8px;
}

.faq-form-title {
    margin: 0 0 24px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    color: #222;
}

.faq-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.faq-form-field {
    display: block;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.4;
    color: #262626;
}

.faq-form-field > span {
    display: block;
    margin-bottom: 5px;
}

.faq-form-field input,
.faq-form-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #262626;
    font: inherit;
    font-size: 15px;
    outline: none;
}

.faq-form-field input {
    height: 42px;
    padding: 0 12px;
}

.faq-form-field textarea {
    min-height: 120px;
    padding: 12px;
    resize: vertical;
}

.faq-form-field input:focus,
.faq-form-field textarea:focus {
    border-color: #EF6238;
    box-shadow: 0 0 0 2px rgba(239, 98, 56, .08);
}

.faq-form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 20px;
    cursor: pointer;
    color: #444;
    font-size: 12px;
    line-height: 1.5;
}

.faq-form-privacy input {
    position: absolute;
    opacity: 0;
}

.faq-form-checkbox {
    position: relative;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    border: 1px solid #777;
    border-radius: 3px;
    background: #fff;
}

.faq-form-privacy input:checked + .faq-form-checkbox {
    background: #EF6238;
    border-color: #EF6238;
}

.faq-form-privacy input:checked + .faq-form-checkbox::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.faq-form-privacy a {
    color: #EF6238;
    text-decoration: underline;
}

.faq-form-recaptcha {
    margin: 18px 0;
}

.faq-form-submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.faq-form-submit {
    width: 420px;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 24px;
    border: 0;
    border-radius: 6px;
    background: #EF6238;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-form-submit:hover {
    opacity: .92;
}

.faq-form-feedback {
    margin-top: 15px;
    text-align: center;
}

.faq-form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .faq-form-section {
        padding: 24px 0;
    }

    .faq-form-card {
        padding: 28px 20px;
    }

    .faq-form-title {
        font-size: 24px;
    }

    .faq-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .faq-form-submit {
        width: 100%;
    }
}

.faq-form-feedback.is-success {
    color: #218838;
}

.faq-form-feedback.is-error {
    color: #c62828;
}

.faq-form-submit:disabled {
    opacity: .65;
    cursor: wait;
}

/* FAQ hub */

.faq-page {
    padding-bottom: 50px;
}

.faq-page__title {
    margin: 35px 0 30px;
    color: #ef6238;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.faq-page__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 45px;
    align-items: start;
}

.faq-page__categories {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.faq-page__category {
    box-sizing: border-box;
    width: 100%;
    padding: 5px;
    color: #222;
    font-size: 24px;
    line-height: 1.25;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.faq-page__category.is-active {
    color: #ef6238;
}

.faq-page__category:hover {
    color: #fff;
    background: #ef6238;
}

.faq-page__ask-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 10px;
    padding: 0 25px;
    border-radius: 5px;
    background: #ef6238;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.faq-page__ask-link:hover {
    background: #dc542c;
    color: #fff;
}

.faq-page__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 100px;
    padding: 20px 0;
    border-bottom: 1px solid #999;
    color: #222;
    text-decoration: none;
}

.faq-page__question:first-child {
    padding-top: 0;
}

.faq-page__question-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.faq-page__question strong {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}

.faq-page__question small {
    font-size: 16px;
    line-height: 1.2;
    color: #222222;
}

.faq-page__arrow {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    border-top: 1.5px solid #222;
    border-right: 1.5px solid #222;
    transform: rotate(45deg);
}

.faq-page__question:hover strong {
    color: #ef6238;
}

.faq-page__form-anchor {
    margin-top: 50px;
    scroll-margin-top: 30px;
}

.faq-page__empty {
    margin: 0;
    color: #666;
}

@media (max-width: 767px) {
    .faq-page {
        padding-bottom: 30px;
    }

    .faq-page__title {
        margin: 25px 0;
        font-size: 32px;
    }

    .faq-page__layout {
        display: block;
    }

    .faq-page__categories {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 15px;
        margin-bottom: 15px;
        scrollbar-width: none;
    }

    .faq-page__categories::-webkit-scrollbar {
        display: none;
    }

    .faq-page__category {
        flex: 0 0 auto;
        padding: 12px 15px;
        border-radius: 6px;
        background: #f1f1f1;
        font-size: 14px;
        width: 200px;
    }

    .faq-page__category.is-active {
        background: #fff0eb;
    }

    .faq-page__ask-link {
        display: none;
    }

    .faq-page__question {
        min-height: 90px;
        padding: 18px 0;
    }

    .faq-page__question strong {
        font-size: 18px;
    }

    .faq-page__question small {
        font-size: 14px;
    }

    .faq-page__form-anchor {
        margin-top: 30px;
    }
}

/* FAQ detail */

.faq-detail {
    padding: 25px 0 50px;
}

.faq-detail__layout--with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 28%);
    align-items: start;
    gap: clamp(24px, 4vw, 45px);
}

.faq-detail__related,
.faq-detail__navigation a {
    padding: 18px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fbfbfb;
    overflow-wrap: anywhere;
}

.faq-detail__related h2 {
    margin: 0 0 12px;
    color: #222;
    font-size: 20px;
    line-height: 1.3;
}

.faq-detail__related ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-detail__related li + li {
    border-top: 1px solid #e5e5e5;
}

.faq-detail__related a,
.faq-detail__navigation a {
    display: block;
    color: #222;
    line-height: 1.4;
    text-decoration: none;
}

.faq-detail__related li a {
    padding: 10px 0;
}

.faq-detail__related a:hover,
.faq-detail__navigation a:hover {
    color: #ef6238;
}

.faq-detail__related .faq-detail__view-all {
    margin-top: 12px;
    font-weight: 600;
    text-decoration: underline;
}

.faq-detail__navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.faq-detail__navigation a[rel="next"] {
    grid-column: 2;
}

.faq-detail__navigation span {
    display: block;
    margin-bottom: 4px;
    color: #555;
    font-size: 14px;
}

@media (max-width: 767px) {
    .faq-detail__layout--with-sidebar,
    .faq-detail__navigation {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-detail__navigation a[rel="next"] {
        grid-column: auto;
    }
}

.faq-detail__content {
    width: 100%;
    max-width: 700px;
    overflow-wrap: anywhere;
}

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

.faq-detail__title {
    margin: 0 0 4px;
    color: #222;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 700;
}

.faq-detail__meta {
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}

.faq-detail__expert {
    margin-bottom: 20px;
}

.faq-detail__expert-label {
    margin: 0 0 10px;
    color: #333;
    font-size: 15px;
}

.faq-detail__expert-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 8px 14px 8px 8px;
    border-radius: 8px;
    background: #f1f1f1;
}

.faq-detail__expert-photo {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.faq-detail__expert-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.faq-detail__expert-name {
    color: #ef6238;
    font-size: 15px;
    font-weight: 600;
}

.faq-detail__expert-role {
    color: #666;
    font-size: 12px;
}

.faq-detail__expert-arrow {
    width: 9px;
    height: 9px;
    margin-left: 14px;
    border-top: 1.5px solid #222;
    border-right: 1.5px solid #222;
    transform: rotate(45deg);
}

.faq-detail__answer {
    color: #333;
    font-size: 17px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.faq-detail__answer p {
    margin: 0 0 12px;
    font-size: 20px;
}

.faq-detail__answer ul,
.faq-detail__answer ol {
    margin: 8px 0 14px;
    padding-left: 25px;
}

.faq-detail__answer li {
    margin-bottom: 4px;
}

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

@media (max-width: 767px) {
    .faq-detail {
        padding: 20px 0 35px;
    }

    .faq-detail__title {
        font-size: 22px;
    }

    .faq-detail__meta {
        font-size: 12px;
    }

    .faq-detail__answer {
        font-size: 15px;
    }
}

a.faq-detail__expert-card {
    color: inherit;
    text-decoration: none;
    transition: background .2s ease;
}

a.faq-detail__expert-card:hover {
    background: #e8e8e8;
}

.faq-detail__expert-card .faq-detail__expert-name {
    color: #ef6238;
}

/* FAQ comments */

.faq-comments {
    width: 100%;
    max-width: 780px;
    margin-top: 55px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.faq-comments__header {
    margin-bottom: 25px;
}

.faq-comments__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #222;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
}

.faq-comments__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    border-radius: 15px;
    background: #f1f1f1;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.faq-comments__item {
    padding: 22px 0;
    border-bottom: 1px solid #e5e5e5;
}

.faq-comments__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.faq-comments__author {
    color: #222;
    font-size: 16px;
    font-weight: 700;
}

.faq-comments__date {
    color: #888;
    font-size: 12px;
}

.faq-comments__body {
    color: #444;
    font-size: 15px;
    line-height: 1.55;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.faq-comments__reply {
    margin-top: 20px;
    margin-left: 25px;
    padding: 12px 0 12px 20px;
    border-left: 2px solid #ef6238;
}

.faq-comments__empty {
    margin: 0;
    color: #777;
    font-size: 15px;
}

@media (max-width: 767px) {
    .faq-comments {
        margin-top: 35px;
        padding-top: 25px;
    }

    .faq-comments__title {
        font-size: 22px;
    }

    .faq-comments__item {
        padding: 18px 0;
    }

    .faq-comments__reply {
        margin-left: 12px;
        padding-left: 14px;
    }
}

/* FAQ comments pagination */

.faq-comments__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.faq-comments__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: .2s ease;
}

a.faq-comments__page:hover {
    border-color: #ef6238;
    color: #ef6238;
}

.faq-comments__page.is-active {
    background: #ef6238;
    border-color: #ef6238;
    color: #fff;
    font-weight: 600;
}

.faq-comments__page.is-disabled {
    opacity: .4;
    cursor: default;
}

@media (max-width: 767px) {
    .faq-comments__pagination {
        gap: 5px;
    }

    .faq-comments__page {
        min-width: 34px;
        height: 34px;
        padding: 0 9px;
        font-size: 13px;
    }
}

/* FAQ comments — redesigned layout */

.faq-comments {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin-top: 70px;
    padding-top: 40px;
    border-top: 1px solid #e9e9e9;
}

.faq-comments__header {
    margin-bottom: 32px;
}

.faq-comments__title {
    gap: 14px;
    font-size: 30px;
    line-height: 1.2;
}

.faq-comments__count {
    min-width: 34px;
    height: 34px;
    border-radius: 17px;
    background: #f5f5f5;
    color: #666;
}

.faq-comments__item {
    position: relative;
    padding: 26px 0 30px;
    border-bottom: 1px solid #ececec;
}

.faq-comments__meta {
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-left: 60px;
}

.faq-comments__meta::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fce9e2;
    border: 1px solid #f7d5c8;
    box-sizing: border-box;
}

.faq-comments__meta::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 13px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ef6238;
    opacity: .75;
}

.faq-comments__author {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: #222;
}

.faq-comments__date {
    font-size: 13px;
    color: #999;
}

.faq-comments__body {
    margin-left: 60px;
    color: #444;
    font-size: 15px;
    line-height: 1.65;
    white-space: pre-line;
}

.faq-comments__reply {
    margin: 20px 0 0 60px;
    padding: 20px 24px;
    background: #f8f8f8;
    border: 0;
    border-radius: 10px;
}

.faq-comments__reply .faq-comments__meta {
    min-height: 36px;
    padding-left: 48px;
}

.faq-comments__reply .faq-comments__meta::before {
    width: 36px;
    height: 36px;
    background: #eaeaea;
    border-color: #eaeaea;
}

.faq-comments__reply .faq-comments__meta::after {
    left: 11px;
    top: 10px;
    width: 14px;
    height: 14px;
    background: #999;
}

.faq-comments__reply .faq-comments__body {
    margin-left: 48px;
}

.faq-comments__empty {
    padding: 25px 0;
    color: #888;
}

.faq-comments__pagination {
    justify-content: flex-start;
    margin-top: 35px;
}

@media (max-width: 767px) {
    .faq-comments {
        margin-top: 45px;
        padding-top: 30px;
    }

    .faq-comments__title {
        font-size: 24px;
    }

    .faq-comments__item {
        padding: 22px 0;
    }

    .faq-comments__meta {
        gap: 8px;
        padding-left: 50px;
    }

    .faq-comments__meta::before {
        width: 38px;
        height: 38px;
    }

    .faq-comments__meta::after {
        left: 12px;
        top: 11px;
        width: 14px;
        height: 14px;
    }

    .faq-comments__body {
        margin-left: 50px;
    }

    .faq-comments__reply {
        margin-left: 20px;
        padding: 16px;
    }

    .faq-comments__reply .faq-comments__body {
        margin-left: 0;
    }

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

/* FAQ comment avatars */

.faq-comments__meta {
    padding-left: 0;
}

.faq-comments__meta::before,
.faq-comments__meta::after {
    content: none;
    display: none;
}

.faq-comments__avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #f1f2f4;
}

.faq-comments__body {
    margin-left: 60px;
}

.faq-comments__reply .faq-comments__meta {
    padding-left: 0;
}

.faq-comments__reply .faq-comments__avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
}

.faq-comments__reply .faq-comments__body {
    margin-left: 48px;
}

@media (max-width: 767px) {
    .faq-comments__avatar {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .faq-comments__body {
        margin-left: 50px;
    }

    .faq-comments__reply .faq-comments__body {
        margin-left: 0;
    }
}

/* FAQ staff profile links */

.faq-comments__staff-avatar-link {
    display: inline-flex;
    flex: 0 0 auto;
    border-radius: 50%;
    text-decoration: none;
}

.faq-comments__staff-avatar-link .faq-comments__avatar {
    display: block;
    transition: opacity .2s ease;
}

.faq-comments__staff-avatar-link:hover .faq-comments__avatar {
    opacity: .8;
}

.faq-comments__author--link,
.faq-comments__author--link:visited {
    color: #222;
    text-decoration: none;
    transition: color .2s ease;
}

.faq-comments__author--link:hover {
    color: #ef6238;
}

.faq-comments__author--link:focus-visible,
.faq-comments__staff-avatar-link:focus-visible {
    outline: 2px solid #ef6238;
    outline-offset: 3px;
}

/* FAQ comments — author and date layout */

.faq-comments__meta {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 3px;
    align-items: center;
    justify-content: start;
    margin-bottom: 14px;
}

.faq-comments__avatar,
.faq-comments__staff-avatar-link {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
}

.faq-comments__author {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    line-height: 1.3;
}

.faq-comments__date {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    font-size: 12px;
    line-height: 1.4;
    color: #999;
}

.faq-comments__reply .faq-comments__meta {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 767px) {
    .faq-comments__meta {
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 12px;
    }

    .faq-comments__reply .faq-comments__meta {
        grid-template-columns: 36px minmax(0, 1fr);
    }
}

/* FAQ comments — final spacing adjustments */

.faq-comments__header {
    margin-bottom: 18px;
}

.faq-comments__item {
    padding-top: 22px;
    padding-bottom: 24px;
}

.faq-comments__meta {
    margin-bottom: 8px;
}

.faq-comments__body {
    margin-top: 0;
    line-height: 1.6;
}

.faq-comments__reply {
    margin-top: 16px;
    padding: 16px 20px;
}

.faq-comments__reply .faq-comments__meta {
    margin-bottom: 6px;
}

.faq-comments__reply .faq-comments__body {
    margin-top: 0;
}

@media (max-width: 767px) {
    .faq-comments__item {
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .faq-comments__reply {
        margin-top: 14px;
        padding: 14px 16px;
    }
}

.faq-detail .section {
    padding-top: 20px;
}

.faq-detail .section h1,
.staff-detail .staff-detail__name {
    text-align:left;
    width: 100%;
    margin-bottom: 10px;
}

/* FAQ Detail — related questions and symmetrical navigation */

.faq-detail__related {
    min-width: 0;
}

.faq-detail__related ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-detail__related li {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #eaeaea;
}

.faq-detail__related li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.faq-detail__related a {
    display: block;
    color: #333;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.faq-detail__related a:hover {
    color: #ef6238;
}

.faq-detail__navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 35px;
}

.faq-detail__nav-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 20px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    color: #222;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}

.faq-detail__nav-link:hover {
    border-color: #ef6238;
    background: #fff9f6;
}

.faq-detail__nav-link span {
    color: #666;
    font-size: 13px;
}

.faq-detail__nav-link strong {
    color: #222;
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.faq-detail__nav-link--previous {
    grid-column: 1;
    text-align: left;
    align-items: flex-start;
}

.faq-detail__nav-link--next {
    grid-column: 2;
    text-align: right;
    align-items: flex-end;
}

@media (max-width: 767px) {
    .faq-detail__navigation {
        gap: 10px;
    }

    .faq-detail__nav-link {
        padding: 14px;
    }

    .faq-detail__nav-link strong {
        font-size: 14px;
    }

    .faq-detail__related a {
        font-size: 14px;
    }
}

/* FAQ pagination — previous / centered numbers / next */

.faq-comments__pagination.faq-pagination {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 35px;
}

.faq-pagination__previous {
    grid-column: 1;
    display: flex;
    justify-content: flex-start;
}

.faq-pagination__numbers {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.faq-pagination__next {
    grid-column: 3;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .faq-comments__pagination.faq-pagination {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 6px;
    }

    .faq-pagination__numbers {
        gap: 4px;
    }

    .faq-pagination__previous .faq-comments__page,
    .faq-pagination__next .faq-comments__page {
        padding: 0 8px;
        font-size: 12px;
    }
}


/* FAQ Detail — topics accordion */

.faq-detail__topics {
    padding: 18px 0 8px;
}

.faq-detail__topics h2 {
    margin: 0 18px 12px;
    text-align: center;
    font-size: 20px;
}

.faq-detail__topics-list {
    display: flex;
    flex-direction: column;
}

.faq-detail__topic {
    border-top: 1px solid #e9e9e9;
}

.faq-detail__topic:first-child {
    border-top: 0;
}

.faq-detail__topic-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    cursor: pointer;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    list-style: none;
}

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

.faq-detail__topic-heading::marker {
    content: "";
}

.faq-detail__topic-heading:hover {
    color: #ef6238;
}

.faq-detail__topic-heading:focus-visible {
    outline: 2px solid #ef6238;
    outline-offset: -2px;
}

.faq-detail__topic-chevron {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.faq-detail__topic[open] .faq-detail__topic-chevron {
    transform: rotate(225deg);
}

.faq-detail__topic-questions {
    margin: 0 !important;
    padding: 0 12px 12px !important;
    list-style: none !important;
}

.faq-detail__topic-questions li {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.faq-detail__topic-questions li + li {
    border-top: 1px solid #ededed;
}

.faq-detail__topic-questions a,
.faq-detail__topic-questions li > span {
    display: block;
    padding: 11px 10px;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.faq-detail__topic-questions a:hover {
    color: #ef6238;
}

.faq-detail__topic-questions li.is-current {
    border-left: 3px solid #ef6238;
    border-radius: 5px;
    background: #fff1eb;
}

.faq-detail__topic-questions li.is-current > span {
    padding-left: 7px;
    color: #ef6238;
    font-weight: 600;
}

@media (max-width: 767px) {
    .faq-detail__topics {
        margin-top: 24px;
    }

    .faq-detail__topic-heading {
        padding: 14px 16px;
    }
}

/* FAQ Detail — full-width previous/next cards on mobile */
@media (max-width: 767px) {
    .faq-detail__navigation {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .faq-detail__navigation .faq-detail__nav-link {
        box-sizing: border-box;
        width: 100%;
        min-height: 0;
        padding: 16px 18px;
    }

    .faq-detail__nav-link--previous {
        align-items: flex-start;
        text-align: left;
    }

    .faq-detail__nav-link--next {
        align-items: flex-end;
        text-align: right;
    }

    .faq-detail__nav-link strong {
        font-size: 15px;
        line-height: 1.45;
    }
}
