@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Taiwan English Blog - Warm Navy & Coral (SEO-friendly readability) */
  --primary-color: #C45C3E;
  --primary-dark: #A84A2F;
  --primary-light: #E07A5F;
  --secondary-color: #2C3E50;
  --accent-color: #3D5A80;
  --accent-warm: #E07A5F;
  --text-primary: #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --text-light: #A0AEC0;
  --bg-primary: #FAFAF9;
  --bg-secondary: #F5F3F0;
  --bg-tertiary: #EDEAE6;
  --border-color: #E8E6E3;
  --border-light: #F0EEEB;
  --success-color: #2D6A4F;
  --warning-color: #B5651D;
  --error-color: #9B2C2C;

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

  /* Typography - Outfit (UI) + Lora (reading) */
  --font-primary: 'Lora', Georgia, 'Times New Roman', serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-width: 1400px;
  --border-radius: 0;
  --border-radius-sm: 0;
  --border-radius-md: 0;
  --border-radius-lg: 0;
  --shadow-sm: 0 1px 4px 0 rgba(26, 26, 46, 0.06);
  --shadow-md: 0 4px 14px -2px rgba(26, 26, 46, 0.08), 0 2px 8px -2px rgba(26, 26, 46, 0.04);
  --shadow-lg: 0 14px 28px -4px rgba(26, 26, 46, 0.1), 0 6px 12px -2px rgba(26, 26, 46, 0.05);
  --shadow-xl: 0 28px 56px -8px rgba(26, 26, 46, 0.12);

  --transition: all 0.25s 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.75;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1300px;
  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-md);
  border: none;
  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; }
.mt-xl { margin-top: var(--space-xl); }

/* Button Styles - Editorial */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
  text-transform: none;
  background-color: var(--primary-color);
  color: white;
  font-family: var(--font-heading);
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: none;
  box-shadow: none;
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background-color: var(--bg-secondary);
}

/* Top bar - Centered minimal with pill-style nav */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 10px 0;
  transition: var(--transition);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.04);
}

.navbar.scrolled {
  padding: var(--space-md) 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.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-transform: none;
  font-family: var(--font-heading);
  position: relative;
}

.logo::after {
  display: none;
}

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

.nav-item {
  position: relative;
}

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

.nav-link::after {
  display: none;
}

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

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

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

/* Section Header - Centered title with underline (SEO-friendly hierarchy) */
.section-header {
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
  position: relative;
  padding-left: 0;
  border-left: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1.3;
  font-family: var(--font-heading);
  margin: 0 0 var(--space-sm) 0;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary-color);
  margin: var(--space-sm) auto 0;
  border-radius: 0;
}

.section-title::before {
  display: none;
}

.section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
  font-style: normal;
}

/* Featured Section - Bento-style cards with rounded corners */
.featured-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
  background-color: var(--bg-primary);
}

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

.featured-card {
  background-color: #c45c3e;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.featured-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.15);
}

.featured-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.featured-image-wrapper {
  width: 100%;
  min-width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--bg-tertiary);
  position: relative;
  margin-bottom: var(--space-md);
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

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

.featured-card:hover .featured-image-wrapper img {
  transform: scale(1.04);
  opacity: 0.92;
}

.featured-card-body {
  padding: 0 var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.featured-category {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-self: flex-start;
  font-family: var(--font-heading);
  margin-bottom: var(--space-xs);
  border-radius: var(--border-radius-sm);
}

.featured-date {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-top: auto;
  order: 10;
}

.featured-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-title:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Category Section - Horizontal strip with rounded blocks */
.category-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
  background: var(--bg-secondary);
  border-top: none;
  border-bottom: none;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: 0;
  justify-content: center;
  align-items: center;
}

