/* ============================================
   design_modern - Modern Cards Theme
   Primary: #0ea5e9 | Secondary: #6366f1
   Accent: #f59e0b | Text: #0f172a
   ============================================ */

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

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-darker: #0369a1;
  --primary-light: #e0f2fe;
  --primary-subtle: #f0f9ff;
  --secondary: #6366f1;
  --secondary-dark: #4f46e5;
  --secondary-light: #eef2ff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fef3c7;
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-alt: #f1f5f9;
  --card-bg: #ffffff;
  --text: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(14, 165, 233, 0.10);
  --shadow-hover: 0 8px 40px rgba(14, 165, 233, 0.18);
  --shadow-lg: 0 12px 48px rgba(14, 165, 233, 0.22);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
  --text-light: #94a3b8;
;}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

::selection {
  background: var(--primary);
  color: #fff;
}

/* Container
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Section
   ======================================== */
.section {
  padding: 80px 0;
  position: relative;
}
.section--dark { background: var(--surface); }
.section--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}
.section--accent {
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff;
}

.section__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section--primary .section__title,
.section--accent .section__title { color: #fff; }
.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
}
.section--primary .section__subtitle,
.section--accent .section__subtitle { color: rgba(255,255,255,0.85); }
.section__header {
  text-align: center;
  margin-bottom: 56px;
}

/* ===== GEOMETRIC DECORATIONS ===== */
.geo {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.geo--circle {
  border-radius: 50%;
  border: 2px solid;
}
.geo--circle-filled {
  border-radius: 50%;
}
.geo--line {
  height: 2px;
  transform-origin: left center;
}
.geo--dot {
  border-radius: 50%;
}

/* Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 30px rgba(14, 165, 233, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.header__logo-icon {
  flex-shrink: 0;
  line-height: 0;
}
.header__logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.header__nav-list {
  display: flex;
  gap: 4px;
}
.header__nav-link {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}
.header__nav-link:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}
.header__nav-link.active {
  color: #fff;
  background: var(--primary);
}
.header__nav-item { position: relative; }
.subnav { display: none; position: absolute; top: 100%; left: 0; min-width: 180px; background: #fff; border: 1px solid var(--border-light); border-radius: 12px; box-shadow: 0 8px 40px rgba(14,165,233,0.18); padding: 8px 0; z-index: 200; }
.has-child:hover .subnav { display: block; }
.subnav a { display: block; padding: 10px 20px; font-size: 0.9rem; color: var(--text-secondary); white-space: nowrap; transition: all var(--transition); }
.subnav a:hover { background: var(--primary-subtle); color: var(--primary); }
.header-search { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; border: 1.5px solid var(--border); border-radius: 8px; }
.header-search button { border: none; background: transparent; cursor: pointer; color: var(--text-muted); display: flex; padding: 0; align-items: center; justify-content: center; width: 100%; height: 100%; }
.header-search button:hover { color: var(--primary); }
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.header__toggle-bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.header--menu-open .header__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header--menu-open .header__toggle-bar:nth-child(2) {
  opacity: 0;
}
.header--menu-open .header__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* Header Geometric */
.header__geometric {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.header__circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}
.header__circle--1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -150px;
  right: -80px;
}
.header__circle--2 {
  width: 160px;
  height: 160px;
  background: var(--secondary);
  top: -40px;
  left: 30%;
}
.header__circle--3 {
  width: 80px;
  height: 80px;
  background: var(--accent);
  top: 10px;
  left: 10%;
}

