/* ============================================================
   智博优学官网 - 尚德风格主样式表
   ============================================================ */

/* -- Reset & Base -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333; line-height: 1.7; background: #f5f5f5;
}
a { color: #333; text-decoration: none; transition: color .2s; }
a:hover { color: #ff6a00; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* -- Colors (尚德风格) -- */
:root {
    --primary: #ff6a00;
    --primary-dark: #e55d00;
    --primary-light: #fff3e6;
    --dark: #2c2c3a;
    --dark-light: #3a3a4f;
    --blue: #2d6cdf;
    --blue-dark: #1e4fa8;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #f5f5f5;
    --bg-white: #fff;
    --border: #e5e5e5;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
    --radius: 8px;
}

/* ============================================================
   Top Bar (深色顶部)
   ============================================================ */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    font-size: .8rem;
    line-height: 36px;
}
.top-bar .container {
    display: flex; justify-content: space-between; align-items: center;
}
.top-bar a { color: rgba(255,255,255,.7); font-size: .8rem; }
.top-bar a:hover { color: #fff; }
.top-bar-links { display: flex; gap: 16px; }

/* ============================================================
   Header (白色主导航)
   ============================================================ */
.site-header {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo-text {
    font-size: 1.6rem; font-weight: 800; color: var(--primary);
    letter-spacing: 2px;
}
.logo-slogan { font-size: .75rem; color: var(--text-muted); white-space: nowrap; }
.logo-divider { width: 1px; height: 28px; background: var(--border); }

.header-phone {
    display: flex; align-items: center; gap: 8px;
    background: var(--primary); color: #fff;
    padding: 8px 20px; border-radius: 24px;
    font-weight: 600; font-size: .95rem;
    transition: background .2s;
}
.header-phone:hover { background: var(--primary-dark); color: #fff; }
.header-phone svg { flex-shrink: 0; }

.mobile-menu-btn {
    display: none; background: none; border: none; cursor: pointer; padding: 8px;
    flex-direction: column; gap: 5px;
}
.mobile-menu-btn span {
    display: block; width: 24px; height: 2px; background: var(--text);
    transition: .3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Nav */
.main-nav { background: var(--dark); }
.nav-list {
    display: flex; align-items: center; gap: 0;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.nav-list li { flex-shrink: 0; position: relative; }
.nav-list a {
    display: block; padding: 13px 22px; color: rgba(255,255,255,.85);
    font-size: .95rem; transition: all .2s; position: relative;
}
.nav-list a:hover, .nav-list a.active {
    background: var(--primary); color: #fff;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
    background: var(--bg-white); padding: 10px 0;
    border-bottom: 1px solid var(--border); font-size: .85rem;
}
.breadcrumb .container { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-muted); margin: 0 2px; }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* ============================================================
   Main Content
   ============================================================ */
.main-content { padding: 0; min-height: 60vh; }
/* Allow full-width sections to break out of .container */
.main-content .container { overflow: visible; }
.main-content > .container > .hero-banner,
.main-content > .container > .home-stats,
.main-content > .container > .home-section,
.main-content > .container > .cta-banner {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}
.main-content > .container > .home-stats > .container,
.main-content > .container > .home-section > .container,
.main-content > .container > .cta-banner > .container {
    max-width: 1200px; margin: 0 auto; padding: 0 16px;
}

/* Article layout (detail page) */
.article-layout {
    display: grid; grid-template-columns: 1fr 300px; gap: 24px;
    padding: 24px 0;
}

/* ============================================================
   Homepage - Hero Banner / Carousel
   ============================================================ */
.hero-banner {
    position: relative; width: 100%; overflow: hidden;
    background: linear-gradient(135deg, #ff6a00 0%, #e55d00 50%, #cc5200 100%);
    color: #fff; min-height: 420px;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
    display: none; width: 100%; min-height: 420px;
    padding: 80px 0 60px; align-items: center;
    position: relative;
}
.hero-slide.active { display: flex; }
.hero-slide .container { position: relative; z-index: 2; }
.hero-slide h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 16px; line-height: 1.3; text-shadow: 0 2px 8px rgba(0,0,0,.15); }
.hero-slide p { font-size: 1.15rem; opacity: .95; max-width: 560px; margin-bottom: 28px; line-height: 1.8; }
.hero-slide .btn-hero {
    display: inline-block; padding: 14px 40px; background: #fff; color: var(--primary);
    border-radius: 30px; font-size: 1.05rem; font-weight: 600; transition: all .2s;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.hero-slide .btn-hero:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.2); color: var(--primary-dark); }

.hero-dots {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
    width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4);
    cursor: pointer; transition: all .3s; border: none;
}
.hero-dot.active { background: #fff; transform: scale(1.2); }

.hero-decoration {
    position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.hero-decoration::before {
    content: ''; position: absolute; left: 40px; top: 40px;
    width: 320px; height: 320px; border-radius: 50%;
    background: rgba(255,255,255,.06);
}

/* ============================================================
   Homepage - Stats Bar
   ============================================================ */
.home-stats {
    background: var(--bg-white); padding: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    margin-bottom: 0;
}
.stats-bar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 0; text-align: center;
}
.stat-item {
    padding: 28px 16px;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 20%; height: 60%;
    width: 1px; background: var(--border);
}
.stat-item .num { font-size: 2.2rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat-item .label { font-size: .9rem; color: var(--text-light); margin-top: 6px; }

/* ============================================================
   Homepage - Section
   ============================================================ */
.home-section {
    padding: 48px 0;
    background: var(--bg-white);
    margin-bottom: 0;
}
.home-section.alt-bg { background: var(--bg); }
.home-section.dark-bg {
    background: var(--dark); color: rgba(255,255,255,.9);
}
.home-section.dark-bg .section-title { color: #fff; border-color: var(--primary); }
.home-section.dark-bg .section-title::after { background: var(--primary); }
.home-section.dark-bg .adv-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.home-section.dark-bg .adv-card h3 { color: #fff; }
.home-section.dark-bg .adv-card p { color: rgba(255,255,255,.7); }
.home-section.dark-bg .adv-card:hover { background: rgba(255,255,255,.14); }

.section {
    margin-bottom: 40px;
}
.section-title {
    font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; text-align: center;
    position: relative; display: block; padding-bottom: 16px;
}
.section-title::after {
    content: ''; display: block; width: 48px; height: 3px;
    background: var(--primary); margin: 0 auto; position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    border-radius: 2px;
}
.section-subtitle {
    text-align: center; color: var(--text-muted); font-size: .95rem;
    margin-bottom: 36px;
}

/* Service cards */
.service-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.service-card {
    background: var(--bg-white); border-radius: var(--radius); padding: 28px 16px;
    text-align: center; box-shadow: var(--shadow); transition: all .3s;
    border: 2px solid transparent; display: block;
}
.service-card:hover {
    transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12);
    border-color: var(--primary);
}
.service-card .icon { font-size: 2.2rem; margin-bottom: 10px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 6px; font-weight: 600; }
.service-card p { font-size: .85rem; color: var(--text-light); }

/* Article list cards */
.article-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.article-card {
    background: var(--bg-white); border-radius: var(--radius); padding: 20px;
    box-shadow: var(--shadow); transition: all .3s; border-left: 3px solid transparent;
}
.article-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); border-left-color: var(--primary); transform: translateY(-2px); }
.article-card .tag {
    display: inline-block; background: var(--primary-light); color: var(--primary);
    padding: 2px 10px; border-radius: 20px; font-size: .75rem; margin-bottom: 8px;
}
.article-card h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.5; }
.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--primary); }
.article-card p { font-size: .85rem; color: var(--text-light); display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .meta { font-size: .8rem; color: var(--text-muted); margin-top: 10px; }

/* Channel tabs (like 尚德's 学历提升/研究生/MBA blocks) */
.channel-section {
    padding: 48px 0;
    background: var(--bg-white);
}
.channel-section.alt-bg { background: var(--bg); }
.channel-block-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px; padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}
.channel-block-header h2 {
    font-size: 1.5rem; font-weight: 700; color: var(--text);
    padding-left: 14px; border-left: 4px solid var(--primary);
}
.channel-block-header h2 small {
    font-size: .85rem; color: var(--text-muted); font-weight: 400; margin-left: 8px;
}
.channel-block-header .more-link {
    font-size: .9rem; color: var(--text-muted);
}
.channel-block-header .more-link:hover { color: var(--primary); }