.category-card {
  background: #c45c3e;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: var(--space-md) var(--space-xl);
  transition: var(--transition);
  text-decoration: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  position: relative;
  font-family: var(--font-heading);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  background-color: rgba(0, 0, 0, 0.2);
  color: #fff;
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-card::after {
  display: none;
}

.category-name {
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  text-transform: none;
  transition: var(--transition);
  color: inherit;
}

/* Trending Section - 4-column card grid (image on top) */
.trending-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
  background-color: var(--bg-primary);
}

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

.trending-card {
  background-color: #c45c3e;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.trending-card:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.trending-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.15);
  background-color: #c45c3e;
}

.trending-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  padding: 0;
  align-items: stretch;
  gap: 0;
}

.trending-image-wrapper {
  width: 100%;
  min-width: 100%;
  height: 140px;
  overflow: hidden;
  background: var(--bg-tertiary);
  position: relative;
  margin-bottom: 0;
  flex-shrink: 0;
}

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

.trending-card:hover .trending-image-wrapper img {
  transform: scale(1.04);
}

.trending-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  width: 28px;
  height: 28px;
  background-color: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  z-index: 2;
  border: none;
  border-radius: var(--border-radius-sm);
}

.trending-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
  min-width: 0;
}

.trending-category {
  display: inline-block;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-self: flex-start;
  font-family: var(--font-heading);
  margin-bottom: 0;
  border-radius: 0;
}

.trending-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-title:hover {
  color: rgba(255, 255, 255, 0.9);
}

.trending-date {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-top: auto;
}

/* Latest Section - 2-column alternating list style */
.latest-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
  background-color: var(--bg-primary);
}

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

.article-item {
  background: #c45c3e;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: row;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.article-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.15);
}

.article-item-link {
  display: flex;
  flex-direction: row;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  align-items: stretch;
}

.article-item-image {
  width: 200px;
  min-width: 200px;
  height: 150px;
  overflow: hidden;
  background: var(--bg-tertiary);
  position: relative;
  margin-bottom: 0;
  flex-shrink: 0;
}

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

.article-item:hover .article-item-image img {
  transform: scale(1.03);
}

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

.article-item-category {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-self: flex-start;
  font-family: var(--font-heading);
  margin-bottom: 0;
  border-radius: var(--border-radius-sm);
}

.article-item-date {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-top: auto;
}

.article-item-title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-item-title:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Footer - Dark bar with centered links (margins unchanged) */
.footer {
  background-color: #c45c3e;
  color: var(--text-light);
  padding: 20px 0;
}

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

.footer-column h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  font-family: var(--font-heading);
  color: var(--bg-primary);
  text-transform: none;
  letter-spacing: 0;
}

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

.footer-link {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  padding: var(--space-xs) 0;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
  position: relative;
}

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

.footer-link::after {
  display: none;
}