/* Main offset for fixed header */
.main { padding-top: var(--header-h); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #eef2ff 50%, #fef3c7 100%);
  overflow: hidden;
}
.hero__geo {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero__geo--1 {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}
.hero__geo--2 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.10) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
}
.hero__geo--3 {
  position: absolute;
  border: 3px solid rgba(245,158,11,0.15);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  top: 15%;
  right: 25%;
}
.hero__geo--4 {
  position: absolute;
  width: 60px;
  height: 4px;
  background: rgba(245,158,11,0.3);
  border-radius: 2px;
  bottom: 30%;
  left: 10%;
  transform: rotate(-30deg);
}
.hero__geo--5 {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.2;
  top: 40%;
  left: 5%;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__content { position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero__title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero__title em {
  font-style: normal;
  color: var(--primary);
}
.hero__desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.hero__card-sample {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__card-sample--1 {
  transform: rotate(-3deg) translateY(10px);
  z-index: 1;
}
.hero__card-sample--2 {
  transform: rotate(2deg) translateY(-10px);
  z-index: 2;
  margin-top: -120px;
  margin-left: 40px;
}
.hero__card-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.hero__card-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hero__card-bar span:nth-child(1) { background: var(--danger); }
.hero__card-bar span:nth-child(2) { background: var(--accent); }
.hero__card-bar span:nth-child(3) { background: var(--success); }
.hero__card-chart {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  height: 120px;
  margin-top: 16px;
}
.hero__card-chart-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  min-height: 20px;
}
.hero__card-chart-bar:nth-child(1) { height: 60%; background: var(--primary); }
.hero__card-chart-bar:nth-child(2) { height: 90%; background: var(--secondary); }
.hero__card-chart-bar:nth-child(3) { height: 45%; background: var(--accent); }
.hero__card-chart-bar:nth-child(4) { height: 75%; background: var(--success); }
.hero__card-chart-bar:nth-child(5) { height: 55%; background: var(--primary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14,165,233,0.35);
}
.btn--primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(14,165,233,0.45);
  transform: translateY(-2px);
  color: #fff;
}
.btn--secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 2px solid var(--border);
}
.btn--secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(245,158,11,0.35);
}
.btn--accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  color: #fff;
}
.btn--white {
  background: #fff;
  color: var(--primary);
}
.btn--white:hover {
  background: var(--primary-subtle);
  transform: translateY(-2px);
}
.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}
.btn--block { width: 100%; justify-content: center; }

/* ===== CARDS ===== */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}
.card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.card__body {
  padding: 28px;
}
.card__tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 6px;
  margin-bottom: 12px;
}
.card__tag--accent {
  color: var(--accent-dark);
  background: var(--accent-light);
}
.card__tag--secondary {
  color: var(--secondary-dark);
  background: var(--secondary-light);
}
.card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}
.card__title a {
  color: inherit;
}
.card__title a:hover {
  color: var(--primary);
}
.card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}
.card__link:hover { gap: 10px; }
.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.card__icon--blue { background: var(--primary); }
.card__icon--indigo { background: var(--secondary); }
.card__icon--amber { background: var(--accent); }
.card__icon--green { background: var(--success); }
.card__icon--rose { background: #f43f5e; }
.card__icon--cyan { background: #06b6d4; }

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}
.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #fff;
  font-size: 28px;
}
.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.service-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Advantage Grid */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.advantage-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}
.advantage-card__num {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.advantage-card__label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); }
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.news-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--primary-light);
}
.news-card__body { padding: 24px; }
.news-card__date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.news-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.news-card__title a { color: var(--text); }
.news-card__title a:hover { color: var(--primary); }
.news-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-section__geo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-section__geo--1 {
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.06);
  top: -150px; right: -80px;
}
.cta-section__geo--2 {
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.04);
  bottom: -60px; left: -40px;
}
.cta-section__geo--3 {
  width: 60px; height: 60px;
  border: 2px solid rgba(255,255,255,0.12);
  bottom: 20%; right: 30%;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-inner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ===== PAGE HEADER ===== */
.page-header {
  position: relative;
  padding: 100px 0 60px;
  background: linear-gradient(135deg, #f0f9ff 0%, #eef2ff 50%, #fef3c7 100%);
  overflow: hidden;
}
.page-header__geo {
  position: absolute;
  pointer-events: none;
}
.page-header__geo--1 {
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.10) 0%, transparent 70%);
  top: -150px; right: -80px;
}
.page-header__geo--2 {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  bottom: -60px; left: -60px;
}
.page-header__geo--3 {
  width: 80px; height: 80px;
  border: 3px solid rgba(245,158,11,0.12);
  border-radius: 50%;
  top: 30%; right: 20%;
}
.page-header__title {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.page-header__breadcrumb a { color: var(--text-secondary); }
.page-header__breadcrumb a:hover { color: var(--primary); }
.page-header__breadcrumb span { color: var(--primary); font-weight: 600; }
.breadcrumb-sep { color: var(--text-muted); }

/* ===== LIST PAGE ===== */
.list-page { padding: 60px 0; }
.list-page__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.list-page__main {}
.list-page__sidebar {}
.list-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.list-item {
  display: flex;
  gap: 28px;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.list-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.list-item__img {
  width: 280px;
  min-height: 200px;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--primary-light);
}
.list-item__body {
  padding: 28px 28px 28px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.list-item__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.list-item__title a { color: var(--text); }
.list-item__title a:hover { color: var(--primary); }
.list-item__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.list-item__meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 28px;
}
.sidebar-widget__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  color: var(--text);
}
.sidebar-links li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}
.sidebar-links a:hover { color: var(--primary); }
.sidebar-links a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(-45deg);
  transition: border-color var(--transition);
}
.sidebar-links a:hover::after { border-color: var(--primary); }
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sidebar-tags a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border-radius: 8px;
  transition: all var(--transition);
}
.sidebar-tags a:hover {
  background: var(--primary);
  color: #fff;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-decoration: none;
}
.pagination a:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14,165,233,0.35);
}
.pagination .current {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14,165,233,0.35);
}

