/* =============================================================================
 * company/unc7017-incident-investigation-report.css
 * D2C-20261020-001 · AOMEI Backupper UNC7017 Incident Investigation Report
 *
 * 结构基准：/privacy.html（同站内容页参考实现）
 *   .banner / .container / .privacy / .cnt / .hr / .list / .ic-dot 全部原样沿用
 * 内容基准：docs/AOMEI_Backupper_UNC7017_Incident_Investigation_Report_EN.docx
 *
 * 参考页实测几何（privacy.html，1920 视口）：
 *   .banner  padding 94px 0 / banner-bg@2x.jpg center cover / 白字
 *   H1       56px / 62px / 700 / #fff
 *   .privacy padding 40px 0 / #F8F9FA
 *   .cnt     padding 80px 60px / r24 / #FFFFFF / shadow 0 10px 20px rgba(0,0,0,.05)
 *   .hr      1px #E6E8E9 / margin 40px 0
 *   正文     16px / 1.4（22.4px）
 *   h4（参考页唯一子标题层级）24px / 30px / 700
 *   .list    line-height 24px；li 14px / 17.99px、padding-left 20px
 *   .ic-dot  16×16、top 4px、::before 5×5 黑圆
 *   断点     ≤468 卡片 40px 20px；≤767 站点 html 55.5%（main.css）
 * ========================================================================== */

/* ===== 参考页 privacy.css 等价克隆（取值未改动） ===== */
.banner {
    padding: 94px 0;
    background: url(/resources/images/terms/banner-bg@2x.jpg) no-repeat center / cover;
    color: #fff;
    text-align: center;
}

.privacy {
    padding: 40px 0;
    background: #F8F9FA;
}

.privacy .cnt {
    padding: 80px 60px;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.05);
}

.privacy .list {
    line-height: 24px;
}

.privacy .list .ic-dot {
    top: 4px;
}

.privacy .hr {
    border-bottom: 1px solid #E6E8E9;
    margin: 40px 0;
}

.privacy p {
    line-height: 1.4;
}

.privacy p + p {
    margin-top: 20px;
}

.privacy p + ul {
    margin-top: 20px;
}

.privacy h4 {
    margin-bottom: 20px;
}

@media (max-width: 468px) {
    .privacy .cnt {
        padding: 40px 20px;
    }
}

/* ===== 本页增量 ===== */

/* 参考页无「列表后接段落」序列；本文档有（列表 → For further details），补同节奏间距 */
.unc-report .cnt ul + p {
    margin-top: 20px;
}

/* 两级子标题（docx heading1 → h2、heading2 → h3）。
   - h2 取参考页 h4 的 24/30/700（参考页用它承载同层级章节标题）
   - h3 取站点 main.css h5 的 20px、行高 calc(1em + 6px) = 26px
   两者均为站点既有取值，不新造字号。 */
.unc-report .cnt h2 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    color: #000000;
}

.unc-report .cnt h3 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    color: #000000;
}

/* h3 前补与 .hr 同节奏的呼吸（docx 中 h3 均紧接段落） */
.unc-report .cnt p + h3,
.unc-report .cnt ul + h3 {
    margin-top: 40px;
}

/* 链接（参考页无链接样式；站点 main.css 的 a 为 inline-block + 品牌蓝） */
.unc-report .cnt a {
    color: #2258F6;
    word-break: break-word;
}

.unc-report .cnt a:hover {
    text-decoration: underline;
}

/* 站点 main.css 全局 reset 了 a{outline:0}，正文链接需显式补焦点环（WCAG 2.4.7） */
.unc-report .cnt a:focus-visible {
    outline: 2px solid #2258F6;
    outline-offset: 2px;
}

/* 署名行（docx 末段 "AOMEI Security Team"）
   2026-10-20 反馈 img5：字号与上方正文一致（不再单独设字号），保留署名加粗 */
.unc-report .signoff {
    margin-top: 40px;
    font-size: 16px;
    line-height: 22.4px;
    font-weight: 700;
}

/* 长 URL 与邮箱在窄档不撑破容器 */
.unc-report .cnt p {
    word-break: break-word;
}

