/*
Theme Name: 知禾博客
Theme URI: https://www.zvh.cn
Author: ZVH
Description: 知禾 - 现代化博客主题，炫酷动态效果
Version: 3.1.0
*/

/* ========================================
   CSS Variables
   ======================================== */
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;
  --secondary: #06b6d4;
  --accent: #fbbf24;
  --success: #34d399;
  --danger: #f87171;
  --text: #1f2937;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --bg: #0a0f1c;
  --bg-secondary: #0f1729;
  --bg-card: #1a2236;
  --bg-card-hover: #243049;
  --border: rgba(255,255,255,0.08);
  --gradient-1: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  --gradient-2: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --gradient-5: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --radius: 20px;
  --radius-sm: 12px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ========================================
   Background Effects
   ======================================== */
.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.bg-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.bg-orb-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  top: 50%;
  right: -150px;
  animation-delay: -5s;
}

.bg-orb-3 {
  width: 400px;
  height: 400px;
  background: #4facfe;
  bottom: -100px;
  left: 30%;
  animation-delay: -10s;
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, 50px) scale(1.1); }
  50% { transform: translate(0, 100px) scale(0.9); }
  75% { transform: translate(-50px, 50px) scale(1.05); }
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo span {
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.site-logo svg {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.site-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.nav-menu {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  color: white;
  background: rgba(255,255,255,0.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-menu { display: none; }
  .nav-menu.active { 
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  color: white;
  font-size: 0.875rem;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 48px;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(12px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Elements */
.hero-float {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.float-item {
  position: absolute;
  font-size: 2rem;
  opacity: 0.2;
  animation: floatAround 15s ease-in-out infinite;
}

.float-item:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.float-item:nth-child(2) { top: 60%; left: 5%; animation-delay: -3s; }
.float-item:nth-child(3) { top: 30%; right: 10%; animation-delay: -6s; }
.float-item:nth-child(4) { top: 70%; right: 15%; animation-delay: -9s; }
.float-item:nth-child(5) { top: 15%; right: 25%; animation-delay: -12s; }

@keyframes floatAround {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -30px) rotate(10deg); }
  50% { transform: translate(0, -50px) rotate(0deg); }
  75% { transform: translate(-30px, -30px) rotate(-10deg); }
}

/* ========================================
   Section Styles
   ======================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 50px;
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-lighter);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Services Section
   ======================================== */
.services {
  background: rgba(18, 18, 37, 0.5);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 24px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(102, 126, 234, 0.2);
}

.service-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-lighter);
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   Portfolio Grid
   ======================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  transition: all 0.4s ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.15);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,26,0.95) 0%, rgba(10,10,26,0) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.portfolio-overlay span {
  color: var(--primary-light);
  font-size: 0.875rem;
}

.portfolio-link {
  position: absolute;
  inset: 0;
}

/* ========================================
   Blog Masonry / Infinite Scroll
   ======================================== */
.blog-section {
  background: rgba(18, 18, 37, 0.5);
}

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

@media (max-width: 1024px) { .blog-masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-masonry { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(30px);
}

.blog-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Blog Card Thumbnail with Overlay */
.blog-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.1);
}

.blog-card-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--gradient-1);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  z-index: 2;
}

/* Overlay on image bottom */
.blog-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10, 10, 26, 0.95) 0%, rgba(10, 10, 26, 0.7) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  z-index: 1;
}

.blog-card-overlay .blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card-overlay .blog-card-title a {
  color: white;
  transition: color 0.3s ease;
}

.blog-card-overlay .blog-card-title a:hover {
  color: var(--primary-light);
}

.blog-card-overlay-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.blog-card-overlay-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Full card link overlay */
.blog-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* Blog Card Content (below image) */
.blog-card-content {
  padding: 20px 24px 24px;
}

.blog-card-excerpt {
  color: var(--text-lighter);
  font-size: 0.95rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-lighter);
  font-size: 0.875rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 12px;
  color: white;
}

/* Load More / Infinite Scroll */
.load-more-container {
  text-align: center;
  margin-top: 60px;
}

.load-more-btn {
  padding: 16px 48px;
  background: var(--gradient-1);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   About Section
   ======================================== */
.about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.3;
}