/* ===== DETAIL PAGE ===== */
.detail-page { padding: 60px 0; }
.detail-page__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.detail-article {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
}
.detail-article__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text);
}
.detail-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}
.detail-article__meta svg { vertical-align: middle; margin-right: 4px; }
.detail-article__content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}
.detail-article__content p { margin-bottom: 20px; }
.detail-article__content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 16px;
}
.detail-article__content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 28px 0 12px;
}
.detail-article__content ul {
  margin-bottom: 20px;
  padding-left: 24px;
}
.detail-article__content li {
  margin-bottom: 8px;
  list-style: disc;
}
.detail-article__content img {
  border-radius: var(--radius-sm);
  margin: 24px 0;
}
.detail-article__content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--primary-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}
.detail-article__share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--border-light);
}
.detail-article__share-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.share-btn:hover {
  background: var(--primary);
  color: #fff;
}
.detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.detail-nav__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: all var(--transition);
}
.detail-nav__link:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.detail-nav__link--prev { text-align: left; }
.detail-nav__link--next { text-align: right; }
.detail-nav__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.detail-nav__text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.detail-nav__link:hover .detail-nav__text { color: var(--primary); }

/* ===== PAGE (Single Page) ===== */
.page-content { padding: 60px 0; }
.page-content__inner {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
  max-width: 860px;
  margin: 0 auto;
}
.page-content__inner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--text);
}
.page-content__inner p {
  margin-bottom: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
}
.page-content__inner ul { padding-left: 24px; margin-bottom: 16px; }
.page-content__inner li { list-style: disc; margin-bottom: 6px; color: var(--text-secondary); }

/* ===== SEARCH PAGE ===== */
.search-page { padding: 60px 0; }
.search-box {
  max-width: 640px;
  margin: 0 auto 48px;
  position: relative;
}
.search-box__input {
  width: 100%;
  padding: 18px 24px;
  padding-right: 60px;
  font-size: 1.05rem;
  font-family: var(--font);
  border: 2px solid var(--border);
  border-radius: 50px;
  outline: none;
  transition: all var(--transition);
  background: var(--card-bg);
  color: var(--text);
}
.search-box__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.12);
}
.search-box__btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.search-box__btn:hover { background: var(--primary-dark); }
.search-results { max-width: 800px; margin: 0 auto; }
.search-result-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.search-result-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.search-result-item__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.search-result-item__title a { color: var(--text); }
.search-result-item__title a:hover { color: var(--primary); }
.search-result-item__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.search-result-item__text em {
  color: var(--primary);
  font-style: normal;
  font-weight: 600;
  background: var(--primary-light);
  padding: 0 4px;
  border-radius: 4px;
}
.search-result-item__url {
  font-size: 0.8rem;
  color: var(--success);
  margin-top: 8px;
  word-break: break-all;
}

/* ===== TAG PAGE ===== */
.tag-page { padding: 60px 0; }
.tag-cloud {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.tag-cloud a {
  display: inline-block;
  padding: 10px 22px;
  background: var(--card-bg);
  border-radius: 50px;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.tag-cloud a:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14,165,233,0.35);
  transform: translateY(-3px);
}
.tag-cloud a.tag-cloud--lg { font-size: 1.3rem; padding: 14px 28px; }
.tag-cloud a.tag-cloud--md { font-size: 1.1rem; padding: 12px 24px; }
.tag-cloud a.tag-cloud--sm { font-size: 0.85rem; padding: 8px 16px; }
.tag-list { max-width: 800px; margin: 40px auto 0; }
.tag-list__item {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
}
.tag-list__item:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.tag-list__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.tag-list__count {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--surface);
  padding: 4px 14px;
  border-radius: 50px;
}

/* ===== COUNTY PAGE ===== */
.county-page { padding: 60px 0; }
.county-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.county-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.county-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}
.county-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.county-card__count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== SITEMAP PAGE ===== */
.sitemap-page { padding: 60px 0; }
.sitemap-tree {
  max-width: 800px;
  margin: 0 auto;
}
.sitemap-tree__group {
  margin-bottom: 36px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: box-shadow var(--transition);
}
.sitemap-tree__group:hover { box-shadow: var(--shadow-hover); }
.sitemap-tree__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}
.sitemap-tree__list { columns: 2; column-gap: 24px; }
.sitemap-tree__list li { margin-bottom: 8px; break-inside: avoid; }
.sitemap-tree__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 4px 0;
}
.sitemap-tree__list a:hover { color: var(--primary); }