.channel-tabs {
    display: flex; gap: 0; margin-bottom: 24px;
    border-bottom: 2px solid var(--border);
}
.channel-tabs a {
    padding: 10px 24px; font-size: .95rem; color: var(--text-light);
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: all .2s;
}
.channel-tabs a:hover, .channel-tabs a.active {
    color: var(--primary); border-bottom-color: var(--primary); font-weight: 600;
}

/* Two column layout for channel section */
.channel-layout {
    display: grid; grid-template-columns: 1fr 360px; gap: 24px;
}
.channel-articles .article-card { border-left: none; border-top: 1px solid var(--border); border-radius: 0; padding: 16px 0; box-shadow: none; }
.channel-articles .article-card:first-child { border-top: none; }
.channel-articles .article-card:hover { transform: none; box-shadow: none; }

.channel-sidebar-hot {
    background: var(--bg); border-radius: var(--radius); padding: 20px;
}
.channel-sidebar-hot h3 {
    font-size: 1rem; margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 2px solid var(--primary); display: flex; align-items: center; gap: 6px;
}
.hot-list li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid var(--border);
}
.hot-list li:last-child { border-bottom: none; }
.hot-list .rank {
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 4px;
    background: var(--text-muted); color: #fff; font-size: .75rem;
    font-weight: 600; flex-shrink: 0;
}
.hot-list li:nth-child(1) .rank { background: #ff4d4f; }
.hot-list li:nth-child(2) .rank { background: var(--primary); }
.hot-list li:nth-child(3) .rank { background: #faad14; }
.hot-list a { font-size: .9rem; line-height: 1.5; color: var(--text); }
.hot-list a:hover { color: var(--primary); }

/* News ticker (尚德新闻滚动) */
.news-ticker {
    background: var(--bg-white); padding: 0;
    overflow: hidden;
}
.news-ticker-inner {
    display: flex; gap: 24px; padding: 14px 0;
    animation: ticker 60s linear infinite;
}
.news-ticker a {
    flex-shrink: 0; font-size: .9rem; color: var(--text-light);
    white-space: nowrap;
}
.news-ticker a:hover { color: var(--primary); }
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Advantage cards */
.adv-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.adv-card {
    text-align: center; padding: 32px 16px; border-radius: var(--radius);
    background: var(--bg-white); border: 1px solid var(--border);
    transition: all .3s;
}
.adv-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.adv-card .adv-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--primary-light); display: flex;
    align-items: center; justify-content: center;
    margin: 0 auto 14px; font-size: 1.6rem;
}
.adv-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.adv-card p { font-size: .85rem; color: var(--text-light); }

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #ff6a00 0%, #e55d00 100%);
    color: #fff; padding: 56px 0; text-align: center;
}
.cta-banner h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.cta-banner p { font-size: 1.05rem; opacity: .9; margin-bottom: 24px; }
.cta-banner .btn-cta {
    display: inline-block; padding: 14px 48px; background: #fff; color: var(--primary);
    border-radius: 30px; font-size: 1.05rem; font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,0,0,.15); transition: all .2s;
}
.cta-banner .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.2); }

