/* Fordel Help Center frontend styles. This plugin intentionally does not add a topbar, navbar, or footer. */
.fhc-wrap,
.fhc-wrap * {
    box-sizing: border-box;
}

.fhc-wrap {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 72px 24px 52px;
    color: #263238;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fhc-home-wrap {
    padding-top: 48px;
}

.fhc-hero h1,
.fhc-page-head h1,
.fhc-article h1 {
    margin: 0;
    letter-spacing: .06em;
    color: #263238;
    font-weight: 700;
    line-height: 1.1;
}

.fhc-hero h1 {
    font-size: clamp(42px, 6vw, 68px);
    margin-bottom: 30px;
}

.fhc-page-head {
    margin: 56px 0 36px;
}

.fhc-page-head h1 {
    font-size: clamp(38px, 5.5vw, 64px);
}

.fhc-page-head p {
    margin: 16px 0 0;
    color: #53616b;
    font-size: 16px;
}

.fhc-search {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    border: 1px solid #e8edf2;
    border-radius: 13px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(7, 28, 51, 0.02);
}

.fhc-search:focus-within {
    border-color: #a7cef8;
    box-shadow: 0 0 0 3px rgba(62, 145, 229, .12);
}

.fhc-search-icon {
    width: 42px;
    text-align: center;
    color: #aeb8c1;
    font-size: 18px;
    line-height: 1;
}

.fhc-search input {
    width: 100%;
    min-height: 44px;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: #2d3840;
    background: transparent !important;
    font-size: 14px;
    padding: 0 10px 0 0;
}

.fhc-search input::placeholder {
    color: #a7b1ba;
}

.fhc-search button {
    align-self: stretch;
    min-width: 92px;
    border: 0;
    border-left: 1px solid #eef2f6;
    background: #f8fafc;
    color: #357fce;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.fhc-search button:hover,
.fhc-search button:focus {
    background: #3f8edf;
    color: #fff;
}

.fhc-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 13px 0 28px;
}

.fhc-quick-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
    padding: 5px 15px;
    border: 1px solid #e5ebf1;
    border-radius: 999px;
    color: #4c5863;
    font-size: 12px;
    line-height: 1;
    text-decoration: none !important;
    background: #fff;
}

.fhc-quick-links a:hover,
.fhc-quick-links a:focus {
    color: #2f85dd;
    border-color: #b7d8fb;
}

.fhc-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.fhc-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 98px;
    padding: 22px 22px;
    border: 1px solid #e7edf3;
    border-radius: 13px;
    background: #fff;
    color: #27343c;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(10, 34, 58, 0.015);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.fhc-card:hover,
.fhc-card:focus {
    transform: translateY(-2px);
    border-color: #c8ddf5;
    box-shadow: 0 12px 24px rgba(10, 34, 58, 0.08);
}

.fhc-card-content {
    min-width: 0;
}

.fhc-card strong {
    display: block;
    color: #2c3740;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 7px;
}

.fhc-card small {
    display: block;
    color: #303942;
    opacity: .82;
    font-size: 12px;
    line-height: 1.35;
}

.fhc-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #3189e6;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.fhc-inner-wrap,
.fhc-article-wrap {
    max-width: 100%;
    padding: 94px 64px 80px;
}

.fhc-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4b94e5;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    margin-bottom: 10px;
}

.fhc-back:hover,
.fhc-back:focus {
    color: #1d6fc8;
}

.fhc-faq-list {
    margin-top: 34px;
    border-top: 1px solid #edf0f3;
}

.fhc-faq-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    width: 100%;
    min-height: 92px;
    padding: 28px 0;
    border-bottom: 1px solid #edf0f3;
    color: #27323a;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1.18;
    text-decoration: none !important;
}

.fhc-faq-row:hover,
.fhc-faq-row:focus {
    color: #1d6fc8;
}

.fhc-faq-row span:first-child {
    max-width: 920px;
}

.fhc-search-results .fhc-faq-row {
    font-size: 20px;
    min-height: 82px;
}

.fhc-search-results .fhc-faq-row strong {
    display: block;
    font-size: 21px;
    line-height: 1.25;
}

.fhc-search-results .fhc-faq-row small {
    display: block;
    color: #66737e;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    margin-top: 6px;
}

.fhc-article {
    max-width: 100%;
    margin-top: 56px;
}

.fhc-article h1 {
    font-size: clamp(40px, 5vw, 68px);
    margin-bottom: 30px;
}

.fhc-article-body {
    max-width: 1220px;
    color: #303b43;
    font-size: 18px;
    line-height: 1.78;
}

.fhc-article-body p {
    margin: 0 0 22px;
}

.fhc-article-body a {
    color: #2f86e4;
    font-weight: 700;
    text-decoration: none;
}

.fhc-article-body ul,
.fhc-article-body ol {
    margin: 18px 0 24px 22px;
    padding: 0;
}

.fhc-article-body li {
    margin-bottom: 8px;
}

.fhc-empty {
    margin-top: 28px;
    padding: 24px;
    border: 1px dashed #dbe5ef;
    border-radius: 14px;
    background: #fafcff;
    color: #51616e;
    font-size: 15px;
    line-height: 1.6;
}

.fhc-not-found strong,
.fhc-not-found span {
    display: block;
}

.fhc-not-found strong {
    color: #263238;
    font-size: 24px;
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .fhc-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fhc-inner-wrap,
    .fhc-article-wrap {
        padding-left: 36px;
        padding-right: 36px;
    }
}

@media (max-width: 680px) {
    .fhc-wrap,
    .fhc-inner-wrap,
    .fhc-article-wrap {
        padding: 40px 18px 44px;
    }

    .fhc-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fhc-card {
        min-height: 86px;
        padding: 18px 16px;
    }

    .fhc-card strong {
        font-size: 17px;
    }

    .fhc-card small {
        font-size: 12px;
    }

    .fhc-search {
        min-height: 44px;
    }

    .fhc-search button {
        display: none;
    }

    .fhc-page-head {
        margin: 38px 0 28px;
    }

    .fhc-faq-row {
        min-height: 74px;
        padding: 22px 0;
        font-size: 21px;
        gap: 12px;
    }

    .fhc-article {
        margin-top: 38px;
    }

    .fhc-article-body {
        font-size: 16px;
        line-height: 1.72;
    }
}
