/* faq-clean-redesign:start */
:root {
    --faq-bg: oklch(0.975 0.006 228);
    --faq-panel: oklch(0.995 0.004 228);
    --faq-soft: oklch(0.958 0.018 224);
    --faq-soft-2: oklch(0.935 0.028 224);
    --faq-line: oklch(0.900 0.014 224);
    --faq-text: oklch(0.235 0.045 230);
    --faq-muted: oklch(0.510 0.036 230);
    --faq-accent: oklch(0.625 0.170 235);
    --faq-accent-dark: oklch(0.500 0.145 238);
    --faq-warm: oklch(0.955 0.030 76);
}

.faq-section {
    padding: 104px 0 72px !important;
    min-height: calc(100vh - 160px);
    background:
        linear-gradient(180deg, oklch(0.988 0.008 224) 0%, var(--faq-bg) 420px),
        var(--faq-bg);
    color: var(--faq-text);
}

.faq-container {
    width: min(1180px, calc(100vw - 48px));
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

.faq-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    gap: 44px;
    align-items: end;
    padding: 44px 0 28px;
    border-bottom: 1px solid var(--faq-line);
    margin-bottom: 22px;
}

.faq-header {
    margin: 0;
    text-align: left;
}

.faq-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--faq-soft);
    color: var(--faq-accent-dark);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.faq-header h1 {
    margin: 0;
    color: var(--faq-text);
    font-size: 42px;
    line-height: 1.16;
    font-weight: 750;
    letter-spacing: 0;
}

.faq-header p {
    max-width: 62ch;
    margin: 14px 0 0;
    color: var(--faq-muted);
    font-size: 16px;
    line-height: 1.8;
}

.faq-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.faq-quick-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid var(--faq-line);
    border-radius: 999px;
    background: var(--faq-panel);
    color: var(--faq-text);
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.faq-quick-links a:hover {
    border-color: var(--faq-accent);
    color: var(--faq-accent-dark);
    background: var(--faq-soft);
}

.faq-search-panel {
    padding: 22px;
    border: 1px solid var(--faq-line);
    border-radius: 10px;
    background: var(--faq-panel);
    box-shadow: 0 18px 46px rgba(16, 72, 105, 0.08);
}

.faq-search-label {
    display: block;
    margin-bottom: 10px;
    color: var(--faq-text);
    font-size: 14px;
    font-weight: 700;
}

.faq-search-box {
    display: flex;
    max-width: none;
    margin: 0;
    position: relative;
}

.faq-search-input {
    width: 100%;
    min-height: 48px;
    padding: 0 112px 0 16px;
    border: 1px solid var(--faq-line);
    border-radius: 8px;
    background: oklch(0.990 0.004 228);
    color: var(--faq-text);
    font-size: 15px;
    line-height: 48px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.faq-search-input:focus {
    border-color: var(--faq-accent);
    background: var(--faq-panel);
    box-shadow: 0 0 0 4px rgba(11, 158, 217, 0.12);
}

.faq-search-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    transform: none;
    min-height: 36px;
    padding: 0 20px;
    border: 1px solid var(--faq-accent);
    border-radius: 7px;
    background: var(--faq-accent);
    color: oklch(0.990 0.004 228);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease;
}

.faq-search-btn:hover {
    background: var(--faq-accent-dark);
    border-color: var(--faq-accent-dark);
}

.faq-stats {
    margin: 12px 0 0;
    text-align: left;
    color: var(--faq-muted);
    font-size: 13px;
}

.faq-categories {
    justify-content: flex-start;
    gap: 10px;
    margin: 0 0 24px;
}

.faq-category-tag {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--faq-line);
    border-radius: 999px;
    background: var(--faq-panel);
    color: var(--faq-muted);
    font-size: 14px;
    line-height: 38px;
    font-weight: 650;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.faq-category-tag:hover {
    border-color: var(--faq-accent);
    color: var(--faq-accent-dark);
}

.faq-category-tag.active {
    border-color: var(--faq-accent);
    background: var(--faq-accent);
    color: oklch(0.990 0.004 228);
}