/* Responsive Design - margins/padding preserved */
@media (max-width: 1200px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-item-link {
    flex-direction: column;
  }
  .article-item-image {
    width: 100%;
    min-width: 100%;
    height: 160px;
  }
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trending-image-wrapper {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .navbar {
    max-height: 100px;
    padding: var(--space-sm) 0;
    min-height: auto;
  }

  .navbar .container {
    min-height: auto;
  }

  html {
    font-size: 15px;
  }

  body {
    line-height: 1.6;
  }

  .container {
    padding: 0 var(--space-md)!important;
  }

  main {
    padding-top: 0;
  }

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

  .mobile-toggle {
    display: block;
  }

  .section-header {
    padding-left: var(--space-md);
  }

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

  .featured-section,
  .category-section,
  .trending-section,
  .latest-section {
    padding-top: var(--space-md);
    padding-bottom: var(--space-xl);
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .articles-list {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  .trending-image-wrapper {
    height: 140px;
  }

  .article-item-link {
    flex-direction: column;
  }

  .article-item-image {
    width: 100%;
    min-width: 100%;
    height: 180px;
  }

  .featured-image-wrapper {
    height: 180px;
  }

  .category-grid {
    justify-content: center;
    gap: var(--space-md);
  }

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

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

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

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

.fade-in {
  animation: fadeIn 0.6s 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: 0;
  background-color: var(--bg-primary);
}

.breadcrumb-container {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding-top: var(--space-sm);
  padding-bottom: var(--space-md);
}

.breadcrumb ol {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
}

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

.breadcrumb li span {
  margin: 0 var(--space-xs);
  color: var(--text-muted);
}

.breadcrumb li[aria-current="page"] {
  color: var(--text-primary);
  font-weight: 600;
}

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

.page-header {
  margin-bottom: var(--space-lg);
  margin-top: var(--space-sm);
  text-align: center;
  border-left: none;
  padding-left: 0;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: var(--space-md);
}

.category-badge {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.5rem 1rem;
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
  border-radius: var(--border-radius-sm);
}

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

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

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

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

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

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
}

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

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

.list-sidebar {
  order: 0;
  /* position: sticky; */
  top: 80px;
  align-self: start;
}

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

.list-page .articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: stretch;
}

.list-page .articles-grid .trending-card {
  grid-column: span 1;
  height: 100%;
  border: none;
  border-bottom: none;
  background: #c45c3e;
}

.list-page .articles-grid .trending-card:hover {
  background: #c45c3e;
}

.list-page .articles-grid .trending-image-wrapper {
  height: 200px;
  width: 100%;
  min-width: 100%;
}

.list-page .articles-grid .trending-card-link {
  flex-direction: column;
  padding: 0;
  gap: 0;
}

.list-page .articles-grid .trending-card-body {
  padding: var(--space-md);
}

.ad-div {
  text-align: center;
  margin: var(--space-xl) 0;
}

@media (max-width: 1200px) {
  .list-page .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .list-sidebar {
    position: static;
  }

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

  .article-sidebar,
  .rightsidebar > aside,
  .rightsidebar .sidebar,
  .rightsidebar .list-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .breadcrumb-container {
    display: none;
  }

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

  .list-page .articles-grid .trending-image-wrapper {
    height: 200px;
  }
}

.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: 44px;
  height: 44px;
  padding: 0 var(--space-md);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: var(--transition);
  font-weight: 500;
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
  border-radius: var(--border-radius-md);
}

.post-pagination a:hover {
  background-color: var(--bg-secondary);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.post-pagination .current,
.post-pagination a.current {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

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

/* Sidebar Styles */
.sidebar-widget {
  background-color: var(--bg-secondary);
  border: none;
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-radius: 0;
  box-shadow: none;
}

.widget-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
  margin-top: 0;
  border-left: none;
  padding-left: 0;
  border-bottom: 2px solid var(--primary-color);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

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

.tag-item {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.4;
  border-radius: var(--border-radius-md);
}

.tag-item:hover {
  background-color: var(--primary-color);
  color: var(--bg-primary);
  border-color: var(--primary-color);
}

.popular-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

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

.popular-item:first-child {
  padding-top: 0;
}

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

.popular-item:hover {
  background-color: var(--bg-secondary);
  margin: 0 calc(var(--space-md) * -1);
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  border-radius: var(--border-radius);
}

.popular-content {
  flex: 1;
  min-width: 0;
}

.popular-rank {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  min-width: 32px;
  font-family: var(--font-heading);
  flex-shrink: 0;
  margin-right: var(--space-md);
  line-height: 1.4;
}

.popular-title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-title a {
  color: var(--text-primary);
  transition: var(--transition);
  display: block;
}

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

.popular-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
}

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

.categories-nav {
  margin: 0;
  padding: 0;
}

.categories-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-card {
  background-color: #c45c3e;
  border: none;
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  position: relative;
  border-radius: 0;
  box-shadow: none;
}

.sidebar-card:last-child {
  margin-bottom: 0;
}

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

.sidebar-card .card-header h3,
.sidebar-card .widget-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0.02em;
  padding-bottom: var(--space-sm);
  margin: 0;
  border-left: none;
  padding-left: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  line-height: 1.4;
}

.sidebar-card .popular-title a,
.sidebar-card .popular-title {
  color: rgba(255, 255, 255, 0.95);
}

.sidebar-card .popular-title a:hover {
  color: #fff;
}

.sidebar-card .category-link {
  color: rgba(255, 255, 255, 0.9);
}

.sidebar-card .category-link:hover,
.sidebar-card .category-item.active .category-link {
  color: #fff;
}

.sidebar-card .tag-item {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.sidebar-card .tag-item:hover {
  background-color: rgba(0, 0, 0, 0.25);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.sidebar-card .category-item {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.sidebar-card .category-item:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

.sidebar-card .popular-item {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.sidebar-card .popular-item:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

.card-header h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0.02em;
  padding-bottom: var(--space-sm);
  margin: 0;
  border-left: none;
  padding-left: 0;
  border-bottom: 2px solid var(--primary-color);
  line-height: 1.4;
}

.category-item {
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.category-item:first-child {
  padding-top: 0;
}

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

.category-item:hover {
  background-color: var(--bg-secondary);
  margin: 0 calc(var(--space-md) * -1);
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  border-radius: var(--border-radius);
}

.category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
  font-weight: 500;
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.category-item.active .category-link {
  color: var(--primary-color);
  font-weight: 600;
}

.category-name {
  font-weight: inherit;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  flex: 1;
}

.category-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  background-color: var(--bg-secondary);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 500;
}

.category-item.active .category-count {
  color: var(--bg-primary);
  background-color: var(--primary-color);
}

/* Detail Page Styles */
.article-detail {
  padding-top: 0;
  padding-bottom: var(--space-xxl);
  background-color: var(--bg-primary);
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  padding-top: var(--space-sm);
  text-transform: none;
  letter-spacing: 0;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
  font-weight: 500;
}

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

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

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

.article-sidebar {
  order: 0;
  /* position: sticky; */
  top: 80px;
  align-self: start;
}

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

.article-header {
  margin-bottom: 10px;
}

.article-category {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 10px;
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

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

.article-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  font-weight: 400;
  font-style: normal;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
}

.meta-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
}

.article-author-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm, 0.5rem);
  color: var(--text-muted);
  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;
}

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

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

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

.author-card {
  margin-top: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  padding: var(--space-xl);
}

.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: 0;
  object-fit: cover;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

.author-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 0;
  background-color: var(--bg-tertiary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 300;
  border: 2px solid var(--border-color);
}

.author-header-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.author-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-heading);
}

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

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