/* ============================================================
   Article Detail Page
   ============================================================ */
.article-detail { background: var(--bg-white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.article-detail h1 { font-size: 1.8rem; margin-bottom: 12px; line-height: 1.4; }
.article-meta {
    display: flex; gap: 16px; color: var(--text-muted); font-size: .85rem;
    margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}

/* Article body (Markdown rendered) */
.article-body { font-size: 1rem; line-height: 1.9; }
.article-body h2 {
    font-size: 1.4rem; margin: 32px 0 16px; padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}
.article-body h3 { font-size: 1.2rem; margin: 24px 0 12px; color: var(--text); }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 12px 0 16px 24px; }
.article-body li { margin-bottom: 6px; list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body table {
    width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9rem;
}
.article-body th, .article-body td {
    border: 1px solid var(--border); padding: 10px 14px; text-align: left;
}
.article-body th { background: var(--primary-light); font-weight: 600; color: var(--primary-dark); }
.article-body blockquote {
    border-left: 4px solid var(--primary); padding: 12px 20px;
    background: var(--primary-light); margin: 16px 0; border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body strong { color: var(--primary-dark); }

/* FAQ section */
.faq-section { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--border); }
.faq-section h2 { margin-bottom: 16px; }
.faq-item { margin-bottom: 12px; padding: 16px; background: var(--bg); border-radius: var(--radius); }
.faq-item h3 { font-size: 1rem; margin-bottom: 8px; color: var(--primary-dark); }
.faq-item p { color: var(--text-light); font-size: .9rem; }

/* CTA in article */
.article-cta {
    background: linear-gradient(135deg, #ff6a00, #e55d00);
    color: #fff; padding: 28px; border-radius: var(--radius);
    text-align: center; margin: 24px 0;
}
.article-cta p { margin-bottom: 8px; }
.article-cta .btn { background: #fff; color: var(--primary); }

/* Related articles */
.related-section { margin-top: 32px; }
.related-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px;
}
.related-item {
    display: block; padding: 12px; background: var(--bg); border-radius: var(--radius);
    font-size: .9rem; color: var(--text); transition: all .2s;
}
.related-item:hover { background: var(--primary-light); color: var(--primary); }

/* ============================================================
   Sidebar
   ============================================================ */
.sidebar-card {
    background: var(--bg-white); border-radius: var(--radius); padding: 20px;
    box-shadow: var(--shadow); margin-bottom: 16px;
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-light); }

.cta-card {
    background: linear-gradient(135deg, #ff6a00, #e55d00); color: #fff; text-align: center;
}
.cta-card h3 { color: #fff; border-color: rgba(255,255,255,.3); }
.cta-card p { font-size: .85rem; margin-bottom: 12px; opacity: .9; }
.cta-card .btn { background: #fff; color: var(--primary); }
.cta-phone { font-size: .8rem; margin-top: 8px; opacity: .8; }

.sidebar-links li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.sidebar-links li:last-child { border: none; }
.sidebar-links a { font-size: .9rem; color: var(--text); display: block; padding: 4px 0; }
.sidebar-links a:hover { color: var(--primary); }

/* ============================================================
   Channel Pages
   ============================================================ */
.main-content > .container > .channel-header {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    border-radius: 0;
}
.channel-header {
    background: linear-gradient(135deg, #ff6a00 0%, #e55d00 50%, #cc5200 100%);
    color: #fff; padding: 48px 0;
    position: relative; overflow: hidden;
}
.channel-header::after {
    content: ''; position: absolute; right: -80px; top: -80px;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.channel-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; position: relative; z-index: 1; }
.channel-header p { opacity: .9; max-width: 700px; position: relative; z-index: 1; }

.sub-nav {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
    padding: 16px 0;
}
.sub-nav a {
    padding: 8px 20px; border-radius: 20px; background: var(--bg-white);
    border: 1px solid var(--border); font-size: .9rem; color: var(--text);
    transition: all .2s;
}
.sub-nav a:hover, .sub-nav a.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ============================================================
   FAQ Page
   ============================================================ */
.faq-page-list .faq-item { margin-bottom: 12px; }

/* ============================================================
   About / Contact Pages
   ============================================================ */
.static-page { background: var(--bg-white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); margin: 24px 0; }
.static-page h2 { font-size: 1.4rem; margin: 24px 0 12px; color: var(--text); padding-left: 12px; border-left: 4px solid var(--primary); }
.static-page p { margin-bottom: 12px; }

.contact-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin: 20px 0;
}
.contact-item { background: var(--bg); padding: 24px; border-radius: var(--radius); text-align: center; transition: all .2s; }
.contact-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.contact-item h3 { margin-bottom: 8px; }
.contact-item p { color: var(--text-light); }

/* ============================================================
   Pagination
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pagination a, .pagination span {
    padding: 8px 14px; border-radius: var(--radius); font-size: .9rem;
    border: 1px solid var(--border); background: var(--bg-white);
    transition: all .2s;
}
.pagination a:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   404
   ============================================================ */
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 4rem; color: var(--text-muted); margin-bottom: 16px; }
.error-page p { color: var(--text-light); margin-bottom: 24px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-block; padding: 10px 24px; border-radius: var(--radius);
    font-size: .95rem; font-weight: 500; border: none; cursor: pointer;
    transition: all .2s; text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 6px 16px; font-size: .85rem; }
.btn-block { display: block; width: 100%; }

/* ============================================================
   Footer (尚德风格深色)
   ============================================================ */
.site-footer {
    background: #2c2c3a; color: rgba(255,255,255,.75); padding: 56px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 32px; padding-bottom: 40px;
}
.footer-col h3 {
    color: #fff; font-size: 1rem; margin-bottom: 20px;
    padding-bottom: 10px; border-bottom: 2px solid var(--primary);
    font-weight: 600;
}
.footer-col p { font-size: .85rem; line-height: 1.8; margin-bottom: 8px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-phone a { font-size: 1.3rem; color: var(--primary); font-weight: 700; }
.footer-phone a:hover { color: #fff; }
.footer-cta { margin-top: 16px; }
.footer-cta .btn { border-radius: 20px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
    text-align: center; font-size: .8rem; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ============================================================
   Floating Sidebar (右侧浮动栏，尚德风格)
   ============================================================ */
.float-sidebar {
    position: fixed; right: 12px; top: 50%; transform: translateY(-50%);
    z-index: 99; display: flex; flex-direction: column; gap: 2px;
}
.float-btn {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; width: 56px; height: 56px;
    background: var(--bg-white); color: var(--text);
    border: 1px solid var(--border); cursor: pointer;
    font-size: .65rem; transition: all .2s; text-align: center;
    text-decoration: none;
}
.float-btn:first-child { border-radius: 8px 8px 0 0; }
.float-btn:last-child { border-radius: 0 0 8px 8px; }
.float-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.float-btn svg { margin-bottom: 4px; }

/* Back to top */
.back-top {
    position: fixed; right: 12px; bottom: 24px; z-index: 99;
    width: 48px; height: 48px; border-radius: 8px;
    background: var(--dark); color: #fff; border: none;
    cursor: pointer; display: none; align-items: center;
    justify-content: center; transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.back-top:hover { background: var(--primary); }
.back-top.show { display: flex; }

/* ============================================================
   Search
   ============================================================ */
.search-box {
    display: flex; max-width: 500px; margin: 20px 0;
}
.search-box input {
    flex: 1; padding: 10px 16px; border: 2px solid var(--border);
    border-radius: var(--radius) 0 0 var(--radius); font-size: 1rem;
    border-right: none; outline: none;
}
.search-box input:focus { border-color: var(--primary); }
.search-box button {
    padding: 10px 24px; background: var(--primary); color: #fff;
    border: 2px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer; font-size: 1rem; transition: background .2s;
}
.search-box button:hover { background: var(--primary-dark); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 992px) {
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { margin-top: 24px; }
    .stats-bar { grid-template-columns: repeat(3, 1fr); }
    .channel-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .float-sidebar { display: none; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .hero-slide { min-height: 300px; padding: 50px 0 40px; }
    .hero-slide h1 { font-size: 1.6rem; }
    .mobile-menu-btn { display: flex; }
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; }
    .nav-list a { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .header-phone { font-size: .85rem; padding: 6px 14px; }
    .article-detail { padding: 20px 16px; }
    .article-detail h1 { font-size: 1.4rem; }
    .article-body h2 { font-size: 1.2rem; }
    .article-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-item .num { font-size: 1.5rem; }
    .section-title { font-size: 1.3rem; }
    .channel-block-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-slide h1 { font-size: 1.3rem; }
    .hero-slide p { font-size: .95rem; }
}
