:root {
  /* Premium Soft Red Color Palette */
  --primary-color: #8B4A6B;
  --secondary-color: #D4A5B8;
  --accent-color: #C97A9A;
  --highlight-color: #E8B4C8;
  --light-bg: #ffffff;
  --dark-color: #4A2C3A;
  --text-color: #4A2C3A;
  --text-light: #8B6B7A;
  --border-color: #F5E6ED;
  --success-color: #A8C5A0;
  --warning-color: #E8C4A0;
  --danger-color: #D4A5B8;
  --white: #ffffff;
  --gray-50: #FDF9FB;
  --gray-100: #FAF5F7;
  --gray-200: #F5E6ED;

  /* Spacing - Keep margins same */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;

  /* Typography - Modern SEO-Friendly Sans-Serif */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;

  --container-width: 1280px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(139, 74, 107, 0.1);
  --shadow-md: 0 4px 6px rgba(139, 74, 107, 0.15);
  --shadow-lg: 0 10px 20px rgba(139, 74, 107, 0.18);
  --shadow-xl: 0 20px 40px rgba(139, 74, 107, 0.2);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--light-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  box-sizing: border-box;
}

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

.article-content img {
  margin: var(--space-xl) auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

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

ul, ol {
  list-style: none;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.grid { display: grid; }
.hidden { display: none; }

/* Modern Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: -0.01em;
  text-transform: none;
  background-color: var(--white);
  color: var(--text-color);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

/* Modern Navbar - News Style */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(139, 74, 107, 0.08);
}

.navbar.scrolled {
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  text-transform: none;
  font-family: var(--font-heading);
}

.logo span {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: var(--space-xl);
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 500;
  padding: var(--space-sm) 0;
  position: relative;
  color: var(--text-color);
  font-size: 0.9375rem;
  transition: var(--transition);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: -0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
}

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

.nav-actions {
  display: none;
  align-items: center;
  gap: var(--space-md);
}

.search-box {
  position: relative;
}

.search-input {
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  width: 200px;
  font-size: 0.9rem;
  transition: var(--transition);
  background-color: var(--gray-50);
  font-family: var(--font-heading);
}

.search-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  width: 240px;
  background-color: var(--white);
  box-shadow: 0 0 0 2px rgba(212, 165, 184, 0.2);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-color);
  cursor: pointer;
}

/* Modern Section Styles - News Blog Layout */
.headline-section {
  padding-top: 10px;
  padding-bottom: var(--space-xxl);
  background-color: var(--gray-50);
}

.section-header {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: var(--space-md);
  width: 100%;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--dark-color);
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1.3;
  font-family: var(--font-heading);
  margin: 0;
  position: relative;
  padding-bottom: var(--space-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
}

/* Modern Grid Layout - Card Style */
.headline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.headline-card {
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  width: 100%;
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.headline-card.featured {
  grid-column: span 3;
}

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

.headline-top-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: 0;
  align-items: stretch;
  width: 100%;
  min-height: auto;
}

.headline-card.featured .headline-top-row {
  flex-direction: row;
  padding: var(--space-xl);
  gap: var(--space-xl);
  min-height: 200px;
}

.headline-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background-color: var(--gray-100);
  border-radius: 0;
  box-shadow: none;
}

.headline-card.featured .headline-image {
  width: 400px;
  height: 250px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

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

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

.headline-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
  justify-content: flex-start;
  min-width: 0;
  padding: var(--space-lg);
}

.headline-card.featured .headline-title-wrapper {
  padding: 0;
}

.headline-title-wrapper .headline-excerpt {
  margin-top: var(--space-sm);
}

.headline-content {
  padding: 0 var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  background-color: transparent;
  color: var(--text-color);
  border-top: none;
}

.headline-card.featured .headline-content {
  padding: var(--space-md) var(--space-xl);
  background-color: var(--gray-50);
  border-top: 1px solid var(--border-color);
}

.headline-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  text-transform: none;
  letter-spacing: 0.02em;
  margin: 0;
  align-self: flex-start;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
}

.headline-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--dark-color);
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.headline-card.featured .headline-title {
  font-size: 1.875rem;
}