/* Author Section below article (same as station1605) */
.author-section {
  margin-top: var(--space-3xl, 2rem);
  padding-top: var(--space-2xl, 1.5rem);
  border-top: 1px solid var(--border-color);
}

.author-section .author-card {
  display: flex;
  gap: var(--space-lg, 1.25rem);
  padding: var(--space-lg, 1.25rem);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.author-section .author-avatar-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid 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, 0.25rem);
}

.author-section .author-name a {
  color: var(--text-primary);
}

.author-section .author-name a:hover {
  color: var(--primary-color);
}

.author-section .author-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm, 0.5rem);
}

.author-section .author-bio {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: var(--line-height-normal, 1.6);
  margin-top: 0;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-primary);
  margin: 0 auto;
  word-break: normal;
  overflow-wrap: normal;
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: var(--space-xxl);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  letter-spacing: -0.01em;
  font-family: var(--font-heading);
  border-left: none;
  padding-left: 0;
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--primary-color);
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  font-family: var(--font-heading);
  margin-top: var(--space-xl);
}

.article-content p {
  margin-top: 0.85em;
  margin-bottom: 0.85em;
}

.article-content p:first-child {
  margin-top: 0;
}

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

.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-xl);
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
}

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

.share-label {
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
}

.share-btn {
  width: 44px;
  height: 44px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--border-radius);
}

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

