/* =========================================================
   MIYZON HELP CENTRE
   public/css/help-centre.css
========================================================= */

.mz-help {
    min-width: 0;
    overflow-x: clip;
    background: transparent;
}

.mz-help .mz-section,
.mz-help .mz-hero {
    background: transparent;
}

.mz-help-section,
.mz-help-search-section {
    padding: 68px 0;
}

.mz-help-hero {
    min-height: 540px;
    display: flex;
    align-items: center;
}

.mz-help-hero .mz-hero-content {
    width: min(880px, 100%);
    margin-inline: auto;
    text-align: center;
}

.mz-help-hero__eyebrow {
    margin: 0 0 13px;
    color: #70dfff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mz-help-hero h1 span {
    background:
        linear-gradient(
            90deg,
            #70dfff,
            #ca9cff,
            #ff7bb3
        );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mz-help-search {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 12px;
    width: min(760px, 100%);
    min-height: 64px;
    margin: 34px auto 0;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(7, 13, 26, .76);
    box-shadow:
        0 24px 70px rgba(0,0,0,.22),
        0 0 0 1px rgba(112,223,255,.025);
    backdrop-filter: blur(16px);
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.mz-help-search:focus-within {
    border-color: rgba(112,223,255,.38);
    box-shadow:
        0 24px 70px rgba(0,0,0,.22),
        0 0 0 4px rgba(112,223,255,.055);
}

.mz-help-search__icon {
    width: 21px;
    height: 21px;
    stroke: rgba(255,255,255,.44);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mz-help-search input {
    width: 100%;
    min-width: 0;
    height: 62px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: 500 15px/1.4 Inter, sans-serif;
}

.mz-help-search input::placeholder {
    color: rgba(255,255,255,.34);
}

.mz-help-search__clear {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.56);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.mz-help-search__clear:hover {
    background: rgba(255,255,255,.09);
    color: #fff;
}

.mz-help-search-hint {
    margin: 12px 0 0;
    color: rgba(255,255,255,.34);
    font-size: 11.5px;
}

.mz-help-search-section {
    padding-top: 30px;
}

.mz-help-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 20px;
}

.mz-help-results-head .mz-h2 {
    margin-bottom: 0;
}

.mz-help-results-count {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.02);
    color: rgba(255,255,255,.56);
    font-size: 12px;
    font-weight: 800;
}

.mz-help-results {
    display: grid;
    gap: 10px;
}

.mz-help-result {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 14px 24px;
    min-width: 0;
    padding: 19px 21px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    background: rgba(255,255,255,.017);
    color: inherit;
    text-decoration: none;
    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.mz-help-result:hover {
    transform: translateY(-1px);
    border-color: rgba(112,223,255,.20);
    background: rgba(112,223,255,.02);
}

.mz-help-result__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 6px;
}

.mz-help-result__meta span {
    color: #70dfff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.mz-help-result h3 {
    margin: 0 0 5px;
    color: rgba(255,255,255,.86);
    font-size: 15px;
}

.mz-help-result p {
    margin: 0;
    color: rgba(255,255,255,.47);
    font-size: 12.5px;
    line-height: 1.55;
}

.mz-help-result__arrow {
    align-self: center;
    color: rgba(255,255,255,.40);
    font-size: 20px;
}

.mz-help-results-empty {
    padding: 26px;
    border: 1px dashed rgba(255,255,255,.09);
    border-radius: 15px;
    color: rgba(255,255,255,.48);
    font-size: 13px;
    line-height: 1.6;
}

.mz-help-section-head {
    max-width: 760px;
    margin-bottom: 28px;
}

.mz-help-section-head--browse {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.mz-help-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.mz-help-quick {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background: rgba(255,255,255,.018);
    color: inherit;
    text-decoration: none;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.mz-help-quick:hover {
    transform: translateY(-3px);
    border-color: rgba(112,223,255,.20);
    background:
        linear-gradient(
            145deg,
            rgba(112,223,255,.035),
            rgba(202,156,255,.018)
        );
}

.mz-help-quick__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 32px;
    border: 1px solid rgba(112,223,255,.13);
    border-radius: 12px;
    background: rgba(112,223,255,.045);
}

.mz-help-quick__icon svg {
    width: 20px;
    height: 20px;
    stroke: #70dfff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mz-help-quick strong {
    display: block;
    color: rgba(255,255,255,.84);
    font-size: 14px;
}

.mz-help-quick p {
    margin: 8px 0 0;
    color: rgba(255,255,255,.46);
    font-size: 12.5px;
    line-height: 1.55;
}

.mz-help-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.mz-help-filter {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 999px;
    background: rgba(255,255,255,.015);
    color: rgba(255,255,255,.48);
    cursor: pointer;
    font: 700 10.5px/1 Inter, sans-serif;
    transition:
        color .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.mz-help-filter:hover,
.mz-help-filter.is-active {
    border-color: rgba(112,223,255,.22);
    background: rgba(112,223,255,.06);
    color: #8fe7ff;
}

.mz-help-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 13px;
}

.mz-help-resource {
    position: relative;
    min-width: 0;
    min-height: 185px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 17px;
    background:
        linear-gradient(
            150deg,
            rgba(255,255,255,.022),
            rgba(255,255,255,.008)
        );
    color: inherit;
    text-decoration: none;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.mz-help-resource:hover {
    transform: translateY(-2px);
    border-color: rgba(202,156,255,.20);
    background:
        linear-gradient(
            150deg,
            rgba(112,223,255,.025),
            rgba(202,156,255,.018)
        );
}

.mz-help-resource[hidden] {
    display: none !important;
}

.mz-help-resource__type {
    display: block;
    margin-bottom: 30px;
    color: #70dfff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mz-help-resource h3 {
    margin: 0 0 7px;
    padding-right: 28px;
    color: rgba(255,255,255,.83);
    font-size: 15px;
    line-height: 1.35;
}

.mz-help-resource p {
    margin: 0;
    padding-right: 20px;
    color: rgba(255,255,255,.45);
    font-size: 12px;
    line-height: 1.55;
}

.mz-help-resource__arrow {
    position: absolute;
    right: 18px;
    bottom: 17px;
    color: rgba(255,255,255,.32);
    font-size: 18px;
}

.mz-help-empty {
    margin-top: 12px;
    padding: 24px;
    border: 1px dashed rgba(255,255,255,.09);
    border-radius: 15px;
}

.mz-help-empty h3 {
    margin: 0 0 6px;
    color: rgba(255,255,255,.76);
    font-size: 15px;
}

.mz-help-empty p {
    margin: 0;
    color: rgba(255,255,255,.42);
    font-size: 12.5px;
}

.mz-help-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 34px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    background:
        radial-gradient(
            520px 220px at 0% 50%,
            rgba(55,214,255,.055),
            transparent 70%
        ),
        rgba(255,255,255,.018);
}

.mz-help-contact h2 {
    margin: 5px 0 8px;
    color: #fff;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(24px, 3vw, 34px);
}

.mz-help-contact p:not(.mz-eyebrow) {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.52);
    font-size: 13.5px;
    line-height: 1.65;
}

.mz-help-contact__actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 980px) {
    .mz-help-quick-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .mz-help-resource-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .mz-help-section-head--browse {
        align-items: flex-start;
        flex-direction: column;
    }

    .mz-help-filters {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .mz-help-section,
    .mz-help-search-section {
        padding: 50px 0;
    }

    .mz-help-hero {
        min-height: 500px;
    }

    .mz-help-search {
        min-height: 58px;
        border-radius: 15px;
    }

    .mz-help-search input {
        height: 56px;
        font-size: 14px;
    }

    .mz-help-quick-grid,
    .mz-help-resource-grid {
        grid-template-columns: minmax(0,1fr);
    }

    .mz-help-quick {
        padding: 20px;
    }

    .mz-help-quick__icon {
        margin-bottom: 22px;
    }

    .mz-help-resource {
        min-height: 160px;
    }

    .mz-help-contact {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px 20px;
    }

    .mz-help-contact__actions {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 430px) {
    .mz-help-contact__actions {
        display: grid;
    }

    .mz-help-contact__actions .mz-btn {
        width: 100%;
        text-align: center;
    }
}