.about-content h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-lighter);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-lighter);
  margin-top: 4px;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-lighter);
  line-height: 1.7;
}

.footer-links h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-lighter);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-lighter);
  font-size: 0.875rem;
}

/* ========================================
   Comments - New Design
   ======================================== */
.comments-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.comments-title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.comment-list {
  list-style: none;
  margin: 0 0 60px;
  padding: 0;
}

.comment-list .children {
  list-style: none;
  margin: 20px 0 0 60px;
  padding: 0;
}

.comment-body {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.comment-body:hover {
  border-color: rgba(102, 126, 234, 0.3);
}

.comment-author {
  flex-shrink: 0;
}

.comment-author .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.comment-meta {
  flex: 1;
}

.comment-author-name {
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.comment-author-name a {
  color: var(--primary-light);
}

.comment-author-name a:hover {
  color: white;
}

.comment-metadata {
  font-size: 0.875rem;
  color: var(--text-lighter);
  margin-bottom: 12px;
}

.comment-metadata a {
  color: var(--text-lighter);
}

.comment-metadata a:hover {
  color: var(--primary-light);
}

.comment-content {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.comment-content p {
  margin-bottom: 12px;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--primary-light);
  transition: color 0.3s ease;
}

.comment-reply-link:hover {
  color: white;
}

/* Comment Form */
.comment-respond {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.comment-reply-title {
  font-size: 1.375rem;
  color: white;
  margin-bottom: 24px;
}

.comment-reply-title small {
  margin-left: 12px;
  font-size: 0.875rem;
}

.comment-reply-title small a {
  color: var(--danger);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-form-comment label {
  display: block;
  color: white;
  font-weight: 500;
  margin-bottom: 8px;
}

.comment-form-comment textarea {
  width: 100%;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 1rem;
  line-height: 1.7;
  resize: vertical;
  min-height: 120px;
  transition: all 0.3s ease;
}

.comment-form-comment textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.comment-form-comment textarea::placeholder {
  color: var(--text-lighter);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-lighter);
  font-size: 0.875rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.form-submit {
  margin: 0;
}

.form-submit input[type="submit"] {
  padding: 14px 32px;
  background: var(--gradient-1);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Logged in as */
.logged-in-as {
  color: var(--text-lighter);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.logged-in-as a {
  color: var(--primary-light);
}

.logged-in-as a:hover {
  color: white;
}

/* No comments */
.no-comments {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-lighter);
  font-size: 1.125rem;
}

/* ========================================
   Single Post
   ======================================== */
.single-post {
  padding: 140px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.single-post-header {
  text-align: center;
  margin-bottom: 48px;
}

.single-post-category {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gradient-1);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
}

.single-post-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 24px;
}

.single-post-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--text-lighter);
  font-size: 0.95rem;
}

.single-post-featured {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}

.single-post-content {
  font-size: 1.125rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
}

.single-post-content h2 {
  font-size: 1.75rem;
  color: white;
  margin: 48px 0 24px;
}

.single-post-content p {
  margin-bottom: 24px;
}

.single-post-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--text-lighter);
  font-size: 1.25rem;
}

.single-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.single-post-tags a {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--text-lighter);
  transition: all 0.3s ease;
}

.single-post-tags a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
  padding: 160px 24px 60px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4c1d95 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
}

.page-header h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 12px;
  position: relative;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  position: relative;
}

/* ========================================
   Animations & Utilities
   ======================================== */
.text-center { text-align: center; }
.text-white { color: white; }
.mt-4 { margin-top: 32px; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glow Effect */
.glow {
  position: relative;
}

.glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-1);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  filter: blur(15px);
  transition: opacity 0.3s ease;
}

.glow:hover::after {
  opacity: 0.5;
}

/* ========================================
   Print
   ======================================== */
@media print {
  .site-header, .site-footer, .hero, .bg-effects { display: none; }
  .single-post { padding-top: 0; }
  body { background: white; color: black; }
}

/* ========================================
   Magazine Style - 极简杂志风
   ======================================== */

/* 隐藏背景特效 */
.magazine-home ~ .bg-effects,
.magazine-home ~ .bg-orb,
.magazine-home ~ .bg-grid {
  display: none !important;
}

