/* ============================================
   AOSHOW翱烁 - 检测报告/证书页面样式
   前缀：zs-
   主题色：#cc4e15 (橙) / #0866b2 (蓝)
   ============================================ */

/* ===== 重置与基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== 主题色变量 ===== */
:root {
    --zs-orange: #cc4e15;
    --zs-blue: #0866b2;
    --zs-dark: #222;
    --zs-gray: #666;
    --zs-light-gray: #f5f5f5;
    --zs-border: #e5e5e5;
}

/* ============================================
   主体内容区（1320px居中）
   ============================================ */
.zs-main {
    padding: 30px 0 80px;
    min-height: 100vh;
}

.zs-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   面包屑导航
   ============================================ */
.zs-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: #888;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--zs-border);
}

.zs-breadcrumb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--zs-orange);
    margin-right: 6px;
    transition: all 0.3s;
}

.zs-breadcrumb-icon:hover {
    color: var(--zs-blue);
    transform: scale(1.15);
}

.zs-breadcrumb-text { margin-right: 2px; }

.zs-breadcrumb-link {
    color: #888;
    transition: color 0.3s;
}

.zs-breadcrumb-link:hover { color: var(--zs-orange); }

.zs-breadcrumb-sep {
    margin: 0 8px;
    color: #ccc;
}

.zs-breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* ============================================
   内容布局
   ============================================ */
.zs-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ============================================
   左侧边栏
   ============================================ */
.zs-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.zs-sidebar-box {
    margin-bottom: 25px;
    border: 1px solid var(--zs-border);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.zs-sidebar-title {
    background: linear-gradient(135deg, var(--zs-orange), #d95e22);
    padding: 14px 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(204, 78, 21, 0.25);
}

.zs-sidebar-title-cn {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.zs-sidebar-title-en {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 1px;
}

/* 侧边栏菜单 */
.zs-sidebar-menu li {
    border-bottom: 1px solid var(--zs-border);
}

.zs-sidebar-menu li:last-child { border-bottom: none; }

.zs-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    font-size: 14px;
    color: #444;
    transition: all 0.3s;
    position: relative;
}

.zs-sidebar-link i {
    font-size: 11px;
    color: #bbb;
    transition: all 0.3s;
}

.zs-sidebar-link:hover,
.zs-sidebar-link.zs-active {
    background: rgba(204, 78, 21, 0.05);
    color: var(--zs-orange);
    padding-left: 25px;
}

.zs-sidebar-link:hover i,
.zs-sidebar-link.zs-active i {
    color: var(--zs-orange);
}

.zs-sidebar-link.zs-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--zs-orange);
}

/* 侧边栏联系信息 */
.zs-sidebar-contact li {
    padding: 11px 20px;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid var(--zs-border);
    line-height: 1.7;
}

.zs-sidebar-contact li:last-child { border-bottom: none; }

.zs-sidebar-contact li strong {
    color: #222;
    font-size: 14px;
}

.zs-sidebar-contact li span { color: #888; }

/* 在线留言按钮 */
.zs-sidebar-message { margin-top: 25px; }

.zs-sidebar-message a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 75px;
    background: linear-gradient(135deg, #3a3a3a, #2b2b2b);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.zs-sidebar-message a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.zs-sidebar-message a:hover::before { left: 100%; }

.zs-sidebar-message a:hover {
    background: linear-gradient(135deg, var(--zs-orange), #d95e22);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 78, 21, 0.35);
}

.zs-sidebar-message i { font-size: 20px; }

/* ============================================
   右侧证书网格
   ============================================ */
.zs-content-right {
    flex: 1;
    min-width: 0;
}

.zs-cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* 证书图片卡片 */
.zs-cert-card {
    transition: all 0.35s ease;
}

.zs-cert-card:hover {
    transform: translateY(-6px);
}

.zs-cert-link {
    display: block;
    text-decoration: none;
}

.zs-cert-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    transition: all 0.35s ease;
}

.zs-cert-card:hover .zs-cert-img {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #ccc;
}

.zs-cert-name {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-top: 12px;
    transition: color 0.3s;
}

.zs-cert-card:hover .zs-cert-name {
    color: var(--zs-blue);
}
/* ============================================
   响应式适配
   ============================================ */
@media (max-width: 1024px) {
    .zs-content-wrapper {
        flex-direction: column;
    }
    .zs-sidebar {
        width: 100%;
    }
    .zs-cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .zs-cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .zs-cert-title {
        font-size: 18px;
    }
}

/* ============================================
   团队展示详情（about-td-detail.html）
   前缀：td-
   ============================================ */
.td-profile {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 45px;
    padding: 40px;
    background: #fff;
    border: 1px solid var(--zs-border);
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.td-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--zs-orange), #e8975f);
}

/* 左侧信息 */
.td-profile-info {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.td-profile-name {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    color: #222;
    letter-spacing: 1px;
    word-break: break-word;
}

.td-profile-desc {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.95;
    color: #666;
    word-break: break-word;
}

.td-profile-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 0;
    padding-top: 24px;
    border-top: 1px dashed var(--zs-border);
}

.td-profile-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.td-contact-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(204, 78, 21, 0.08);
    color: var(--zs-orange);
    font-size: 14px;
    transition: all 0.3s;
}

