﻿/* ========================================
   ZanCms 仿站样式 - 完全本地化版本
   ======================================== */

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

:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary-color: #64748b;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

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

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 45px;
  width: auto;
}

@media (max-width: 768px) {
  .logo-img {
    height: 32px;
  }
}

.nav {
  display: flex;
  align-items: stretch;
  gap: 24px;
  height: 100%;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-item.has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-item.has-children:hover > .nav-link,
.nav-item.has-children:focus-within > .nav-link {
  color: var(--primary-color);
}

.nav-item.has-children:hover > .nav-link::after,
.nav-item.has-children:focus-within > .nav-link::after {
  width: 100%;
}

.nav-link-label {
  display: inline-block;
}

.nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  transform: translateY(1px);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-item.has-children:hover .nav-caret,
.nav-item.has-children:focus-within .nav-caret {
  opacity: 0.9;
  transform: translateY(1px) rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  width: max-content;
  min-width: 0;
  max-width: 260px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1002;
}

.nav-submenu:empty {
  display: none;
}

.nav-item.has-children:hover .nav-submenu,
.nav-item.has-children:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu-link {
  display: block;
  padding: 10px 16px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

.nav-submenu-link:hover {
  color: var(--primary-color);
  background: var(--bg-light);
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--primary-color);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary.btn-large {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.hero-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* ========================================
   Section Common
   ======================================== */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 48px;
}

/* ========================================
   Features Section
   ======================================== */
.features {
  background: var(--bg-white);
}

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

.feature-card {
  background: var(--bg-light);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   Templates Section
   ======================================== */
.templates {
  background: var(--bg-light);
}

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

.template-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.template-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.template-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.template-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.template-card:hover .template-image img {
  transform: scale(1.05);
}

.template-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.template-card:hover .template-overlay {
  opacity: 1;
}

.template-overlay .btn-primary {
  transform: translateY(20px);
  transition: var(--transition);
}

.template-card:hover .template-overlay .btn-primary {
  transform: translateY(0);
}

.template-info {
  padding: 20px;
}

.template-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.template-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #f1f5f9;
  color: var(--text-light);
  font-size: 12px;
  border-radius: 4px;
}

.tag img {
  width: 14px;
  height: 14px;
}

/* ========================================
   Help Section
   ======================================== */
.help-section {
  background: var(--bg-white);
}

.help-header {
  margin-bottom: 32px;
}

.help-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.help-item {
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.help-item:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.help-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.help-item h4 a {
  color: var(--text-dark);
}

.help-item h4 a:hover {
  color: var(--primary-color);
}

.help-date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
  display: block;
}

.help-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   Tutorial Section
   ======================================== */
.tutorial-section {
  background: var(--bg-light);
}

.tutorial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.tutorial-header .section-title {
  margin-bottom: 0;
}

.more-link {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
}

.more-link:hover {
  text-decoration: underline;
}

.tutorial-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tutorial-item {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.tutorial-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tutorial-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.tutorial-item h4 a {
  color: var(--text-dark);
}

.tutorial-item h4 a:hover {
  color: var(--primary-color);
}

.tutorial-date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
  display: block;
}

.tutorial-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   News Section
   ======================================== */
.news-section {
  background: var(--bg-white);
}

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

.news-card {
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.news-card:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-card h4 a {
  color: var(--text-dark);
}

.news-card h4 a:hover {
  color: var(--primary-color);
}

.news-date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
  display: block;
}

.news-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--text-dark);
  color: #fff;
  padding: 60px 0 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

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

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

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

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

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

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

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

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary.btn-large,
  .btn-outline.btn-large {
    padding: 12px 24px;
    font-size: 15px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 26px;
  }

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

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

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

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

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

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }
}

/* ========================================
   Article List - Left Thumb Style
   ======================================== */