/* 参考页 .cnt 断点只有 ≤468（40/20）。补 469–767 中间档，避免 80/60 挤占正文 */
@media (min-width: 469px) and (max-width: 767px) {
    .unc-report .cnt {
        padding: 40px 24px;
    }
}

/* ≤767 随站点 html 55.5% 缩放：标题按同比例落地（24×0.888 / 20×0.888） */
@media (max-width: 767px) {
    .unc-report .cnt h2 {
        font-size: 21.312px;
        line-height: 27.312px;
    }

    .unc-report .cnt h3 {
        font-size: 17.76px;
        line-height: 23.76px;
    }
}

/* =============================================================================
 * 页头还原（对齐参考页 privacy.html 的真实 header）
 *
 * 站点模板 sites/at/tpl/temp.html 给 <header> 加了 hd-bg-blk 类并用 <style> 内联
 * !important 把 header 改成：transparent 底 + 文字 logo（::after "AOMEI"）+ 隐藏二级菜单
 * + 隐藏汉堡 + nav 固定 1280px + overflow:hidden。参考页是同站手写页（header 无 hd-bg-blk），
 * 其形态才是线上真实 header：
 *   header  #fff / position:relative / height 64 / overflow:visible / 无下边框
 *   nav     width:100% / max-width:1280px / margin auto
 *   logo    156×38 / logo.svg / 无 ::after
 *   nav-list margin-left:62px / li display:flex align-items:center height:100% / li 0 12px
 *   nav-btn 16px/700、下拉项 padding 8px 28px 8px 8px、纯文本项 8px
 *   nav-action 14px 黑字、hover #2258f6、搜索图标 16px 黑
 *   ≥991 下拉 hover 展开（display:flex + visibility 切换）
 *   ≤992 logo 120×28、汉堡可见、nav-content 收成面板由 body.header-open 展开
 * 模板 <style> 在本页 CSS 之后加载，故上述覆盖统一带 body 前缀并加 !important 提权。
 * ========================================================================== */

@media (min-width: 993px) {
    /* 参考页 header 为 relative（不悬浮），无需补偿；此处仅为与参考页一致 */
    body #header-jan.hd-bg-blk {
        position: relative !important;
        height: 64px !important;
        background: #fff !important;
        border-bottom: 0 !important;
        overflow: visible !important;
        box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.05) !important;
    }

    body #header-jan.hd-bg-blk .nav {
        width: 100% !important;
        max-width: 1280px !important;
        margin: 0 auto !important;
        height: 100% !important;
        justify-content: normal !important;
        overflow: visible !important;
    }
}

/* 模板用 .logo::after{content:"AOMEI"} 造文字 logo；参考页两者都没有，
   故全档（桌面 + 移动）清除，不放进媒体查询（第一轮曾误置 ≥993 导致移动端双 logo） */
body #header-jan.hd-bg-blk .logo::after {
    content: none !important;
    display: none !important;
}