.headline-title a {
  color: inherit;
  transition: var(--transition);
}

.headline-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.headline-excerpt {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.headline-card.featured .headline-excerpt {
  font-size: 1.0625rem;
  -webkit-line-clamp: 4;
}

.headline-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.875rem;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 500;
}

.headline-card.featured .headline-meta {
  justify-content: space-between;
  font-size: 0.9375rem;
}

.headline-content .headline-meta {
  color: var(--text-light);
}

/* Category Section - Horizontal List */
.category-section {
  padding: var(--space-xxl) 0;
  background-color: var(--white);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  /* min-height: 120px; */
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-card:hover {
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.category-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--dark-color);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: -0.01em;
}

.category-count {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Trending Section - Modern Card Design */
.trending-section {
  padding: var(--space-xxl) 0;
  background-color: var(--gray-50);
}

.trending-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.trending-article {
  background: var(--white);
  border: none;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  width: 100%;
  position: relative;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.trending-article:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.trending-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  z-index: 1;
}

.trending-rank {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 2px solid var(--white);
}

.trending-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex-grow: 1;
  min-width: 0;
  position: relative;
}

.trending-article-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  font-family: var(--font-heading);
  padding-right: 0;
  /* padding-left: var(--space-md); */
  letter-spacing: -0.02em;
}

.trending-article-title a {
  color: var(--dark-color);
  transition: var(--transition);
}

.trending-article-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.trending-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-light);
  font-family: var(--font-heading);
  margin-top: var(--space-xs);
}

.trending-meta span {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: var(--border-radius);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

/* Latest Section - Traditional Blog List */
.latest-section {
  padding: var(--space-xxl) 0;
  background-color: var(--white);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.article-card {
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  width: 100%;
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

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

.article-top-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: 0;
  align-items: stretch;
  width: 100%;
  min-height: auto;
}

.article-top-row:has(.article-image:empty),
.article-top-row:not(:has(.article-image)) {
  flex-direction: column;
  min-height: auto;
}

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

.article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background-color: var(--gray-100);
  border-radius: 0;
  box-shadow: none;
}

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

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

.article-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
  justify-content: flex-start;
  min-width: 0;
  padding: var(--space-lg);
}

.article-title-wrapper .article-excerpt {
  margin-top: var(--space-sm);
}

.article-content {
  padding: 0 var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  background-color: transparent;
  color: var(--text-color);
  border-top: none;
}

.article-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  text-transform: none;
  letter-spacing: 0.02em;
  margin: 0;
  align-self: flex-start;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
}

.article-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--dark-color);
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.article-title a {
  color: inherit;
  transition: var(--transition);
}

.article-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.article-excerpt {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.875rem;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 500;
  margin-top: var(--space-sm);
}

.article-content .article-meta {
  color: var(--text-light);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-color), #6B3A4A);
  color: white;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
}

.footer-column h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
  font-family: var(--font-heading);
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
}

.footer-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .headline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .headline-card.featured {
    grid-column: span 2;
  }

  .headline-card.featured .headline-top-row {
    flex-direction: column;
    min-height: auto;
  }

  .headline-card.featured .headline-image {
    width: 100%;
    height: 220px;
  }

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

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

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

