/* =========================
   HELP CATEGORY PAGE (Owner-like)
========================= */

:root {
    --text: #0b0f14;
    --muted: rgba(11, 15, 20, .65);
    --muted2: rgba(11, 15, 20, .45);

    --card-border: rgba(11, 15, 20, .18);
    --card-border-soft: rgba(11, 15, 20, .12);

    --max: 1120px;

    --radius-xl: 22px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 12px;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, .08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.hc {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: #fff;
}

/* Container */
.hc-container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================
   HEADER (absolute over hero)
========================= */
.hc-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

.hc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
}

.hc-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.hc-logo {
    height: 34px;
    width: auto;
}

.hc-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hc-link {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
}

.hc-link:hover {
    text-decoration: underline;
}

.hc-lang {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #111;
}

.hc-lang__caret {
    font-size: 12px;
    opacity: .8;
    transform: translateY(-1px);
}

/* =========================
   HERO with Owner fade formula
========================= */
.hc-hero {
    position: relative;
    padding-top: 86px;
    /* header space */
    min-height: 260px;
    /* like Owner article list hero */
    display: flex;
    align-items: flex-end;

    /* Owner background stack (top -> bottom): fade, image, bg */
    background:
        radial-gradient(333.38% 100% at 50% 0%,
            rgba(var(--body-bg-rgb), 0) 0%,
            rgba(var(--body-bg-rgb), .00925356) 11.67%,
            rgba(var(--body-bg-rgb), .0337355) 21.17%,
            rgba(var(--body-bg-rgb), .0718242) 28.85%,
            rgba(var(--body-bg-rgb), .121898) 35.03%,
            rgba(var(--body-bg-rgb), .182336) 40.05%,
            rgba(var(--body-bg-rgb), .251516) 44.25%,
            rgba(var(--body-bg-rgb), .327818) 47.96%,
            rgba(var(--body-bg-rgb), .409618) 51.51%,
            rgba(var(--body-bg-rgb), .495297) 55.23%,
            rgba(var(--body-bg-rgb), .583232) 59.47%,
            rgba(var(--body-bg-rgb), .671801) 64.55%,
            rgba(var(--body-bg-rgb), .759385) 70.81%,
            rgba(var(--body-bg-rgb), .84436) 78.58%,
            rgba(var(--body-bg-rgb), .9551) 88.2%,
            rgba(var(--body-bg-rgb), 1) 100%),
        var(--header-image),
        var(--header-bg);

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* inner spacing similar to screenshot */
.hc-hero__inner {
    width: 100%;
    padding: 42px 24px 26px;
}

/* =========================
   Search (big, centered)
========================= */
.hc-search {
    width: min(980px, 100%);
    margin: 0 auto;
    height: 64px;

    display: flex;
    align-items: center;
    gap: 14px;

    border-radius: 14px;
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(255, 255, 255, .55);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: var(--shadow-soft);
    padding: 0 18px;
}

.hc-search__icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    color: rgba(11, 15, 20, .55);
}

.hc-search__icon svg {
    width: 100%;
    height: 100%;
}

.hc-search__input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 20px;
    color: #111;
}

.hc-search__input::placeholder {
    color: rgba(11, 15, 20, .45);
}

/* =========================
   Main
========================= */
.hc-main {
    background: #fff;
    padding: 26px 0 80px;
}

.hc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(11, 15, 20, .65);
    margin-bottom: 44px;
}

.hc-breadcrumb__link {
    color: rgba(11, 15, 20, .75);
    text-decoration: none;
}

.hc-breadcrumb__link:hover {
    text-decoration: underline;
}

.hc-breadcrumb__sep {
    opacity: .7;
}

.hc-breadcrumb__current {
    opacity: .85;
}

/* Collection header */
.hc-collection {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 26px;
}

.hc-collection__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
}

.hc-collection__icon img {
    width: 38px;
    height: 38px;
}

.hc-collection__title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.hc-collection__desc {
    font-size: 15px;
    color: rgba(11, 15, 20, .75);
    margin-bottom: 8px;
}

.hc-collection__count {
    font-size: 14px;
    color: rgba(11, 15, 20, .55);
}

/* Articles list card */
.hc-listCard {
    width: min(860px, 100%);
    border: 1px solid rgba(11, 15, 20, .20);
    border-radius: var(--radius-xl);
    background: #fff;
    padding: 14px 0;
}

.hc-listRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 16px 22px;
    text-decoration: none;
    color: #111;
}

.hc-listRow+.hc-listRow {
    /* subtle separation without visible hard line (Owner-like) */
    border-top: 1px solid rgba(11, 15, 20, .06);
}

.hc-listRow__text {
    font-size: 15px;
    line-height: 1.35;
    color: rgba(11, 15, 20, .92);
}

.hc-listRow__chev {
    font-size: 24px;
    color: #1d4ed8;
    transform: translateY(-1px);
}

.hc-listRow:hover {
    background: rgba(29, 78, 216, .06);
}

/* =========================
   Footer
========================= */
.hc-footer {
    background: #fff;
    padding: 50px 0 70px;
}

.hc-footer__inner {
    text-align: center;
}

.hc-footer__brand {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.hc-footer__text {
    font-size: 14px;
    color: rgba(11, 15, 20, .65);
}

/* =========================
   Responsive
========================= */
@media (max-width: 900px) {
    .hc-search {
        height: 58px;
    }

    .hc-search__input {
        font-size: 18px;
    }

    .hc-collection__title {
        font-size: 30px;
    }
}

@media (max-width: 640px) {
    .hc-header__inner {
        padding: 18px 16px;
    }

    .hc-container {
        padding: 0 16px;
    }

    .hc-link {
        display: none;
    }

    /* like many help centers: hide long text on mobile */

    .hc-hero {
        min-height: 220px;
    }

    .hc-hero__inner {
        padding: 34px 16px 18px;
    }

    .hc-search {
        border-radius: 12px;
        padding: 0 14px;
    }

    .hc-search__input {
        font-size: 16px;
    }

    .hc-breadcrumb {
        margin-bottom: 28px;
    }

    .hc-collection {
        gap: 14px;
    }

    .hc-collection__icon {
        width: 44px;
        height: 44px;
    }

    .hc-collection__icon img {
        width: 32px;
        height: 32px;
    }

    .hc-collection__title {
        font-size: 26px;
    }

    .hc-listCard {
        width: 100%;
        border-radius: 18px;
    }
}