/* ============================================================
   style-dense.css ?Professional Dense Template (信息密集风格)
   Teal (#0d9488) compact information-dense layout
   ============================================================ */

/* === Reset & Base === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:14px}
body{font-family:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;color:#1e293b;background:#f8fafc;line-height:1.45;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:#0d9488;text-decoration:none;transition:color .2s}
a:hover{color:#0f766e}
ul,ol{list-style:none}
input,select,textarea,button{font:inherit;color:inherit}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 15px}
/* === Header === */
.site-header{background:#0d9488;color:#fff;position:sticky;top:0;z-index:1000;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:48px;gap:12px}
.logo{font-size:1.15rem;font-weight:700;color:#fff;white-space:nowrap;letter-spacing:-.3px}
.logo:hover{color:#e2e8f0}
.logo span{color:#fbbf24}
.header-nav{display:flex;align-items:center;gap:0}
.header-nav a{color:rgba(255,255,255,.88);padding:0 10px;font-size:.8rem;line-height:48px;white-space:nowrap;transition:background .2s,color .2s;position:relative}
.header-nav a:hover,.header-nav a.active{background:rgba(255,255,255,.1);color:#fff}
.header-nav a.active::after{content:'';position:absolute;bottom:0;left:10%;right:10%;height:2px;background:#fbbf24}
.header-search{display:flex;align-items:center;background:rgba(255,255,255,.15);border-radius:4px;padding:0 8px;height:30px;min-width:180px}
.header-search input{border:none;background:0 0;color:#fff;font-size:.8rem;padding:4px 0;width:100%;outline:0}
.header-search input::placeholder{color:rgba(255,255,255,.6)}
.header-search .icon{color:rgba(255,255,255,.7);font-size:.85rem}
.menu-toggle{display:none;background:0 0;border:none;color:#fff;font-size:1.2rem;cursor:pointer;padding:4px 8px}
/* === Mobile nav === */
@media(max-width:767px){
  .menu-toggle{display:block}
  .header-nav{position:fixed;top:48px;left:0;right:0;background:#0d9488;flex-direction:column;display:none;box-shadow:0 4px 6px rgba(0,0,0,.15);z-index:999}
  .header-nav.open{display:flex}
  .header-nav a{line-height:40px;padding:0 16px;border-top:1px solid rgba(255,255,255,.1);width:100%}
  .header-search{min-width:120px}
  .header-search input{width:80px}
}
/* === Hero === */
.hero{padding:30px 0;background:#fff;border-bottom:1px solid #e2e8f0}
.hero .container{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}
.hero h1{font-size:2rem;font-weight:800;line-height:1.2;color:#0f172a;margin-bottom:10px}
.hero h1 span{color:#0d9488}
.hero p{color:#64748b;font-size:.92rem;margin-bottom:16px;max-width:520px}
.hero-actions{display:flex;gap:8px;flex-wrap:wrap}
.hero-actions .btn{padding:8px 20px;font-size:.85rem}
.stats-dashboard{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stat-card{background:#f1f5f9;border-radius:6px;padding:14px 16px;text-align:center;border-left:3px solid #0d9488;transition:transform .2s,box-shadow .2s}
.stat-card:hover{transform:translateY(-2px);box-shadow:0 2px 8px rgba(13,148,136,.15)}
.stat-card .num{font-size:1.8rem;font-weight:800;color:#0d9488;line-height:1.1}
.stat-card .label{font-size:.72rem;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-top:2px}
.stat-card .change{font-size:.7rem;color:#10b981;margin-top:2px}
.stat-card .change.down{color:#ef4444}
/* === Services section === */
.section{padding:30px 0}
.section-title{font-size:1.2rem;font-weight:700;color:#0f172a;margin-bottom:16px;padding-bottom:6px;border-bottom:2px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}
.section-title small{font-size:.75rem;font-weight:400;color:#64748b}
.section-title .more{font-size:.78rem;color:#0d9488;font-weight:400}
.tabs{display:flex;gap:2px;margin-bottom:0;border-bottom:2px solid #e2e8f0}
.tab-btn{padding:8px 18px;font-size:.8rem;font-weight:500;border:none;background:0 0;cursor:pointer;color:#64748b;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .2s}
.tab-btn:hover{color:#0d9488}
.tab-btn.active{color:#0d9488;border-bottom-color:#0d9488;font-weight:600}
.tab-panel{display:none;padding:16px 0}
.tab-panel.active{display:block}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}
.service-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:14px;transition:box-shadow .2s;text-align:center}
.service-card:hover{box-shadow:0 2px 8px rgba(13,148,136,.1);border-color:#0d9488}
.service-card .icon{font-size:1.6rem;margin-bottom:6px;display:block;color:#0d9488}
.service-card h4{font-size:.85rem;font-weight:600;margin-bottom:4px}
.service-card p{font-size:.75rem;color:#64748b;line-height:1.4}
/* === Process === */
.process-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative;padding:10px 0}
.process-steps::before{content:'';position:absolute;top:24px;left:10%;right:10%;height:2px;background:#cbd5e1;z-index:0}
.process-step{text-align:center;position:relative;z-index:1}
.process-step .step-num{width:36px;height:36px;border-radius:50%;background:#0d9488;color:#fff;display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;margin:0 auto 6px;border:3px solid #f8fafc}
.process-step.active .step-num{background:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.25)}
.process-step h5{font-size:.78rem;font-weight:600;margin-bottom:2px}
.process-step p{font-size:.68rem;color:#64748b}
/* === Quick Links === */
.quick-links{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0}
.quick-links .pill{padding:4px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;font-size:.75rem;color:#475569;transition:all .2s}
.quick-links .pill:hover{background:#0d9488;color:#fff;border-color:#0d9488}
.quick-links .pill.hot{background:#fef3c7;border-color:#f59e0b;color:#92400e}
.quick-links .pill.hot:hover{background:#f59e0b;color:#fff}
/* === News section === */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.news-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:12px;display:flex;flex-direction:column;transition:box-shadow .2s}
.news-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.06)}
.news-card .thumb{width:100%;height:100px;object-fit:cover;border-radius:4px;margin-bottom:8px;background:#f1f5f9}
.news-card h4{font-size:.82rem;font-weight:600;margin-bottom:4px;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-card .meta{font-size:.68rem;color:#94a3b8;display:flex;gap:10px;margin-top:6px}
.news-card .meta span{display:flex;align-items:center;gap:3px}
.hot-scroll{overflow-x:auto;padding:8px 0;margin:10px 0;display:flex;gap:8px;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}
.hot-scroll::-webkit-scrollbar{height:4px}
.hot-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}
.hot-scroll .hot-item{flex-shrink:0;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:8px 14px;font-size:.78rem;white-space:nowrap;display:flex;align-items:center;gap:8px;transition:border-color .2s}
.hot-scroll .hot-item:hover{border-color:#0d9488}
.hot-scroll .hot-item .tag{background:#fef3c7;color:#92400e;font-size:.6rem;padding:1px 6px;border-radius:3px;font-weight:600}
/* === Sidebar === */
.sidebar{display:flex;flex-direction:column;gap:12px}
.sidebar-widget{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:14px}
.sidebar-widget .widget-title{font-size:.82rem;font-weight:700;color:#0f172a;margin-bottom:8px;padding-bottom:5px;border-bottom:1px solid #e2e8f0}
.sidebar-widget ul li a{display:block;padding:5px 0;font-size:.78rem;color:#475569;border-bottom:1px solid #f1f5f9;transition:color .2s}
.sidebar-widget ul li:last-child a{border-bottom:none}
.sidebar-widget ul li a:hover{color:#0d9488;padding-left:4px}
.contact-widget p{font-size:.78rem;color:#475569;margin-bottom:4px;display:flex;gap:6px;align-items:center}
.contact-widget p .ico{color:#0d9488;width:16px;text-align:center}
.mini-stat{text-align:center;padding:10px;background:linear-gradient(135deg,#f0fdfa,#f8fafc);border-radius:6px}
.mini-stat .num{font-size:1.6rem;font-weight:800;color:#0d9488}
.mini-stat .label{font-size:.7rem;color:#64748b;text-transform:uppercase}
/* === Partner section === */
.partner-grid{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center;padding:10px 0}
.partner-grid .partner{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:10px 18px;font-size:.8rem;color:#64748b;transition:all .2s;display:flex;align-items:center;gap:8px}
.partner-grid .partner:hover{border-color:#0d9488;color:#0d9488}
.partner-grid .partner img{height:28px;width:auto;opacity:.6;filter:grayscale(1);transition:all .2s}
.partner-grid .partner:hover img{opacity:1;filter:grayscale(0)}
/* === City links === */
.city-links{display:flex;flex-wrap:wrap;gap:4px;padding:6px 0}
.city-links a{font-size:.72rem;color:#64748b;padding:2px 8px;border-right:1px solid #e2e8f0;transition:color .2s}
.city-links a:last-child{border-right:none}
.city-links a:hover{color:#0d9488}
/* === Footer === */
.site-footer{background:#0f172a;color:#cbd5e1;padding:25px 0 12px;font-size:.78rem}
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.footer-grid h5{color:#fff;font-size:.82rem;font-weight:600;margin-bottom:8px;padding-bottom:4px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-grid .links-wrap{display:grid;grid-template-columns:1fr 1fr;gap:2px 10px}
.footer-grid a{color:#94a3b8;display:block;padding:2px 0;font-size:.72rem;transition:color .2s}
.footer-grid a:hover{color:#0d9488}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:15px;padding-top:10px;display:flex;justify-content:space-between;align-items:center;font-size:.68rem;color:#64748b}
.footer-bottom a{color:#94a3b8}
/* === Back-to-top === */
#back-to-top{position:fixed;bottom:20px;right:20px;width:36px;height:36px;background:#0d9488;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:1rem;display:none;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:all .2s;z-index:999}
#back-to-top:hover{background:#0f766e;transform:translateY(-2px)}
/* === Breadcrumb === */
.breadcrumb{display:flex;align-items:center;gap:4px;padding:8px 0;font-size:.75rem;color:#94a3b8}
.breadcrumb a{color:#64748b}
.breadcrumb a:hover{color:#0d9488}
.breadcrumb .sep{color:#cbd5e1}
.breadcrumb .current{color:#0d9488;font-weight:500}
/* === List page === */
.page-layout{display:grid;grid-template-columns:1fr 300px;gap:20px;padding:20px 0}
.article-list .list-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #f1f5f9}
.article-list .list-item:last-child{border-bottom:none}
.article-list .list-item .thumb{width:120px;min-height:72px;border-radius:4px;object-fit:cover;background:#f1f5f9;flex-shrink:0}
.article-list .list-item .info{flex:1;min-width:0}
.article-list .list-item .info h3{font-size:.88rem;font-weight:600;margin-bottom:4px}
.article-list .list-item .info h3 a{color:#1e293b}
.article-list .list-item .info h3 a:hover{color:#0d9488}
.article-list .list-item .info p{font-size:.75rem;color:#64748b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-list .list-item .meta{font-size:.68rem;color:#94a3b8;display:flex;gap:10px;margin-top:4px}
/* === Detail page === */
.detail-page{padding:20px 0}
.detail-header h1{font-size:1.5rem;font-weight:800;color:#0f172a;margin-bottom:8px;line-height:1.3}
.detail-meta{display:flex;gap:12px;font-size:.75rem;color:#94a3b8;margin-bottom:16px;flex-wrap:wrap}
.detail-body{font-size:.9rem;line-height:1.7;color:#334155}
.detail-body p{margin-bottom:12px}
.detail-body h2{font-size:1.15rem;font-weight:700;margin:20px 0 8px;color:#0f172a}
.detail-body h3{font-size:1rem;font-weight:600;margin:16px 0 6px;color:#0f172a}
.detail-body img{border-radius:6px;margin:10px 0}
.detail-body ul,.detail-body ol{padding-left:20px;margin-bottom:12px}
.detail-body li{margin-bottom:4px;list-style:disc}
.detail-body ol li{list-style:decimal}
.detail-body blockquote{border-left:3px solid #0d9488;padding:8px 14px;margin:12px 0;background:#f1f5f9;border-radius:0 4px 4px 0;font-style:italic;color:#475569}
.detail-body pre{background:#1e293b;color:#e2e8f0;padding:12px 14px;border-radius:6px;overflow-x:auto;font-size:.8rem;margin:12px 0}
.detail-body code{font-family:'Cascadia Code','Fira Code','Source Code Pro',Consolas,monospace;font-size:.8rem}
.detail-body :not(pre)>code{background:#f1f5f9;color:#0d9488;padding:1px 6px;border-radius:3px;font-size:.78rem}
.detail-tags{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}
.detail-tags a{padding:3px 10px;background:#f1f5f9;border-radius:4px;font-size:.7rem;color:#64748b;transition:all .2s}
.detail-tags a:hover{background:#0d9488;color:#fff}
.detail-nav{display:flex;justify-content:space-between;padding:14px 0;border-top:1px solid #e2e8f0;margin-top:14px}
.detail-nav a{font-size:.82rem;color:#0d9488;font-weight:500}
.detail-nav a:hover{color:#0f766e}
/* === Search page === */
.search-page{padding:20px 0}
.search-form{display:flex;gap:8px;margin-bottom:20px}
.search-form input[type=text]{flex:1;padding:8px 12px;border:1px solid #e2e8f0;border-radius:4px;font-size:.88rem;outline:0;transition:border .2s}
.search-form input[type=text]:focus{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.1)}
.search-results .result-item{padding:12px 0;border-bottom:1px solid #f1f5f9}
.search-results .result-item h3{font-size:.92rem;font-weight:600;margin-bottom:3px}
.search-results .result-item h3 a{color:#0d9488}
.search-results .result-item .url{font-size:.7rem;color:#10b981;margin-bottom:3px}
.search-results .result-item p{font-size:.78rem;color:#64748b}
.search-highlight{background:#fef3c7;padding:0 2px}
/* === About/Contact/Page === */
.page-content{padding:20px 0}
.page-content h1{font-size:1.5rem;font-weight:800;color:#0f172a;margin-bottom:14px}
.page-content h2{font-size:1.15rem;font-weight:700;margin:18px 0 8px;color:#0f172a}
.page-content p{font-size:.88rem;color:#475569;margin-bottom:10px;line-height:1.6}
.contact-form{max-width:600px}
.contact-form .form-group{margin-bottom:10px}
.contact-form .form-group label{font-size:.78rem;font-weight:600;color:#334155;display:block;margin-bottom:3px}
.contact-form .form-group input,.contact-form .form-group textarea{width:100%;padding:7px 10px;border:1px solid #e2e8f0;border-radius:4px;font-size:.82rem;outline:0;transition:border .2s}
.contact-form .form-group input:focus,.contact-form .form-group textarea:focus{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.1)}
.contact-form .form-group textarea{height:90px;resize:vertical}
.map-placeholder{background:#f1f5f9;border-radius:6px;height:200px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:.85rem;margin:14px 0}
/* === Sitemap === */
.sitemap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:10px 0}
.sitemap-col h4{font-size:.85rem;font-weight:700;color:#0f172a;margin-bottom:8px;padding-bottom:4px;border-bottom:1px solid #e2e8f0}
.sitemap-col ul li a{display:block;padding:3px 0;font-size:.78rem;color:#475569;transition:color .2s}
.sitemap-col ul li a:hover{color:#0d9488}
.sitemap-col ul ul{padding-left:12px}
.sitemap-col ul ul li a{font-size:.72rem;color:#64748b}
/* === Utility classes === */
.text-center{text-align:center}
.text-muted{color:#94a3b8!important}
.text-sm{font-size:.75rem}
.text-xs{font-size:.65rem}
.text-lg{font-size:1.1rem}
.text-teal{color:#0d9488}
.text-amber{color:#f59e0b}
.font-bold{font-weight:700}
.mt-1{margin-top:4px}
.mt-2{margin-top:8px}
.mt-3{margin-top:12px}
.mb-1{margin-bottom:4px}
.mb-2{margin-bottom:8px}
.mb-3{margin-bottom:12px}
.p-1{padding:4px}
.p-2{padding:8px}
.p-3{padding:12px}
.d-flex{display:flex}
.flex-wrap{flex-wrap:wrap}
.gap-1{gap:4px}
.gap-2{gap:8px}
.gap-3{gap:12px}
.align-center{align-items:center}
.justify-between{justify-content:space-between}
/* Badge variants */
.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.3px}
.badge-primary{background:#0d9488;color:#fff}
.badge-secondary{background:#14b8a6;color:#fff}
.badge-accent{background:#f59e0b;color:#fff}
.badge-outline{background:0 0;border:1px solid #0d9488;color:#0d9488}
.badge-danger{background:#fee2e2;color:#dc2626}
.badge-success{background:#d1fae5;color:#059669}
.badge-warning{background:#fef3c7;color:#d97706}
.badge-info{background:#dbeafe;color:#2563eb}
/* Icon sizing */
.icon-xs{font-size:.7rem;width:.7rem}
.icon-s{font-size:.85rem;width:.85rem}
.icon-m{font-size:1.1rem;width:1.1rem}
.icon-l{font-size:1.5rem;width:1.5rem}
/* Grid: row / col */
.row{display:flex;flex-wrap:wrap;margin:0 -8px}
.row>[class*=col-]{padding:0 8px;flex:0 0 auto}
.row>.col-12{width:100%}
.row>.col-11{width:91.6667%}
.row>.col-10{width:83.3333%}
.row>.col-9{width:75%}
.row>.col-8{width:66.6667%}
.row>.col-7{width:58.3333%}
.row>.col-6{width:50%}
.row>.col-5{width:41.6667%}
.row>.col-4{width:33.3333%}
.row>.col-3{width:25%}
.row>.col-2{width:16.6667%}
.row>.col-1{width:8.3333%}
/* Form elements */
.form-group{margin-bottom:10px}
.form-group label{display:block;font-size:.78rem;font-weight:600;color:#334155;margin-bottom:3px}
.form-control{display:block;width:100%;padding:7px 10px;font-size:.82rem;border:1px solid #e2e8f0;border-radius:4px;background:#fff;transition:border .2s;outline:0}
.form-control:focus{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.1)}
.form-control::placeholder{color:#94a3b8}
select.form-control{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2394a3b8'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;padding-right:26px}
textarea.form-control{resize:vertical;min-height:70px}
/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:7px 16px;font-size:.8rem;font-weight:500;border:none;border-radius:4px;cursor:pointer;transition:all .2s;text-decoration:none;white-space:nowrap;line-height:1.4}
.btn-primary{background:#0d9488;color:#fff}
.btn-primary:hover{background:#0f766e;color:#fff}
.btn-secondary{background:#14b8a6;color:#fff}
.btn-secondary:hover{background:#0d9488;color:#fff}
.btn-accent{background:#f59e0b;color:#fff}
.btn-accent:hover{background:#d97706;color:#fff}
.btn-outline{background:0 0;border:1px solid #0d9488;color:#0d9488}
.btn-outline:hover{background:#0d9488;color:#fff}
.btn-ghost{background:0 0;color:#475569}
.btn-ghost:hover{background:#f1f5f9;color:#0d9488}
.btn-sm{padding:4px 10px;font-size:.72rem}
.btn-lg{padding:10px 24px;font-size:.92rem}
.btn-block{width:100%}
/* Card */
.card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden;transition:box-shadow .2s}
.card:hover{box-shadow:0 2px 8px rgba(0,0,0,.06)}
.card-body{padding:12px 14px}
.card-body h3,.card-body h4{font-size:.85rem;font-weight:600;margin-bottom:4px}
.card-body p{font-size:.75rem;color:#64748b;line-height:1.4}
.card-img{width:100%;height:140px;object-fit:cover;display:block;background:#f1f5f9}
/* Table (compact) */
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:.78rem}
table th,table td{padding:6px 10px;text-align:left;border-bottom:1px solid #f1f5f9}
table th{background:#f8fafc;font-weight:600;color:#334155;font-size:.72rem;text-transform:uppercase;letter-spacing:.3px}
table tr:hover td{background:#f8fafc}
table.striped tr:nth-child(even) td{background:#f8fafc}
table.bordered th,table.bordered td{border:1px solid #e2e8f0}
/* Highlight */
.highlight{padding:2px 6px;background:#fef3c7;border-radius:3px;font-weight:500}
.highlight-teal{background:#ccfbf1;color:#0f766e}
.highlight-blue{background:#dbeafe;color:#1d4ed8}
.highlight-red{background:#fee2e2;color:#dc2626}
/* Switch / Slider */
.switch{position:relative;display:inline-block;width:36px;height:20px;flex-shrink:0}
.switch input{opacity:0;width:0;height:0}
.switch .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background:#cbd5e1;transition:.3s;border-radius:20px}
.switch .slider::before{content:'';position:absolute;height:16px;width:16px;left:2px;bottom:2px;background:#fff;transition:.3s;border-radius:50%}
.switch input:checked+.slider{background:#0d9488}
.switch input:checked+.slider::before{transform:translateX(16px)}
.switch input:focus-visible+.slider{box-shadow:0 0 0 2px rgba(13,148,136,.3)}
/* Pagination */
.pagination{display:flex;align-items:center;gap:3px;padding:12px 0;flex-wrap:wrap}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 8px;font-size:.78rem;border-radius:4px;border:1px solid #e2e8f0;color:#475569;background:#fff;transition:all .2s}
.pagination a:hover{background:#f1f5f9;border-color:#cbd5e1}
.pagination .active{background:#0d9488;border-color:#0d9488;color:#fff;font-weight:600}
.pagination .disabled{opacity:.4;pointer-events:none;background:#f8fafc}
.pagination .ellipsis{border:none;background:0 0;color:#94a3b8;min-width:20px}
/* Extra helpers */
.w-100{width:100%}
.hidden{display:none!important}
.visible{display:block!important}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clearfix::after{content:'';display:table;clear:both}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* === Responsive === */
@media(max-width:1023px){
  .hero .container{grid-template-columns:1fr;gap:20px}
  .hero h1{font-size:1.6rem}
  .stats-dashboard{grid-template-columns:repeat(4,1fr)}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .news-grid{grid-template-columns:repeat(2,1fr)}
  .page-layout{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .sitemap-grid{grid-template-columns:repeat(2,1fr)}
  .process-steps{grid-template-columns:repeat(2,1fr);gap:10px}
  .process-steps::before{display:none}
}
@media(max-width:767px){
  html{font-size:13px}
  .header-inner{height:44px}
  .stats-dashboard{grid-template-columns:1fr 1fr}
  .service-grid{grid-template-columns:1fr 1fr}
  .news-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .sitemap-grid{grid-template-columns:1fr}
  .hero h1{font-size:1.3rem}
  .article-list .list-item{flex-direction:column}
  .article-list .list-item .thumb{width:100%;height:100px}
  .row>.col-4,.row>.col-3,.row>.col-6{width:100%}
  .pagination{gap:2px}
  .pagination a,.pagination span{min-width:26px;height:26px;font-size:.72rem;padding:0 5px}
  .process-steps{grid-template-columns:1fr 1fr}
  .search-form{flex-direction:column}
  .tabs{overflow-x:auto;flex-wrap:nowrap}
  .tab-btn{padding:6px 12px;font-size:.75rem;white-space:nowrap}
  .tab-panel.active{border-top:1px solid #e2e8f0}
  .detail-header h1{font-size:1.15rem}
  .header-search{min-width:100px}
  .header-search input{width:60px}
}
@media(min-width:1024px){
  .page-layout.has-sidebar{grid-template-columns:1fr 300px}
}
/* === Page loader / spinner === */
.loader{display:flex;align-items:center;justify-content:center;padding:30px}
.spinner{width:28px;height:28px;border:3px solid #e2e8f0;border-top-color:#0d9488;border-radius:50%;animation:spin .6s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
/* === Tooltip === */
.tooltip{position:relative;display:inline-flex}
.tooltip::after{content:attr(data-tip);position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding:3px 8px;background:#1e293b;color:#fff;font-size:.65rem;border-radius:4px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s;margin-bottom:4px}
.tooltip:hover::after{opacity:1}
/* === Alert / Notice === */
.alert{padding:8px 12px;border-radius:4px;font-size:.78rem;margin-bottom:10px;display:flex;align-items:center;gap:8px}
.alert-info{background:#dbeafe;color:#1e40af;border:1px solid #bfdbfe}
.alert-success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}
.alert-warning{background:#fef3c7;color:#92400e;border:1px solid #fde68a}
.alert-danger{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
/* === Dropdown === */
.dropdown{position:relative;display:inline-block}
.dropdown-menu{display:none;position:absolute;top:100%;left:0;min-width:160px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:500;padding:4px 0}
.dropdown-menu.open{display:block}
.dropdown-menu a{display:block;padding:6px 14px;font-size:.78rem;color:#475569;transition:background .2s}
.dropdown-menu a:hover{background:#f1f5f9;color:#0d9488}
/* === Image overlay / gallery === */
.img-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:6px}
.img-grid img{width:100%;height:90px;object-fit:cover;border-radius:4px;cursor:pointer;transition:opacity .2s}
.img-grid img:hover{opacity:.8}
/* === Tag cloud === */
.tag-cloud{display:flex;flex-wrap:wrap;gap:5px}
.tag-cloud a{padding:3px 10px;background:#f1f5f9;border-radius:4px;font-size:.72rem;color:#64748b;transition:all .2s}
.tag-cloud a:hover{background:#0d9488;color:#fff}
.tag-cloud a.xl{font-size:.9rem;padding:5px 14px}
.tag-cloud a.lg{font-size:.82rem}
.tag-cloud a.sm{font-size:.65rem}
/* === Progress bar === */
.progress{height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}
.progress .bar{height:100%;background:#0d9488;border-radius:3px;transition:width .4s}
.progress .bar.striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}
/* === Count up animation === */
.count-up{display:inline-block;font-variant-numeric:tabular-nums}
/* === Section divider === */
.divider{height:1px;background:#e2e8f0;margin:14px 0}
.divider.dashed{border-top:1px dashed #e2e8f0;background:0 0;height:0}
/* === Extra responsive refinements === */
@media(max-width:1023px){
  .img-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}
  .dropdown-menu{min-width:140px}
}
@media(max-width:767px){
  .img-grid{grid-template-columns:repeat(3,1fr)}
  .img-grid img{height:70px}
  .alert{padding:6px 10px;font-size:.72rem}
  .tag-cloud a{padding:2px 8px;font-size:.68rem}
  .tag-cloud a.xl{font-size:.8rem}
  .dropdown-menu{position:static;box-shadow:none;border:none;border-top:1px solid #e2e8f0}
  .detail-nav{flex-direction:column;gap:6px}
  .contact-form .form-group input,.contact-form .form-group textarea{font-size:.78rem}
  .mini-stat .num{font-size:1.3rem}
  .stat-card .num{font-size:1.4rem}
  .stat-card{padding:10px 12px}
  .breadcrumb{font-size:.7rem;overflow-x:auto;flex-wrap:nowrap;gap:2px}
}
/* === High-DPI / Retina optimizations === */
@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){
  body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
}
/* === Reduced motion === */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
/* Print */
@media print{
  .site-header,.site-footer,#back-to-top,.sidebar,.breadcrumb,.hot-scroll{display:none!important}
  .page-layout{display:block}
  body{background:#fff;color:#000;font-size:12px}
  a{color:#000!important}
  @page{margin:1.5cm}
}


/* ===== Nav Crowding Fix ===== */
@media (max-width: 1200px) {
  .header-nav > li > a,
  .nav a,
  .nav-menu a,
  .pd-nav a {
    padding: 6px 10px !important;
    font-size: 0.8125rem !important;
  }
}

@media (max-width: 992px) {
  .header-nav,
  .nav,
  .nav-menu,
  .pd-nav {
    gap: 2px !important;
  }
  .header-nav > li > a,
  .nav a,
  .nav-menu a,
  .pd-nav a {
    padding: 5px 8px !important;
    font-size: 0.75rem !important;
  }
}

@media (max-width: 768px) {
  .header-nav,
  .nav,
  .nav-menu,
  .pd-nav {
    flex-wrap: wrap !important;
  }
}

/* ============================================
   Professional Dense - Template-Specific Styles (pd-*)
   ============================================ */
.pd-wrapper { width: 100%; margin: 0; padding: 0; }
.pd-container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* === Header === */
.pd-header { background: #1e293b; color: #fff; position: sticky; top: 0; z-index: 100; width: 100%; }
.pd-header-inner { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: .75rem; }
.pd-logo { font-size: 1.15rem; font-weight: 700; color: #fff; white-space: nowrap; }
.pd-logo:hover { color: #e2e8f0; }
.pd-nav { display: flex; align-items: center; gap: 0; }
.pd-nav a { color: rgba(255,255,255,.85); padding: 0 10px; font-size: .8rem; line-height: 52px; white-space: nowrap; transition: background .2s,color .2s; }
.pd-nav a:hover, .pd-nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.pd-search-icon { color: rgba(255,255,255,.7); display: inline-flex; align-items: center; padding: 0 6px; font-size: .9rem; transition: color .2s; }
.pd-search-icon:hover { color: #fff; }
.pd-nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; padding: 4px 8px; }

/* === Hero === */
.pd-hero { background: linear-gradient(135deg, #0d9488, #0f766e); color: #fff; padding: 2.5rem 0; width: 100%; }
.pd-hero-inner { display: flex; align-items: center; gap: 2rem; }
.pd-hero-left { flex: 1; }
.pd-hero-right { flex-shrink: 0; }
.pd-hero-title { font-size: 2rem; font-weight: 800; margin-bottom: .75rem; line-height: 1.2; }
.pd-hero-desc { font-size: 1rem; color: rgba(255,255,255,.85); margin-bottom: 1.5rem; max-width: 520px; line-height: 1.5; }
.pd-hero-accent { color: #fbbf24; }
.pd-hero-phone { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.1); padding: .5rem 1rem; border-radius: 6px; font-size: .85rem; margin-top: .75rem; }
.pd-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pd-stat-card { background: rgba(255,255,255,.12); padding: 1.25rem; border-radius: 8px; text-align: center; }
.pd-stat-num { font-size: 1.8rem; font-weight: 800; display: block; line-height: 1.1; }
.pd-stat-label { font-size: .78rem; opacity: .8; }

/* === Sections === */
.pd-section { padding: 2rem 0; }
.pd-section-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; text-align: center; }
.pd-section-title:after { content: ''; display: block; width: 40px; height: 3px; background: #0d9488; margin: .5rem auto 0; border-radius: 2px; }
.pd-section-services { background: #f8fafc; }
.pd-section-news { background: #fff; }
.pd-section-process { background: #f1f5f9; }
.pd-section-cats { background: #fff; }
.pd-section-links { background: #f8fafc; }
.pd-section-friend { background: #f1f5f9; }

/* === Services / Tabs === */
.pd-tabs { margin-top: 1rem; }
.pd-tab-btns { display: flex; gap: 2px; border-bottom: 2px solid #e2e8f0; margin-bottom: 1rem; }
.pd-tab-btn { padding: .5rem 1rem; background: none; border: none; cursor: pointer; font-weight: 500; font-size: .82rem; color: #64748b; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .2s; }
.pd-tab-btn:hover { color: #0d9488; }
.pd-tab-btn.active { color: #0d9488; border-bottom-color: #0d9488; font-weight: 600; }
.pd-tab-panel { display: none; }
.pd-tab-panel.active { display: block; }
.pd-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.pd-service-link { display: flex; align-items: center; justify-content: center; gap: .4rem; background: #fff; padding: .85rem; border-radius: 6px; border: 1px solid #e2e8f0; color: #334155; font-size: .82rem; font-weight: 500; transition: all .2s; text-decoration: none; }
.pd-service-link:hover { border-color: #0d9488; box-shadow: 0 2px 8px rgba(13,148,136,.1); color: #0d9488; }
.pd-feature-highlight { display: flex; justify-content: center; gap: 2rem; background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; padding: .75rem; border-radius: 8px; margin-top: 1rem; }
.pd-feature-item { display: flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 500; }

/* === Process === */
.pd-process { display: flex; gap: 0; position: relative; padding: .5rem 0; }
.pd-step { flex: 1; text-align: center; position: relative; z-index: 1; }
.pd-step-circle { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #0d9488; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; margin: 0 auto .5rem; position: relative; z-index: 1; }
.pd-step-label { font-size: .78rem; font-weight: 600; color: #334155; }
.pd-step-line { position: absolute; top: 1.25rem; left: 50%; width: 100%; height: 2px; background: #cbd5e1; z-index: 0; }

/* === Quick Links / Badges === */
.pd-quick-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pd-badge { display: inline-block; padding: .25rem .75rem; border-radius: 20px; font-size: .75rem; font-weight: 500; background: #fff; color: #475569; border: 1px solid #e2e8f0; transition: all .2s; text-decoration: none; }
.pd-badge:hover { background: #0d9488; color: #fff; border-color: #0d9488; }
.pd-badge-sub { background: #f0fdfa; color: #0d9488; border-color: #ccfbf1; }
.pd-badge-sub:hover { background: #0d9488; color: #fff; border-color: #0d9488; }

/* === Article Grid === */
.pd-article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pd-article-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; transition: box-shadow .2s; }
.pd-article-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.pd-card-thumb { width: 100%; position: relative; overflow: hidden; line-height: 0; background: #f1f5f9; }
.pd-card-thumb svg { width: 100%; height: auto; display: block; }
.pd-card-body { padding: 1rem; }
.pd-card-title { font-size: .92rem; font-weight: 600; margin-bottom: .4rem; line-height: 1.4; }
.pd-card-title a { color: #1e293b; text-decoration: none; }
.pd-card-title a:hover { color: #0d9488; }
.pd-card-meta { display: flex; align-items: center; gap: .75rem; font-size: .75rem; color: #94a3b8; margin-bottom: .35rem; }
.pd-card-excerpt { font-size: .8rem; color: #64748b; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* === Hot Bar === */
.pd-hot-bar { display: flex; align-items: center; gap: .75rem; background: #f1f5f9; border-radius: 6px; padding: .5rem .75rem; margin-top: 1rem; }
.pd-hot-label { font-weight: 600; color: #ef4444; font-size: .8rem; white-space: nowrap; display: inline-flex; align-items: center; gap: .25rem; }
.pd-hot-scroll { display: flex; gap: 1rem; white-space: nowrap; overflow-x: auto; flex: 1; scrollbar-width: thin; }
.pd-hot-item { font-size: .78rem; color: #475569; text-decoration: none; flex-shrink: 0; }
.pd-hot-item:hover { color: #0d9488; }

/* === Category Grid === */
.pd-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.pd-cat-card { background: #fff; padding: 1rem; border-radius: 8px; text-align: center; border: 1px solid #e2e8f0; transition: box-shadow .2s; }
.pd-cat-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.pd-cat-name { font-weight: 600; color: #0d9488; font-size: .85rem; text-decoration: none; }
.pd-cat-name:hover { text-decoration: underline; }
.pd-cat-children { display: flex; flex-direction: column; gap: 2px; margin-top: .5rem; }
.pd-cat-children a { font-size: .75rem; color: #64748b; text-decoration: none; padding: 2px 0; }
.pd-cat-children a:hover { color: #0d9488; }

/* === Friend Links === */
.pd-friend-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pd-friend-links a { font-size: .78rem; color: #64748b; text-decoration: none; padding: .25rem .75rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 4px; transition: all .2s; }
.pd-friend-links a:hover { color: #0d9488; border-color: #0d9488; }

/* === Footer === */
.pd-footer { background: #1e293b; color: #cbd5e1; padding: 2rem 0 0; font-size: .82rem; }
.pd-footer-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pd-footer-col h4 { color: #fff; font-size: .85rem; font-weight: 600; margin-bottom: .6rem; padding-bottom: .4rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.pd-footer-col ul { list-style: none; padding: 0; margin: 0; }
.pd-footer-col li { margin-bottom: .35rem; }
.pd-footer-col a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .78rem; transition: color .2s; }
.pd-footer-col a:hover { color: #0d9488; }
.pd-footer-contact li { display: flex; align-items: center; gap: .4rem; font-size: .78rem; }
.pd-footer-bar { border-top: 1px solid rgba(255,255,255,.08); padding: .75rem 0; margin-top: 1.5rem; text-align: center; font-size: .72rem; color: rgba(255,255,255,.4); }
.pd-footer-bar a { color: rgba(255,255,255,.5); margin: 0 .5rem; }
.pd-footer-bar a:hover { color: #0d9488; }

/* === Back to Top === */
.pd-back-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 2.5rem; height: 2.5rem; border-radius: 6px; background: #0d9488; color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: .72rem; box-shadow: 0 2px 8px rgba(0,0,0,.2); transition: all .2s; z-index: 999; }
.pd-back-top:hover { background: #0f766e; color: #fff; }

/* === Subpage / List === */
.pd-subpage { padding: 1.5rem 0; }
.pd-subpage-inner { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; }
.pd-main { min-width: 0; }
.pd-breadcrumb { display: flex; align-items: center; gap: .35rem; font-size: .75rem; color: #94a3b8; padding: 0 0 .75rem; }
.pd-breadcrumb a { color: #64748b; text-decoration: none; }
.pd-breadcrumb a:hover { color: #0d9488; }
.pd-page-title { font-size: 1.3rem; font-weight: 700; color: #0f172a; margin-bottom: .75rem; }
.pd-page-title small { font-weight: 400; font-size: .72rem; color: #94a3b8; margin-left: .5rem; }
.pd-list-compact { }
.pd-list-item { display: flex; align-items: center; gap: .5rem; padding: .6rem 0; border-bottom: 1px solid #f1f5f9; }
.pd-list-cat { display: inline-block; padding: 1px 6px; font-size: .65rem; font-weight: 600; color: #0d9488; background: #f0fdfa; border-radius: 3px; white-space: nowrap; flex-shrink: 0; }
.pd-list-title { flex: 1; font-size: .85rem; color: #1e293b; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-list-title:hover { color: #0d9488; }
.pd-list-meta { margin-left: auto; white-space: nowrap; font-size: .72rem; color: #94a3b8; flex-shrink: 0; display: inline-flex; align-items: center; gap: .3rem; }
.pd-empty { text-align: center; padding: 2rem; color: #94a3b8; font-size: .85rem; }

/* === Pagination === */
.pd-pagination { display: flex; align-items: center; gap: 3px; padding: 1rem 0; flex-wrap: wrap; }
.pd-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px; font-size: .78rem; border-radius: 4px; border: 1px solid #e2e8f0; color: #475569; background: #fff; text-decoration: none; transition: all .2s; }
.pd-page-link:hover { background: #f1f5f9; border-color: #cbd5e1; color: #0d9488; }
.pd-page-link.active { background: #0d9488; border-color: #0d9488; color: #fff; font-weight: 600; }

/* === Sidebar === */
.pd-sidebar { display: flex; flex-direction: column; gap: .75rem; }
.pd-widget { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 1rem; }
.pd-widget h3 { font-size: .82rem; font-weight: 700; color: #0f172a; margin-bottom: .5rem; padding-bottom: .4rem; border-bottom: 1px solid #e2e8f0; }
.pd-widget p { font-size: .78rem; color: #475569; margin-bottom: .25rem; }
.pd-widget a { font-size: .78rem; color: #64748b; text-decoration: none; }
.pd-widget a:hover { color: #0d9488; }
.pd-widget ul { list-style: none; padding: 0; margin: 0; }
.pd-widget ul li { }
.pd-widget ul li a { display: block; padding: .35rem 0; border-bottom: 1px solid #f8fafc; }
.pd-widget ul li:last-child a { border-bottom: none; }
.pd-widget-contact { }
.pd-widget-links { }
.pd-widget-hot { }
.pd-widget-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; text-align: center; }
.pd-widget-stat-grid div { background: #f8fafc; padding: .5rem; border-radius: 4px; }
.pd-widget-stat-grid .pd-stat-num { font-size: 1.2rem; display: block; }

/* === Detail Page === */
.pd-detail { }
.pd-detail-title { font-size: 1.5rem; font-weight: 800; color: #0f172a; margin-bottom: .75rem; line-height: 1.3; }
.pd-detail-meta { display: flex; gap: .75rem; font-size: .75rem; color: #94a3b8; margin-bottom: 1rem; flex-wrap: wrap; }
.pd-detail-meta span { display: inline-flex; align-items: center; gap: .25rem; }
.pd-detail-meta a { color: #0d9488; text-decoration: none; }
.pd-detail-content { font-size: .9rem; line-height: 1.7; color: #334155; }
.pd-detail-content p { margin-bottom: .75rem; }
.pd-detail-content h2 { font-size: 1.15rem; font-weight: 700; margin: 1.25rem 0 .5rem; color: #0f172a; }
.pd-detail-content h3 { font-size: 1rem; font-weight: 600; margin: 1rem 0 .4rem; color: #0f172a; }
.pd-detail-content img { max-width: 100%; border-radius: 6px; margin: .75rem 0; }
.pd-detail-content ul,
.pd-detail-content ol { padding-left: 1.25rem; margin-bottom: .75rem; }
.pd-detail-content li { margin-bottom: .25rem; }
.pd-detail-content ul li { list-style: disc; }
.pd-detail-content ol li { list-style: decimal; }
.pd-detail-content blockquote { border-left: 3px solid #0d9488; padding: .5rem 1rem; margin: .75rem 0; background: #f1f5f9; border-radius: 0 4px 4px 0; color: #475569; }
.pd-detail-content pre { background: #1e293b; color: #e2e8f0; padding: .75rem 1rem; border-radius: 6px; overflow-x: auto; font-size: .8rem; margin: .75rem 0; }
.pd-detail-content code { font-family: 'Cascadia Code','Fira Code','Source Code Pro',Consolas,monospace; font-size: .8rem; }
.pd-detail-content :not(pre) > code { background: #f1f5f9; color: #0d9488; padding: 1px 5px; border-radius: 3px; }
.pd-detail-tags { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; padding-top: .75rem; border-top: 1px solid #e2e8f0; }
.pd-detail-tags span { font-size: .78rem; color: #64748b; display: inline-flex; align-items: center; gap: .25rem; }
.pd-tag { padding: 2px 8px; background: #f1f5f9; border-radius: 4px; font-size: .72rem; color: #64748b; text-decoration: none; transition: all .2s; }
.pd-tag:hover { background: #0d9488; color: #fff; }
.pd-detail-nav { display: flex; justify-content: space-between; padding: .75rem 0; border-top: 1px solid #e2e8f0; margin-top: 1rem; gap: 1rem; }
.pd-detail-prev, .pd-detail-next { display: flex; flex-direction: column; gap: .2rem; max-width: 45%; }
.pd-detail-prev span, .pd-detail-next span { font-size: .7rem; color: #94a3b8; text-transform: uppercase; }
.pd-detail-prev a, .pd-detail-next a { font-size: .82rem; color: #0d9488; text-decoration: none; font-weight: 500; }
.pd-detail-prev a:hover, .pd-detail-next a:hover { color: #0f766e; }
.pd-detail-next { text-align: right; align-items: flex-end; }
.pd-nav-none { color: #94a3b8; font-size: .78rem; }
.pd-related { margin-top: 2rem; }
.pd-related h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: .75rem; }
.pd-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.pd-related-item { display: flex; flex-direction: column; gap: .2rem; padding: .75rem; background: #f8fafc; border-radius: 6px; text-decoration: none; transition: background .2s; }
.pd-related-item:hover { background: #f1f5f9; }
.pd-related-title { font-size: .82rem; font-weight: 500; color: #1e293b; }
.pd-related-date { font-size: .72rem; color: #94a3b8; }

/* === Button variants === */
.pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: .5rem 1rem; border-radius: 6px; font-weight: 500; font-size: .82rem; text-decoration: none; border: none; cursor: pointer; transition: all .2s; white-space: nowrap; }
.pd-btn-primary { background: #0d9488; color: #fff; }
.pd-btn-primary:hover { background: #0f766e; color: #fff; }
.pd-btn-sm { padding: .3rem .6rem; font-size: .75rem; }

/* === Icon SVG === */
.icon-svg { width: 1em; height: 1em; vertical-align: middle; fill: currentColor; }

/* === Responsive: all pd-* elements === */
@media (max-width: 991px) {
  .pd-hero-inner { flex-direction: column; text-align: center; }
  .pd-hero-desc { margin-left: auto; margin-right: auto; }
  .pd-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .pd-service-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-article-grid { grid-template-columns: 1fr 1fr; }
  .pd-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-footer-inner { grid-template-columns: repeat(2, 1fr); }
  .pd-subpage-inner { grid-template-columns: 1fr; }
  .pd-process { grid-template-columns: repeat(2, 1fr); flex-wrap: wrap; }
  .pd-process::before { display: none; }
  .pd-related-grid { grid-template-columns: 1fr; }
  .pd-feature-highlight { flex-wrap: wrap; gap: .75rem; }
}

@media (max-width: 767px) {
  .pd-header-inner { height: 46px; }
  .pd-nav-toggle { display: block; }
  .pd-nav { position: fixed; top: 46px; left: 0; right: 0; background: #1e293b; flex-direction: column; display: none; box-shadow: 0 4px 6px rgba(0,0,0,.15); z-index: 999; gap: 0; }
  .pd-nav.open { display: flex; }
  .pd-nav a { line-height: 38px; padding: 0 1rem !important; font-size: .8rem !important; border-top: 1px solid rgba(255,255,255,.08); width: 100%; }
  .pd-hero { padding: 1.5rem 0; }
  .pd-hero-title { font-size: 1.4rem; }
  .pd-section { padding: 1.5rem 0; }
  .pd-stats-grid { grid-template-columns: 1fr 1fr; }
  .pd-service-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .pd-service-link { padding: .6rem; font-size: .78rem; }
  .pd-article-grid { grid-template-columns: 1fr; }
  .pd-cat-grid { grid-template-columns: 1fr 1fr; }
  .pd-footer-inner { grid-template-columns: 1fr; gap: 1rem; }
  .pd-process { flex-direction: column; gap: 1rem; }
  .pd-step-line { display: none; }
  .pd-step { display: flex; align-items: center; gap: .75rem; }
  .pd-step-circle { margin: 0; flex-shrink: 0; }
  .pd-list-item { flex-wrap: wrap; gap: .25rem; }
  .pd-list-meta { margin-left: 0; }
  .pd-page-title { font-size: 1.1rem; }
  .pd-detail-title { font-size: 1.15rem; }
  .pd-detail-nav { flex-direction: column; gap: .5rem; }
  .pd-detail-prev, .pd-detail-next { max-width: 100%; }
  .pd-detail-next { text-align: left; align-items: flex-start; }
  .pd-feature-highlight { flex-direction: column; align-items: center; gap: .25rem; }
  .pd-tab-btns { overflow-x: auto; flex-wrap: nowrap; }
  .pd-tab-btn { padding: .4rem .75rem; font-size: .78rem; white-space: nowrap; }
  .pd-hero-phone { display: inline-flex; }
  .pd-hot-bar { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .pd-hot-scroll { width: 100%; }
}


/* ========== 内容区样式补?(auto-added) ========== */

/* 段落间距 */
.article-content p,
.article-text p,
.article-body p,
.detail-body p,
.article-detail .content p,
.page-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* 标题样式 */
.article-content h2,
.article-text h2,
.article-body h2,
.detail-body h2,
.article-detail .content h2,
.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 14px;
  line-height: 1.4;
}

.article-content h3,
.article-text h3,
.article-body h3,
.detail-body h3,
.article-detail .content h3,
.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
  line-height: 1.4;
}

.article-content h4,
.article-text h4,
.article-body h4,
.detail-body h4,
.article-detail .content h4,
.page-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 8px;
}

/* 列表样式 */
.article-content ul,
.article-text ul,
.article-body ul,
.detail-body ul,
.article-detail .content ul,
.page-content ul {
  list-style: disc;
  margin: 0 0 16px 24px;
}

.article-content ol,
.article-text ol,
.article-body ol,
.detail-body ol,
.article-detail .content ol,
.page-content ol {
  list-style: decimal;
  margin: 0 0 16px 24px;
}

.article-content li,
.article-text li,
.article-body li,
.detail-body li,
.article-detail .content li,
.page-content li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* 图片样式 */
.article-content img,
.article-text img,
.article-body img,
.detail-body img,
.article-detail .content img,
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 16px 0;
}

/* 链接样式 */
.article-content a,
.article-text a,
.article-body a,
.detail-body a,
.article-detail .content a,
.page-content a {
  color: var(--primary, #2563eb);
  text-decoration: underline;
}

/* 引用?*/
.article-content blockquote,
.article-text blockquote,
.article-body blockquote,
.detail-body blockquote,
.article-detail .content blockquote,
.page-content blockquote {
  border-left: 4px solid var(--primary, #2563eb);
  padding: 12px 20px;
  margin: 16px 0;
  background: var(--bg, #f9fafb);
  font-style: italic;
}

/* 代码?*/
.article-content code,
.article-text code,
.article-body code,
.detail-body code,
.article-detail .content code,
.page-content code {
  background: var(--bg, #f3f4f6);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

.article-content pre,
.article-text pre,
.article-body pre,
.detail-body pre,
.article-detail .content pre,
.page-content pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 16px 0;
}

.article-content pre code,
.article-text pre code,
.article-body pre code,
.detail-body pre code,
.article-detail .content pre code,
.page-content pre code {
  background: none;
  padding: 0;
}

/* 表格样式 */
.article-content table,
.article-text table,
.article-body table,
.detail-body table,
.article-detail .content table,
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.article-content th,
.article-text th,
.article-body th,
.detail-body th,
.article-detail .content th,
.page-content th {
  background: var(--bg, #f3f4f6);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--border, #e5e7eb);
}

.article-content td,
.article-text td,
.article-body td,
.detail-body td,
.article-detail .content td,
.page-content td {
  padding: 10px 12px;
  border: 1px solid var(--border, #e5e7eb);
}

/* ========== 品牌标语防溢?========== */
.brand-tagline,
[class*="brand-tagline"] {
  max-width: 300px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  color: var(--text-light, #6b7280);
  letter-spacing: 0.5px;
}

/* ========== 导航响应式修?========== */
@media (max-width: 768px) {
  .brand-tagline,
  [class*="brand-tagline"] {
    max-width: 200px;
    font-size: 11px;
  }
}



/* 一级栏?- 醒目样式 */
.sidebar-cats > li > a,
.side-nav > li > a,
.sidebar-widget .side-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  background: #f9fafb;
  border-radius: 6px;
  margin-bottom: 8px;
  border-left: 3px solid var(--primary, #2563eb);
  transition: all 0.2s;
}

.sidebar-cats > li > a:hover,
.side-nav > li > a:hover,
.sidebar-widget .side-nav > li > a:hover {
  background: var(--primary, #2563eb);
  color: #fff;
  padding-left: 18px;
}

/* 二级栏目 - 三列网格 */
.sidebar-cats > li > ul,
.sidebar-cats > li > .sidebar-subcats,
.side-nav > li > ul,
.sidebar-widget .side-nav > li > ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 8px;
  padding: 8px 10px;
  margin: 0 0 8px 0;
  list-style: none;
}

.sidebar-cats > li > ul > li,
.sidebar-cats > li > .sidebar-subcats > li,
.side-nav > li > ul > li,
.sidebar-widget .side-nav > li > ul > li {
  margin: 0;
}

.sidebar-cats > li > ul > li > a,
.sidebar-cats > li > .sidebar-subcats > li > a,
.side-nav > li > ul > li > a,
.sidebar-widget .side-nav > li > ul > li > a {
  display: block;
  padding: 5px 8px;
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 4px;
  transition: all 0.2s;
}

.sidebar-cats > li > ul > li > a:hover,
.sidebar-cats > li > .sidebar-subcats > li > a:hover,
.side-nav > li > ul > li > a:hover,
.sidebar-widget .side-nav > li > ul > li > a:hover {
  color: var(--primary, #2563eb);
  background: #eff6ff;
}

/* 响应式：小屏幕改为两?*/
@media (max-width: 992px) {
  .sidebar-cats > li > ul,
  .sidebar-cats > li > .sidebar-subcats,
  .side-nav > li > ul,
  .sidebar-widget .side-nav > li > ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .sidebar-cats > li > ul,
  .sidebar-cats > li > .sidebar-subcats,
  .side-nav > li > ul,
  .sidebar-widget .side-nav > li > ul {
    grid-template-columns: 1fr;
  }
}

/* ========== 侧栏分类优化 (auto-added) ========== */

/* 一级栏?- 醒目样式，颜色跟随主?*/
.sidebar-cats > li > a,
.side-nav > li > a,
.sidebar-widget .side-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1f2937);
  background: var(--bg, #f9fafb);
  border-radius: 6px;
  margin-bottom: 6px;
  border-left: 3px solid var(--primary, #2563eb);
  transition: all 0.2s;
}

.sidebar-cats > li > a:hover,
.side-nav > li > a:hover,
.sidebar-widget .side-nav > li > a:hover {
  background: var(--primary, #2563eb);
  color: #fff;
  padding-left: 16px;
}

/* 二级栏目 - 自适应布局，处理长名称 */
.sidebar-cats > li > ul,
.sidebar-cats > li > .sidebar-subcats,
.side-nav > li > ul,
.sidebar-widget .side-nav > li > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  margin: 0 0 6px 0;
  list-style: none;
}

.sidebar-cats > li > ul > li,
.sidebar-cats > li > .sidebar-subcats > li,
.side-nav > li > ul > li,
.sidebar-widget .side-nav > li > ul > li {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
}

.sidebar-cats > li > ul > li > a,
.sidebar-cats > li > .sidebar-subcats > li > a,
.side-nav > li > ul > li > a,
.sidebar-widget .side-nav > li > ul > li > a {
  display: block;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--text-light, #6b7280);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
  border-radius: 4px;
  border: 1px solid var(--border, #e5e7eb);
  transition: all 0.2s;
}

.sidebar-cats > li > ul > li > a:hover,
.sidebar-cats > li > .sidebar-subcats > li > a:hover,
.side-nav > li > ul > li > a:hover,
.sidebar-widget .side-nav > li > ul > li > a:hover {
  color: var(--primary, #2563eb);
  border-color: var(--primary, #2563eb);
  background: rgba(37, 99, 235, 0.05);
}

/* 响应?*/
@media (max-width: 768px) {
  .sidebar-cats > li > ul > li > a,
  .sidebar-cats > li > .sidebar-subcats > li > a,
  .side-nav > li > ul > li > a,
  .sidebar-widget .side-nav > li > ul > li > a {
    max-width: 100px;
    font-size: 12px;
  }
}