@media (max-width: 768px) {
  /* Base typography optimization */
  html {
    font-size: 15px;
  }

  body {
    line-height: 1.6;
  }

  /* Container and spacing optimization */
  .container {
    padding: 0 var(--space-md);
  }

  /* Reduce section padding */
  main {
    padding-top: var(--space-md);
  }

  /* Navigation */
  .nav-menu, .search-box {
    display: none;
  }

  .nav-actions .btn.btn-primary {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .navbar {
    padding: var(--space-sm) 0;
  }

  /* Sections spacing */
  .headline-section,
  .category-section,
  .trending-section,
  .latest-section {
    padding: var(--space-md) 0;
  }

  .headline-section {
    padding-top: var(--space-sm);
  }

  .section-header {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
  }

  .section-title {
    font-size: 1.375rem;
    padding-bottom: var(--space-xs);
  }

  /* Headline cards */
  .headline-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .headline-card.featured {
    grid-column: span 1;
  }

  .headline-card.featured .headline-top-row {
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-md);
  }

  .headline-top-row {
    padding: var(--space-md);
    gap: var(--space-md);
  }

  .headline-image {
    height: 180px;
  }

  .headline-card.featured .headline-image {
    width: 100%;
    height: 180px;
  }

  .headline-title-wrapper {
    padding: 0;
  }

  .headline-title {
    font-size: 1.125rem;
  }

  .headline-excerpt {
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
  }

  .headline-content {
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }

  .headline-meta {
    font-size: 0.8125rem;
  }

  /* Article cards */
  .articles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .article-top-row {
    padding: 0;
    gap: var(--space-sm);
  }

  .article-image {
    height: 160px;
  }

  .article-title-wrapper {
    padding: var(--space-md);
  }

  .article-title {
    font-size: 1.125rem;
  }

  .article-excerpt {
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
  }

  .article-content {
    padding: 0 var(--space-md) var(--space-md);
  }

  .article-meta {
    font-size: 0.8125rem;
    margin-top: var(--space-xs);
  }

  /* Category grid */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .category-card {
    padding: var(--space-md) var(--space-sm);
    min-height: 80px;
  }

  .category-title {
    font-size: 0.875rem;
  }

  /* Trending articles */
  .trending-articles {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .trending-rank {
    width: 32px;
    height: 32px;
    font-size: 1.125rem;
    top: var(--space-xs);
    left: var(--space-xs);
  }

  .trending-article-title {
    font-size: 1rem;
    padding-left: var(--space-xs);
    margin-bottom: var(--space-xs);
  }

  .trending-content {
    padding: var(--space-md) var(--space-sm);
  }

  .trending-meta {
    font-size: 0.8125rem;
  }

  /* Pagination */
  .pagination-wrapper {
    margin-top: var(--space-lg);
  }

  .post-pagination a,
  .post-pagination span {
    min-width: 36px;
    height: 36px;
    font-size: 0.875rem;
    padding: 0 var(--space-sm);
  }

  /* Article detail page */
  .article-detail {
    padding-top: var(--space-md);
  }

  .breadcrumb {
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
  }

  .article-header {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
  }

  .article-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
  }

  .article-meta {
    gap: var(--space-sm);
  }

  .meta-details {
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.8125rem;
  }

  .article-content {
    font-size: 1rem;
    line-height: 1.8;
  }

  .article-content h2 {
    font-size: 1.5rem;
    margin-top: var(--space-lg);
  }

  .article-content h3 {
    font-size: 1.25rem;
  }

  /* Comments section */
  .comments-section {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
  }

  .comment {
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .comment-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }

  .comment-header {
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
  }

  .comment-author {
    font-size: 0.9375rem;
  }

  .comment-time {
    font-size: 0.75rem;
  }

  .comment-text {
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
  }

  .comment-actions {
    gap: var(--space-sm);
  }

  .comment-like,
  .comment-reply {
    font-size: 0.8125rem;
    padding: var(--space-xs);
  }

  .comment-form textarea {
    font-size: 0.9375rem;
    padding: var(--space-sm);
  }

  /* Related articles */
  .related-articles-section {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
  }

  .related-articles-title {
    font-size: 1.375rem;
    margin-bottom: var(--space-md);
  }

  /* Footer */
  .footer {
    padding: var(--space-lg) 0;
  }

  .footer-links {
    gap: var(--space-sm);
  }

  .footer-link {
    font-size: 0.875rem;
    padding: var(--space-xs);
  }

  /* Back to top button */
  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: var(--space-md);
    right: var(--space-md);
    font-size: 1.125rem;
  }

  /* Page title */
  .page-title {
    font-size: 1.75rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  /* Article wrap */
  .article-wrap {
    padding: var(--space-md);
    margin-bottom: var(--space-md);
  }

  /* Sidebar widgets */
  .sidebar-widget {
    padding: var(--space-md);
    margin-bottom: var(--space-md);
  }

  .widget-title {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
  }

  /* Ad spacing */
  .ad-div {
    margin: var(--space-md) 0;
  }

  /* Category badge */
  .category-badge {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
    margin-bottom: var(--space-sm);
  }

  /* Entry meta */
  .entry-meta {
    font-size: 0.8125rem;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
  }

  /* Share buttons */
  .share-buttons {
    gap: var(--space-xs);
  }

  .share-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  /* Article actions */
  .article-actions {
    padding: var(--space-md);
    flex-direction: column;
    gap: var(--space-md);
  }

  .share-label {
    font-size: 0.875rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* List Page Styles */
.list-page {
  padding-top: 10px;
}

.page-title-section {
  display: block;
}

.category-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 0.875rem;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--dark-color);
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 800px;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.page-stats {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1;
  font-family: var(--font-heading);
}

.stat-label {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-top: var(--space-xs);
  font-family: var(--font-heading);
}

.list-container {
  padding: var(--space-xl) 0;
}

.list-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

.list-sidebar {
  order: 0;
}

.list-main {
  min-width: 0;
}

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

  .list-sidebar {
    order: 0;
  }
}

