/* =============================================
   style-modern.css - 现代科技风格 (Professional Modern)
   Dark gradients · Glassmorphism · Rounded · Tech feel
   ============================================= */

/* === Reset & Base === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: #f8fafc;
  overflow-x: hidden;
}

a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #8b5cf6;
}

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

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
}

p {
  margin-bottom: 1rem;
}

/* === Top Bar === */
.top-bar {
  background: #0f172a;
  color: rgba(255,255,255,0.7);
  font-size: 0.8125rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: rgba(255,255,255,0.7);
  margin-left: 16px;
}

.top-bar a:hover {
  color: #fff;
}

.top-bar-left span {
  margin-right: 18px;
}

.top-bar-left i,
.top-bar-left svg {
  margin-right: 4px;
  color: #3b82f6;
}

/* === Header / Nav === */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  box-shadow: 0 4px 20px rgba(15,23,42,0.4);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: linear-gradient(135deg, rgba(15,23,42,0.97) 0%, rgba(30,27,75,0.97) 100%);
  backdrop-filter: blur(12px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo .logo-text{font-size:18px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:220px}

.logo img {
  height: 40px;
  width: auto;
}

.logo span {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

#main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

#main-nav a {
  padding: 6px 12px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

#main-nav a:hover,
#main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

#main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
}

/* === Mobile Hamburger === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Hero === */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(59,130,246,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(139,92,246,0.08) 0%, transparent 50%),
              radial-gradient(circle at 50% 80%, rgba(6,182,212,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-image-placeholder {
  width: 100%;
  max-width: 480px;
  height: 320px;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
}

/* === Stats Row === */
.stats-row {
  background: #fff;
  padding: 40px 0;
  border-bottom: 1px solid #e2e8f0;
}

.stats-row .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-item .number {
  font-size: 2.25rem;
  font-weight: 800;
  background: #2563eb;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-item .label {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 4px;
  font-weight: 500;
}

/* === Services Section (glassmorphism) === */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 3px;
  margin: 12px auto 0;
}

.section-title p {
  color: #64748b;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-bg-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

.section-bg-dark .section-title h2 {
  color: #fff;
}

.section-bg-dark .section-title p {
  color: rgba(255,255,255,0.6);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 40px rgba(59,130,246,0.1);
}

.service-card .icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(59,130,246,0.3);
}

.service-card h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.65;
}

/* === Features Section === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-box {
  background: #fff;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: all 0.35s ease;
  border: 1px solid #f1f5f9;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(59,130,246,0.12);
  border-color: rgba(59,130,246,0.15);
}

.feature-box .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
  color: #fff;
}

.feature-box:nth-child(2) .icon-box {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
}

.feature-box:nth-child(3) .icon-box {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.feature-box:nth-child(4) .icon-box {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
}

.feature-box h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.5;
}

/* === News Section === */
.news-section {
  background: #f1f5f9;
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card {
  display: flex;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.35s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.news-card-img {
  width: 220px;
  min-height: 160px;
  flex-shrink: 0;
  object-fit: cover;
  background: #2563eb;
}

.news-card-img-placeholder {
  width: 220px;
  min-height: 160px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(59,130,246,0.3);
  font-size: 2rem;
}

.news-card-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-body .category-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #2563eb;
  color: #fff;
  margin-bottom: 10px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.news-card-body h3 a {
  color: #0f172a;
}

.news-card-body h3 a:hover {
  color: #3b82f6;
}

.news-card-body p {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 12px;
  flex: 1;
  line-height: 1.6;
}

.news-card-body .meta {
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  gap: 16px;
  align-items: center;
}

.news-card-body .meta i,
.news-card-body .meta svg {
  margin-right: 4px;
}

/* === Sidebar === */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #f1f5f9;
}
.sidebar-cats{list-style:none;margin:0;padding:0}
.sidebar-cats li{border-bottom:1px solid #f1f5f9}
.sidebar-cats li:last-child{border-bottom:none}
.sidebar-cats a{display:block;padding:10px 0;color:#475569;font-size:14px;transition:all .2s}
.sidebar-cats a:hover{color:#3b82f6;padding-left:4px}

.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}

.sidebar-card h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.sidebar-popular li {
  padding: 12px 0;
  border-bottom: 1px solid #f8fafc;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

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

.sidebar-popular .num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-popular .text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.4;
}

.sidebar-popular .text:hover {
  color: #3b82f6;
}

.sidebar-popular .date {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  background: #f1f5f9;
  color: #475569;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tag-cloud a:hover {
  background: #2563eb;
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* === Partner Section === */
.partner-section {
  padding: 50px 0;
  background: #fff;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.partner-item {
  padding: 20px;
  opacity: 0.5;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.partner-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.partner-item img {
  max-height: 50px;
  width: auto;
}

/* === City Links Section === */
.city-links {
  background: #f8fafc;
  padding: 50px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.city-links .container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.city-links a {
  display: block;
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}

.city-links a:hover {
  background: #2563eb;
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59,130,246,0.2);
}

/* === Footer === */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  border-radius: 2px;
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: #3b82f6;
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.footer-contact li i,
.footer-contact li svg {
  color: #3b82f6;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
}

.footer-bottom a:hover {
  color: #3b82f6;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.06);
}

.footer-social a:hover {
  background: #2563eb;
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(59,130,246,0.25);
}

/* === Floating Chat + Back to Top === */
.floating-chat {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 24px rgba(59,130,246,0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.floating-chat:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(59,130,246,0.5);
}

.floating-chat .pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(59,130,246,0.3);
  animation: pulse-chat 2s infinite;
}

@keyframes pulse-chat {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #2563eb;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.3);
}

/* === Breadcrumb === */
.breadcrumb {
  background: #fff;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.85rem;
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #64748b;
}

.breadcrumb a:hover {
  color: #3b82f6;
}

.breadcrumb span {
  color: #94a3b8;
}

.breadcrumb .current {
  color: #0f172a;
  font-weight: 600;
}

.breadcrumb .sep {
  color: #cbd5e1;
}

/* === List Page === */
.page-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  padding: 50px 0;
  color: #fff;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
}

.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}

.list-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding: 40px 0;
}

.list-articles {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === Detail Page === */
.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding: 40px 0;
}

.article-detail {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.article-detail h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-detail .meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.article-detail .meta i,
.article-detail .meta svg {
  margin-right: 4px;
  color: #3b82f6;
}

.article-detail .featured-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 28px;
}

.article-detail .content {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
}

.article-detail .content h2 {
  font-size: 1.35rem;
  margin: 28px 0 14px;
}

.article-detail .content h3 {
  font-size: 1.15rem;
  margin: 24px 0 12px;
}

.article-detail .content p {
  margin-bottom: 16px;
}

.article-detail .content ul,
.article-detail .content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.article-detail .content ul li {
  list-style: disc;
  margin-bottom: 6px;
}

.article-detail .content ol li {
  list-style: decimal;
  margin-bottom: 6px;
}

.article-detail .content img {
  border-radius: 12px;
  margin: 24px 0;
}

.article-detail .content blockquote {
  border-left: 4px solid #3b82f6;
  padding: 16px 20px;
  margin: 20px 0;
  background: #f8fafc;
  border-radius: 0 12px 12px 0;
  color: #475569;
  font-style: italic;
}

/* === Search Page === */
.search-page {
  padding: 40px 0;
}

.search-form {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.search-form .form-control {
  flex: 1;
}

.search-results-count {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 24px;
}

.search-result-item {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
}

.search-result-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  border-color: rgba(59,130,246,0.15);
}

.search-result-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.search-result-item h3 a {
  color: #0f172a;
}

.search-result-item h3 a:hover {
  color: #3b82f6;
}

.search-result-item p {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 8px;
}

.search-result-item .url {
  font-size: 0.8rem;
  color: #3b82f6;
}

/* === About / Contact / Page === */
.page-content {
  padding: 40px 0;
}

.page-content-wrapper {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.page-content-wrapper h1 {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.page-content-wrapper h2 {
  font-size: 1.35rem;
  margin: 28px 0 14px;
}

.page-content-wrapper h3 {
  font-size: 1.1rem;
  margin: 24px 0 12px;
}

.page-content-wrapper p {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0;
}

/* === Sitemap === */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.sitemap-group {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #f1f5f9;
}

.sitemap-group h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
  color: #0f172a;
}

.sitemap-group ul li {
  margin-bottom: 8px;
}

.sitemap-group ul li a {
  font-size: 0.875rem;
  color: #475569;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sitemap-group ul li a:hover {
  color: #3b82f6;
  padding-left: 4px;
}

/* === Utility Classes === */
.text-center {
  text-align: center;
}

.text-muted {
  color: #64748b;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.badge-primary {
  background: #2563eb;
  color: #fff;
}

.badge-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.badge-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.badge-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

.badge-info {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
}

.badge-outline {
  background: transparent;
  border: 1px solid #3b82f6;
  color: #3b82f6;
}

.icon-xs {
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
}

.icon-s {
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
}

.icon-m {
  width: 48px;
  height: 48px;
  font-size: 1.15rem;
}

.icon-l {
  width: 64px;
  height: 64px;
  font-size: 1.5rem;
}

.icon-xl {
  width: 80px;
  height: 80px;
  font-size: 1.85rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.col-12 { width: 100%; padding: 0 12px; }
.col-11 { width: 91.6667%; padding: 0 12px; }
.col-10 { width: 83.3333%; padding: 0 12px; }
.col-9 { width: 75%; padding: 0 12px; }
.col-8 { width: 66.6667%; padding: 0 12px; }
.col-7 { width: 58.3333%; padding: 0 12px; }
.col-6 { width: 50%; padding: 0 12px; }
.col-5 { width: 41.6667%; padding: 0 12px; }
.col-4 { width: 33.3333%; padding: 0 12px; }
.col-3 { width: 25%; padding: 0 12px; }
.col-2 { width: 16.6667%; padding: 0 12px; }
.col-1 { width: 8.3333%; padding: 0 12px; }

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #1e293b;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.form-control::placeholder {
  color: #94a3b8;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.4;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(59,130,246,0.45);
  transform: translateY(-2px);
  color: #fff;
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}

.btn-outline:hover {
  background: #2563eb;
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-ghost {
  background: transparent;
  color: #3b82f6;
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: rgba(59,130,246,0.08);
  color: #3b82f6;
}

.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #f1f5f9;
  transition: all 0.35s ease;
}

.card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.card-body {
  padding: 24px;
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

table thead {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  color: #fff;
}

table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table td {
  padding: 12px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
  color: #334155;
}

table tbody tr:hover {
  background: #f8fafc;
}

table tbody tr:last-child td {
  border-bottom: none;
}

.highlight {
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 500;
  color: #3b82f6;
}

/* === Switch / Slider === */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  color: #475569;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.switch input:checked + .slider {
  background: #2563eb;
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

/* === Pagination === */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: #2563eb;
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59,130,246,0.25);
}

.pagination .active {
  background: #2563eb;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(59,130,246,0.25);
}

.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid,
  .list-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .city-links .container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 4px;
  }

  .top-bar-left,
  .top-bar-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }

  .nav,
  #main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    flex-direction: column;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  }

  .nav.open,
  #main-nav.active {
    display: flex;
  }

  #main-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .nav a,
  #main-nav a {
    width: 100%;
    padding: 12px 16px;
  }

  .nav a.active::after,
  #main-nav a.active::after {
    display: none;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    flex-direction: column;
  }

  .news-card-img,
  .news-card-img-placeholder {
    width: 100%;
    height: 180px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-links .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-content-wrapper {
    padding: 24px;
  }

  .article-detail {
    padding: 24px;
  }

  .article-detail h1 {
    font-size: 1.35rem;
  }

  .search-form {
    flex-direction: column;
  }

  .stats-row .container {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-item {
    padding: 12px;
  }

  .stat-item .number {
    font-size: 1.75rem;
  }

  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .col-12, .col-11, .col-10, .col-9, .col-8,
  .col-7, .col-6, .col-5, .col-4, .col-3,
  .col-2, .col-1 {
    width: 100%;
    padding: 0 12px;
  }

  .floating-chat {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
    right: 16px;
    bottom: 80px;
  }

  .back-to-top {
    width: 38px;
    height: 38px;
    right: 16px;
    bottom: 20px;
  }
}


/* ===== 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;
  }
}

/* ============================================
   Professional Modern - Comprehensive Patch
   ============================================ */
:root { --color-primary: #3b82f6; --color-secondary: #8b5cf6;
  --text-light: #94a3b8;
  --text: #1e293b;
  --primary: #2563eb;
  --bg: #f8fafc;
;}
.glass { background: rgba(255,255,255,.1); backdrop-filter: blur(10px); border-radius: 16px; padding: 2rem; border: 1px solid rgba(255,255,255,.2); }
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 30% 50%, rgba(99,102,241,.3) 0%, transparent 60%), radial-gradient(ellipse at 70% 20%, rgba(139,92,246,.2) 0%, transparent 50%); pointer-events: none; }
#hero { position: relative; background: linear-gradient(135deg, #1e1b4b, #312e81); color: #fff; padding: 5rem 0 4rem; overflow: hidden; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.hero-title { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.hero-desc { font-size: 1.125rem; color: rgba(255,255,255,.8); margin-bottom: 2rem; }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-header h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: .5rem; }
.section-desc { color: #6b7280; max-width: 600px; margin: 0 auto; font-size: .95rem; }
.feature-card { position: relative; background: #fff; border-radius: 12px; padding: 2rem; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,.06); transition: transform .3s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; color: var(--color-primary); }
.feature-num { font-size: 3rem; font-weight: 800; color: var(--color-primary); opacity: .15; position: absolute; top: .5rem; right: 1rem; line-height: 1; }
.service-icon { font-size: 2rem; color: var(--color-primary); margin-bottom: .75rem; }
.service-title { font-size: 1.1rem; font-weight: 600; margin-bottom: .4rem; }
.service-desc { color: #6b7280; font-size: .9rem; line-height: 1.5; margin-bottom: .75rem; }
.service-link { color: var(--color-primary); font-weight: 500; font-size: .875rem; }
.service-sublinks { list-style: none; padding: 0; margin: .5rem 0 0; }
.service-sublinks li { margin-bottom: .25rem; }
.service-sublinks a { font-size: .8125rem; color: #6b7280; }
.service-sublinks a:hover { color: var(--color-primary); }
.news-layout { display: flex; flex-wrap: wrap; gap: 2rem; }
.news-main { flex: 1; min-width: 0; }
.news-sidebar { width: 300px; flex-shrink: 0; }
.news-card-lg { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.06); margin-bottom: 1.5rem; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.06); transition: transform .2s; }
.news-card:hover { transform: translateY(-2px); }
.news-thumb { position: relative; overflow: hidden; border-radius: 8px 8px 0 0; line-height: 0; }
.news-thumb svg { width: 100%; height: auto; display: block; }
.news-thumb .category-badge { position: absolute; top: .75rem; left: .75rem; z-index: 2; }
.news-body { padding: 1rem 1.25rem; }
.news-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.news-body h3 a { color: #1e293b; }
.news-body h3 a:hover { color: var(--color-primary); }
.news-body h4 { font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.news-body h4 a { color: #1e293b; }
.news-body h4 a:hover { color: var(--color-primary); }
.news-meta { color: #9ca3af; font-size: .8125rem; display: flex; gap: .75rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-item { background: #fff; border-radius: 12px; padding: 1.5rem; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--color-primary); line-height: 1.2; }
.stat-label { color: #6b7280; font-size: .85rem; margin-top: .25rem; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background .2s; }
.social-icon:hover { background: rgba(255,255,255,.2); color: #fff; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.btn-glow { position: relative; overflow: hidden; }
.btn-glow::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,.2) 0%, transparent 70%); opacity: 0; transition: opacity .3s; }
.btn-glow:hover::after { opacity: 1; }
.partner-logo{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:12px;color:rgba(255,255,255,.6);font-size:14px;text-decoration:none;transition:all .3s;min-height:50px}
.partner-logo:hover{background:rgba(59,130,246,.12);border-color:#3b82f6;color:#fff;transform:translateY(-3px);box-shadow:0 8px 24px rgba(59,130,246,.15)}
.client-logos { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; padding: 1rem 0; }
.friend-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.friend-links a { font-size: .85rem; color: #6b7280; padding: .25rem .75rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; }
.friend-links a:hover { color: var(--color-primary); border-color: var(--color-primary); }
.gradient-text { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary, #7c3aed)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.icon-svg { width: 1em; height: 1em; vertical-align: middle; fill: currentColor; }
.category-badge { display: inline-block; padding: .15rem .55rem; font-size: .7rem; font-weight: 600; color: #fff; background: var(--color-primary); border-radius: 4px; }
.fsocial { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); margin-right: .35rem; transition: all .2s; }
.fsocial:hover { background: var(--color-primary); color: #fff; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; align-items: center; gap: .4rem; margin-bottom: .5rem; font-size: .85rem; color: rgba(255,255,255,.7); }
.sidebar-card { background: #fff; border-radius: 10px; padding: 1.25rem; margin-bottom: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.sidebar-title { font-size: 1.05rem; font-weight: 600; margin-bottom: .75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--color-primary); }
.popular-list { list-style: none; padding: 0; }
.popular-list li { display: flex; align-items: center; gap: .5rem; padding: .4rem 0; border-bottom: 1px solid #f3f4f6; }
.popular-list li:last-child { border-bottom: none; }
.popular-list li a { flex: 1; font-size: .85rem; color: #374151; }
.popular-list li a:hover { color: var(--color-primary); }
.popular-num { width: 1.5rem; height: 1.5rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #e5e7eb; color: #6b7280; font-weight: 700; font-size: .7rem; flex-shrink: 0; }

/* === Page Banner (list/detail) === */
.page-banner { background: linear-gradient(135deg, #1e1b4b, #312e81); color: #fff; padding: 3rem 0 2rem; }
.page-banner h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: .5rem; }
.detail-banner { padding: 2.5rem 0 1.5rem; }
.article-subtitle { color: rgba(255,255,255,.7); font-size: .95rem; margin-bottom: .5rem; }
.banner-content { position: relative; }

/* === List Page Layout === */
.list-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; }
.list-main { min-width: 0; }
.article-list { display: flex; flex-direction: column; gap: 1.25rem; }
.list-card { display: flex; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05); transition: box-shadow .2s; }
.list-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.list-thumb { width: 260px; min-height: 180px; flex-shrink: 0; position: relative; overflow: hidden; line-height: 0; }
.list-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.list-body { flex: 1; padding: 1.25rem; display: flex; flex-direction: column; }
.list-body .category-badge { margin-bottom: .5rem; align-self: flex-start; }
.list-body h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .4rem; }
.list-body h3 a { color: #1e293b; }
.list-body h3 a:hover { color: var(--color-primary); }
.list-body > p { font-size: .85rem; color: #6b7280; line-height: 1.5; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: .5rem; }
.list-meta { display: flex; gap: 1rem; font-size: .8rem; color: #9ca3af; margin-bottom: .5rem; }
.read-more { display: inline-flex; align-items: center; gap: .25rem; font-size: .85rem; color: var(--color-primary); font-weight: 500; align-self: flex-start; }
.read-more:hover { color: #2563eb; }
.empty-state { text-align: center; padding: 3rem 1rem; color: #9ca3af; }
.empty-state p { font-size: .95rem; margin-top: .5rem; }

/* === Pagination === */
.pagination { display: flex; gap: 4px; padding: 1.5rem 0; flex-wrap: wrap; }
.page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; padding: 0 .5rem; font-size: .85rem; border-radius: 6px; border: 1px solid #e5e7eb; color: #374151; background: #fff; text-decoration: none; transition: all .2s; }
.page-link:hover { border-color: var(--color-primary); color: var(--color-primary); }
.page-link.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; font-weight: 600; }

/* === Sidebar Cats === */
.sidebar-cats { list-style: none; padding: 0; }
.sidebar-cats li { margin-bottom: .25rem; }
.sidebar-cats > li > a { display: flex; align-items: center; justify-content: space-between; padding: .4rem 0; font-size: .88rem; color: #374151; border-bottom: 1px solid #f3f4f6; }
.sidebar-cats > li > a:hover { color: var(--color-primary); }
.sidebar-subcats { list-style: none; padding-left: .75rem; margin-top: .15rem; }
.sidebar-subcats li a { font-size: .8rem; color: #6b7280; padding: .2rem 0; display: block; }
.sidebar-subcats li a:hover { color: var(--color-primary); }

/* === Detail Page Layout === */
.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; }
.detail-main { min-width: 0; }
.detail-card { background: #fff; border-radius: 10px; padding: 2rem; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.detail-meta-top { display: flex; align-items: center; gap: 1rem; font-size: .85rem; color: #9ca3af; margin-bottom: 1.5rem; flex-wrap: wrap; }
.detail-meta-top span { display: inline-flex; align-items: center; gap: .25rem; }
.detail-content { font-size: .95rem; line-height: 1.75; color: #374151; }
.detail-content p { margin-bottom: .75rem; }
.detail-content h2 { font-size: 1.25rem; font-weight: 700; margin: 1.5rem 0 .5rem; color: #1e293b; }
.detail-content h3 { font-size: 1.1rem; font-weight: 600; margin: 1.25rem 0 .4rem; color: #1e293b; }
.detail-content img { max-width: 100%; border-radius: 8px; margin: 1rem 0; }
.detail-content ul, .detail-content ol { padding-left: 1.25rem; margin-bottom: .75rem; }
.detail-content ul li { list-style: disc; margin-bottom: .25rem; }
.detail-content ol li { list-style: decimal; margin-bottom: .25rem; }
.detail-content blockquote { border-left: 3px solid var(--color-primary); padding: .5rem 1rem; margin: .75rem 0; background: #f8fafc; border-radius: 0 6px 6px 0; color: #475569; }
.detail-content pre { background: #1e293b; color: #e2e8f0; padding: 1rem; border-radius: 8px; overflow-x: auto; font-size: .85rem; margin: .75rem 0; }
.detail-content code { font-family: 'Cascadia Code','Fira Code','Source Code Pro',Consolas,monospace; font-size: .85rem; }
.detail-content :not(pre) > code { background: #f1f5f9; color: var(--color-primary); padding: 1px 5px; border-radius: 3px; }

/* === Detail Tags === */
.detail-tags { display: flex; align-items: center; gap: .5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; }
.detail-tags span { font-size: .85rem; color: #6b7280; }
.tag-link { display: inline-block; padding: .15rem .5rem; font-size: .8rem; color: var(--color-primary); background: #eff6ff; border-radius: 4px; transition: all .2s; }
.tag-link:hover { background: var(--color-primary); color: #fff; }

/* === Detail Nav (prev/next) === */
.detail-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.detail-nav-item { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.detail-nav-item.text-right { text-align: right; align-items: flex-end; }
.nav-label { font-size: .75rem; color: #9ca3af; text-transform: uppercase; letter-spacing: .5px; }
.detail-nav-item a { font-size: .9rem; color: var(--color-primary); font-weight: 500; }
.detail-nav-item a:hover { color: #2563eb; }
.nav-disabled { font-size: .85rem; color: #d1d5db; }
.text-right { text-align: right; }

/* === Related Articles === */
.related-section { margin-top: 2rem; }
.related-title { font-size: 1.15rem; font-weight: 700; color: #1e293b; margin-bottom: .75rem; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.related-card { background: #f8fafc; border-radius: 8px; padding: .75rem 1rem; transition: background .2s; }
.related-card:hover { background: #f1f5f9; }
.related-card h4 { font-size: .85rem; margin-bottom: .2rem; }
.related-card h4 a { color: #1e293b; }
.related-card h4 a:hover { color: var(--color-primary); }
.related-card span { font-size: .75rem; color: #9ca3af; }

/* === Detail Sidebar === */
.detail-sidebar { }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag-cloud-item { display: inline-block; padding: .1rem .5rem; border-radius: 4px; transition: background .2s; }
.tag-cloud-item:hover { background: var(--color-primary); color: #fff !important; }

/* === Float Widgets === */
#chat-bubble { position: fixed; bottom: 5rem; right: 1.25rem; width: 3rem; height: 3rem; border-radius: 50%; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(59,130,246,.3); z-index: 999; font-size: 1.25rem; transition: transform .2s; }
#chat-bubble:hover { transform: scale(1.1); }
#back-to-top { position: fixed; bottom: 1.25rem; right: 1.25rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #1e293b; color: #fff; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); z-index: 999; font-size: 1.1rem; transition: all .2s; }
#back-to-top:hover { background: var(--color-primary); }

/* === Responsive === */
@media (max-width: 991px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .list-layout { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .list-thumb { width: 200px; }
}
@media (max-width: 767px) {
  #hero { padding: 3rem 0 2rem; }
  .hero-title { font-size: 1.6rem; }
  .hero-desc { font-size: .95rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 1rem; }
  .stat-number { font-size: 1.5rem; }
  .list-card { flex-direction: column; }
  .list-thumb { width: 100%; height: 200px; }
  .news-card-lg .news-thumb { height: auto; }
  .header-inner { height: 56px; }
  .page-banner { padding: 2rem 0 1.25rem; }
  .page-banner h1 { font-size: 1.3rem; }
  .detail-card { padding: 1rem; }
  .detail-nav { flex-direction: column; gap: .5rem; }
  .detail-nav-item.text-right { align-items: flex-start; text-align: left; }
  .related-grid { grid-template-columns: 1fr; }
  #chat-bubble { width: 2.5rem; height: 2.5rem; font-size: 1rem; bottom: 4.5rem; right: .75rem; }
  #back-to-top { right: .75rem; }
}

/* Nav mobile toggle */
@media (max-width: 767px) {
  .hamburger { display: flex; }
  #main-nav { position: fixed; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; display: none; box-shadow: 0 4px 12px rgba(0,0,0,.1); z-index: 999; max-height: calc(100vh - 64px); overflow-y: auto; }
  #main-nav.active { display: block; }
  .header-inner { height: 56px; }
  @media (max-width: 767px) { #main-nav { top: 56px; max-height: calc(100vh - 56px); } }
  #main-nav ul { flex-direction: column; padding: .5rem 0; }
  #main-nav ul li { border-top: 1px solid #f3f4f6; }
  #main-nav ul li a { padding: .6rem 1rem; display: block; font-size: .9rem; color: #374151; }
  #main-nav ul li a:hover { background: #f8fafc; color: var(--color-primary); }
}


/* ========== 内容区样式补?(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;
  }
}
