/* Public Help & Support / FAQ — Lovable-aligned Aspire Uni styles */
.faq-help-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 8px var(--gutter, 16px) 48px;
    box-sizing: border-box;
    font-family: var(--sep-font, var(--au-font-family, 'Figtree', system-ui, sans-serif));
    color: var(--sep-body, #333);
}

.faq-help-page .breadcrumb,
.faq-help-page .sep-pdp-breadcrumb {
    margin: 0 0 20px;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--sep-muted, #6B7280);
    background: none;
    border: none;
}

.faq-help-page .breadcrumb ol,
.faq-help-page .sep-pdp-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-help-page .breadcrumb a,
.faq-help-page .sep-pdp-breadcrumb a {
    color: var(--sep-muted, #6B7280);
    text-decoration: none;
    font-weight: 500;
}

.faq-help-page .breadcrumb a:hover,
.faq-help-page .sep-pdp-breadcrumb a:hover {
    color: var(--sep-ink, #22293a);
    text-decoration: underline;
}

.faq-help-page .breadcrumb .delimiter,
.faq-help-page .sep-pdp-breadcrumb .delimiter {
    margin: 0 0.4em;
    color: var(--sep-muted, #6B7280);
}

.faq-help-page .breadcrumb .current-item,
.faq-help-page .sep-pdp-breadcrumb .current-item {
    color: var(--sep-ink, #22293a);
    font-weight: 600;
}

.sep-faq-help {
    max-width: 960px;
    margin: 0 auto;
}

/* Page title — plain ink on page (no navy banner) */
.sep-faq-page-header {
    margin: 0 0 22px;
}

.sep-faq-header {
    margin: 0 0 10px;
    color: var(--sep-ink, #22293a);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    font-family: inherit;
    background: none;
    padding: 0;
}

.sep-faq-subtitle {
    margin: 0;
    max-width: 42rem;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--sep-muted, #6B7280);
}

/* Intro card — white panel with navy bullets */
.sep-faq-intro {
    background: var(--sep-card, #fff);
    border: 1px solid var(--sep-border, #E3E7EE);
    border-radius: 12px;
    padding: 26px 30px;
    margin: 0 0 28px;
}

.sep-faq-intro__heading {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 800;
    color: var(--sep-ink, #22293a);
}

.sep-faq-intro__lead,
.sep-faq-intro__closing,
.sep-faq-intro__list {
    margin: 0 0 12px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--sep-body, #333);
}

.sep-faq-intro__list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 14px;
}

.sep-faq-intro__list li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 1.35rem;
    line-height: 1.55;
}

.sep-faq-intro__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sep-ink, #22293a);
}

.sep-faq-intro__list li:last-child {
    margin-bottom: 0;
}

.sep-faq-intro__list strong {
    font-weight: 800;
    color: var(--sep-ink, #22293a);
}

.sep-faq-intro__closing {
    margin-bottom: 0;
}

.sep-faq-intro a,
.sep-faq-topic-footer a,
.sep-faq-answer-body a,
.sep-faq-link,
.sep-faq-search-no-results a {
    color: var(--brand-link, #203864);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Tabs — navy inactive; white active flush with content card */
.sep-faq-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.sep-faq-tabs::-webkit-scrollbar {
    display: none;
}

.sep-faq-tab {
    flex: 0 0 auto;
    min-height: 44px;
    border: 1px solid transparent;
    padding: 11px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 10px 10px 0 0;
    background: var(--surface-navy, #203864);
    color: #fff;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sep-faq-tab:hover {
    filter: brightness(1.06);
}

.sep-faq-tab.is-active {
    background: var(--sep-card, #fff);
    color: var(--sep-ink, #22293a);
    border-color: var(--sep-border, #E3E7EE);
    border-bottom-color: var(--sep-card, #fff);
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
    filter: none;
}

.sep-faq-tab:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

/* Content card — joined to active tab */
.sep-faq-card {
    background: var(--sep-card, #fff);
    border: 1px solid var(--sep-border, #E3E7EE);
    border-radius: 0 12px 12px 12px;
    padding: 26px 30px;
    position: relative;
    z-index: 1;
}

.sep-faq-panel {
    display: none;
}

.sep-faq-panel.is-active {
    display: block;
}

.sep-faq-panel-title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 800;
    color: var(--sep-ink, #22293a);
}

/* Filter */
.sep-faq-filter-wrap {
    margin-bottom: 16px;
    max-width: 100%;
}

.sep-faq-filter-label {
    display: block;
    margin: 0 0 8px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--sep-ink, #22293a);
}

.sep-faq-filter {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 40px 12px 14px;
    border: 1.5px solid var(--sep-border-strong, #d5dae3);
    border-radius: 999px;
    background: var(--sep-card, #fff);
    color: var(--sep-body, #333);
    font-family: inherit;
    font-size: 14.5px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2322293a' stroke-width='1.75' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.sep-faq-filter:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 1px;
}

/* Search */
.sep-faq-global-search-wrap {
    margin-bottom: 1rem;
}

.sep-faq-global-search-label {
    display: block;
    margin: 0 0 8px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--sep-ink, #22293a);
}

.sep-faq-search-inline {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

.sep-faq-global-search {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 14px;
    border: 1.5px solid var(--sep-border-strong, #d5dae3);
    border-radius: 8px;
    background: var(--sep-card, #fff);
    font-family: inherit;
    font-size: 14.5px;
}

.sep-faq-global-search:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 1px;
}

.sep-faq-search-haystack {
    display: none;
}

.sep-faq-search-count {
    margin: 0 0 14px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--sep-ink, #22293a);
}

.sep-faq-search-group {
    margin-bottom: 22px;
}

.sep-faq-search-group-title {
    margin: 0 0 12px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sep-muted, #6B7280);
}

/* FAQ rows */
.sep-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sep-faq-item {
    border: 1px solid var(--sep-border, #E3E7EE);
    border-radius: 8px;
    overflow: hidden;
    background: var(--sep-card, #fff);
    scroll-margin-top: 100px;
}

.sep-faq-item.is-hidden,
.sep-faq-item[hidden],
.sep-faq-search-group.is-hidden,
.sep-faq-search-group[hidden],
.sep-faq-empty.is-hidden,
.sep-faq-empty[hidden],
.sep-faq-search-count.is-hidden,
.sep-faq-search-count[hidden] {
    display: none !important;
}

.sep-faq-item.is-open {
    border-color: var(--sep-border-strong, #d5dae3);
}

.sep-faq-q {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 10px 8px 10px 16px;
    border: none;
    background: var(--sep-card, #fff);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: var(--sep-ink, #22293a);
}

.sep-faq-q:hover {
    background: var(--sep-surface-2, #f1f4f8);
}

.sep-faq-q:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: -2px;
}

.sep-faq-q-marker,
.sep-faq-a-marker {
    flex: 0 0 auto;
    font-size: 16px;
    font-weight: 800;
    color: var(--sep-ink, #22293a);
    line-height: 1;
}

.sep-faq-q-text {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--sep-ink, #22293a);
}

.sep-faq-chevron-wrap {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sep-faq-chevron {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--sep-ink, #22293a);
    border-bottom: 2px solid var(--sep-ink, #22293a);
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    margin-top: -4px;
}

.sep-faq-item.is-open .sep-faq-chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.sep-faq-a {
    border-top: 1px solid var(--sep-border, #E3E7EE);
    background: var(--sep-card, #fff);
    padding: 0 16px 16px;
}

.sep-faq-a-inner {
    display: flex;
    gap: 12px;
    padding-top: 14px;
}

.sep-faq-answer-body {
    flex: 1;
    min-width: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--sep-body, #333);
}

.sep-faq-answer-body p {
    margin: 0 0 0.85em;
}

.sep-faq-answer-body p:last-child {
    margin-bottom: 0;
}

.sep-faq-answer-body ul,
.sep-faq-answer-body ol {
    margin: 0 0 0.85em;
    padding-left: 1.35rem;
}

.sep-faq-answer-body li {
    margin-bottom: 0.25em;
}

.sep-faq-answer-body h1,
.sep-faq-answer-body h2,
.sep-faq-answer-body h3,
.sep-faq-answer-body h4 {
    margin: 1em 0 0.5em;
    font-weight: 700;
    color: var(--sep-ink, #22293a);
}

.sep-faq-related {
    border-top: 1px solid var(--sep-border, #E3E7EE);
    margin-top: 16px;
    padding-top: 14px;
}

.sep-faq-related-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--sep-ink, #22293a);
}

.sep-faq-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sep-faq-related-list a,
.sep-faq-link {
    font-size: 13.5px;
    font-weight: 600;
}

.sep-faq-empty {
    color: var(--sep-muted, #6B7280);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0 0 12px;
    font-style: normal;
}

.sep-faq-topic-footer {
    margin: 22px 0 0;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--sep-body, #333);
}

.sep-faq-search-here {
    display: inline;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: var(--brand-link, #203864);
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-transform: uppercase;
    cursor: pointer;
}

.sep-faq-search-here:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

/* Still need help */
.sep-faq-still-need-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    padding: 22px 24px;
    background: var(--sep-surface-2, #f1f4f8);
    border: 1px solid var(--sep-border, #E3E7EE);
    border-radius: 12px;
}

.sep-faq-still-need-help__heading {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    color: var(--sep-ink, #22293a);
}

.sep-faq-still-need-help__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--sep-muted, #6B7280);
}

.sep-faq-still-need-help__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 10px;
    background: var(--magenta, #C8235A);
    color: #fff !important;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.sep-faq-still-need-help__cta:hover {
    filter: brightness(1.05);
    color: #fff !important;
}

.sep-faq-still-need-help__cta:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

/* Coming soon */
.sep-faq-help--coming-soon .sep-faq-coming-soon-body {
    padding: 0 0 1rem;
    font-size: 14.5px;
    line-height: 1.7;
}

.sep-faq-coming-soon-links-intro {
    margin-bottom: 0.5rem;
}

.sep-faq-coming-soon-links {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.sep-faq-coming-soon-links li {
    margin-bottom: 0.35rem;
}

.sep-faq-coming-soon-links a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--brand-link, #203864);
}

/* Legacy title-band class (if any cached markup) → plain header */
.sep-faq-title-band {
    background: none !important;
    border-radius: 0;
    padding: 0;
    margin: 0 0 22px;
}

.sep-faq-title-band .sep-faq-header {
    color: var(--sep-ink, #22293a);
}

@media (max-width: 1023px) {
    .faq-help-page {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .sep-faq-intro,
    .sep-faq-card,
    .sep-faq-still-need-help {
        padding: 18px 16px;
    }

    .sep-faq-header {
        font-size: 28px;
    }

    .sep-faq-tabs {
        gap: 6px;
        margin-bottom: 12px;
    }

    .sep-faq-tab {
        padding: 10px 14px;
        font-size: 13.5px;
    }

    .sep-faq-q-text {
        font-size: 14.5px;
    }

    .sep-faq-still-need-help {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .sep-faq-still-need-help__cta {
        align-self: flex-start;
    }
}
