/**
 * 深圳HPV V6 样式表（青色调版）
 * 青色渐变 · 封面图展示 · 现代杂志风
 * 主色：#0d9488（青绿）#14b8a6（浅青）#f97316（橙色CTA）
 */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.8; color: #1e293b; background: #f0fdfa;
    min-height: 100vh;
}
a { color: #0d9488; text-decoration: none; transition: color 0.3s; }
a:hover { color: #0f766e; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Top Bar 语言栏 ===== */
.top-bar {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    color: #fff; font-size: 0.85rem;
    padding: 8px 0; position: sticky; top: 0; z-index: 1001;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #fff; }
.consult-btn { background: #f97316; padding: 6px 14px; border-radius: 15px; color: #fff; font-size: 0.85rem; transition: all 0.3s; }
.consult-btn:hover { background: #ea580c; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; background: #f97316; padding: 4px 12px; border-radius: 12px; color: #fff; font-size: 0.8rem; cursor: pointer; border: 1px solid #f97316; transition: all 0.3s; }
.lang-switch:hover { background: #ea580c; }

/* ===== Header Banner ===== */
.header-banner { background: linear-gradient(135deg, #134e4a 0%, #0f766e 50%, #0d9488 100%); padding: 50px 0 40px; color: #fff; text-align: center; border-radius: 0 0 24px 24px; }
.header-banner h1 { font-size: 1.8rem; margin-bottom: 10px; }
.header-banner p { color: #a7f3d0; font-size: 1rem; }

/* ===== Header ===== */
.header { background: #fff; box-shadow: 0 2px 12px rgba(13,148,136,0.08); position: sticky; top: 32px; z-index: 999; }
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { font-size: 1.25rem; font-weight: 700; color: #0d9488; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { padding: 8px 16px; border-radius: 20px; color: #475569; font-size: 0.9rem; transition: all 0.3s; }
.nav a:hover, .nav a.active { background: #0d9488; color: #fff; }

/* ===== Hero Section V6 - 青色渐变+波浪 ===== */
.hero-section {
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 50%, #0d9488 100%);
    border-radius: 0 0 32px 32px;
    padding: 70px 0 55px; color: #fff; position: relative; overflow: hidden;
}
.hero-section::before {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23f0fdfa' d='M0,60 L1440,60 L1440,30 Q1200,0 720,20 Q240,40 0,30 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}
.hero-section .container { position: relative; z-index: 1; }
.hero-badges { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-badges .badge {
    background: rgba(249,115,22,0.2); border: 1px solid rgba(249,115,22,0.4);
    color: #fed7aa; padding: 5px 14px; border-radius: 20px; font-size: 0.82rem;
}
.hero-section h2 { font-size: 2.4rem; margin-bottom: 14px; line-height: 1.3; }
.hero-section h2 span { color: #99f6e4; }
.hero-section p { color: #a7f3d0; font-size: 1.05rem; max-width: 600px; line-height: 1.8; margin-bottom: 22px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn-primary {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff; padding: 12px 28px; border-radius: 10px; font-size: 0.95rem;
    font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s; box-shadow: 0 4px 14px rgba(249,115,22,0.3);
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,0.4); color: #fff; }
.hero-btn-secondary {
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
    color: #fff; padding: 12px 28px; border-radius: 10px; font-size: 0.95rem;
    font-weight: 500; display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s;
}
.hero-btn-secondary:hover { background: rgba(255,255,255,0.22); color: #fff; }

/* ===== Section ===== */
main { padding: 30px 0; }
.section { margin-bottom: 40px; }
.section-title {
    color: #1e293b; font-size: 1.2rem; font-weight: 700; padding-bottom: 10px;
    border-bottom: 2px solid #0d9488; margin-bottom: 22px;
    display: flex; align-items: center; gap: 10px;
}
.section-title::before {
    content: ''; width: 4px; height: 22px;
    background: linear-gradient(to bottom, #0d9488, #14b8a6);
    border-radius: 2px;
}

/* ===== Featured Articles V6 - 封面图大卡片 ===== */
.featured {
    max-width: 1200px; margin: 0 auto; padding: 0 15px;
}
.featured-wrapper { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-bottom: 35px; }
@media (max-width: 900px) { .featured-wrapper { grid-template-columns: 1fr; } }

.featured-main {
    position: relative; border-radius: 18px; overflow: hidden;
    height: 420px; display: block;
}
.featured-main img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.featured-main:hover img { transform: scale(1.03); }
.featured-main-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(15,118,110,0.95) 0%, transparent 100%);
    padding: 30px 24px 22px; color: #fff;
}
.featured-main-tag {
    display: inline-block; background: #f97316; color: #fff;
    padding: 3px 12px; border-radius: 12px; font-size: 0.75rem; margin-bottom: 10px;
}
.featured-main h3 { font-size: 1.25rem; line-height: 1.4; margin-bottom: 8px; color: #fff; }
.featured-main h3 a { color: #fff; }
.featured-main-meta { font-size: 0.78rem; color: #a7f3d0; }

.featured-side { display: flex; flex-direction: column; gap: 14px; }
.featured-side-item {
    background: #fff; border-radius: 14px; overflow: hidden;
    display: flex; height: 128px; box-shadow: 0 2px 12px rgba(13,148,136,0.07);
    transition: all 0.3s; border: 1px solid #ccfbf1;
}
.featured-side-item:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,148,136,0.12); border-color: #99f6e4; }
.featured-side-img { width: 110px; height: 100%; object-fit: cover; flex-shrink: 0; }
.featured-side-content { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.featured-side-content h4 { font-size: 0.88rem; color: #1e293b; line-height: 1.4; margin-bottom: 6px; }
.featured-side-content h4 a { color: #1e293b; }
.featured-side-content h4 a:hover { color: #0d9488; }
.featured-side-tag {
    font-size: 0.7rem; color: #0d9488; background: #f0fdfa; padding: 2px 8px; border-radius: 8px; display: inline-block;
}
.featured-side-meta { font-size: 0.72rem; color: #94a3b8; margin-top: 4px; }

/* ===== News Grid V6 - 封面图卡片 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    border: 1px solid #ccfbf1; transition: all 0.3s;
    display: flex; flex-direction: column;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(13,148,136,0.14);
    border-color: #99f6e4;
}
.news-card-img {
    height: 180px; overflow: hidden; position: relative;
}
.news-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-tag {
    position: absolute; top: 12px; left: 12px;
    background: #0d9488; color: #fff; padding: 3px 10px; border-radius: 10px; font-size: 0.72rem;
}
.news-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-body h4 {
    font-size: 0.98rem; color: #1e293b; line-height: 1.5; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-body h4 a { color: #1e293b; }
.news-card-body h4 a:hover { color: #0d9488; }
.news-card-summary {
    color: #64748b; font-size: 0.83rem; line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    flex: 1; margin-bottom: 12px;
}
.news-card-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 12px; border-top: 1px solid #f0fdfa;
}
.news-card-meta { font-size: 0.72rem; color: #94a3b8; display: flex; gap: 10px; }
.news-card .read-more {
    color: #0d9488; font-size: 0.82rem; font-weight: 600;
}
.news-card .read-more:hover { color: #0f766e; }

/* ===== Categories Grid ===== */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 768px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
.category-card {
    background: #fff; border: 1px solid #ccfbf1; border-radius: 14px;
    padding: 18px 20px; display: flex; align-items: center; gap: 14px;
    transition: all 0.3s; color: #475569; font-size: 0.92rem; font-weight: 500;
}
.category-card:hover {
    background: #0d9488; color: #fff; border-color: #0d9488;
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,148,136,0.2);
}
.category-card:hover .cat-icon { color: #fff; }
.cat-icon { font-size: 1.4rem; color: #0d9488; transition: color 0.3s; }

/* ===== Breadcrumb & Filter ===== */
.breadcrumb { margin-bottom: 20px; font-size: 0.82rem; color: #94a3b8; }
.breadcrumb a { color: #0d9488; }
.filter-bar { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.filter-btn {
    background: #fff; border: 1px solid #99f6e4; color: #0d9488;
    padding: 6px 18px; border-radius: 20px; font-size: 0.82rem; cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active { background: #0d9488; color: #fff; border-color: #0d9488; }

/* ===== News List (with cover thumb) ===== */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
    background: #fff; border: 1px solid #ccfbf1; border-radius: 16px; overflow: hidden;
    display: flex; transition: all 0.3s;
}
.news-item:hover { border-color: #99f6e4; box-shadow: 0 4px 20px rgba(13,148,136,0.1); transform: translateY(-1px); }
.news-item-img { width: 220px; height: 155px; object-fit: cover; flex-shrink: 0; }
@media (max-width: 600px) { .news-item { flex-direction: column; } .news-item-img { width: 100%; height: 180px; } }
.news-item-content { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.news-item-content h3 { font-size: 1rem; color: #1e293b; margin-bottom: 8px; line-height: 1.5; }
.news-item-content h3 a { color: #1e293b; }
.news-item-content h3 a:hover { color: #0d9488; }
.news-item-summary { color: #64748b; font-size: 0.83rem; line-height: 1.7; flex: 1; margin-bottom: 12px; }
.news-item-meta { display: flex; gap: 12px; font-size: 0.72rem; color: #94a3b8; margin-bottom: 10px; }

/* ===== Article Detail V6 ===== */
.content-wrapper { max-width: 860px; margin: 0 auto; }
.article-detail {
    background: #fff; border: 1px solid #ccfbf1; border-radius: 20px; overflow: hidden;
}
.article-cover {
    width: 100%; height: 380px; object-fit: cover;
}
.article-body-inner { padding: 40px 48px; }
@media (max-width: 600px) { .article-cover { height: 220px; } .article-body-inner { padding: 22px 18px; } }

.article-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #f0fdfa; }
.article-header h1 { color: #1e293b; font-size: 1.7rem; line-height: 1.45; margin-bottom: 14px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: #94a3b8; }
.article-meta .category {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    color: #0d9488; padding: 3px 12px; border-radius: 12px; font-size: 0.78rem;
}
.article-summary {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-left: 3px solid #0d9488;
    padding: 16px 20px; border-radius: 0 12px 12px 0;
    color: #475569; font-size: 0.92rem; margin-bottom: 26px;
}
.article-body { color: #334155; font-size: 1rem; line-height: 2; }
.article-body h3, .article-body h4 { color: #134e4a; margin: 28px 0 14px; }
.article-body h3 { font-size: 1.15rem; padding-bottom: 8px; border-bottom: 1px solid #f0fdfa; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 14px 0; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: #134e4a; }

/* ===== Related Articles ===== */
.related-articles { margin-top: 35px; padding-top: 28px; border-top: 1px solid #f0fdfa; }
.related-articles h3 { color: #1e293b; font-size: 1.05rem; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 768px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .related-grid { grid-template-columns: 1fr; } }
.related-item {
    background: #f0fdfa; border: 1px solid #ccfbf1; border-radius: 12px; overflow: hidden;
    transition: all 0.3s;
}
.related-item:hover { border-color: #0d9488; }
.related-item img { width: 100%; height: 130px; object-fit: cover; }
.related-item-info { padding: 12px 14px; }
.related-item-info a { color: #475569; font-size: 0.85rem; line-height: 1.4; }
.related-item-info a:hover { color: #0d9488; }
.related-item-date { font-size: 0.72rem; color: #94a3b8; margin-top: 6px; display: block; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 35px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: 8px 14px; background: #fff; border: 1px solid #99f6e4;
    color: #0d9488; border-radius: 8px; font-size: 0.88rem; transition: all 0.3s;
}
.pagination a:hover { background: #f0fdfa; border-color: #0d9488; }
.pagination .current { background: #0d9488; border-color: #0d9488; color: #fff; }

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #134e4a, #0f766e);
    color: #a7f3d0; padding: 42px 0 18px; margin-top: 50px;
}
.footer-content { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; margin-bottom: 25px; }
@media (max-width: 768px) { .footer-content { grid-template-columns: 1fr; } }
.footer-info h3 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.footer-info p { color: #6ee7b7; font-size: 0.85rem; }
.footer-links h4 { color: #5eead4; font-size: 0.9rem; margin-bottom: 12px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-links a { color: #6ee7b7; font-size: 0.85rem; }
.footer-links a:hover { color: #fff; }
.footer-copyright {
    text-align: center; padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #5eead4; font-size: 0.78rem;
}

/* ===== Floating Buttons ===== */
.consult-float {
    position: fixed; bottom: 30px; right: 30px;
    width: auto; min-width: 56px; height: 56px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    border-radius: 28px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 0.9rem; cursor: pointer;
    box-shadow: 0 4px 18px rgba(13,148,136,0.4);
    z-index: 9998; transition: all 0.3s; padding: 0 20px; gap: 8px;
    text-decoration: none;
}
.consult-float:hover { transform: scale(1.05); box-shadow: 0 6px 24px rgba(13,148,136,0.5); color: #fff; }

.appointment-float {
    position: fixed; bottom: 96px; right: 30px;
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.4rem; cursor: pointer;
    box-shadow: 0 4px 18px rgba(249,115,22,0.4);
    z-index: 9998; transition: all 0.3s; text-decoration: none;
}
.appointment-float:hover { transform: scale(1.1); color: #fff; }

/* ===== Appointment Modal ===== */
#appointment-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15,118,110,0.5); z-index: 9999; align-items: center; justify-content: center; }
#appointment-modal > div { background: #fff; border-radius: 20px; padding: 32px; max-width: 440px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; }
#appointment-modal h3 { color: #134e4a; font-size: 1.15rem; margin-bottom: 8px; }
#appointment-modal p { color: #64748b; font-size: 0.85rem; margin-bottom: 18px; }
#appointment-modal .close-btn { position: absolute; top: 14px; right: 14px; background: none; border: none; color: #94a3b8; font-size: 1.2rem; cursor: pointer; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; color: #475569; font-size: 0.88rem; margin-bottom: 5px; font-weight: 500; }
.form-group input[type="text"], .form-group textarea, .form-group select, .form-group input[type="date"] {
    width: 100%; padding: 10px 14px; background: #f0fdfa; border: 1px solid #99f6e4;
    border-radius: 10px; color: #1e293b; font-size: 0.9rem; font-family: inherit;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.btn-submit { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; border: none; padding: 12px; border-radius: 10px; font-size: 0.95rem; cursor: pointer; width: 100%; font-weight: 600; }
.btn-submit:hover { opacity: 0.9; }

/* ===== Admin ===== */
.admin-container { display: grid; grid-template-columns: 210px 1fr; min-height: 100vh; }
.admin-sidebar { background: linear-gradient(180deg, #134e4a, #0f766e); padding: 20px 14px; }
.admin-sidebar h2 { color: #fff; font-size: 1rem; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a { color: #a7f3d0; padding: 9px 12px; border-radius: 8px; font-size: 0.88rem; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(249,115,22,0.25); color: #fff; }
.admin-main { padding: 28px; background: #f0fdfa; }
.admin-header { margin-bottom: 22px; }
.admin-header h1 { color: #134e4a; font-size: 1.3rem; }
.error-msg { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; font-size: 0.88rem; }
.success-msg { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; font-size: 0.88rem; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #ccfbf1; }
.admin-table th { background: #f0fdfa; color: #0d9488; padding: 11px 12px; text-align: left; font-size: 0.82rem; font-weight: 600; border-bottom: 1px solid #ccfbf1; }
.admin-table td { color: #334155; padding: 11px 12px; border-top: 1px solid #f0fdfa; font-size: 0.85rem; }
.admin-table tr:hover td { background: #f0fdfa; }
.form-group input[type="text"], .form-group textarea, .form-group select { border: 1px solid #ccfbf1; }
.form-group input:focus, .form-group textarea:focus { border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.btn-submit-admin { background: #0d9488; color: #fff; border: none; padding: 10px 28px; border-radius: 10px; font-size: 0.92rem; cursor: pointer; }
.btn-submit-admin:hover { background: #0f766e; }
.btn-cancel { color: #64748b; padding: 10px 18px; border: 1px solid #ccfbf1; border-radius: 10px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; }
.status-published { background: #f0fdf4; color: #16a34a; padding: 2px 8px; border-radius: 8px; font-size: 0.75rem; }
.status-draft { background: #fffbeb; color: #d97706; padding: 2px 8px; border-radius: 8px; font-size: 0.75rem; }
.status-pending { background: #f0fdfa; color: #0d9488; padding: 2px 8px; border-radius: 8px; font-size: 0.75rem; }
.status-confirmed { background: #f0fdf4; color: #16a34a; padding: 2px 8px; border-radius: 8px; font-size: 0.75rem; }
.status-done { background: #eff6ff; color: #1d4ed8; padding: 2px 8px; border-radius: 8px; font-size: 0.75rem; }
.status-cancelled { background: #f1f5f9; color: #94a3b8; padding: 2px 8px; border-radius: 8px; font-size: 0.75rem; }
@media (max-width: 768px) { .admin-container { grid-template-columns: 1fr; } }