/* 首页主区域 */
.magazine-home {
  background: #fafafa;
  color: #1a1a1a;
  min-height: 100vh;
}

/* 隐藏原来的背景特效（首页专用） */
body.home .bg-effects {
  display: none;
}

body.home {
  background: #fafafa;
}

body.home .site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eaeaea;
}

body.home .site-logo,
body.home .nav-menu a,
body.home .nav-menu .current-menu-item a {
  color: #1a1a1a;
}

body.home .nav-menu a:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.05);
}

body.home .site-footer {
  background: #1a1a1a;
  color: white;
}

body.home .footer-brand h3,
body.home .footer-links h4,
body.home .footer-links a {
  color: white;
}

body.home .footer-bottom {
  color: rgba(255,255,255,0.6);
  border-top-color: rgba(255,255,255,0.1);
}

/* 杂志容器 */
.magazine-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Hero - 主编推荐 ===== */
.magazine-hero {
  padding: 140px 0 80px;
  background: #fafafa;
}

.magazine-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .magazine-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.magazine-hero-content {
  max-width: 520px;
}

.magazine-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 0.875rem;
  color: #666;
}

.magazine-tag {
  background: #1a1a1a;
  color: white;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.magazine-date {
  color: #666;
  font-weight: 500;
}

.magazine-headline {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.magazine-headline a {
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.magazine-headline a:hover {
  color: #555;
}

.magazine-excerpt {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 40px;
  font-weight: 400;
}

.magazine-meta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid #eaeaea;
}

.magazine-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.magazine-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.author-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.author-bio {
  font-size: 0.8rem;
  color: #999;
}

.magazine-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: #1a1a1a;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.magazine-read-link:hover {
  background: #000;
  transform: translateX(4px);
}

.magazine-hero-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.magazine-hero-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.magazine-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.magazine-hero-image:hover img {
  transform: scale(1.05);
}

.magazine-cat-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  backdrop-filter: blur(10px);
}

/* ===== Section Header ===== */
.magazine-section {
  padding: 80px 0;
  background: white;
}

.magazine-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 2px solid #1a1a1a;
}

.magazine-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.magazine-view-all {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
  transition: color 0.2s ease;
}

.magazine-view-all:hover {
  color: #1a1a1a;
}

/* ===== 文章网格 ===== */
.magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

@media (max-width: 900px) {
  .magazine-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .magazine-grid { grid-template-columns: 1fr; }
}

.magazine-card {
  display: flex;
  flex-direction: column;
}

.magazine-card-image {
  position: relative;
  display: block;
  aspect-ratio: 3/2;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.magazine-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.magazine-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 3px;
}