.pagination-wrapper {
  margin-top: var(--space-xxl);
}

.pagination-container {
  display: flex;
  justify-content: center;
}

.post-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-pagination li {
  display: flex;
  align-items: center;
}

.post-pagination a,
.post-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-md);
  background-color: var(--white);
  border: 1px solid var(--border-color);
  font-size: 0.9375rem;
  color: var(--text-color);
  transition: var(--transition);
  font-weight: 600;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
}

.post-pagination a:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.post-pagination .current,
.post-pagination a.current {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.post-pagination .disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Sidebar Styles */
.sidebar-widget {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius-lg);
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--border-color);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: -0.02em;
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag-item {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--gray-50);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  text-transform: none;
  letter-spacing: -0.01em;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
}

.tag-item:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.popular-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.popular-item {
  display: flex;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.popular-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.popular-rank {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--secondary-color);
  min-width: 30px;
  font-family: var(--font-heading);
}

.popular-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: var(--space-xs);
  font-family: var(--font-heading);
}

.popular-title a {
  color: var(--dark-color);
  transition: var(--transition);
}

.popular-title a:hover {
  color: var(--secondary-color);
}

.popular-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.8125rem;
  color: var(--text-light);
  font-family: var(--font-heading);
}

.categories-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.sidebar-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--secondary-color), var(--accent-color)) 1;
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
}

.card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: -0.02em;
}

.category-item {
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.category-item:hover {
  background-color: var(--gray-50);
}

.category-item.active {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  color: var(--text-color);
}

.category-item.active .category-link {
  color: white;
}

.category-name {
  font-weight: 600;
  font-family: var(--font-heading);
}

.category-count {
  font-size: 0.875rem;
  color: var(--text-light);
  background-color: var(--gray-50);
  padding: 0.25rem 0.625rem;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
}

.category-item.active .category-count {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Detail Page Styles */
.article-detail {
  padding-top: 10px;
  padding-bottom: var(--space-xxl);
  background-color: var(--white);
}

.breadcrumb {
  margin-bottom: var(--space-lg);
  font-size: 0.9375rem;
  color: var(--text-light);
  font-family: var(--font-heading);
}

.breadcrumb a {
  color: var(--text-light);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--secondary-color);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  margin-bottom: var(--space-xxl);
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-sidebar {
  order: 0;
}

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

  .article-sidebar {
    order: 0;
  }
}

@media (max-width: 768px) {
  .article-layout {
    display: block;
  }
}

.article-header {
  margin-bottom: var(--space-xl);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: var(--space-lg);
}

.article-title {
  /* font-size: 2.5rem; */
  font-weight: 700;
  line-height: 1.3;
  /* margin-bottom: var(--space-md); */
  color: var(--dark-color);
  letter-spacing: -0.5px;
  font-family: var(--font-heading);
}

.article-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
  /* padding-top: var(--space-md);
  border-top: 1px solid var(--border-color); */
}

.meta-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.9375rem;
  color: var(--text-light);
  font-family: var(--font-heading);
}