.share-btn.facebook:hover { background: linear-gradient(135deg, #3B5998, #4A6FA5); }
.share-btn.twitter:hover { background: linear-gradient(135deg, #1DA1F2, #3BA3F5); }
.share-btn.line:hover { background: linear-gradient(135deg, #00B900, #00D900); }
.share-btn.copy:hover { background-color: var(--primary-dark); }

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

.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-secondary);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
}

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

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

.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(196, 92, 62, 0.2);
}

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

.form-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  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-lg);
  padding: var(--space-xl);
  background-color: var(--bg-secondary);
  transition: var(--transition);
  border-radius: var(--border-radius-lg);
}

.comment-avatar {
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
  border-radius: 0;
  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(--text-primary);
  font-family: var(--font-heading);
}

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

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

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

.comment-like, .comment-reply {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  padding: var(--space-xs) var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.comment-like:hover, .comment-reply:hover {
  color: var(--primary-color);
}

.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.75rem;
  margin-bottom: var(--space-lg);
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  padding-left: 0;
  border-left: none;
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--primary-color);
}

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

.related-articles-grid .article-card {
  background: #c45c3e;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-left: none;
  padding: var(--space-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius-lg);
}

.related-articles-grid .article-card:hover {
  box-shadow: var(--shadow-md);
  transform: none;
  background: #c45c3e;
}

.related-articles-grid .article-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.related-articles-grid .article-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--bg-tertiary);
  margin-bottom: var(--space-lg);
  border-radius: var(--border-radius);
}

.related-articles-grid .article-card .article-content,
.related-articles-grid .article-card .article-title-wrapper {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.related-articles-grid .article-card .article-category,
.related-articles-grid .article-card .headline-category {
  display: inline-block;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: var(--space-md);
  align-self: flex-start;
  font-family: var(--font-heading);
  border-radius: var(--border-radius-sm);
}

.related-articles-grid .article-card .article-title,
.related-articles-grid .article-card .headline-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 var(--space-md) 0;
  color: #fff;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-articles-grid .article-card .article-title a {
  color: inherit;
  transition: var(--transition);
}

.related-articles-grid .article-card .article-title a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.related-articles-grid .article-card .article-excerpt,
.related-articles-grid .article-card .headline-excerpt {
  color: rgba(255, 255, 255, 0.9);
  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;
}

.related-articles-grid .article-card .article-meta,
.related-articles-grid .article-card .headline-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-heading);
  font-weight: 500;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: var(--space-md);
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .related-articles-section {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
  }

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

  .related-articles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .related-articles-grid .article-card {
    padding: var(--space-md);
  }

  .related-articles-grid .article-card img {
    height: 200px;
    margin-bottom: var(--space-md);
  }

  .related-articles-grid .article-card .article-title,
  .related-articles-grid .article-card .headline-title {
    font-size: 1.125rem;
  }
}

.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: none;
  z-index: 999;
  transition: var(--transition);
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  border: none;
}

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

.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: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
  display: block;
}

.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: var(--space-md) 0;
  }

  .breadcrumb-container {
    display: none;
  }

  .breadcrumb {
    display: none;
  }

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

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    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;
    color: var(--text-primary);
  }

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

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

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

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

  .nav-actions {
    display: flex;
  }

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

  .page-title {
    font-size: 2rem;
    padding-left: 10px;
  }
}

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

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

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

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

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

.rightsidebar .articles-list,
.blog-archive-left .articles-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
}

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

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

.entry-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 var(--space-md) 0;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.common-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.entry-title a:hover,
.common-title a:hover {
  color: var(--primary-color);
}

.entry-content {
  margin-top: 0;
}

.expert-content {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
  font-size: 0.9375rem;
}

.common-p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-wrap {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: var(--space-lg);
  margin-bottom: 0;
  box-shadow: var(--shadow-sm);
}

.article-wrap:last-child {
  margin-bottom: 0;
}

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

.entry-header {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.blog-archive-left .ad-div {
  margin: var(--space-lg) 0;
  text-align: center;
}

.blog-archive-left .ad-div:first-of-type {
  margin-top: 0;
  margin-bottom: var(--space-xl);
}

.entry-header {
  display: block;
}

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

.article_part_h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.detail-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-lg) 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

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