/* ===== ABOUT PAGE ===== */
.about-page { padding: 60px 0; }
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.about-intro__content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
}
.about-intro__content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.about-intro__image {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.about-intro__image::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(14,165,233,0.08);
  top: -40px;
  right: -40px;
}
.about-intro__image::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(99,102,241,0.06);
  bottom: -20px;
  left: -20px;
}
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about-value-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}
.about-value-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}
.about-value-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}
.about-value-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.about-value-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.about-team { margin-top: 80px; }
.about-team h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 48px;
  color: var(--text);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
  transition: all var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}
.team-card__avatar {
  width: 100%;
  aspect-ratio: 1;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card__body { padding: 20px; }
.team-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.team-card__role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== CONTACT PAGE ===== */
.contact-page { padding: 60px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: all var(--transition);
}
.contact-info__item:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.contact-info__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.contact-info__item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.contact-info__item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.contact-form {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.contact-form > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group .form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: var(--font);
  border: 2px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: all var(--transition);
  background: var(--bg);
  color: var(--text);
}
.form-group .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.10);
}
.form-group textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  background: #0f172a;
  color: rgba(255,255,255,0.8);
  overflow: hidden;
}
.footer__geometric {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.footer__circle {
  position: absolute;
  border-radius: 50%;
}
.footer__circle--1 {
  width: 400px;
  height: 400px;
  background: rgba(14,165,233,0.05);
  top: -200px;
  right: -100px;
}
.footer__circle--2 {
  width: 250px;
  height: 250px;
  background: rgba(99,102,241,0.04);
  bottom: -120px;
  left: 10%;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 72px 0 48px;
  position: relative;
  z-index: 2;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.footer__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 360px;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.footer__social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}
.footer__heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.footer__links a:hover {
  color: var(--primary);
  padding-left: 4px;
}
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
}
.footer__contact svg {
  flex-shrink: 0;
  color: var(--primary);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  position: relative;
  z-index: 2;
}
.footer__bottom a {
  color: rgba(255,255,255,0.45);
}
.footer__bottom a:hover { color: var(--primary); }

/* ===== FLOAT WIDGET ===== */
.float-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-widget__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all var(--transition);
  text-decoration: none;
}
.float-widget__item:hover {
  transform: scale(1.1) translateY(-3px);
}
.float-widget__item--phone {
  background: var(--primary);
}
.float-widget__item--chat {
  background: var(--secondary);
}
.float-widget__item--top {
  background: var(--text);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.float-widget__item--top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__title { font-size: 2.8rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .county-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }
  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .header__nav-list { flex-direction: column; gap: 8px; }
  .header__nav-link { display: block; padding: 12px 16px; font-size: 1.05rem; }
  .header__toggle { display: flex; }
  .subnav { position: static; box-shadow: none; border: none; border-radius: 0; padding-left: 20px; display: none; }
  .has-child:hover .subnav { display: none; }
  .has-child .subnav.show { display: block; }

  .hero { min-height: auto; padding: 60px 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: 2.2rem; }
  .hero__visual { display: none; }

  .section { padding: 56px 0; }
  .section__title { font-size: 1.8rem; }

  .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .news-grid { grid-template-columns: 1fr; gap: 20px; }

  .list-page__grid { grid-template-columns: 1fr; }
  .detail-page__grid { grid-template-columns: 1fr; }

  .list-item { flex-direction: column; }
  .list-item__img { width: 100%; height: 200px; }
  .list-item__body { padding: 20px; }

  .page-header { padding: 80px 0 40px; }
  .page-header__title { font-size: 2rem; }

  .detail-article { padding: 28px; }
  .detail-article__title { font-size: 1.5rem; }

  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-values { grid-template-columns: 1fr; }

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

  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .page-content__inner { padding: 28px; }

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

  .sitemap-tree__list { columns: 1; }

  .float-widget { bottom: 20px; right: 20px; }
  .float-widget__item { width: 46px; height: 46px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.8rem; }
  .section__title { font-size: 1.5rem; }
  .container { padding: 0 16px; }
  .advantage-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .county-grid { grid-template-columns: 1fr; }
  .detail-nav { grid-template-columns: 1fr; }
}


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