/* ============================================
   云联信息科技 - 企业站样式 v2.0
   ============================================ */

/* -- Reset & Base -- */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;color:#2d3748;line-height:1.8;background:#f7f8fc;font-size:15px;-webkit-font-smoothing:antialiased}
a{color:#2b6cb0;text-decoration:none;transition:color .2s}
a:hover{color:#2c5282}
img{max-width:100%}
::selection{background:#2b6cb0;color:#fff}

/* -- Layout -- */
.site{min-height:100vh;display:flex;flex-direction:column}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}
.main{flex:1;padding:32px 24px;max-width:1140px;margin:0 auto;width:100%}

/* -- Header -- */
.header{background:linear-gradient(135deg,#1a365d 0%,#2a4a7f 50%,#2b6cb0 100%);padding:0;position:relative;overflow:hidden}
.header::before{content:'';position:absolute;top:0;right:0;width:400px;height:100%;background:linear-gradient(135deg,transparent 40%,rgba(255,255,255,.05) 100%);pointer-events:none}
.header .wrap{display:flex;align-items:center;justify-content:space-between;padding:20px 24px}
.logo{color:#fff;font-size:24px;font-weight:700;letter-spacing:1px;display:flex;align-items:center;gap:12px}
.logo:hover{color:#fff}
.logo::before{content:'';display:block;width:36px;height:36px;background:rgba(255,255,255,.15);border-radius:8px;border:2px solid rgba(255,255,255,.3)}
.logo-img::before{display:none}
.logo-img img{height:42px;vertical-align:middle}
.logo-en{color:rgba(255,255,255,.5);font-size:12px;font-weight:400;letter-spacing:.5px}

/* -- Nav -- */
.nav{background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.nav .wrap{display:flex;gap:0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.nav .wrap::-webkit-scrollbar{display:none}
.nav a{display:block;padding:14px 22px;color:#4a5568;font-size:14px;font-weight:500;white-space:nowrap;border-bottom:2px solid transparent;transition:all .2s}
.nav a:hover,.nav a.active{color:#2b6cb0;border-bottom-color:#2b6cb0;background:#f7fafc}

/* -- Content Grid -- */
.content-grid{display:grid;grid-template-columns:1fr 300px;gap:32px;align-items:start}
@media(max-width:768px){.content-grid{grid-template-columns:1fr}}

/* -- Content Main -- */
.content-main{background:#fff;border-radius:12px;padding:28px 32px;box-shadow:0 1px 3px rgba(0,0,0,.06);border:1px solid #e8ecf1}

/* -- Section -- */
.section-title{font-size:20px;color:#1a365d;margin-bottom:20px;padding-bottom:12px;border-bottom:none;position:relative;font-weight:700}
.section-title::after{content:'';position:absolute;bottom:0;left:0;width:48px;height:3px;background:linear-gradient(90deg,#2b6cb0,#63b3ed);border-radius:2px}

/* -- Article List -- */
.article-item{padding:20px 0;border-bottom:1px solid #edf2f7;transition:background .2s}
.article-item:last-child{border-bottom:none}
.article-item:hover{background:#fafbfd;margin:0 -16px;padding-left:16px;padding-right:16px;border-radius:8px}
.article-item h3{font-size:17px;font-weight:600;margin-bottom:6px;line-height:1.5}
.article-item h3 a{color:#1a202c;transition:color .2s}
.article-item h3 a:hover{color:#2b6cb0}
.article-meta{display:flex;gap:12px;font-size:12px;color:#a0aec0;margin-bottom:6px;align-items:center}
.cat-tag{background:linear-gradient(135deg,#ebf4ff,#e0ecff);color:#2b6cb0;padding:2px 10px;border-radius:4px;font-size:12px;font-weight:500}
.date{display:flex;align-items:center;gap:4px}
.summary{font-size:14px;color:#718096;line-height:1.6}
.empty{padding:60px 0;text-align:center;color:#a0aec0;font-size:14px}

/* -- Article Detail -- */
.article-detail{padding:0}
.article-detail h1{font-size:26px;color:#1a202c;margin-bottom:16px;line-height:1.4;font-weight:700;letter-spacing:-.5px}
.article-info{font-size:13px;color:#a0aec0;margin-bottom:24px;display:flex;flex-wrap:wrap;gap:20px;padding-bottom:20px;border-bottom:1px solid #edf2f7}
.article-info a{color:#2b6cb0}
.article-content{font-size:15px;line-height:2;color:#4a5568}
.article-content p{margin-bottom:16px}
.article-content img{display:block;margin:20px auto;max-width:100%;height:auto;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.article-content h3{font-size:19px;color:#1a365d;margin:28px 0 12px;font-weight:700}
.about-content h3{font-size:18px;color:#1a365d;margin:24px 0 10px;font-weight:600}

/* -- Related -- */
.related{margin-top:32px;padding-top:24px;border-top:1px solid #edf2f7}
.related h3{font-size:17px;margin-bottom:14px;color:#1a365d;font-weight:700}
.related ul{list-style:none}
.related li{padding:8px 0;border-bottom:1px dashed #edf2f7;display:flex;justify-content:space-between;align-items:center;font-size:14px}
.related li:last-child{border-bottom:none}
.related li a{color:#4a5568}
.related li a:hover{color:#2b6cb0}
.related li span{color:#a0aec0;font-size:12px;flex-shrink:0;margin-left:12px}

/* -- Sidebar -- */
.sidebar{position:sticky;top:68px}
.widget{background:#fff;border-radius:12px;padding:22px;margin-bottom:20px;border:1px solid #e8ecf1;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.widget-title{font-size:15px;color:#1a365d;font-weight:700;margin-bottom:14px;padding-bottom:10px;position:relative}
.widget-title::after{content:'';position:absolute;bottom:0;left:0;width:32px;height:2px;background:#2b6cb0;border-radius:2px}
.widget-text{font-size:13px;color:#718096;line-height:1.8}
.widget-list{list-style:none}
.widget-list li{padding:0}
.widget-list li a{display:block;padding:8px 12px;font-size:14px;color:#4a5568;border-radius:6px;transition:all .2s}
.widget-list li a:hover,.widget-list li a.active{background:#f7fafc;color:#2b6cb0;padding-left:16px}

/* -- Pagination -- */
.pagination{padding:24px 0;text-align:center;display:flex;justify-content:center;gap:6px}
.pagination a,.pagination .current{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;color:#4a5568;transition:all .2s}
.pagination a:hover{background:#f7fafc;border-color:#2b6cb0;color:#2b6cb0}
.pagination .current{background:linear-gradient(135deg,#2b6cb0,#3182ce);color:#fff;border-color:transparent;box-shadow:0 2px 4px rgba(43,108,176,.3)}

/* -- Footer -- */
.footer{background:#1a202c;color:#718096;padding:28px 0;text-align:center;font-size:12px;line-height:2.2;margin-top:auto}
.footer p:first-child{color:#a0aec0}

/* -- Error Page -- */
.error-page{text-align:center;padding:80px 0}
.error-page h2{font-size:28px;color:#a0aec0;margin-bottom:12px;font-weight:300}
.error-page p{color:#718096;margin-bottom:20px}
.error-page a{display:inline-block;padding:10px 28px;background:#2b6cb0;color:#fff;border-radius:8px;transition:background .2s}
.error-page a:hover{background:#2c5282;color:#fff}

/* -- Responsive -- */
@media(max-width:768px){
    .header .wrap{flex-direction:column;align-items:flex-start;gap:4px;padding:16px 20px}
    .logo{font-size:20px}
    .content-main{padding:20px;border-radius:8px}
    .article-detail h1{font-size:22px}
    .nav a{padding:12px 16px;font-size:13px}
    .widget{border-radius:8px}
}