﻿
/* ========================================
   QLII HELP
   ======================================== */

.help-page {
    padding-bottom: 64px;
}

/* Hero */

.help-hero {
    padding: 90px 20px 75px;
    text-align: center;
    background: #FFF9F2;
}

    .help-hero h1 {
        font-size: clamp(32px, 5vw, 52px);
        line-height: 1.15;
        margin: 0 0 18px;
    }

    .help-hero p {
        font-size: 17px;
        opacity: .75;
        margin-bottom: 32px;
    }

/* Search */

.help-search {
    display: flex;
    max-width: 680px;
    margin: 0 auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

    .help-search input {
        flex: 1;
        min-width: 0;
        padding: 14px 18px;
        border: none;
        outline: none;
        background: transparent;
        font-size: 16px;
    }

    .help-search button {
        border: none;
        border-radius: 10px;
        padding: 0 24px;
        background: #222;
        color: white;
        font-weight: 600;
        cursor: pointer;
    }

/* Sections */

.help-section {
    padding: 65px 20px 0;
}

    .help-section h2 {
        font-size: 26px;
        margin-bottom: 28px;
    }

/* Categories */

.help-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.help-category-card {
    border: 1px solid #e8e5e1;
    border-radius: 18px;
    padding: 28px;
    background: white;
    transition: border-color .2s, transform .2s;
}

    .help-category-card h3 {
        font-size: 19px;
        margin: 0 0 12px;
    }

    .help-category-card p {
        font-size: 14px;
        opacity: .6;
        margin: 0;
    }

/* Questions */

.help-questions {
    border-top: 1px solid #e8e5e1;
}

.help-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 4px;
    border-bottom: 1px solid #e8e5e1;
    font-size: 16px;
}

    .help-question span:last-child {
        font-size: 26px;
        opacity: .5;
    }

/* Contact */

.help-contact {
    text-align: center;
    padding-top: 85px;
}

    .help-contact p {
        margin-bottom: 28px;
        opacity: .7;
    }

.help-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #222;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

    .help-contact-button:hover {
        background: #444;
        color: white;
    }

/* Mobile */

@media (max-width: 800px) {
    .help-hero {
        padding: 65px 18px 55px;
    }

    .help-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .help-category-grid {
        grid-template-columns: 1fr;
    }

    .help-search button {
        padding: 0 14px;
        font-size: 13px;
    }

    .help-section {
        padding-top: 45px;
    }
}

/* Search results */

.help-result-summary {
    font-size: 14px;
    line-height: 1.6;
    opacity: .65;
    margin: 8px 0 0;
}

.help-empty {
    padding: 32px;
    background: #FFF9F2;
    border-radius: 14px;
    text-align: center;
}

    .help-empty p {
        margin: 0;
    }

/* Article */

.help-article {
    max-width: 820px;
    margin: 40px auto 0;
}

    .help-article h1 {
        font-size: clamp(30px, 4vw, 44px);
        line-height: 1.2;
        margin-bottom: 20px;
    }

.help-article-summary {
    font-size: 19px;
    line-height: 1.6;
    opacity: .7;
    margin-bottom: 36px;
}

.help-article-content {
    font-size: 16px;
    line-height: 1.8;
}

    .help-article-content p {
        margin-bottom: 20px;
    }

    .help-article-content h2 {
        margin: 36px 0 16px;
        font-size: 25px;
    }

    .help-article-content h3 {
        margin: 28px 0 12px;
        font-size: 20px;
    }

    .help-article-content ul,
    .help-article-content ol {
        padding-left: 24px;
        margin-bottom: 24px;
    }


/* ========================================
   HELP — Breadcrumb
   ======================================== */

.help-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 820px;
    margin: 0 auto 32px;
    font-size: 13px;
    line-height: 1.5;
}

    .help-breadcrumb a {
        color: inherit;
        text-decoration: none;
        opacity: .65;
        transition: opacity .2s;
    }

        .help-breadcrumb a:hover {
            opacity: 1;
            text-decoration: underline;
        }

.help-breadcrumb-separator {
    opacity: .35;
    font-size: 18px;
}

.help-breadcrumb [aria-current="page"] {
    font-weight: 600;
    opacity: .9;
}

@media (max-width: 520px) {
    .help-breadcrumb {
        gap: 7px;
        margin-bottom: 24px;
        font-size: 12px;
    }
}

.help-question {
    color: inherit;
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}

a.help-question:hover {
    color: inherit;
    padding-left: 12px;
}

    a.help-question:hover span:last-child {
        opacity: 1;
    }

a.help-category-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

    a.help-category-card:hover {
        color: inherit;
        border-color: #bbb;
        transform: translateY(-3px);
    }

    a.help-category-card:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 3px;
    }

/* ========================================
   HELP — Category
   ======================================== */

.help-category-header {
    max-width: 820px;
    margin: 0 auto 36px;
}

    .help-category-header h1 {
        font-size: clamp(30px, 4vw, 42px);
        line-height: 1.2;
        margin: 0 0 16px;
    }

    .help-category-header p {
        font-size: 17px;
        line-height: 1.6;
        opacity: .7;
        margin: 0;
    }

    .help-category-header + .help-questions {
        max-width: 820px;
        margin: 0 auto;
    }

/* HELP — Related articles */

.help-related {
    max-width: 820px;
    margin: 60px auto 0;
    padding-top: 32px;
    border-top: 1px solid #e8e5e1;
}

    .help-related h2 {
        font-size: 22px;
        margin: 0 0 20px;
    }

.help-article-content a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    font-weight: 600;
}

    .help-article-content a:hover {
        text-decoration-thickness: 2px;
    }