.article-author-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm, 0.5rem);
  color: var(--text-light);
  text-decoration: none;
}
.article-author-link:hover { color: var(--primary-color); }
.article-author-link img {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  object-fit: cover;
}

/* 正文下方作者区块（参考 station1540） */
.author-section {
  margin-top: var(--space-3xl, 2rem);
  padding-top: var(--space-2xl, 1.5rem);
  border-top: 1px solid var(--border-light, var(--border-color));
}
.author-section .author-card.author-card-below {
  display: flex;
  gap: var(--space-lg);
  box-shadow: none;
  transform: none;
  padding: 0;
  border: none;
  margin-top: 0;
}
.author-section .author-card-below:hover { box-shadow: none; transform: none; }
.author-section .author-avatar-wrapper { flex-shrink: 0; width: 80px; height: 80px; border-radius: 50%; overflow: hidden; border: 3px solid var(--primary-light, var(--border-color)); }
.author-section .author-avatar { width: 100%; height: 100%; object-fit: cover; }
.author-section .author-info { flex: 1; }
.author-section .author-name { font-size: 1.125rem; font-weight: 600; margin-bottom: var(--space-xs); }
.author-section .author-name a { color: var(--text-primary, var(--dark-color)); }
.author-section .author-name a:hover { color: var(--primary-color); }
.author-section .author-description { font-size: 0.875rem; color: var(--text-light); margin-bottom: var(--space-sm); }
.author-section .author-bio { font-size: 0.9375rem; color: var(--text-light); line-height: 1.6; margin-top: 0; }

.article-author {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  position: relative;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
}

.author-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.author-link:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* Modern Author Card Design */
.author-card {
  margin-top: 15px;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.author-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.author-avatar-wrapper {
  flex-shrink: 0;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.author-card:hover .author-avatar {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-md);
}

.author-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.author-card:hover .author-avatar-placeholder {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-md);
}

.author-header-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* gap: var(--space-sm); */
}

.author-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

.author-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0;
  line-height: 1.3;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.author-link {
  color: var(--dark-color);
  text-decoration: none;
  transition: var(--transition);
}

.author-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.author-bio {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
  margin-top: var(--space-xs);
}

@media (max-width: 768px) {
  .author-card {
    padding: var(--space-md);
    margin-top: var(--space-md);
  }

  .author-card-header {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .author-avatar,
  .author-avatar-placeholder {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .author-header-content {
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .author-label {
    font-size: 0.75rem;
  }

  .author-name {
    font-size: 1.125rem;
    text-align: left;
  }

  .author-bio {
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: var(--space-xs);
  }
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--text-color);
  background: var(--white);
}

.article-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: var(--space-xxl);
  margin-bottom: var(--space-md);
  color: var(--dark-color);
  padding-left: var(--space-md);
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--secondary-color), var(--accent-color)) 1;
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
}

.article-content h3 {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--dark-color);
  font-family: var(--font-heading);
}

.article-content p {
  margin-bottom: var(--space-md);
}

.article-footer {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xl);
  border-top: 2px solid var(--border-color);
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--gray-50);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.share-label {
  font-weight: 600;
  color: var(--dark-color);
  font-family: var(--font-heading);
}