/* 以下为桌面形态（≥993px）；≤992 的移动形态见文件末尾 */
@media (min-width: 993px) {
    body #header-jan.hd-bg-blk .logo-box {
        display: block !important;
        width: auto !important;
    }

    body #header-jan.hd-bg-blk .logo {
        display: inline-block !important;
        width: 156px !important;
        height: 38px !important;
        background: url(/resources/images/logo/logo.svg) no-repeat center / cover !important;
        font-size: 0 !important;
        padding: 0 !important;
    }

    body #header-jan.hd-bg-blk .burger {
        display: none !important;
    }

    body #header-jan.hd-bg-blk .nav-content {
        display: flex !important;
        position: static !important;
        flex: 1 !important;
        flex-direction: row !important;
        align-items: center !important;
        height: 100% !important;
        background: transparent !important;
    }

    body #header-jan.hd-bg-blk .nav-list {
        display: flex !important;
        flex: 1 !important;
        flex-direction: row !important;
        align-items: center !important;
        height: 100% !important;
        margin: 0 0 0 62px !important;
        padding: 0 !important;
        gap: normal !important;
    }

    body #header-jan.hd-bg-blk .nav-list > li {
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 12px !important;
        border-bottom: 0 !important;
    }

    body #header-jan.hd-bg-blk .nav-list > li > .nav-btn {
        display: inline-block !important;
        padding: 8px 28px 8px 8px !important;
        border: 0 !important;
        background: none !important;
        color: #000 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 18.4px !important;
        text-decoration: none !important;
    }

    /* 纯文本导航项（Partners / Company 为 <a class="nav-btn">）参考页行高 24px、内边距 8px */
    body #header-jan.hd-bg-blk .nav-list > li > a.nav-btn {
        padding: 8px !important;
        line-height: 24px !important;
    }

    body #header-jan.hd-bg-blk .nav-list > li:hover > .nav-btn {
        color: #2258f6 !important;
    }

    body #header-jan.hd-bg-blk .nav-action {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    body #header-jan.hd-bg-blk .nav-action li {
        width: auto !important;
        padding: 0 4px !important;
        border-bottom: 0 !important;
        font-size: 14px !important;
        line-height: 14px !important;
    }

    body #header-jan.hd-bg-blk .nav-action li .nav-btn {
        display: inline-block !important;
        padding: 8px !important;
        color: #000 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 14px !important;
    }

    body #header-jan.hd-bg-blk .nav-action li:hover .nav-btn,
    body #header-jan.hd-bg-blk .nav-action li .ic-search-16:hover {
        color: #2258f6 !important;
    }

    body #header-jan.hd-bg-blk .nav-action .ic-search-16 {
        color: #000 !important;
    }
}

/* 桌面下拉：模板用 display:none!important 关掉了二级菜单，这里恢复参考页的
   display:flex + visibility 切换（收起态不可见、hover 可见） */
@media (min-width: 993px) {
    body #header-jan.hd-bg-blk .dropdown-content {
        display: flex !important;
        visibility: hidden;
        opacity: 0;
        z-index: -1;
    }

    body #header-jan.hd-bg-blk .dropdown:hover .dropdown-content {
        visibility: visible;
        opacity: 1;
        z-index: 2;
    }

    body #header-jan.hd-bg-blk .dropdown-menu {
        display: block !important;
    }

    /* 模板把 .nav-list 内所有 a/button 的 padding 清零，正常还命中下拉条目
       （a.dropdown-item 应 22px 0 22px 16px），导致菜单 297 vs 参考页 385 */
    body #header-jan.hd-bg-blk .dropdown-menu a.dropdown-item {
        padding: 22px 0 22px 16px !important;
    }

    body #header-jan.hd-bg-blk .dropdown-menu .dropdown-item-tit {
        white-space: nowrap !important;
    }
}

