/* =========================================================
   MAYOBA LEARNER DASHBOARD — HELP CENTRE
   STANDALONE PAGE
   No sidebar
   No top header
   Scoped exclusively to:
   .dashboard-learner-help-centre
   ========================================================= */

.dashboard-learner-help-centre {
    --navy: #0c2a7a;
    --navy2: #071c5e;
    --blue: #1e63ef;
    --ink: #12205c;
    --muted: #5f6f9a;
    --bg: #f3f7ff;
    --line: #dbe5f6;
    --white: #fff;
    --green: #10a56f;
    --purple: #7042eb;
    --orange: #ff7a24;
    --red: #e93e66;
    --shadow: 0 10px 28px rgba(13, 41, 113, .08);
    --radius: 15px;

    margin: 0;
    padding: 0;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--ink);

    background:
        linear-gradient(
            180deg,
            #f7faff 0,
            #edf4ff 100%
        );

    font-size: 14px;
}


/* =========================================================
   BOX SIZING
   ========================================================= */

.dashboard-learner-help-centre *,
.dashboard-learner-help-centre *::before,
.dashboard-learner-help-centre *::after {
    box-sizing: border-box;
}


/* =========================================================
   BASIC ELEMENTS
   ========================================================= */

.dashboard-learner-help-centre a {
    text-decoration: none;
    color: inherit;
}

.dashboard-learner-help-centre button,
.dashboard-learner-help-centre input,
.dashboard-learner-help-centre select,
.dashboard-learner-help-centre textarea {
    font: inherit;
}

.dashboard-learner-help-centre .icon {
    width: 22px;
    height: 22px;
    display: block;
}


/* =========================================================
   MAIN CONTENT
   STANDALONE — NO SIDEBAR / NO HEADER
   ========================================================= */

.dashboard-learner-help-centre .main {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}


/* =========================================================
   CONTENT
   ========================================================= */

.dashboard-learner-help-centre .content {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 28px 18px 32px;
}


/* =========================================================
   HELP CENTRE HERO
   ========================================================= */

.dashboard-learner-help-centre .page-hero {
    min-height: 124px;
    height: 124px;

    border-radius: 15px;

    overflow: hidden;

    position: relative;

    color: #fff;

    background:
        linear-gradient(
            100deg,
            #09266f,
            #10339a 60%,
            #1a49c6
        );

    display: flex;
    align-items: center;

    padding: 0 34px;

    margin: 0 0 16px;

    box-shadow: var(--shadow);
}


/* =========================================================
   HERO OVERLAY
   ========================================================= */

.dashboard-learner-help-centre .page-hero::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 28, 94, .12),
            rgba(7, 28, 94, 0)
        );
}


/* =========================================================
   MOUNTAIN HERO ART
   ========================================================= */

