

/* ---- Reset & Base ---- */
.hc_page {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #222;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.hc_page.hc_page--platform-chrome {
    display: block;
    min-height: 0;
}
.hc_page *, .hc_page *::before, .hc_page *::after {
    box-sizing: border-box;
}
.hc_page a {
    text-decoration: none;
    color: inherit;
}
.hc_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Header ---- */
.hc_header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.hc_header .hc_container {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}
.hc_logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.hc_logo_icon {
    height: 32px;
    width: auto;
}
.hc_logo_text {
    height: 22px;
    width: auto;
}
.hc_logo span {
    font-size: 18px;
    font-weight: 700;
    color: #222;
}
.hc_topnav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: auto;
}
.hc_topnav_item {
    padding: 6px 14px;
    font-size: 13px;
    color: #666;
    border-radius: 4px;
    transition: color .15s, background .15s;
}
.hc_topnav_item:hover {
    color: #222;
    background: #f5f5f5;
}
.hc_topnav_active {
    color: #ff6a00;
    font-weight: 600;
}
.hc_topnav_active:hover {
    color: #ff6a00;
    background: #fff7f0;
}

/* ---- Hero / Search ---- */
.hc_hero {
    background: linear-gradient(135deg, #ff6a00 0%, #ee5a24 100%);
    padding: 52px 0 48px;
    text-align: center;
}
.hc_hero--banner {
    height: 280px;
    background-color: #0b1a30;
    background-image: url(../images/buyer-platform/helper/help-banner-pc.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.hc_hero--banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 26, 48, .28);
    pointer-events: none;
}
.hc_hero--banner .hc_container {
    position: relative;
    z-index: 1;
}
.hc_hero--banner .hc_hero_title,
.hc_hero--banner .hc_hero_sub {
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.hc_hero--banner .hc_hero_title {
    font-size: 36px;
}
.hc_hero--banner .hc_hero_sub {
    font-size: 16px;
}
.hc_hero_title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.hc_hero_sub {
    font-size: 15px;
    color: rgba(255,255,255,.85);
    margin: 0 0 28px;
}
.hc_hero_sm { padding: 36px 0 32px; }
.hc_hero_sm .hc_hero_sub { margin-bottom: 20px; }

.hc_search_box {
    max-width: 580px;
    margin: 0 auto;
    position: relative;
}
.hc_search_input {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    padding: 0 48px 0 18px;
    font-size: 15px;
    color: #222;
    outline: none;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.hc_search_input::placeholder { color: #aaa; }
.hc_search_btn {
    position: absolute;
    inset-inline-end: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: #132943;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.hc_search_btn:hover { background: #0d1f33; }
.hc_search_btn svg {
    width: 18px; height: 18px;
    stroke: #fff; fill: none;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

.hc_categories { padding: 48px 0 64px; }
.hc_section_title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin: 0 0 24px;
}
.hc_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.hc_card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 24px 20px;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.hc_card:hover {
    border-color: #ff6a00;
    box-shadow: 0 2px 8px rgba(255,106,0,.1);
}
.hc_card_icon {
    width: 40px; height: 40px;
    border-radius: 8px;
    background: #fff7f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #ff6a00;
    font-size: 18px;
    flex-shrink: 0;
}
.hc_card_icon svg {
    width: 20px; height: 20px;
    stroke: #ff6a00; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.hc_card_name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 0 0 6px;
}
.hc_card_desc {
    font-size: 13px;
    color: #888;
    margin: 0 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hc_card_count {
    font-size: 12px;
    color: #bbb;
    margin-top: auto;
}

/* ---- Breadcrumb ---- */
.hc_breadcrumb {
    padding: 14px 0;
    font-size: 13px;
    color: #999;
    border-bottom: 1px solid #f0f0f0;
}
.hc_breadcrumb a { color: #666; }
.hc_breadcrumb a:hover { color: #ff6a00; }
.hc_breadcrumb_sep { margin: 0 6px; color: #ccc; }
.hc_breadcrumb_cur { color: #222; }

/* ---- Two-Column Layout ---- */
.hc_body { padding: 32px 0 64px; }
.hc_layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ---- Sidebar ---- */
.hc_sidebar {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 72px;
}
.hc_sb_title {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 12px;
    padding: 0 10px;
}
.hc_sb_nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hc_sb_nav > ul > li > a {
    display: block;
    padding: 8px 10px;
    font-size: 14px;
    color: #555;
    border-radius: 4px;
    transition: background .12s, color .12s;
    border-inline-start: 3px solid transparent;
}
.hc_sb_nav > ul > li > a:hover {
    background: #fafafa;
    color: #222;
}
.hc_sb_nav > ul > li.active > a {
    background: #fff7f0;
    color: #ff6a00;
    font-weight: 600;
    border-inline-start-color: #ff6a00;
}

/* Sidebar sub-articles */
.hc_sb_articles {
    list-style: none;
    margin: 2px 0 6px;
    padding: 0 0 0 22px;
}
.hc_sb_articles li a {
    display: block;
    padding: 4px 8px;
    font-size: 13px;
    color: #888;
    border-radius: 3px;
    transition: color .12s;
}
.hc_sb_articles li a:hover { color: #ff6a00; }
.hc_sb_articles li.current a {
    color: #ff6a00;
    font-weight: 600;
}

/* ---- Content ---- */
.hc_content {
    flex: 1;
    min-width: 0;
}
.hc_content_title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 6px;
}
.hc_content_desc {
    font-size: 14px;
    color: #888;
    margin: 0 0 24px;
    line-height: 1.5;
}

/* ---- Article List ---- */
.hc_list_item {
    display: block;
    padding: 14px 16px;
    margin-bottom: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .12s;
}
.hc_list_item:hover {
    background: #fafafa;
}
.hc_list_item:hover .hc_list_title { color: #ff6a00; }
.hc_list_title {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    margin: 0 0 4px;
    transition: color .12s;
}
.hc_list_summary {
    font-size: 13px;
    color: #aaa;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hc_list_tag {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    color: #ff6a00;
    background: #fff7f0;
    padding: 1px 8px;
    border-radius: 3px;
}

/* ---- Article Detail ---- */
.hc_article_title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
    line-height: 1.35;
}
.hc_article_meta {
    font-size: 13px;
    color: #bbb;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hc_article_meta svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none;
    stroke-width: 2;
    vertical-align: -2px;
    margin-inline-end: 3px;
}
.hc_article_body {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}
.hc_article_body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ---- Feedback ---- */
.hc_feedback {
    margin-top: 40px;
    padding: 20px 24px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    text-align: center;
}
.hc_feedback_title {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px;
}
.hc_feedback_btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.hc_feedback_btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    transition: border-color .15s, color .15s;
}
.hc_feedback_btn:hover {
    border-color: #ff6a00;
    color: #ff6a00;
}
.hc_feedback_btn svg {
    width: 15px; height: 15px;
    stroke: currentColor; fill: none;
    stroke-width: 2;
}
.hc_feedback_count { font-size: 11px; color: #ccc; }
.hc_feedback_thanks {
    font-size: 14px;
    color: #ff6a00;
    margin: 0;
}

/* ---- Search Results ---- */
.hc_search_heading {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0 0 20px;
}
.hc_search_count {
    font-size: 13px;
    color: #bbb;
    font-weight: 400;
    margin-inline-start: 6px;
}

/* ---- Empty ---- */
.hc_empty {
    text-align: center;
    padding: 60px 0;
    color: #bbb;
    font-size: 14px;
}
.hc_empty svg {
    width: 48px; height: 48px;
    stroke: #ddd; fill: none;
    stroke-width: 1.5;
    margin-bottom: 12px;
}
.hc_back_link {
    display: inline-block;
    margin-top: 12px;
    color: #ff6a00;
    font-size: 13px;
}
.hc_back_link:hover { text-decoration: underline; }

/* ---- Footer ---- */
.hc_footer {
    margin-top: auto;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #bbb;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hc_grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1279px) {
    .hc_hero--banner {
        background-image: url(../images/buyer-platform/helper/help-banner-t.webp);
    }
}
@media (max-width: 768px) {
    .hc_hero { padding: 36px 0 32px; }
    .hc_hero_title { font-size: 22px; }
    .hc_hero--banner {
        background-image: url(../images/buyer-platform/helper/help-banner-m.webp);
    }
    .hc_grid { grid-template-columns: 1fr; gap: 12px; }
    .hc_layout {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    .hc_content { width: 100%; }
    .hc_feedback {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hc_feedback_title {
        width: 100%;
        text-align: center;
    }
    .hc_feedback_btns {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
    .hc_sidebar {
        width: 100%;
        position: static;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 16px;
        margin-bottom: 24px;
    }
    .hc_body { padding: 24px 0 40px; }
    .hc_article_title { font-size: 20px; }
    .hc_header .hc_container { padding: 0 16px; }
    .hc_container { padding: 0 16px; }
    .hc_topnav_item { font-size: 12px; padding: 6px 10px; }
    .hc_logo_text { display: none; }
    .hc_logo_icon { height: 28px; }
}
@media (max-width: 768px) and (min-resolution: 2dppx) {
    .hc_hero--banner {
        background-image: url(../images/buyer-platform/helper/help-banner-t.webp);
    }
}