/* ≤992：参考页为「logo 120×28 + 汉堡可见 + nav-content 收成下拉面板」 */
@media (max-width: 992px) {
    body #header-jan.hd-bg-blk {
        position: relative !important;
        overflow: visible !important;
        background: #fff !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }

    body #header-jan.hd-bg-blk .nav {
        width: 100% !important;
        justify-content: space-between !important;
        overflow: visible !important;
    }

    body #header-jan.hd-bg-blk .logo-box {
        display: flex !important;
        width: 100% !important;
        height: 100% !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 15px !important;
    }

    body #header-jan.hd-bg-blk .logo {
        width: 120px !important;
        height: 28px !important;
        background-size: contain !important;
    }

    body #header-jan.hd-bg-blk .burger {
        display: block !important;
    }

    /* 收起 / 展开由 main.js 的 body.header-open 驱动（它同时给 body 加类）。
       收起态保留参考页的盒几何（absolute / top 56 / 100vw / calc(100vh-56px)），
       仅以 display:none 隐藏，使 computed 值与参考页逐项一致。 */
    body #header-jan.hd-bg-blk .nav-content {
        display: none !important;
        position: absolute !important;
        top: 56px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 56px) !important;
        flex-direction: column !important;
        align-items: center !important;
        background: #fff !important;
        z-index: 9999 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    body #header-jan.hd-bg-blk .nav-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    body #header-jan.hd-bg-blk .nav-list > li {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        border-bottom: 1px solid #e6e1e1 !important;
    }

    body.header-open #header-jan.hd-bg-blk .nav-content {
        display: flex !important;
        position: absolute !important;
        top: 56px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 56px) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        background: #fff !important;
        z-index: 9999 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    body.header-open #header-jan.hd-bg-blk .nav-list {
        display: flex !important;
        flex: none !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    body.header-open #header-jan.hd-bg-blk .nav-list > li {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        border-bottom: 1px solid #e6e1e1 !important;
    }

    body.header-open #header-jan.hd-bg-blk .nav-list > li > .nav-btn {
        width: 100% !important;
        padding: 16px !important;
        border-radius: 0 !important;
        text-align: left !important;
        line-height: 24px !important;
    }

    body.header-open #header-jan.hd-bg-blk .nav-action {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0 !important;
    }

    body.header-open #header-jan.hd-bg-blk .nav-action li {
        width: 100% !important;
        padding: 0 !important;
        border-bottom: 1px solid #e6e1e1 !important;
    }

    body.header-open #header-jan.hd-bg-blk .nav-action li .nav-btn {
        display: block !important;
        padding: 16px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 24px !important;
    }

    /* 移动面板排版：模板设成 400/16px、色 #17223b，参考页为 700/黑 */
    body.header-open #header-jan.hd-bg-blk .nav-list > li > .nav-btn {
        color: #000 !important;
        font-weight: 700 !important;
        line-height: 18.4px !important;
    }

    body.header-open #header-jan.hd-bg-blk .nav-list > li > a.nav-btn {
        line-height: 24px !important;
    }

    /* 移动端二级菜单：main.js 给按钮加 .open 并写内联 display:block，
       但模板 display:none!important 仍在压，需在此显式放开 */
    body.header-open #header-jan.hd-bg-blk .dropdown > .nav-btn.open + .dropdown-content {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: auto !important;
        position: static !important;
        padding: 0 16px !important;
        box-shadow: none !important;
    }

    body.header-open #header-jan.hd-bg-blk .dropdown > .nav-btn.open + .dropdown-content .dropdown-menu {
        display: block !important;
    }
}

/* ===== 用户 2026-10-20 追加内容 ===== */

/* AOMEI Security Scanner 下载地址（docx 原为 "Download URL: [To be provided]"，
   用户 2026-10-20 提供正式地址）
   2026-10-20 反馈终版：仅标签加粗，链接不加粗（与正文同字重） */
.unc-report .cnt .download-line {
    margin: 20px 0 0;
}

.unc-report .cnt .download-label {
    font-weight: 700;
}

.unc-report .cnt .download-link {
    font-weight: 400;
}

/* 2026-10-20 反馈：全页文字大小统一。
   站点 main.css 的 .list li 为 14px/1.285，与正文 16px/1.4 不一致；
   本页列表统一为正文档（16px / 22.4px）。px 不随站点 html 55.5% 缩放，
   故 ≤767 需与正文同比例降到 12px（正文该档为 12px/16.8px） */
.unc-report .cnt .list li {
    font-size: 16px;
    line-height: 22.4px;
}

/* 更新日期：置于「Overview of the UNC7017 Incident」H2 上方，与标题保留 12px 间隙。
   2026-10-20 反馈「内容文字统一大小」：字号统一为正文档 16px/22.4px，
   仅保留灰色（#8C8C8C）维持次级信息层级，不夺标题权重。 */
.unc-report .cnt .updated {
    margin: 0 0 12px;
    color: #8C8C8C;
    font-size: 16px;
    line-height: 22.4px;
}

/* 2026-10-20 反馈：≤767 正文级文字随站点 55.5% 同比例缩放（置于文件末尾以保证覆盖基础定义） */
@media (max-width: 767px) {
    .unc-report .cnt .list li,
    .unc-report .cnt .updated,
    .unc-report .cnt .signoff {
        font-size: 12px;
        line-height: 16.8px;
    }
}