.dashboard-learner-help-centre .page-hero.mountain {
    background-image:
        linear-gradient(
            90deg,
            #08236d 0%,
            #0e3194 55%,
            rgba(14, 49, 148, .35) 100%
        ),
        url("/assets/dashboard-assets/banner-mountain.png");

    background-repeat: no-repeat;

    background-size: cover;

    background-position: right center;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.dashboard-learner-help-centre .page-hero .hero-copy {
    position: relative;

    z-index: 2;

    max-width: 64%;

    padding: 3px 0;
}

.dashboard-learner-help-centre .page-hero h1 {
    font-size: 42px;

    line-height: 1.08;

    margin: 0 0 8px;

    letter-spacing: -.025em;
}

.dashboard-learner-help-centre .page-hero p {
    margin: 0;

    color: rgba(255, 255, 255, .9);

    font-size: 18px;

    line-height: 1.35;
}


/* =========================================================
   SEARCH TOOLBAR
   ========================================================= */

.dashboard-learner-help-centre .toolbar {
    display: flex;

    gap: 12px;

    align-items: center;

    margin: 8px 0 14px;
}


/* =========================================================
   SEARCH BOX
   ========================================================= */

.dashboard-learner-help-centre .searchbox {
    height: 42px;

    min-width: 360px;

    flex: 1;

    border: 1px solid var(--line);

    border-radius: 10px;

    background: #fff;

    display: flex;

    align-items: center;

    padding: 0 14px;

    gap: 10px;

    color: #6e7da1;
}

.dashboard-learner-help-centre .searchbox .icon {
    flex: 0 0 auto;
}

.dashboard-learner-help-centre .searchbox input {
    border: 0;

    outline: 0;

    width: 100%;

    color: #263766;

    background: transparent;
}

.dashboard-learner-help-centre .searchbox input::placeholder {
    color: #7a89a9;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.dashboard-learner-help-centre .btn {
    height: 42px;

    border-radius: 9px;

    border: 1px solid #1d5df0;

    background: #fff;

    color: #0e4bdc;

    padding: 0 22px;

    font-weight: 750;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    cursor: pointer;
}

.dashboard-learner-help-centre .btn.primary {
    background:
        linear-gradient(
            135deg,
            #0a2577,
            #071c61
        );

    border-color: #0a2577;

    color: #fff;
}

.dashboard-learner-help-centre .btn.soft {
    border-color: #d6e1f5;

    background: #eff5ff;

    color: #174fc5;
}


/* =========================================================
   GRID
   ========================================================= */

.dashboard-learner-help-centre .grid {
    display: grid;

    gap: 14px;
}

.dashboard-learner-help-centre .g2 {
    grid-template-columns: 1fr 1fr;
}

.dashboard-learner-help-centre .faq-grid {
    grid-template-columns: repeat(3, 1fr);
}


/* =========================================================
   CARDS
   ========================================================= */

.dashboard-learner-help-centre .card {
    background: #fff;

    border: 1px solid #e0e8f6;

    border-radius: 14px;

    box-shadow:
        0 7px 20px rgba(14, 41, 114, .045);
}


/* =========================================================
   PANEL
   ========================================================= */

.dashboard-learner-help-centre .panel {
    padding: 16px;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.dashboard-learner-help-centre .section-title {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-bottom: 10px;
}

.dashboard-learner-help-centre .section-title .left {
    display: flex;

    align-items: center;

    gap: 10px;
}

.dashboard-learner-help-centre .section-title h2 {
    font-size: 21px;

    margin: 0;

    color: #112668;
}

.dashboard-learner-help-centre .section-title p {
    font-size: 12px;

    color: #6879a0;

    margin: 3px 0 0;
}


/* =========================================================
   HELP CATEGORY CARDS
   ========================================================= */

.dashboard-learner-help-centre .faq-card {
    padding: 18px;
}

.dashboard-learner-help-centre .faq-card h3 {
    font-size: 16px;

    margin: 6px 0;
}

.dashboard-learner-help-centre .faq-card p {
    font-size: 12px;

    color: #6878a0;

    line-height: 1.45;

    margin: 0;
}


/* =========================================================
   ICON TILES
   ========================================================= */

.dashboard-learner-help-centre .tile-icon {
    height: 44px;

    width: 44px;

    border-radius: 12px;

    display: grid;

    place-items: center;
}


/* =========================================================
   ICON COLORS
   ========================================================= */

.dashboard-learner-help-centre .blue {
    background: #e9f1ff;
    color: #1f65ef;
}

.dashboard-learner-help-centre .green {
    background: #e4f8ef;
    color: #0b9d6b;
}

.dashboard-learner-help-centre .purple {
    background: #efe8ff;
    color: #6f3eeb;
}

.dashboard-learner-help-centre .orange {
    background: #fff0e3;
    color: #f27418;
}

.dashboard-learner-help-centre .pink {
    background: #ffe7ef;
    color: #d63b6a;
}


/* =========================================================
   LINKS
   ========================================================= */

.dashboard-learner-help-centre .link {
    display: inline-block;

    color: #0f54e8;

    font-weight: 750;

    font-size: 12px;

    margin-top: 12px;
}


/* =========================================================
   COMMON QUESTIONS
   ========================================================= */

.dashboard-learner-help-centre .g2 > .card.panel {
    min-width: 0;
}

.dashboard-learner-help-centre .g2 > .card.panel b {
    display: block;

    font-size: 14px;

    color: #172a70;

    margin-bottom: 6px;
}

.dashboard-learner-help-centre .meta {
    font-size: 12px;

    line-height: 1.45;

    color: #6878a0;
}


/* =========================================================
   LARGE LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

    .dashboard-learner-help-centre .content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dashboard-learner-help-centre .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-learner-help-centre .page-hero .hero-copy {
        max-width: 75%;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .dashboard-learner-help-centre .content {
        padding: 20px 16px 28px;
    }

    .dashboard-learner-help-centre .faq-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-learner-help-centre .g2 {
        grid-template-columns: 1fr;
    }

    .dashboard-learner-help-centre .toolbar {
        flex-wrap: wrap;
    }

    .dashboard-learner-help-centre .searchbox {
        min-width: 0;

        width: 100%;

        flex-basis: 100%;
    }

    .dashboard-learner-help-centre .page-hero {
        min-height: 132px;

        height: auto;

        padding-top: 18px;
        padding-bottom: 18px;
    }

    .dashboard-learner-help-centre .page-hero .hero-copy {
        max-width: 75%;
    }

    .dashboard-learner-help-centre .page-hero h1 {
        font-size: 32px;
    }

    .dashboard-learner-help-centre .page-hero p {
        font-size: 15px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .dashboard-learner-help-centre .content {
        padding: 12px 12px 24px;
    }

    .dashboard-learner-help-centre .page-hero {
        min-height: 120px;

        padding: 20px;
    }

    .dashboard-learner-help-centre .page-hero .hero-copy {
        max-width: 100%;
    }

    .dashboard-learner-help-centre .page-hero h1 {
        font-size: 30px;
    }

    .dashboard-learner-help-centre .page-hero p {
        font-size: 14px;
    }

    .dashboard-learner-help-centre .toolbar {
        display: flex;

        flex-direction: column;

        align-items: stretch;
    }

    .dashboard-learner-help-centre .searchbox {
        flex-basis: auto;

        width: 100%;
    }

    .dashboard-learner-help-centre .toolbar .btn {
        width: 100%;
    }

    .dashboard-learner-help-centre .faq-card {
        padding: 16px;
    }

    .dashboard-learner-help-centre .panel {
        padding: 14px;
    }

}