.share-btn {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.share-btn .share-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.share-btn.whatsapp:hover { background: linear-gradient(135deg, #25D366, #128C7E); }
.share-btn.linkedin:hover { background: linear-gradient(135deg, #0A66C2, #004182); }
.share-btn.telegram:hover { background: linear-gradient(135deg, #0088cc, #229ED9); }
.share-btn.copy:hover { background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); }

.comments-section {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xl);
  border-top: 2px solid var(--border-color);
}

.comments-count {
  font-size: 1rem;
  color: var(--text-light);
  font-family: var(--font-heading);
}

.comment-form {
  margin-bottom: var(--space-xl);
}

.comment-form textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  resize: vertical;
  margin-bottom: var(--space-md);
  transition: var(--transition);
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(212, 165, 184, 0.2);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-note {
  font-size: 0.9375rem;
  color: var(--text-light);
  font-family: var(--font-heading);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.comment {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--gray-50);
  border-radius: var(--border-radius-lg);
}

.comment-avatar {
  width: 48px;
  height: 48px;
  background-color: var(--secondary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
}

.comment-content {
  flex-grow: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.comment-author {
  font-weight: 600;
  color: var(--dark-color);
  font-family: var(--font-heading);
}

.comment-time {
  font-size: 0.875rem;
  color: var(--text-light);
  font-family: var(--font-heading);
}

.comment-text {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.comment-actions {
  display: flex;
  gap: var(--space-md);
}

.comment-like, .comment-reply {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
}

.comment-like:hover, .comment-reply:hover {
  color: var(--secondary-color);
  background-color: var(--white);
}

.related-articles-section {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xl);
  border-top: 2px solid var(--border-color);
}

.related-articles-title {
  font-size: 1.875rem;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-sm);
  font-weight: 700;
  color: var(--dark-color);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: -0.02em;
}

.related-articles-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
}

.related-articles-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  width: 100%;
}

.related-articles-grid .article-card {
  width: 100%;
}

@media (max-width: 768px) {
  .related-articles-grid {
    gap: var(--space-md);
  }
}

.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: none;
  z-index: 999;
  transition: var(--transition);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: none;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.navbar-container {
  position: relative;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 10001;
  position: relative;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background-color: var(--dark-color);
  transition: var(--transition);
  display: block;
  border-radius: var(--border-radius);
}

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

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

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

@media (max-width: 768px) {
  .navbar {
    padding: 5px 0;
    position: relative;
  }

  .breadcrumb {
    display: none;
  }

  .article-detail {
    padding-top: 0;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    gap: 0;
    border-top: 1px solid var(--border-color);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    display: none;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-link {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    display: block;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
    z-index: 10001;
  }

  .nav-actions {
    display: flex;
  }

  .headline-section {
    padding-top: 10px;
  }

  .list-page {
    padding-top: 0;
  }

  .section-padding {
    padding-top: 20px!important;
  }

  .pagination-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
  }

  .search-box {
    display: none;
  }

  .article-title {
    font-size: 1.75rem;
  }
}

.empty-state {
  text-align: center;
  padding: var(--space-xxl);
  background-color: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
}

.empty-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.empty-text {
  color: var(--text-light);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* All Article Page Styles */
.blog-archive-left {
  flex: 1;
  min-width: 0;
}

.rightsidebar .articles-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
  color: var(--text-light);
  font-family: var(--font-heading);
}

.entry-date-label {
  font-weight: 600;
  color: var(--text-color);
}

.entry-date {
  color: var(--text-light);
  margin-right: var(--space-md);
}

.entry-title {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.common-title {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.4;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.entry-title a,
.common-title a {
  color: var(--dark-color);
  text-decoration: none;
  transition: var(--transition);
}

.entry-title a:hover,
.common-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.entry-content {
  margin-top: var(--space-md);
}

.expert-content {
  color: var(--text-color);
  line-height: 1.9;
  margin-bottom: var(--space-lg);
}

.common-p {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--text-color);
}

.article-wrap {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: var(--space-xl);
  transition: var(--transition);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius-lg);
}

.article-wrap:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.entry-header {
  display: block;
}

.article_part_header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.article_part_header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
}

.article_part_h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--dark-color);
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
}

.detail-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 var(--space-lg) 0;
  color: var(--dark-color);
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
}

.article_part_div {
  line-height: 1.9;
  font-size: 1.125rem;
  color: var(--text-color);
}

.article_part_div p {
  margin-bottom: var(--space-lg);
}

.article_part_div h2,
.article_part_div h3,
.article_part_div h4 {
  margin-bottom: var(--space-md);
  font-weight: 700;
  color: var(--dark-color);
  font-family: var(--font-heading);
}

.article_part_div h2 {
  font-size: 1.875rem;
  margin-top: var(--space-xl);
}

.article_part_div h3 {
  font-size: 1.5rem;
  margin-top: var(--space-lg);
}

.article_part_div h4 {
  font-size: 1.25rem;
  margin-top: var(--space-md);
}

.article_part_div ul,
.article_part_div ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article_part_div li {
  margin-bottom: var(--space-sm);
}