.faq-help-results {
    margin: 0 0 24px;
    padding: 20px;
    border: 1px solid var(--faq-line);
    border-radius: 10px;
    background: var(--faq-panel);
    box-shadow: none;
}

.faq-help-results-header h2 {
    color: var(--faq-text);
    font-size: 18px;
}

.faq-help-results-header p,
.faq-help-result-card span {
    color: var(--faq-muted);
}

.faq-help-results-link,
.faq-help-result-card:hover strong {
    color: var(--faq-accent-dark);
}

.faq-help-result-card {
    border-color: var(--faq-line);
    border-radius: 8px;
    background: var(--faq-bg);
}

.help-gateway {
    margin: 0 0 24px;
    padding: 20px 0 24px;
    border-top: 1px solid var(--faq-line);
    border-bottom: 1px solid var(--faq-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.help-gateway-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 14px;
}

.help-gateway-title {
    margin: 0 0 6px;
    color: var(--faq-text);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 750;
}

.help-gateway-desc {
    max-width: 66ch;
    margin: 0;
    color: var(--faq-muted);
    font-size: 14px;
    line-height: 1.75;
}

.help-gateway-actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.help-gateway-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--faq-line);
    border-radius: 7px;
    background: var(--faq-panel);
    color: var(--faq-accent-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.help-gateway-action.primary {
    border-color: var(--faq-accent);
    background: var(--faq-accent);
    color: oklch(0.990 0.004 228);
}

.help-gateway-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.help-gateway-card {
    min-height: 0;
    padding: 13px 14px;
    border: 1px solid var(--faq-line);
    border-radius: 8px;
    background: var(--faq-panel);
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease;
}

.help-gateway-card:hover {
    border-color: var(--faq-accent);
    background: var(--faq-soft);
    box-shadow: none;
    transform: none;
}

.help-gateway-card strong {
    display: block;
    margin: 0 0 4px;
    color: var(--faq-text);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 750;
}

.help-gateway-card span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--faq-muted);
    font-size: 12px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.help-gateway-hot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.help-gateway-hot a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--faq-warm);
    color: oklch(0.390 0.070 80);
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    font-weight: 650;
}

.faq-list {
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--faq-line);
    border-radius: 8px;
    background: var(--faq-panel);
    box-shadow: none;
}

.faq-item:hover {
    border-color: oklch(0.820 0.030 224);
    box-shadow: none;
}

.faq-question {
    min-height: 64px;
    padding: 17px 20px;
    background: transparent;
}

.faq-question:hover {
    background: var(--faq-bg);
}

.faq-question-text {
    color: var(--faq-text);
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
}

.faq-icon {
    color: oklch(0.630 0.030 224);
    font-size: 18px;
}

.faq-item.active .faq-icon {
    color: var(--faq-accent);
}

.faq-answer {
    background: var(--faq-bg);
    transition: max-height .22s ease-out;
}

.faq-answer-text {
    max-width: 78ch;
    padding: 0 20px 18px;
    color: var(--faq-muted);
    font-size: 14px;
    line-height: 1.85;
}

.faq-no-result {
    padding: 72px 20px;
    color: var(--faq-muted);
}

@media (max-width: 900px) {
    .faq-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 32px;
    }

    .help-gateway-header {
        display: block;
    }

    .help-gateway-actions {
        margin-top: 14px;
    }

    .help-gateway-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 88px 0 108px !important;
    }

    .faq-container {
        width: min(100% - 28px, 1180px);
        padding: 0;
    }

    .faq-header h1 {
        font-size: 30px;
    }

    .faq-header p {
        font-size: 15px;
    }

    .faq-search-panel {
        padding: 16px;
    }

    .faq-search-input {
        padding-right: 92px;
    }

    .faq-search-btn {
        padding: 0 14px;
    }

    .faq-categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .faq-category-tag {
        flex: 0 0 auto;
    }

    .help-gateway-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .help-gateway-card {
        padding: 13px 12px;
    }

    .help-gateway-card strong {
        margin: 0;
        text-align: center;
    }

    .help-gateway-card span {
        display: none;
    }

    .help-gateway-hot a {
        width: 100%;
        justify-content: center;
    }
}
/* faq-clean-redesign:end */
