/* ========== 华为云设计令牌（复用 theme-token.css --por-* 变量） ========== */
:root {
    --font-family: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', -apple-system, HuaweiSans, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
    --bg-primary: var(--por-color-background-white, #FFFFFF);
    --bg-card: var(--por-color-background-gray-1, #FAFAFA);
    --bg-page-gray: var(--por-color-background-gray-2, #F5F5F5);
    --border-color: var(--por-color-border-split-1, rgba(0, 0, 0, 0.08));
    --border-hover: rgba(199, 0, 11, 0.3);
    --text-primary: var(--por-color-text-primary, #191919);
    --text-secondary: var(--por-color-text-secondary, #595959);
    --text-muted: var(--por-color-text-weak-1, #C2C2C2);
    --color-link: var(--por-color-text-button, #1476FF);
    --color-disabled: var(--por-color-text-disabled, #C2C2C2);
    --accent-blue: var(--por-color-text-button, #1476FF);
    --accent-huawei: var(--por-color-text-huawei, #C7000B);
    --accent-purple: #a371f7;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 22px rgba(0, 0, 0, 0.08);
    --nav-height: 99px;
}

/* 覆盖 theme-token.css 的 html{font-size:10px} */
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 20px); }

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

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========== Navbar（华为云 Header：站点信息栏 + 导航栏） ========== */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* ===== 中国站站点信息栏 ===== */
.site-info-bar {
    background: #111111;
    height: 24px;
    width: 100%;
}

.site-info-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.site-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.site-selector:hover { background-color: rgba(255, 255, 255, 0.1); }
.site-icon { color: rgba(255, 255, 255, 0.6); transition: color 0.2s ease; }
.site-selector:hover .site-icon { color: #ffffff; }
.site-text { font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, 0.6); transition: color 0.2s ease; line-height: 24px; }
.site-selector:hover .site-text { color: #ffffff; }
.site-arrow { color: rgba(255, 255, 255, 0.6); transition: color 0.2s ease; }
.site-selector:hover .site-arrow { color: #ffffff; }

/* ===== 主导航栏 ===== */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    position: relative;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    height: 75px;
    gap: 24px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo {
    display: block;
    width: 111px;
    height: 39px;
    object-fit: contain;
}

.navbar-brand-sub {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding-left: 12px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ========== Buttons ========== */
.btn {
    padding: 8px 24px;
    border-radius: 16px;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn-lg { padding: 12px 28px; font-size: 1rem; border-radius: 24px; }
.btn-outline { background: #fff; color: var(--color-link); border-color: var(--color-link); }
.btn-outline:hover { border-color: #0d5ce0; color: #0d5ce0; background: #F0F7FF; }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--text-secondary); }
.btn-ghost:hover { border-color: var(--color-disabled); }
.btn-primary { background: var(--color-link); color: var(--por-color-text-white, #FFFFFF); }
.btn-primary:hover { background: #0d5ce0; }
.btn-dark { background: var(--text-primary); color: var(--por-color-text-white, #FFFFFF); }
.btn-dark:hover { background: #000000; }

/* ========== Case Detail Layout ========== */
.case-layout {
    display: flex;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    flex: 1;
    width: 100%;
}
.case-content { flex: 1; min-width: 0; }

/* ========== Action Bar (正文上方操作条) ========== */
.case-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 28px;
}
.case-action-bar-left { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.case-action-bar-label { font-size: 1rem; color: var(--text-primary); font-weight: 600; flex-shrink: 0; }
.case-action-bar-link {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-link);
    text-decoration: none;
    font-size: 0.95rem;
}
.case-action-bar > .btn { flex-shrink: 0; }
.case-action-bar-link i { margin-right: 6px; }
.case-action-bar-link:hover { text-decoration: underline; }

/* ========== Article (Markdown rendered) ========== */
.case-article { color: var(--text-secondary); font-size: 1.125rem; line-height: 1.8; }
.case-article :where(h1, h2, h3, h4) { color: var(--text-primary); font-weight: 700; line-height: 1.4; }
.case-article h1 { font-size: 1.85rem; margin: 32px 0 16px; }
.case-article h2 {
    font-size: 1.55rem;
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}
.case-article h3 { font-size: 1.35rem; margin: 28px 0 12px; }
.case-article h4 { font-size: 1.15rem; margin: 22px 0 10px; }
.case-article p { margin: 12px 0; }
.case-article ul, .case-article ol { padding-left: 24px; margin: 12px 0; }
.case-article li { margin: 6px 0; }

/* 行内代码 */
.case-article code {
    font-family: var(--font-mono);
    background: var(--bg-page-gray);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--accent-huawei);
}

/* 代码块 — highlight.js 暗色主题 */
.case-article pre {
    background: #1e1e1e;
    padding: 16px 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 16px 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.case-article pre code {
    background: none;
    padding: 0;
    color: #d4d4d4;
    font-size: 0.88em;
    line-height: 1.6;
}
/* highlight.js 语法高亮色彩（VS Code Dark 风格） */
.case-article .hljs-keyword,
.case-article .hljs-selector-tag,
.case-article .hljs-built_in,
.case-article .hljs-name,
.case-article .hljs-tag { color: #569cd6; }
.case-article .hljs-string,
.case-article .hljs-title,
.case-article .hljs-section,
.case-article .hljs-attribute,
.case-article .hljs-literal,
.case-article .hljs-template-tag,
.case-article .hljs-template-variable,
.case-article .hljs-type,
.case-article .hljs-addition { color: #ce9178; }
.case-article .hljs-comment,
.case-article .hljs-quote,
.case-article .hljs-deletion,
.case-article .hljs-meta { color: #6a9955; }
.case-article .hljs-number,
.case-article .hljs-symbol,
.case-article .hljs-bullet,
.case-article .hljs-attr { color: #b5cea8; }
.case-article .hljs-variable,
.case-article .hljs-template-variable,
.case-article .hljs-attribute { color: #9cdcfe; }
.case-article .hljs-function .hljs-title,
.case-article .hljs-class .hljs-title { color: #dcdcaa; }
.case-article .hljs-params { color: #d4d4d4; }
.case-article .hljs-emphasis { font-style: italic; }
.case-article .hljs-strong { font-weight: 700; }

/* 引用块 */
.case-article blockquote {
    border-left: 3px solid var(--accent-huawei);
    padding: 8px 16px;
    margin: 16px 0;
    color: var(--text-secondary);
    background: rgba(199, 0, 11, 0.04);
    border-radius: 0 6px 6px 0;
}
.case-article blockquote p { margin: 4px 0; }

/* 表格 — 华为云边框 + 斑马纹 */
.case-article table {
    border-collapse: collapse;
    width: 100%;
    margin: 16px 0;
    font-size: 0.92em;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}
.case-article th, .case-article td {
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    text-align: left;
}
.case-article th {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
}
.case-article tbody tr:nth-child(even) { background: rgba(0, 0, 0, 0.02); }
.case-article tbody tr:hover { background: rgba(20, 118, 255, 0.04); }

/* 图片 */
.case-article img {
    max-width: 100%;
    border-radius: 8px;
    margin: 12px 0;
    box-shadow: var(--shadow-sm);
}

/* 链接 */
.case-article a { color: var(--color-link); text-decoration: none; }
.case-article a:hover { text-decoration: underline; }
.case-article hr { border: none; border-top: 1px solid var(--border-color); margin: 24px 0; }
.case-article strong { color: var(--text-primary); font-weight: 700; }

/* 底部操作区 */
.case-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

/* ========== Right TOC ========== */
.case-toc {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    align-self: flex-start;
    max-height: calc(100vh - var(--nav-height) - 40px);
    overflow-y: auto;
}
.toc-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding: 10px 12px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}
.toc-title::before {
    content: '';
    flex-shrink: 0;
    width: 14px;
    height: 2px;
    background: var(--text-primary);
    box-shadow: 0 4px 0 var(--text-primary), 0 -4px 0 var(--text-primary);
}
.toc-list { list-style: none; }
.toc-list li a {
    display: block;
    padding: 6px 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.2s;
    line-height: 1.5;
    border-left: 2px solid transparent;
}
.toc-list li a:hover { background: #F0F5FF; color: var(--text-primary); }
.toc-list li a.active {
    background: #E8F3FF;
    color: var(--accent-blue);
    font-weight: 600;
    border-left-color: var(--accent-blue);
}
.toc-list li.toc-sub a { padding-left: 24px; font-size: 0.95rem; color: var(--text-muted); }

/* ========== 华为云标准 Footer ========== */
.footer ul,
.footer ol,
.footer dl,
.footer dd,
.footer dt,
.footer li,
.footer p,
.footer h1,
.footer h2,
.footer h3,
.footer h4 {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer {
    background-color: #efefef;
    overflow: visible;
    position: relative;
    z-index: 1;
}

footer .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.hwc-home-footer { overflow: visible; }
.hwc-home-footer .mb { display: none !important; }

.hwc-home-footer .ul-footer-pc { display: flex; flex-direction: column; }
.hwc-home-footer .ul-footer-pc li {
    width: 100%;
    height: 17px;
    margin: 6px 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: 0;
}
.hwc-home-footer .ul-footer-pc li a {
    font-weight: 500;
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0;
}

.hwc-home-footer .por-row-pc { display: flex; justify-content: space-between; flex-wrap: wrap; }
.hwc-home-footer .por-col-6-pc {
    flex: 1;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-left: 8px;
    padding-right: 8px;
}

.hwc-home-footer .li-title-pc {
    font-weight: 800;
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 0;
    line-height: 20px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    padding-left: 0;
}

.hwc-home-footer .flex-group-pc { display: flex; justify-content: space-between; align-items: center; }
.hwc-home-footer .right-margin-pc a { font-weight: 500; font-size: 12px; color: var(--text-secondary); letter-spacing: 0; }
.hwc-home-footer .right-margin-pc img { width: 36px; height: 36px; }
.hwc-home-footer .right-margin-pc .img-circle { border-radius: 16px; }
.hwc-home-footer .right-margin-pc + li:last-child { margin-right: 0; }

.hwc-home-footer .span-title-pc { font-weight: 800; font-size: 14px; color: var(--text-secondary); letter-spacing: 0; }

.hwc-home-footer .right-bottom-pc,
.hwc-home-footer .left-bottom-pc { padding: 20px 0; flex: 5; }
.hwc-home-footer .right-bottom-pc div,
.hwc-home-footer .left-bottom-pc div { display: flex; align-items: center; flex-wrap: wrap; }
.hwc-home-footer .right-bottom-pc div a,
.hwc-home-footer .left-bottom-pc div a { margin-right: 8px; }
.hwc-home-footer .right-bottom-pc div:last-child,
.hwc-home-footer .left-bottom-pc div:last-child { margin-top: 5px; }
.hwc-home-footer .right-bottom-pc .footer-icon-record i,
.hwc-home-footer .left-bottom-pc .footer-icon-record i {
    background-size: 100% 100%;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
}
.hwc-home-footer .right-bottom-pc .footer-icon-record i a,
.hwc-home-footer .left-bottom-pc .footer-icon-record i a { display: block; height: 18px; width: 18px; }
.hwc-home-footer .right-bottom-pc { text-align: right; flex: 2; }
.hwc-home-footer .right-href-pc { color: var(--text-secondary); font-size: 12px; }

.hwc-home-footer .footer-law { display: flex; justify-content: right; align-items: center; position: relative; top: -10px; }
.hwc-home-footer .footer-law > li + li::before { content: '|'; margin-left: 10px; margin-right: 6px; }
.hwc-home-footer .left-href-pc { line-height: 18px; font-size: 14px; color: var(--text-secondary); letter-spacing: 0; }
.hwc-home-footer .left-href-pc:not(.color-black-hover):hover { color: var(--text-primary); }
.hwc-home-footer .color-black-hover:hover { color: var(--text-primary); text-decoration: underline; }
.hwc-home-footer .hwc-home-footer li { padding-left: 0; }
.hwc-home-footer .por-col-6-pc:first-child { margin-left: -8px; }
.hwc-home-footer .por-col-6-pc:last-child { margin-right: -8px; }

.hwc-home-footer .footer-nav { background: #efefef; padding: 0; overflow: visible; }
.hwc-home-footer .footer-nav-wrapper { max-width: 1200px; margin-left: auto; margin-right: auto; overflow: visible; }
.hwc-home-footer .footer-copyright-container { background: #efefef; overflow: visible; }

.hwc-home-footer .footer-nav-content {
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: visible;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #e0e0e1;
}

.hwc-home-footer .footer-nav-comps { padding-right: 160px; overflow: visible; }
.hwc-home-footer .footer-nav-content::after { content: ''; display: table; clear: both; }
.hwc-home-footer .footer-law-mb { display: none; }

.hwc-home-footer .footer-nav-submenus { float: left; width: 242px; overflow: visible; }
.hwc-home-footer .footer-nav-submenus::after { content: ''; display: table; clear: both; }
.hwc-home-footer .footer-nav-left { float: left; width: 242px; }
.hwc-home-footer .footer-nav-left.isNotCN { width: 197px; }
.hwc-home-footer .footer-nav-submenus-inner { float: left; overflow: visible; }
.hwc-home-footer .footer-nav-contact { margin-bottom: 20px; }
.hwc-home-footer .footer-submenu-links { margin-bottom: 66px; }
.hwc-home-footer .footer-submenu-link {
    display: block;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}
.hwc-home-footer .footer-submenu-link:hover { text-decoration: underline; }

.hwc-home-footer .footer-nav-contact-phone { margin-bottom: 8px; text-align: left; }
.hwc-home-footer .footer-nav-contact-phone > h2 { margin-bottom: 16px; font-size: 16px; line-height: 24px; color: var(--text-primary); }
.hwc-home-footer .footer-nav-contact-phone > a,
.hwc-home-footer .footer-nav-contact-phone > p {
    font-size: 24px;
    line-height: 36px;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}
.hwc-home-footer .footer-nav-contact-phone > a i,
.hwc-home-footer .footer-nav-contact-phone > p i {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    margin-right: 8px;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.2s;
}
.hwc-home-footer .footer-nav-contact-phone > a span,
.hwc-home-footer .footer-nav-contact-phone > p span { margin-left: 0; transition: all 0.2s; }
.hwc-home-footer .footer-nav-contact-phone > a + p,
.hwc-home-footer .footer-nav-contact-phone > p + p { margin-top: 7px; }
.hwc-home-footer .footer-nav-contact-phone > a:hover { color: var(--text-primary); }
.hwc-home-footer .footer-nav-contact-phone > a:hover span { text-decoration: underline; }

.hwc-home-footer .footer-nav-contact-emails { position: relative; font-size: 0; }
.hwc-home-footer .footer-nav-contact-emails > li { font-size: 14px; line-height: 24px; white-space: nowrap; list-style: none; }
.hwc-home-footer .footer-nav-contact-emails-item { position: relative; display: inline-block; padding-right: 8px; }
.hwc-home-footer .footer-nav-contact-emails-item a {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 24px;
    position: relative;
    z-index: 1;
    transition: 0.2s;
}
.hwc-home-footer .footer-nav-download { display: none; }

.hwc-home-footer .foot-email {
    position: absolute;
    top: 50%;
    left: 100%;
    display: none;
    height: 24px;
    border-radius: 3px;
    margin-top: -12px;
    padding-left: 10px;
    padding-right: 10px;
    background: #fff;
    color: #333;
    line-height: 24px;
    font-size: 12px;
}
.hwc-home-footer .foot-email p:before {
    content: '';
    position: absolute;
    top: 50%;
    left: -6px;
    margin-top: -6px;
    display: block;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-right-color: #fff;
}
.hwc-home-footer .footer-nav-contact-emails-item:hover .foot-email { display: block; }
.hwc-home-footer .footer-nav-contact-emails-item:hover > a { color: var(--text-primary); text-decoration: underline; }

.hwc-home-footer .footer-nav-about {
    position: relative;
    z-index: 99999;
    text-align: left;
    font-size: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.hwc-home-footer .footer-nav-about .right-margin-pc {
    display: inline-block;
    margin-right: 12px;
    text-align: left;
    overflow: visible;
}
.hwc-home-footer .footer-nav-about .right-margin-pc:last-child { margin-right: 0; }
.hwc-home-footer .footer-logo { display: none; }

.hwc-home-footer .footer-nav-menus {
    display: flex;
    justify-content: space-between;
    flex: 1;
    margin-top: 60px;
    text-align: center;
    border-left: 1px solid #e0e0e1;
    padding-left: 200px;
}
.hwc-home-footer .footer-nav-menus:after { content: ''; display: table; clear: both; }
.hwc-home-footer .footer-nav-menus dl {
    float: left;
    width: 186px;
    padding-left: 30px;
    font-size: 14px;
    flex: 1;
    text-align: left;
}
.hwc-home-footer .footer-nav-menus dl dt {
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 18px;
    color: var(--text-primary);
    font-size: 16px;
}
.hwc-home-footer .footer-nav-menus dl dd { font-size: 14px; line-height: 24px; color: var(--text-secondary); }
.hwc-home-footer .footer-nav-menus dl dd + dd { margin-top: 8px; }
.hwc-home-footer .footer-nav-menus dl dd a { color: var(--text-secondary); }
.hwc-home-footer .footer-nav-menus dl dd a:hover { color: var(--text-primary); text-decoration: underline; }

.hwc-home-footer .footer-copyright-wrapper { padding-top: 20px; padding-bottom: 20px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.hwc-home-footer .footer-copyright { float: left; font-size: 0; }
.hwc-home-footer .footer-copyright span,
.hwc-home-footer .footer-copyright a { display: inline-block; margin-right: 10px; font-size: 14px; line-height: 18px; }
.hwc-home-footer .footer-copyright .footer-copyright-extra { font-size: 14px; color: var(--text-secondary); }
.hwc-home-footer .footer-law { float: right; overflow: hidden; font-size: 0; }
.hwc-home-footer .footer-law > li { display: inline-block; font-size: 14px; line-height: 18px; }
.hwc-home-footer .footer-law > li + li:before { content: '|'; margin-left: 10px; margin-right: 10px; color: var(--text-secondary); }
.hwc-home-footer .footer-record { clear: both; padding-top: 5px; font-size: 0; }
.hwc-home-footer .footer-record i { display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: middle; background-size: 100% 100%; }
.hwc-home-footer .footer-record i a { display: block; width: 18px; height: 18px; }
.hwc-home-footer .footer-record a,
.hwc-home-footer .footer-record span { font-size: 12px; line-height: 18px; vertical-align: middle; margin-right: 5px; }

/* 二维码 */
.hwc-home-footer .footer-qrcode-pc {
    display: block;
    font-size: 12px;
    position: relative;
    cursor: pointer;
    z-index: 99999;
    overflow: visible;
}
.hwc-home-footer .qr-code {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 55px;
    width: 165px;
    height: 165px;
    margin-bottom: 2px;
    margin-left: -82.5px;
    background-color: #fff;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    z-index: 99999;
}
.hwc-home-footer [data-demo='qrCode']:hover .qr-code { display: block; }
.hwc-home-footer .box {
    left: 50%;
    width: 0;
    height: 0;
    border-width: 12px;
    border-style: solid;
    border-color: #fff transparent transparent;
    bottom: -24px;
    position: absolute;
    margin-left: -12px;
}

.footer-nav-contact-title { display: none; }
.footer-nav-contact-icon { display: none; }

/* ========== 响应式断点（华为云 5 档） ========== */
@media (min-width: 1776px) {
    .navbar-inner { max-width: 1600px; }
    .site-info-inner { max-width: 1600px; }
    footer .container { max-width: 1600px; }
    .hwc-home-footer .footer-nav-wrapper { max-width: 1600px; }
    .hwc-home-footer .footer-copyright-wrapper { max-width: 1600px; }
    .hwc-home-footer .footer-nav-comps { padding-right: 160px; }
}

@media (min-width: 1025px) and (max-width: 1775px) {
    .navbar-inner { max-width: 90%; }
    .site-info-inner { max-width: 90%; }
    footer .container { max-width: 90%; }
    .hwc-home-footer .footer-nav-comps { padding-right: 80px !important; }
    .hwc-home-footer .footer-nav-menus { padding-left: 100px !important; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .navbar-inner { max-width: 94%; }
    .site-info-inner { max-width: 94%; }
    footer .container { max-width: 94%; }
    .hwc-home-footer .footer-nav-comps { padding-right: 0px !important; }
    .hwc-home-footer .footer-nav-menus { padding-left: 50px !important; }
}

@media (max-width: 768px) {
    .site-info-bar { display: none; }
    .navbar-inner { max-width: 100%; height: 47px; gap: 12px; padding: 0 0 0 16px; }
    .navbar-logo { height: 31px; width: 88px; display: block; }
    .site-info-inner { max-width: 100%; }
    footer .container { max-width: 100%; }
    .case-layout { padding: 24px 16px; }
}

@media (max-width: 1024px) {
    .case-toc { display: none; }
}

@media (max-width: 600px) {
    .case-layout { padding: 24px 16px; }
    .case-actions { flex-direction: column; }
    .case-actions .btn { width: 100%; }
    .navbar-brand-sub { display: none; }
    .hwc-home-footer .footer-nav-menus { display: none; }
    .hwc-home-footer .footer-nav-content { justify-content: center; align-items: center; }
    .hwc-home-footer .footer-copyright,
    .hwc-home-footer .footer-law,
    .hwc-home-footer .footer-record { float: none; }
    .hwc-home-footer .footer-nav-submenus,
    .hwc-home-footer .footer-nav-left { float: none !important; width: auto !important; padding-left: 0; padding-right: 0; border: none !important; font-size: 0; padding-top: 16px; text-align: center; }
    .hwc-home-footer .footer-nav-submenus-inner { float: none !important; width: auto; padding-left: 0; background: none; }
    .hwc-home-footer .footer-nav-contact,
    .hwc-home-footer .footer-submenu-links { display: none; }
    .hwc-home-footer .footer-nav-about { display: inline-block; float: none; margin: 0 auto; font-size: 0; text-align: center !important; padding-bottom: 16px; padding-top: 8px; vertical-align: top; }
    .hwc-home-footer .footer-nav-about dt { display: none; }
    .hwc-home-footer .footer-nav-about > .right-margin-pc { display: inline-block; height: auto; padding-bottom: 0; margin-bottom: 0; margin-left: 8px; margin-right: 8px !important; }
    .hwc-home-footer .footer-law-mb { clear: both; display: block !important; font-size: 0; text-align: center; color: #e0e0e1; padding-top: 10px; padding-bottom: 0; }
    .hwc-home-footer .footer-law-mb > li { display: inline-block; font-size: 14px; line-height: 22px; }
    .hwc-home-footer .footer-law-mb > li + li:before { content: ''; height: 17px; display: inline-block; position: relative; top: 3px; border-right: 1px solid; margin-left: 12px; margin-right: 12px; }
    .hwc-home-footer .footer-copyright-container { border: none; }
}

@media (max-width: 375px) {
    .navbar-inner { max-width: 100%; }
    .site-info-inner { max-width: 100%; }
    footer .container { max-width: 100%; }
}