.td-profile-contact li:hover .td-contact-icon {
    background: var(--zs-orange);
    color: #fff;
    box-shadow: 0 6px 14px rgba(204, 78, 21, 0.28);
}

.td-contact-label {
    flex-shrink: 0;
    min-width: 64px;
    color: #999;
}

.td-contact-value {
    color: #333;
    line-height: 1.6;
    word-break: break-all;
    transition: color 0.3s;
}

a.td-contact-value:hover {
    color: var(--zs-orange);
}

/* 右侧照片（完整显示） */
.td-profile-photo {
    flex-shrink: 0;
    width: 380px;
    overflow: hidden;
    border-radius: 10px;
}

.td-profile-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 社交图标（沿用头部 ne-social-icon 样式，局部分布） */
.td-profile-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 20px;
    padding-top: 24px;
}

.td-profile-social .ne-social-icon {
    margin: 0;
}

/* 个人介绍 */
.td-intro {
    margin-top: 40px;
    padding: 42px 40px 46px;
    background: #fff;
    border: 1px solid var(--zs-border);
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}

.td-intro-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 34px;
}

.td-intro-line {
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, rgba(204, 78, 21, 0), rgba(204, 78, 21, 0.45));
}

.td-intro-line-r { transform: rotate(180deg); }

.td-intro-title {
    position: relative;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    letter-spacing: 2px;
}

.td-intro-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: var(--zs-orange);
    transform: translateX(-50%);
}

/* 富文本正文 */
.td-intro-content {
    font-size: 15px;
    line-height: 2.05;
    color: #444;
    word-break: break-word;
}

.td-intro-content p { margin-bottom: 18px; }

.td-intro-content p:last-child { margin-bottom: 0; }

.td-intro-content h1,
.td-intro-content h2,
.td-intro-content h3 {
    margin: 28px 0 14px;
    padding-left: 12px;
    border-left: 3px solid var(--zs-orange);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #222;
}

.td-intro-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
}

.td-intro-content ul,
.td-intro-content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}

.td-intro-content ul { list-style: disc; }

.td-intro-content ol { list-style: decimal; }

.td-intro-content li { margin-bottom: 8px; }

/* 团队详情响应式 */
@media (max-width: 1024px) {
    .td-profile {
        gap: 28px;
        padding: 28px;
    }
    .td-profile-photo {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .td-profile {
        flex-direction: column;
        gap: 24px;
        padding: 22px 20px 28px;
    }
    .td-profile-photo {
        width: 100%;
    }
    .td-profile-img {
        width: 100%;
        height: auto;
    }
    .td-profile-social {
        gap: 8px;
        padding-top: 20px;
    }
    .td-profile-name { font-size: 26px; }
    .td-profile-desc {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.9;
    }
    .td-profile-contact {
        gap: 12px;
        margin-top: 24px;
        padding-top: 20px;
    }
    .td-profile-contact li { align-items: flex-start; }
    .td-contact-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .td-contact-label {
        min-width: 60px;
        font-size: 13px;
    }
    .td-contact-value { font-size: 13px; }
    .td-intro {
        margin-top: 26px;
        padding: 28px 20px 32px;
    }
    .td-intro-head {
        gap: 12px;
        margin-bottom: 30px;
    }
    .td-intro-line { width: 40px; }
    .td-intro-title {
        font-size: 19px;
        letter-spacing: 1px;
    }
    .td-intro-content {
        font-size: 14px;
        line-height: 1.95;
    }
}

@media (max-width: 400px) {
    .td-profile-name { font-size: 23px; }
    .td-contact-label { min-width: 54px; }
}