.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: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.article_part_div h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: var(--space-xxl);
  border-left: 4px solid var(--primary-color);
  padding-left: var(--space-md);
  padding-bottom: 0;
  border-bottom: none;
}

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

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

.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;
  margin: var(--space-lg) auto;
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
}

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

.comment-respond {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: var(--space-xl);
}

.comment-reply-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  border-left: 4px solid var(--primary-color);
  padding-left: var(--space-md);
  padding-bottom: 0;
  border-bottom: none;
}

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

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

.comment-notes {
  margin-bottom: var(--space-lg);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  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(--error-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-primary);
  font-size: 0.875rem;
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
}

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

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}

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

.comment-form-comment textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}

.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-secondary);
}

.comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-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);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--primary-color);
  font-family: var(--font-heading);
  text-decoration: none;
  text-align: center;
  background-color: var(--bg-primary);
  color: var(--primary-color);
  text-transform: none;
  letter-spacing: 0;
  border-radius: var(--border-radius);
}

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

.button-primary {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.button-primary:hover {
  background-color: var(--primary-dark);
}

.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(--bg-primary);
}

.blog-archive-left {
  width: 100%;
  max-width: 100%;
}

.blog-archive-left .page-header {
  margin-bottom: var(--space-lg);
  margin-top: 0;
  /* padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--border-color); */
}

.blog-archive-left .page-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

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

.rightsidebar > aside,
.rightsidebar .sidebar,
.rightsidebar .list-sidebar {
  order: 0;
  /* position: sticky; */
  top: 80px;
  align-self: start;
}

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

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

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

  .blog-archive-left .page-title {
    font-size: 1.75rem;
  }

  .blog-archive-left .page-header {
    margin-bottom: var(--space-md);
  }

  .entry-title,
  .common-title {
    font-size: 1.25rem;
  }

  .entry-meta {
    font-size: 0.75rem;
    gap: var(--space-sm);
  }

  .common-p,
  .expert-content {
    font-size: 0.875rem;
  }

  .blog-archive-left .articles-list {
    gap: var(--space-md);
  }

  .blog-archive-left .ad-div {
    margin: var(--space-md) 0;
  }

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

  .article_part_div {
    font-size: 1.125rem;
  }

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

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

.author-profile-page {
  padding-top: 0;
}

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

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

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

.author-avatar-large {
  width: 200px;
  height: 200px;
  border-radius: 0;
  overflow: hidden;
  border: 3px solid var(--border-color);
  background: var(--bg-tertiary);
  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(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-family: var(--font-heading);
}

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

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

.author-content-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-family: var(--font-heading);
  border-left: none;
  padding-left: 0;
  border-bottom: 2px solid var(--primary-color);
}

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

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

.author-content-body h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
  border-left: none;
  padding-left: 0;
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--primary-color);
}

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

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

.author-articles-section .section-header {
  margin-bottom: var(--space-xl);
}

.author-articles-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--font-heading);
}

.author-articles-section .articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.author-articles-section .article-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.author-articles-section .article-card:hover {
  border-color: var(--primary-color);
}

.author-articles-section .article-top-row {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.author-articles-section .article-card .article-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.author-articles-section .article-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.author-articles-section .article-card:hover .article-image img {
  transform: scale(1.03);
}

.author-articles-section .article-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
}

.author-articles-section .article-card .article-category {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
}

.author-articles-section .article-card .article-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 var(--space-xs) 0;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.author-articles-section .article-card .article-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.author-articles-section .article-card .article-title a:hover {
  color: var(--primary-color);
}

.author-articles-section .article-card .article-excerpt {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 var(--space-md) 0;
}

.author-articles-section .article-card .article-content {
  margin-top: auto;
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-color);
}

.author-articles-section .article-card .article-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

@media (max-width: 1024px) {
  .author-articles-section .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .author-articles-section .section-title {
    font-size: 1.5rem;
  }

  .author-articles-section .articles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@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.75rem;
  }
}