.magazine-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.magazine-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.magazine-card-title a {
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.magazine-card-title a:hover {
  color: #555;
}

.magazine-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.magazine-card-meta {
  font-size: 0.85rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-divider {
  color: #ccc;
}

/* ===== 分类专栏 ===== */
.magazine-categories {
  padding: 80px 0;
  background: #fafafa;
}

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

@media (max-width: 900px) {
  .magazine-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .magazine-cat-grid { grid-template-columns: 1fr; }
}

.magazine-cat-card {
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.2s ease;
  text-decoration: none;
}

.magazine-cat-card:hover {
  border-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.cat-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cat-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.cat-count {
  font-size: 0.875rem;
  color: #999;
  margin: 0;
}

/* ===== 订阅 ===== */
.magazine-subscribe {
  padding: 100px 0;
  background: #1a1a1a;
  color: white;
}

.subscribe-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.subscribe-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.subscribe-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  line-height: 1.6;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.subscribe-form input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: white;
  font-size: 1rem;
}

.subscribe-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.subscribe-form input:focus {
  outline: none;
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.subscribe-form button {
  padding: 16px 32px;
  background: white;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subscribe-form button:hover {
  background: #f0f0f0;
}

@media (max-width: 600px) {
  .subscribe-form { flex-direction: column; }
}

/* ===== Magazine Blog Page ===== */
.magazine-blog {
  background: #fafafa;
  color: #1a1a1a;
  min-height: 100vh;
}

/* Page Header */
.magazine-page-header {
  padding: 160px 0 60px;
  background: white;
  border-bottom: 1px solid #eaeaea;
}

.magazine-page-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.magazine-page-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.magazine-page-desc {
  font-size: 1.125rem;
  color: #666;
}

/* Blog Section */
.magazine-blog-section {
  padding: 60px 0 100px;
  background: #fafafa;
}

/* Filter Bar */
.magazine-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eaeaea;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-label {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

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

.filter-tag {
  padding: 8px 16px;
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 50px;
  font-size: 0.875rem;
  color: #666;
  transition: all 0.2s ease;
  text-decoration: none;
}

.filter-tag:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

.filter-tag.active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: white;
}

/* Posts Grid */
.magazine-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

@media (max-width: 1024px) {
  .magazine-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .magazine-posts-grid { grid-template-columns: 1fr; }
}

/* Post Card */
.magazine-post-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #eaeaea;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.magazine-post-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.magazine-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: transparent;
}

.magazine-post-thumb {
  position: relative;
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.magazine-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.magazine-post-card:hover .magazine-post-thumb img {
  transform: scale(1.08);
}

.magazine-post-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: white;
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
}

.magazine-post-body {
  padding: 24px;
}

.magazine-post-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.magazine-post-title a {
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.magazine-post-title a:hover {
  color: #0ea5e9;
}

.magazine-post-excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.magazine-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  font-size: 0.85rem;
  color: #999;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-left {
  display: flex;
  align-items: center;
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-weight: 500;
}

.meta-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.meta-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-dot {
  color: #ddd;
}

.meta-time, .meta-views {
  color: #999;
}

/* Pagination */
.magazine-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.pagination-numbers {
  display: flex;
  gap: 8px;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.page-numbers:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

.page-numbers.current {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: white;
}

.load-more-btn {
  padding: 12px 28px;
  background: #1a1a1a;
  color: white;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.load-more-btn:hover {
  background: #000;
  transform: translateY(-2px);
}

/* No Posts */
.magazine-no-posts {
  text-align: center;
  padding: 100px 24px;
}

.no-posts-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}

.magazine-no-posts h2 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.magazine-no-posts p {
  color: #666;
}

/* ===== Magazine Footer ===== */
.magazine-footer {
  background: #1a1a1a;
  color: white;
  margin-top: 0;
}

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

/* Brand Section */
.footer-brand-section {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
}

@media (max-width: 1024px) {
  .footer-brand-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .footer-brand-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Footer Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.footer-brand-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s ease;
}

.social-link:hover {
  background: #0ea5e9;
  color: white;
  transform: translateY(-2px);
}

/* Footer Links */
.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.link-count {
  color: #666;
  margin-left: 4px;
}

/* Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

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

.footer-contact a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #0ea5e9;
}

.contact-icon {
  font-size: 1rem;
}

/* Subscribe Form */
.footer-subscribe {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.subscribe-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}

.footer-subscribe-form {
  display: flex;
  gap: 8px;
}

.footer-subscribe-form input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: white;
  font-size: 0.875rem;
}

.footer-subscribe-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.footer-subscribe-form input:focus {
  outline: none;
  border-color: #0ea5e9;
}

.footer-subscribe-form button {
  padding: 10px 18px;
  background: #0ea5e9;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-subscribe-form button:hover {
  background: #0284c7;
}

@media (max-width: 480px) {
  .footer-subscribe-form { flex-direction: column; }
}

/* Bottom Bar */
.footer-bottom-bar {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-copyright a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-copyright a:hover {
  color: #0ea5e9;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.8);
}

.footer-legal .separator {
  color: rgba(255,255,255,0.3);
}

@media (max-width: 640px) {
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ===== 响应式调整 ===== */
@media (max-width: 768px) {
  .magazine-page-header {
    padding: 120px 0 40px;
  }
  
  .magazine-page-title {
    font-size: 2rem;
  }
  
  .magazine-filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .magazine-post-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .meta-right {
    flex-wrap: wrap;
  }
}
/* ===== ����ҳ��־��� ===== */
.single-post-magazine {
  padding-top: 80px;
}

.single-post-header-mag {
  padding: 60px 0 40px;
  text-align: center;
}

.post-categories {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.post-cat-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.post-cat-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
  color: white;
}

.single-post-title-mag {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