.article-list-thumb {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-item-thumb {
  display: flex;
  gap: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.article-item-thumb:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-thumb-img {
  flex-shrink: 0;
  width: 220px;
  height: 150px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.article-item-thumb:hover .article-thumb-img img {
  transform: scale(1.05);
}

.article-thumb-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.article-thumb-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-thumb-title a {
  color: var(--text-dark);
}

.article-thumb-title a:hover {
  color: var(--primary-color);
}

.article-thumb-date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.article-thumb-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .article-item-thumb {
    flex-direction: column;
  }
  .article-thumb-img {
    width: 100%;
    height: 180px;
  }
}

/* ========================================
   Animation
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   Scroll to top button (hidden by default)
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* Page Content Width - 文章/单页/列表内容区 */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Swiper */
.hero-swiper {
  position: relative;
  overflow: hidden;
}
.hero-swiper .swiper-wrapper {
  position: relative;
  width: 100%;
}
.hero-swiper .swiper-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-swiper .swiper-slide:first-child {
  position: relative;
  opacity: 1;
}
.hero-swiper .swiper-slide.active {
  opacity: 1;
}
.hero-swiper .swiper-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-swiper .swiper-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}
.hero-swiper .swiper-dots span.active {
  background: #fff;
}

/* Feature Image */
.feature-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.feature-emoji {
  font-size: 40px;
  display: block;
}

/* Section More Button */
.section-more {
  text-align: center;
  margin-top: 48px;
}

/* Section More Button - Ellipse style */
.section-more .btn-outline {
  border-radius: 50px;
  background: #64748b;
  color: #fff;
  border: none;
  padding: 12px 36px;
  font-size: 15px;
}
.section-more .btn-outline:hover {
  background: #4b5563;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(100,116,139,0.4);
}


/* ---- 分页 ---- */
.pagination {
  text-align: center;
  margin-bottom: 48px;
}
.pagination ul {
  display: inline-flex;
  list-style: none;
  gap: 2px;
  padding: 0;
  margin: 0;
}
.pagination li {
  display: inline-block;
  margin: 0 1px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  font-size: 14px;
  color: var(--text-light);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}
.pagination a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.pagination li.active a,
.pagination .current {
  color: var(--primary-color);
  background: var(--bg-white);
  border-color: var(--primary-color);
}


/* ---- 移动端菜单 ---- */
.menu-toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  position: relative;
  z-index: 1001;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* 展开时变X */
.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--text-dark);
}
.menu-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--text-dark);
}

/* 下拉菜单 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 999;
  padding: 12px 0;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav .mobile-nav-link {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}
.mobile-nav .mobile-nav-link:last-child {
  border-bottom: none;
}
.mobile-nav .mobile-nav-link:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.page-section {
  padding-top: 120px;
}

.page-breadcrumb {
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-light);
}

.page-title-left {
  text-align: left;
  margin-bottom: 32px;
}

.page-link-image {
  display: block;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-cover-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-pagination {
  margin-top: 48px;
  text-align: center;
}

.page-single-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

.page-single-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-dark);
}

/* ========================================
   Single Page With Message Form
   ======================================== */
.single-contact-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(147, 197, 253, 0.2), transparent 28%),
    linear-gradient(180deg, #edf6ff 0%, #f8fbff 18%, #ffffff 56%, #f5f9ff 100%);
}

.single-contact-page::before,
.single-contact-page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(6px);
}

.single-contact-page::before {
  top: 150px;
  right: -90px;
  width: 260px;
  height: 260px;
  background: rgba(125, 211, 252, 0.14);
}

.single-contact-page::after {
  bottom: 120px;
  left: -100px;
  width: 280px;
  height: 280px;
  background: rgba(37, 99, 235, 0.08);
}

.single-contact-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.single-contact-panel {
  position: relative;
  overflow: hidden;
  padding: 34px 38px 38px;
  border: 1px solid transparent;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.99)) padding-box,
    linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(148, 163, 184, 0.08)) border-box;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.single-contact-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 5px;
  border-radius: 0 0 999px 0;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 60%, rgba(96, 165, 250, 0) 100%);
}

.single-contact-panel::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 70%);
  pointer-events: none;
}

.single-contact-panel-form {
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%) padding-box,
    linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(125, 211, 252, 0.14)) border-box;
}

.single-contact-panel-plain {
  padding-top: 26px;
}

.single-contact-panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.single-contact-panel-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.single-contact-panel-heading-main {
  gap: 14px;
}

.single-contact-accent {
  width: 12px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2563eb 0%, #7dd3fc 100%);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.22);
  flex-shrink: 0;
}

.single-contact-eyebrow {
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.single-contact-panel-title {
  margin: 0;
  color: #132d55;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.18;
}

.single-contact-panel-heading-main .single-contact-panel-title {
  font-size: clamp(30px, 3.1vw, 42px);
}

.single-contact-content h2,
.single-contact-content h3 {
  margin-bottom: 16px;
  color: #112c54;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.28;
}

.single-contact-content h4,
.single-contact-content h5 {
  max-width: 960px;
  margin-bottom: 30px;
  color: #5c7394;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.95;
}

.single-contact-content > *:first-child {
  margin-top: 0;
}

.single-contact-content > *:last-child {
  margin-bottom: 0;
}

.single-contact-content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin-top: 0;
}