.article_part_div img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: var(--space-lg) auto;
  box-shadow: var(--shadow-md);
}

.comments-area {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xxl);
  border-top: 2px solid var(--border-color);
}

.comment-respond {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.nv-is-boxed {
  border: 2px solid var(--border-color);
}

.comment-reply-title {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.comment-reply-title small {
  font-size: 0.9375rem;
  font-weight: 400;
}

.comment-reply-title small a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.comment-notes {
  margin-bottom: var(--space-lg);
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
}

.comment-notes span {
  display: block;
  margin-bottom: var(--space-xs);
}

.required-field-message {
  margin-top: var(--space-sm);
}

.required {
  color: var(--danger-color);
  font-weight: 700;
}

.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
  margin-bottom: var(--space-lg);
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--text-color);
  font-size: 1rem;
  font-family: var(--font-heading);
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--white);
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(212, 165, 184, 0.2);
}

.comment-form-comment textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  resize: vertical;
  min-height: 150px;
  transition: var(--transition);
  background-color: var(--white);
}

.comment-form-comment textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(212, 165, 184, 0.2);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: 0.9375rem;
  color: var(--text-light);
}

.comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--secondary-color);
}

.comment-form-cookies-consent label {
  cursor: pointer;
  line-height: 1.7;
  flex: 1;
}

.form-submit {
  margin-top: var(--space-xl);
  margin-bottom: 0;
}

.button {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  font-family: var(--font-heading);
  text-decoration: none;
  text-align: center;
  background-color: var(--white);
  color: var(--text-color);
}

.button-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.button-primary:active {
  transform: translateY(0);
}

.section-padding {
  padding-top: 10px;
  padding-bottom: var(--space-xl);
}

.section-padding-lg {
  padding-top: var(--space-xxl);
  padding-bottom: var(--space-xxl);
}

.blog-index {
  background-color: var(--white);
}

.rightsidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

.rightsidebar > aside,
.rightsidebar .sidebar,
.rightsidebar .list-sidebar {
  order: 0;
}

.ccontent-area {
  min-width: 0;
  max-width: none;
  order: -1;
}

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

  .rightsidebar > aside,
  .rightsidebar .sidebar,
  .rightsidebar .list-sidebar {
    order: 0;
  }
}

@media (max-width: 768px) {
  .article-wrap {
    padding: var(--space-lg);
  }

  .article_part_h1,
  .detail-title {
    font-size: 1.75rem;
  }

  .article_part_div {
    font-size: 1.0625rem;
  }

  .comment-respond {
    padding: var(--space-lg);
  }

  .comment-reply-title {
    font-size: 1.375rem;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

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

  .page-title {
    font-size: 2rem;
  }
}

/* Author Page Styles */
.author-profile-page {
  padding-top: 10px;
}

.author-hero-section {
  padding: var(--space-xxl) 0;
}

.author-hero-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xxl);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.author-avatar-wrapper {
  position: relative;
}

.author-avatar-large {
  width: 200px;
  height: 200px;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow-md);
  background-color: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.author-name-large {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-family: var(--font-heading);
}

.author-description {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

.author-content-section {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: var(--space-xxl);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-xxl);
}

.author-content-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  position: relative;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-family: var(--font-heading);
  text-transform: none;
}

.author-content-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
}

.author-content-body {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--text-color);
}

.author-content-body p {
  margin-bottom: var(--space-md);
}

.author-content-body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.author-content-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.author-articles-section {
  padding: var(--space-xxl) 0;
}

@media (max-width: 768px) {
  .author-hero-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-lg);
  }

  .author-avatar-large {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .author-name-large {
    font-size: 2rem;
  }

  .author-content-section {
    padding: var(--space-lg);
  }

  .author-content-title {
    font-size: 1.625rem;
  }
}

/* 列表/更多文章页广告位对称 */
.list-page .ad-slot { padding: var(--space-lg) 0; }
.list-page .ad-slot--top { padding-top: var(--space-md); padding-bottom: var(--space-lg); }
.list-page .ad-slot--bottom { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.list-page .ad-slot--inline { padding: var(--space-md) 0; }