.single-contact-content li {
  display: block;
  min-height: 0;
  padding: 14px 0 16px;
  border: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.single-contact-content li p {
  margin: 0;
}

.single-contact-content li p:first-child {
  display: none;
}

.single-contact-content li p:last-child {
  padding-top: 0;
  color: #18355d;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
  word-break: break-word;
}

.single-contact-content em {
  font-style: normal;
}

.single-contact-content em[class*="fa-"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.single-contact-content .fa-phone::before {
  content: "电";
}

.single-contact-content .fa-phone-square::before {
  content: "手";
}

.single-contact-content .fa-envelope-square::before {
  content: "邮";
}

.single-contact-content .fa-fax::before {
  content: "传";
}

.single-contact-content .fa-map-marker::before {
  content: "址";
}

.single-contact-form-shell {
  padding: 30px;
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 248, 255, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.single-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}

.single-contact-form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.single-contact-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #18345b;
}

.single-contact-form .eyou_form_attr {
  margin: 0;
}

.single-contact-form .eyou_form_text,
.single-contact-form .eyou_form_textarea,
.single-contact-form .eyou_form_select,
.single-contact-form .eyou_form_file,
.single-contact-form .eyou_form_phone {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 18px;
  background: #ffffff;
  color: #18345b;
  font-size: 15px;
  line-height: 1.6;
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.single-contact-form .eyou_form_textarea {
  min-height: 180px;
  resize: vertical;
}

.single-contact-form .eyou_form_text:focus,
.single-contact-form .eyou_form_textarea:focus,
.single-contact-form .eyou_form_select:focus,
.single-contact-form .eyou_form_file:focus,
.single-contact-form .eyou_form_phone:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.56);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 16px 28px rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.single-contact-form .eyou_form_select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #2563eb 50%),
    linear-gradient(135deg, #2563eb 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.single-contact-form .eyou_form_radio,
.single-contact-form .eyou_form_checkbox {
  margin-right: 8px;
}

.single-contact-form .eyou_form_attr label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 16px;
  margin-bottom: 10px;
  color: #18345b;
}

.single-contact-form .eyou_form_verify_img {
  width: 132px;
  height: 44px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  cursor: pointer;
  object-fit: cover;
}

.single-contact-form .eyou_form_verify_a {
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 600;
}

.single-contact-form-row:has(.eyou_form_textarea),
.single-contact-form-row:has(.eyou_form_radio),
.single-contact-form-row:has(.eyou_form_checkbox),
.single-contact-form-row:has(.eyou_form_file) {
  grid-column: 1 / -1;
}

.single-contact-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  padding-top: 8px;
}

.single-contact-submit-btn {
  min-width: 220px;
  min-height: 58px;
  padding: 0 34px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.single-contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(37, 99, 235, 0.26);
}

.single-contact-submit-btn:active {
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .single-contact-panel {
    padding: 30px 28px 32px;
  }
}

@media (max-width: 900px) {
  .single-contact-content ul,
  .single-contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .single-contact-panel,
  .single-contact-form-shell {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .single-contact-panel-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
  }

  .single-contact-panel-heading {
    gap: 12px;
    align-items: flex-start;
  }

  .single-contact-accent {
    width: 10px;
    height: 48px;
  }

  .single-contact-panel-title,
  .single-contact-content h2,
  .single-contact-content h3 {
    font-size: 26px;
  }

  .single-contact-content h4,
  .single-contact-content h5,
  .single-contact-content li p:last-child {
    font-size: 14px;
  }

  .single-contact-content li {
    padding: 12px 0 14px;
  }

  .single-contact-submit {
    justify-content: stretch;
  }

  .single-contact-submit-btn {
    width: 100%;
    min-width: 0;
  }
}

.page-article-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.page-article-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.page-meta-offset {
  margin-left: 20px;
}

.page-article-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.page-prev-next {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.page-demo-disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 768px) {
  .page-prev-next {
    flex-direction: column;
  }

  .page-meta-offset {
    display: inline-block;
    margin-left: 12px;
  }
}

/* ========================================
   No-Thumbnail Article List
   ======================================== */
.article-text-page {
  background: var(--bg-light);
}

.article-text-hero {
  margin-bottom: 32px;
}

.article-text-title {
  margin-bottom: 12px;
}

.article-text-intro {
  max-width: 960px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light);
}

.article-text-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.article-text-item {
  background: var(--bg-white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  min-width: 0;
}

.article-text-item:hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-text-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--text-light);
  flex-wrap: wrap;
}

.article-text-date {
  letter-spacing: 0.02em;
}

.article-text-divider {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.45);
}

.article-text-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-color);
  font-weight: 600;
}

.article-text-heading {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--text-dark);
}

.article-text-heading a:hover {
  color: var(--primary-color);
}

.article-text-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-text-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
}

.article-text-link::after {
  content: '>';
  font-size: 14px;
  line-height: 1;
}

.article-text-link:hover {
  color: var(--primary-dark);
}

.article-text-date-inline {
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .article-text-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .article-text-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-text-item {
    padding: 18px 16px;
  }

  .article-text-heading {
    font-size: 18px;
  }

  .article-text-desc {
    font-size: 14px;
    line-height: 1.75;
    -webkit-line-clamp: 4;
  }

  .article-text-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

