@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  /* Taiwan English Blog - Pure White Theme */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --accent-color: #10b981;
  --accent-hover: #059669;
  --accent-soft: rgba(37, 99, 235, 0.06);
  --accent-glow: rgba(37, 99, 235, 0.16);
  --secondary-color: #0f172a;
  --text-primary: #0f172a;
  --text-secondary: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #ffffff;
  --bg-tertiary: #ffffff;
  --border-color: #e5e7eb;
  --border-light: #eef2ff;
  --card-bg: #ffffff;
  --success-color: #22c55e;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --on-primary: #ffffff;

  /* 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 - DM Sans + DM Serif Display */
  --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-mono: 'DM Sans', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --type-display-xl: clamp(2.5rem, 5vw, 4rem);
  --type-display-lg: clamp(2rem, 4vw, 3rem);
  --type-display-md: clamp(1.5rem, 3vw, 2rem);
  --type-body-lg: 1.125rem;
  --type-body: 1rem;
  --type-caption: 0.8125rem;
  --type-overline: 0.6875rem;

  --container-width: 1400px;
  --border-radius: 6px;
  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  --border-radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 56px rgba(15, 23, 42, 0.1), 0 8px 24px rgba(15, 23, 42, 0.05);

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

  --card-height: 250px;

  --gradient-primary: #0f172a;
  --gradient-secondary: linear-gradient(180deg, #f5f5f4 0%, #e7e5e4 100%);
  --gradient-accent: rgba(15, 23, 42, 0.05);
}

/* Detail page: theme colors only - article body font/size/line-height kept in blade inline */
.article-detail {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --accent-color: #10b981;
  --accent-hover: #059669;
  --accent-soft: rgba(37, 99, 235, 0.05);
  --accent-glow: rgba(37, 99, 235, 0.12);
  --text-primary: #0f172a;
  --text-secondary: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #ffffff;
  --bg-tertiary: #ffffff;
  --border-color: #e5e7eb;
  --border-light: #e5e7eb;
  --card-bg: #ffffff;
  --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-mono: 'DM Sans', ui-monospace, monospace;
  --border-radius: 6px;
  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  --border-radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 56px rgba(15, 23, 42, 0.1), 0 8px 24px rgba(15, 23, 42, 0.05);
}

* {
  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.65;
  color: var(--text-primary);
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: 0.02em;
}

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

.container-wide {
  max-width: 1400px;
}

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

.hero-card figure,
.trending-card figure,
.latest-article-row figure,
.list-article-card figure {
  margin: 0;
}

.article-content img {
  margin: var(--space-xl) auto;
  border-radius: var(--border-radius-md);
  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); }

main {
  padding-top: 0;
  position: relative;
  z-index: 1;
}

/* Button Styles - Editorial Refined */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--border-radius-sm);
  background: var(--primary-color);
  color: var(--on-primary);
  font-family: var(--font-primary);
  border: 1px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  position: relative;
}

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

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

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

.btn-secondary:hover {
  background: var(--accent-soft);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* Site Header - Redesigned */
.site-header,
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--card-bg);
  z-index: 1000;
  padding: var(--space-lg) 0;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
}

.site-header.scrolled,
.navbar.scrolled {
  padding: var(--space-md) 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

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

.site-logo,
.logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: -0.03em;
  font-family: var(--font-heading);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.site-logo::after,
.logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.site-logo:hover::after,
.logo:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav,
.navbar nav {
  display: flex;
}

.site-nav-list,
.nav-menu {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav-item,
.nav-item {
  position: relative;
}

.site-nav-link,
.nav-link {
  font-weight: 500;
  padding: var(--space-sm) var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-family: var(--font-primary);
  letter-spacing: 0.02em;
  transition: var(--transition-fast);
  text-decoration: none;
  position: relative;
}

.site-nav-link::after,
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: var(--space-lg);
  right: var(--space-lg);
  height: 1px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

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

.site-nav-link:hover::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.site-nav-link.active,
.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.site-nav-link.active::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.site-nav-toggle,
.mobile-toggle {
  display: none !important;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--space-sm);
  cursor: pointer;
  width: 36px;
  height: 36px;
}

.site-header .hamburger span,
.navbar .hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

/* Section Header - Modern Geometric */
.section-header-centered-block {
  text-align: center;
  border-bottom: none;
  position: relative;
}

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

.section-overline {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
  font-family: var(--font-primary);
}

.section-title-block {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  font-style: normal;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

/* Editorial Typography Styles */
.section-eyebrow {
  font-size: var(--type-overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: var(--space-xs);
  font-family: var(--font-primary);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: var(--type-display-md);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.section-intro {
  font-size: var(--type-body-lg);
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 560px;
  margin: var(--space-sm) auto 0;
}

/* Section Header - Flex Editorial */
.section-header-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.section-header-left-block {
  display: block;
}

.section-number {
  display: none !important;
}

.section-header-split .section-eyebrow {
  display: none !important;
}

.section-header-split .section-heading {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-family: var(--font-heading);
  position: relative;
  padding-left: 0;
}

.section-header-split .section-heading::before {
  display: none;
}

.section-header-split .section-heading::after {
  display: none;
}

.section-intro-split {
  display: none !important;
}

/* Hero section header: stacked, accent underline */
.hero-section-header.section-header-split {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-section-header .section-heading::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent-color);
  margin-top: var(--space-sm);
  border-radius: 0;
}

/* Legacy section headers - Premium Redesign */
.section-header {
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: var(--space-md);
  padding-left: 0;
  border-bottom: 1px solid var(--border-color);
  border-left: none;
}

.section-header::before {
  content: attr(data-overline);
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: var(--space-xs);
  font-family: var(--font-heading);
  width: fit-content;
}

.section-header::after {
  display: none;
}

.section-header:not([data-overline])::before {
  display: none;
}

.section-header:not([data-overline])::after {
  display: none;
}

.section-header-centered {
  text-align: center;
  align-items: center;
  padding-left: 0;
  border-left: none;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section-header-centered::before {
  content: attr(data-overline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: var(--space-xs);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.section-header-centered:not([data-overline])::after {
  display: block;
}

.section-header-centered .section-title {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-family: var(--font-heading);
  color: var(--text-primary);
  position: relative;
  display: block;
  line-height: 1.3;
  text-transform: none;
  padding-bottom: 0;
  text-align: center;
}

.section-header-centered .section-title::after {
  display: none;
}

.section-header-right {
  text-align: right;
  align-items: flex-end;
}

/* Left-aligned variant - Premium */
.section-header-left {
  text-align: left;
  align-items: flex-start;
  padding-left: 0;
  border-left: none;
}

.section-header-left::before {
  margin-left: 0;
}

.section-header-left::after {
  display: none;
}

.section-header-left .section-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left;
}

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

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

/* Trending Section - Premium Cards */
.trending-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
  background: var(--bg-primary);
}

.trending-section .section-header {
  border-bottom: none;
}

.trending-section .section-header::before {
  color: var(--accent-color);
}

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

.latest-section .section-header {
  border-bottom: none;
}

.latest-section .section-header::before {
  color: var(--accent-color);
}

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

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

.article-item-image::after {
  display: none;
}

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

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

.article-item-category {
  display: inline-block;
  color: var(--primary-color);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.35rem 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  align-self: flex-start;
  font-family: var(--font-primary);
  margin-bottom: 0;
  background: var(--accent-soft);
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: var(--border-radius-sm);
}

.article-item-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-family: var(--font-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-item-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-top: auto;
}

.article-item-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-bottom: 0;
  border-bottom: none;
}

/* Site Footer - Redesigned */
.site-footer,
.footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 25px 0;
  position: relative;
  /* margin-top: var(--space-xxl); */
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.site-footer-brand {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-color);
  font-family: var(--font-heading);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: var(--transition-fast);
}

.site-footer-brand:hover {
  color: var(--primary-dark);
}

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

.site-footer-link,
.footer-link {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: var(--font-primary);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: var(--transition-fast);
}

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

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

/* Responsive Design - margins/padding preserved */
@media (max-width: 1200px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  body {
    line-height: 1.65;
  }

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

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

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

  .site-nav-toggle,
  .mobile-toggle {
    display: flex !important;
  }

  .site-header,
  .navbar {
    max-height: 100px;
    padding: var(--space-sm) 0;
    min-height: auto;
  }

  .site-header-inner,
  .navbar .container {
    min-height: auto;
  }

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

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

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

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

  .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(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s 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; }

/* Pagination - Modern Premium Design */
.pagination-wrapper {
  margin-top: var(--space-xxl);
  padding: var(--space-xl) 0;
  display: flex;
  justify-content: center;
}

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

.post-pagination {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--border-radius-lg);
}

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

/* Prev/Next - Modern Button Style */
.post-pagination li:first-child a,
.post-pagination li:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-width: 40px;
  height: 40px;
  /* padding: 0 var(--space-md); */
  color: var(--text-secondary);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.post-pagination li:first-child a[href]:hover,
.post-pagination li:last-child a[href]:hover {
  color: var(--on-primary);
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.post-pagination li:first-child a:not([href]),
.post-pagination li:last-child a:not([href]) {
  color: var(--text-light);
  background: var(--bg-tertiary);
  border-color: var(--border-light);
  cursor: not-allowed;
  opacity: 0.5;
}

/* Page Numbers - Modern Card Style */
.post-pagination li:not(:first-child):not(:last-child) {
  position: relative;
}

.post-pagination li:not(:first-child):not(:last-child)::before {
  display: none;
}

.post-pagination li:not(:first-child):not(:last-child) a,
.post-pagination li:not(:first-child):not(:last-child) span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0;
  color: var(--text-secondary);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.post-pagination li:not(:first-child):not(:last-child) a:hover {
  color: var(--on-primary);
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Current Page */
.post-pagination .current,
.post-pagination a.current {
  color: var(--on-primary) !important;
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-md) !important;
}

/* Ellipsis */
.post-pagination .ellipsis,
.post-pagination span.ellipsis,
.post-pagination li span:not(.current) {
  color: var(--text-muted);
  min-width: 40px;
  height: 40px;
  cursor: default;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}

/* Disabled */
.post-pagination .disabled,
.post-pagination a:not([href]):not(.current) {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .post-pagination {
    gap: var(--space-xs);
    padding: var(--space-xs);
    flex-wrap: wrap;
  }

  .post-pagination li:first-child a,
  .post-pagination li:last-child a,
  .post-pagination li:not(:first-child):not(:last-child) a,
  .post-pagination li:not(:first-child):not(:last-child) span {
    min-width: 36px;
    height: 36px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 640px) {
  .post-pagination {
    gap: 0.25rem;
    padding: 0.5rem;
  }

  .post-pagination li:first-child a,
  .post-pagination li:last-child a,
  .post-pagination li:not(:first-child):not(:last-child) a,
  .post-pagination li:not(:first-child):not(:last-child) span {
    min-width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
}

/* Sidebar - Premium Redesign */
.list-sidebar,
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-self: flex-start;
}

.sidebar-modules {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 24px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  position: relative;
  overflow: hidden;
}

.sidebar-modules::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 55%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.sidebar-module {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  position: relative;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(148, 163, 184, 0.55);
}

.sidebar-module:first-child {
  padding-top: 0;
  border-top: none;
}

.sidebar-module-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 var(--space-md) 0;
}

/* Search */
.sidebar-search-form {
  display: flex;
  gap: 0;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  transition: var(--transition-fast);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sidebar-search-form:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.15);
}

.sidebar-search-input {
  flex: 1;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-family: var(--font-primary);
  border: none;
  background: transparent;
  color: var(--text-primary);
}

.sidebar-search-input::placeholder {
  color: var(--text-muted);
}

.sidebar-search-input:focus {
  outline: none;
}

.sidebar-search-btn {
  padding: 0.75rem 1rem;
  background: var(--primary-color);
  color: var(--on-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.sidebar-search-btn:hover {
  background: var(--accent-color);
}

/* Categories */
.sidebar-nav {
  margin: 0;
}

.sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-cat-item {
  margin: 0;
}

.sidebar-cat-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.5rem 0.75rem;
  margin: 0 -0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  border-radius: 6px;
}

.sidebar-cat-item:last-child .sidebar-cat-link {
  border-bottom: none;
}

.sidebar-cat-link:hover {
  color: var(--primary-color);
  background: rgba(15, 23, 42, 0.04);
}

.sidebar-cat-link.active {
  color: var(--primary-color);
  font-weight: 600;
  background: rgba(180, 83, 9, 0.08);
}

.sidebar-cat-num {
  flex-shrink: 0;
  font-family: var(--font-primary);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  min-width: 1.25rem;
}

.sidebar-cat-link:hover .sidebar-cat-num,
.sidebar-cat-link.active .sidebar-cat-num {
  color: var(--accent-color);
}

.sidebar-cat-name {
  flex: 1;
  min-width: 0;
}

/* Popular */
.sidebar-popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-popular-item {
  margin: 0;
}

.sidebar-popular-link {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: 0.5rem 0;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.sidebar-popular-item:last-child .sidebar-popular-link {
  border-bottom: none;
}

.sidebar-popular-link:hover {
  padding-left: var(--space-xs);
}

.sidebar-popular-rank {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.06);
  border-radius: 6px;
  font-family: var(--font-primary);
  transition: var(--transition-fast);
}

.sidebar-popular-item:nth-child(1) .sidebar-popular-rank {
  background: linear-gradient(135deg, #d4af37 0%, #b8960c 100%);
  color: #fff;
}

.sidebar-popular-item:nth-child(2) .sidebar-popular-rank {
  background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
  color: #fff;
}

.sidebar-popular-item:nth-child(3) .sidebar-popular-rank {
  background: linear-gradient(135deg, #cd7f32 0%, #a0522d 100%);
  color: #fff;
}

.sidebar-popular-link:hover .sidebar-popular-rank {
  background: var(--accent-color) !important;
  color: var(--on-primary) !important;
}

.sidebar-popular-text {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-popular-link:hover .sidebar-popular-text {
  color: var(--primary-color);
}

/* Tags */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.sidebar-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-color);
  background: rgba(180, 83, 9, 0.1);
  border-radius: 999px;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid rgba(180, 83, 9, 0.2);
}

.sidebar-tag:hover {
  color: #fff;
  background: var(--accent-color);
  border-color: var(--accent-color);
}

/* Author */
.sidebar-author-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.75rem;
  margin: 0 -0.5rem;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.sidebar-author-link:hover {
  background: rgba(180, 83, 9, 0.08);
  border-color: rgba(180, 83, 9, 0.2);
}

.sidebar-author-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(15, 23, 42, 0.1);
  transition: var(--transition-fast);
}

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

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

.sidebar-author-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.sidebar-author-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

.sidebar-author-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Legacy sidebar (for compatibility) */
.sidebar-block {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
}

.sidebar-block-title {
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-md) 0;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-light);
}

.sidebar-cat-link,
.sidebar-popular-link,
.sidebar-tag {
  font-size: 0.8125rem;
}

.sidebar-author-info {
  flex: 1;
  min-width: 0;
}

.sidebar-author-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 var(--space-xs) 0;
}

.sidebar-author-name a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.sidebar-author-desc {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Legacy sidebar compatibility */
.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  margin-bottom: 0;
}

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

.widget-header {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-light);
}

.widget-title {
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.widget-body {
  margin: 0;
}

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

.tag-item {
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-radius: 999px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.tag-item:hover {
  color: var(--primary-color);
  background: var(--accent-soft);
}

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

.popular-item {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
}

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

.popular-title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}

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

.categories-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item {
  margin: 0;
}

.category-link {
  display: block;
  padding: var(--space-sm) 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

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

.author-profile {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

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

.author-avatar {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border-light);
}

.author-name {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
}

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

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

.author-profile .author-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: var(--space-xs) 0 0;
}

/* ================================
   NEW LAYOUT STYLES - Premium Magazine Editorial
   ================================ */

/* Section Header - Premium with accent bar */
.section-header-row {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: var(--space-lg);
}

.section-header-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
  text-align: left;
  padding-left: var(--space-lg);
  position: relative;
}

.section-header-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
  border-radius: 0;
}

.section-title-row {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
  position: relative;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0;
}

.section-header-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

.section-header-link:hover {
  color: var(--accent-color);
  gap: calc(var(--space-xs) + 2px);
}

.section-header-link svg {
  transition: transform 0.2s ease;
}

.section-header-link:hover svg {
  transform: translateX(2px);
}

/* Trending Section */
.trending-bento {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}

/* Latest Bento Grid - Premium Staggered */
.latest-bento {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.latest-bento-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.latest-bento-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.latest-bento-card:hover::after {
  transform: scaleX(1);
}

/* 5 column grid - all cards equal width */

.latest-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(15, 23, 42, 0.15);
}

.latest-bento-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.latest-bento-image {
  width: 100%;
  margin: 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-tertiary);
}

/* All cards use same aspect ratio in 5-column layout */

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

.latest-bento-card:hover .latest-bento-image img {
  transform: scale(1.04);
}

.latest-bento-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  position: relative;
}

.latest-bento-cat {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: var(--space-xs);
  background: var(--accent-soft);
  padding: 0.35rem 0.625rem;
  border-radius: var(--border-radius-md);
  align-self: flex-start;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.latest-bento-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0 0 var(--space-xs) 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.02em;
}

/* All cards use same title size in 5-column layout */

.latest-bento-excerpt {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 var(--space-xs) 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-bento-date {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  margin-top: auto;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .latest-bento {
    grid-template-columns: repeat(3, 1fr);
  }
  .latest-bento-card:nth-child(n) {
    grid-column: span 1 !important;
    margin-top: 0 !important;
  }
  /* All cards use same aspect ratio in responsive layout */

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

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

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

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

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

/* Category Strip - Editorial Pill Style */
.category-strip-section {
  padding: var(--space-lg) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.category-strip-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.category-strip-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.category-strip-centered .category-strip-header {
  max-width: 520px;
}

.category-strip-block {
  justify-content: center;
}

.category-strip-header {
  max-width: 320px;
}

.category-strip-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.category-strip-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0 0 var(--space-xs) 0;
}

.category-strip-subtitle {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  flex: 1;
}

.category-strip-link {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background: var(--card-bg);
  border-radius: 0;
  border: 1px solid var(--border-color);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.01em;
}

.category-strip-link:hover {
  color: var(--on-primary);
  border-color: transparent;
  background: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* List Page - Editorial Style (matches homepage) */
.list-page {
  padding-top: 0;
  background: var(--bg-primary);
}

/* List Editorial - same structure as homepage Trending/Latest */
.list-editorial.trending-editorial {
  border-top: none;
  padding-top: var(--space-xl);
}

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

.list-editorial .list-breadcrumb {
  margin-bottom: 0;
}

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

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

.list-editorial .trending-editorial-item.trending-wide {
  grid-column: span 2;
}

.list-editorial .pagination-wrapper {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xl);
}

.list-empty-editorial {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
}

.list-empty-editorial .list-empty-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--space-md);
  opacity: 0.6;
}

.list-empty-editorial .list-empty-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm);
}

.list-empty-editorial .list-empty-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
}

.topic-nav-inline {
  padding: var(--space-xxl) 0 var(--space-xl);
  margin-top: var(--space-xxl);
  border-top: 1px solid var(--border-light);
}

.topic-nav-inline .topic-nav-header {
  margin-bottom: var(--space-lg);
}

.topic-nav-pill.active {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: rgba(180, 83, 9, 0.06);
}

.topic-nav-pill.active .topic-nav-pill-num {
  color: var(--accent-color);
}

.list-header {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: var(--space-lg);
}

/* List Header - Redesigned */
.list-header-new {
  padding: var(--space-xl) 0 var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: none;
  position: relative;
  padding-left: var(--space-xl);
}

.list-header-new::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: var(--space-lg);
  width: 3px;
  background: var(--primary-color);
  border-radius: 0;
}

.list-breadcrumb {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-sm);
}

.list-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
}

.list-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.list-breadcrumb-sep {
  color: var(--text-light);
  margin: 0 var(--space-xs);
}

.list-breadcrumb-current {
  color: var(--text-secondary);
  font-weight: 500;
}

.list-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.2;
}

.list-title-new {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
}

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

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

.list-sidebar {
  order: 1;
  align-self: start;
}

/* List Grid - Card Layout */
.list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.list-card {
  margin: 0;
  background: var(--card-bg);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.list-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

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

.list-card-fig {
  margin: 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.list-card-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.list-card:hover .list-card-fig img {
  transform: scale(1.03);
}

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

.list-card-cat {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.list-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-card-link:hover .list-card-title {
  color: var(--primary-color);
}

.list-card-excerpt {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-card-date {
  font-size: 0.6875rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
  margin-top: auto;
}

.list-ad-item {
  grid-column: 1 / -1;
  padding: var(--space-xl) 0;
  display: flex;
  justify-content: center;
}

/* Legacy list-article-rows (for other pages) */
.list-article-rows {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-article-row {
  margin: 0;
  border-bottom: 1px solid var(--border-light);
}

.list-article-card {
  margin: 0;
}

.list-article-link {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  text-decoration: none;
  color: inherit;
  min-height: 108px;
  align-items: center;
  transition: var(--transition-fast);
}

.list-article-link:hover {
  background: var(--bg-secondary);
}

.list-article-fig {
  margin: 0;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  background: var(--bg-tertiary);
  aspect-ratio: 16/10;
}

.list-article-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.list-article-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 0;
  justify-content: center;
}

.list-article-cat,
.list-article-title,
.list-article-excerpt,
.list-article-date {
  font-size: inherit;
}

.list-ad-row {
  padding: var(--space-xl) 0;
  display: flex;
  justify-content: center;
}

/* List Empty State - Redesigned */
.list-empty-new {
  text-align: center;
  padding: var(--space-xxl);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
}

.list-empty-new .list-empty-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.6;
}

.list-empty-new .list-empty-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
}

.list-empty-new .list-empty-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg) 0;
  line-height: 1.6;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.list-empty {
  text-align: center;
  padding: var(--space-xxl);
  background: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
}

.list-empty-icon {
  display: block;
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.list-empty-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
}

.list-empty-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg) 0;
  line-height: 1.6;
}

/* Legacy list-page-hero, breadcrumb for other pages */
.list-page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: var(--space-lg);
}

.breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

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

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

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

.list-page-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin: 0;
}

/* Legacy list-bento-grid for more_article etc */
.list-page .list-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.list-bento-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.list-bento-card:hover {
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
}

.list-bento-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.list-bento-image {
  aspect-ratio: 5/3;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.list-bento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.list-bento-card:hover .list-bento-image img {
  transform: scale(1.03);
}

.list-bento-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.list-bento-cat {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.list-bento-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-bento-excerpt {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-bento-date {
  font-size: 0.6875rem;
  color: var(--text-light);
  margin-top: auto;
}

.list-ad-wrapper {
  grid-column: 1 / -1;
  padding: var(--space-lg) 0;
}

@media (max-width: 1024px) {
  .list-layout,
  .list-editorial .list-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .list-editorial .trending-editorial-item.trending-wide {
    grid-column: span 2;
  }

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

  .list-sidebar {
    order: 1;
  }

  .list-article-link {
    grid-template-columns: 120px 1fr;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    min-height: 90px;
  }

  .list-article-fig {
    aspect-ratio: 16/10;
  }

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

@media (max-width: 768px) {
  .list-header-new {
    padding-left: var(--space-lg);
  }

  .list-header-new::before {
    width: 3px;
  }

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

  .list-editorial .trending-editorial-item.trending-wide {
    grid-column: span 1;
  }

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

  .list-article-link {
    grid-template-columns: 100px 1fr;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    min-height: 75px;
  }

  .list-article-title {
    font-size: 0.9375rem;
  }

  .list-article-excerpt {
    display: none;
  }

  .list-card-title {
    font-size: 0.9375rem;
  }

  .list-card-excerpt {
    display: none;
  }

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

@media (max-width: 640px) {
  .list-article-link {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .list-grid {
    gap: var(--space-md);
  }

  .list-article-fig {
    aspect-ratio: 16/10;
    max-height: 140px;
  }

  .list-title,
  .list-page-title {
    font-size: 1.5rem;
  }

  .list-breadcrumb,
  .breadcrumb {
    display: none;
  }

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

/* Detail Page - Redesigned Article Layout */
.article-detail {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
  background: var(--bg-primary);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xxl);
}

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

.article-sidebar {
  top: 96px;
  height: fit-content;
  align-self: flex-start;
}

/* Detail Breadcrumb */
.detail-breadcrumb {
  margin-bottom: var(--space-lg);
}

.detail-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.detail-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.detail-breadcrumb-sep {
  color: var(--text-light);
  margin: 0 var(--space-xs);
}

.detail-breadcrumb-current {
  color: var(--text-secondary);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Detail Header */
.detail-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  /* padding-left: var(--space-xl); */
}

.detail-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
  padding: 0.35rem 0.75rem;
  background: var(--accent-soft);
  border-radius: var(--border-radius-sm);
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0 0 var(--space-md) 0;
  letter-spacing: -0.03em;
}

.detail-meta {
  margin-top: var(--space-sm);
}

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

.meta-details {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.publish-date, .update-date {
  font-family: var(--font-primary);
}

.article-author-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

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

.article-author-link img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

/* Article body wrap - no change to typography */
.detail-body-wrap {
  margin-top: 0;
}

/* Author Section - Card Style */
.detail-author {
  margin-top: var(--space-xxl);
}

.detail-author .author-card {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  padding: var(--space-xl);
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.detail-author .author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.detail-author .author-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 var(--space-xs) 0;
}

.detail-author .author-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.6;
}

.detail-author .author-bio {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Article Footer - Share Bar */
.detail-footer {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-color);
}

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

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

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

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

.share-icon {
  width: 18px;
  height: 18px;
}

/* Legacy article-header for non-detail pages */
.article-header {
  margin-bottom: var(--space-xl);
}

.article-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: var(--space-sm);
  padding: 0.4rem 0.875rem;
  background: var(--accent-soft);
  border-radius: var(--border-radius-md);
}

/* Legacy author-section */
.author-section {
  margin-top: var(--space-xxl);
}

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

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

.author-avatar {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 var(--space-xs) 0;
}

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

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

.author-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.6;
}

.author-bio {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.article-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Comments Section */
.detail-comments {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xxl);
  border-top: 1px solid var(--border-color);
}

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

.detail-comments-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.detail-comments .comments-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

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

.comments-count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.comment-form {
  background: var(--bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--border-light);
}

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

.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-md);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

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

.comment {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  flex-shrink: 0;
  font-family: var(--font-primary);
}

.comment-content {
  flex: 1;
}

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

.comment-author {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

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

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

.comment-text p {
  margin: 0;
}

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

.comment-like, .comment-reply {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

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

/* Related Articles - Detail Redesign */
.detail-related {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
}

.detail-related-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-lg) 0;
  letter-spacing: -0.02em;
}

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

.detail-related-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.detail-related-card:hover {
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
}

.detail-related-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.detail-related-fig {
  margin: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.detail-related-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.detail-related-card:hover .detail-related-fig img {
  transform: scale(1.03);
}

.detail-related-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.detail-related-headline {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.02em;
}

.detail-related-link:hover .detail-related-headline {
  color: var(--primary-color);
}

.detail-related-excerpt {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.related-articles-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

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

.related-articles-grid .article-card {
  background: var(--card-bg);
  padding: var(--space-lg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.related-articles-grid .article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  background: var(--card-bg);
  color: var(--primary-color);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
}

.back-to-top:hover {
  background: var(--primary-color);
  color: var(--on-primary);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* Hamburger Menu */
.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: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .article-sidebar {
    position: static;
  }

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

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

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

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

  .breadcrumb,
  .detail-breadcrumb {
    display: none;
  }

  .article-detail {
    padding-top: var(--space-md);
  }

  .detail-header {
    padding-left: var(--space-lg);
  }

  .detail-header::before {
    width: 3px;
  }

  .detail-author .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .site-nav-list,
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    z-index: 10000;
    gap: 0;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: var(--border-radius-md);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    display: none;
  }

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

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

  .site-nav-link.active,
  .nav-link.active {
    color: var(--primary-color);
    background: var(--accent-soft);
  }

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

  .site-nav-toggle,
  .mobile-toggle,
  .site-nav-toggle.hamburger,
  .mobile-toggle.hamburger {
    display: flex !important;
    z-index: 10001;
  }

  .nav-actions {
    display: flex;
  }

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

  .author-card {
    flex-direction: column;
    text-align: center;
  }

  .author-avatar-wrapper {
    margin: 0 auto;
  }

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

  .comment {
    flex-direction: column;
  }

  .comment-avatar {
    margin: 0 auto;
  }

  .comment-header {
    justify-content: center;
  }

  .comment-text {
    text-align: center;
  }

  .comment-actions {
    justify-content: center;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: var(--space-xxl);
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  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.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

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

/* ================================
   INDEX PAGE STYLES - Premium Magazine Editorial
   ================================ */

.post-pagination li.perivous-page {
  display: none;
}

/* ================================
   INDEX PAGE - Hero Lead Layout
   ================================ */

.hero-lead {
  position: relative;
  padding: var(--space-xl) 0 var(--space-xxl);
  background: var(--bg-primary);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-lead-header {
  margin-bottom: var(--space-lg);
}

.hero-lead-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: var(--space-xs);
  font-family: var(--font-primary);
}

.hero-lead-title {
  font-family: var(--font-heading);
  font-size: var(--type-display-md);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-lead-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}

.hero-lead-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.hero-card-lead {
  grid-column: span 2;
  grid-row: span 2;
}

.hero-card-lead .hero-card-fig {
  aspect-ratio: 5/3;
}

.hero-card-lead .hero-card-body {
  padding: var(--space-md) var(--space-lg);
}

.hero-card-lead .hero-card-headline {
  font-size: 1.0625rem;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.hero-card-lead .hero-card-excerpt {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 0.75rem;
}

.hero-card-secondary .hero-card-excerpt {
  display: none;
}

.hero-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

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

.hero-card-fig {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 5/3;
  background: var(--bg-tertiary);
}

.hero-card-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-card:hover .hero-card-fig img {
  transform: scale(1.03);
}

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

.hero-card-cat {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  align-self: flex-start;
}

.hero-card-headline {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.02em;
}

.hero-card-excerpt {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-card-date {
  font-size: 0.6875rem;
  color: var(--text-light);
  margin-top: auto;
  letter-spacing: 0.03em;
}

/* Legacy hero-section compatibility */
.hero-section {
  position: relative;
  padding: var(--space-xl) 0 var(--space-xxl);
  background: var(--bg-primary);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

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

.hero-section-header {
  margin-bottom: var(--space-lg);
}

.hero-section-number {
  display: none;
}

/* Featured Grid - Magazine Style */
.featured-grid-section {
  padding: var(--space-xxl) 0;
  background: var(--bg-primary);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.featured-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(15, 23, 42, 0.15);
}

.featured-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.featured-card:first-child .featured-image {
  aspect-ratio: 4/3;
}

.featured-card:first-child .featured-title {
  font-size: 1.5rem;
}

.featured-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

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

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

.featured-cat {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: var(--space-sm);
  padding: 0.4rem 0.875rem;
  background: var(--accent-soft);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--border-radius-md);
}

.featured-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.02em;
}

.featured-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 var(--space-sm) 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Trending Rows - Alternating Layout */
.trending-rows {
  padding: var(--space-xxl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.trending-rows-header {
  margin-bottom: var(--space-xl);
}

.trending-rows-title {
  font-family: var(--font-heading);
  font-size: var(--type-display-md);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
  letter-spacing: -0.02em;
}

.trending-rows-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

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

.trending-row-item {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.trending-row-item:hover {
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
}

.trending-row-link {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  text-decoration: none;
  color: inherit;
  min-height: 100px;
}

.trending-row-right .trending-row-link {
  grid-template-columns: 1fr 140px;
}

.trending-row-right .trending-row-fig {
  order: 2;
}

.trending-row-fig {
  margin: 0;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.trending-row-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100px;
  transition: transform 0.35s ease;
}

.trending-row-item:hover .trending-row-fig img {
  transform: scale(1.04);
}

.trending-row-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  justify-content: center;
}

.trending-row-cat {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.trending-row-headline {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-row-excerpt {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-row-date {
  font-size: 0.6875rem;
  color: var(--text-light);
  margin-top: auto;
  letter-spacing: 0.03em;
}

/* Category Pills */
.category-pills {
  padding: var(--space-xxl) 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.category-pills-header {
  margin-bottom: var(--space-xl);
}

.category-pills-title {
  font-family: var(--font-heading);
  font-size: var(--type-display-md);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
  letter-spacing: -0.02em;
}

.category-pills-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

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

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  font-family: var(--font-primary);
}

.category-pill:hover {
  background: var(--primary-color);
  color: var(--on-primary);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Latest Rows - Magazine Grid */
.latest-rows {
  padding: var(--space-xxl) 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.latest-rows-header {
  margin-bottom: var(--space-xl);
}

.latest-rows-title {
  font-family: var(--font-heading);
  font-size: var(--type-display-md);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
  letter-spacing: -0.02em;
}

.latest-rows-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.latest-rows-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.latest-row-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.latest-row-card:hover {
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
}

.latest-row-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.latest-row-fig {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 5/3;
  background: var(--bg-tertiary);
}

.latest-row-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.latest-row-card:hover .latest-row-fig img {
  transform: scale(1.03);
}

.latest-row-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
  min-height: 0;
}

.latest-row-cat {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.latest-row-headline {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.02em;
}

.latest-row-excerpt {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-row-date {
  font-size: 0.6875rem;
  color: var(--text-light);
  margin-top: auto;
  letter-spacing: 0.03em;
}

/* ================================
   NEW DESIGN - Masthead, Bento, Category Strip, Magazine
   ================================ */

/* Masthead Featured - Primary + Compact Grid */
.masthead-featured {
  position: relative;
  padding: var(--space-xl) 0 var(--space-xxl);
  background: var(--bg-primary);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

/* Premium Section Headers */
.section-header-premium {
  position: relative;
  margin-bottom: var(--space-lg);
}

.section-header-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
  border-radius: 0;
}

.masthead-header .section-header-accent {
  height: 72px;
  top: 0;
}

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

.masthead-header .section-header-content {
  padding-left: var(--space-xl);
}

.section-kicker {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
  font-family: var(--font-primary);
  position: relative;
}

.section-kicker::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--primary-color);
  margin-left: var(--space-sm);
  vertical-align: middle;
}

.section-title-premium {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-desc-premium {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 480px;
}

/* Split header (title left, badge right) */
.section-header-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-md);
}

.section-header-split .section-header-content {
  padding-left: 0;
}

.section-header-split .section-header-accent {
  display: none;
}

.section-header-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-primary);
  background: var(--accent-color);
  border-radius: 0;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.2);
}

/* Centered header */
.section-header-centered {
  text-align: center;
}

.section-header-centered .section-header-content {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header-centered .section-header-accent {
  display: none;
}

.section-header-centered .section-kicker::after {
  display: none;
}

.section-header-centered .section-title-premium {
  text-align: center;
}

.section-header-centered .section-desc-premium {
  text-align: center;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.section-header-centered::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  margin: 0 auto var(--space-md);
  border-radius: 0;
}

/* Numbered header */
.section-header-numbered {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
}

.section-header-numbered .section-header-accent {
  display: none;
}

.section-header-num {
  flex-shrink: 0;
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--border-color);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-header-numbered .section-header-content {
  padding-left: 0;
  flex: 1;
}

.masthead-header {
  margin-bottom: var(--space-lg);
}

.masthead-kicker,
.bento-kicker,
.category-strip-kicker,
.magazine-kicker {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
  font-family: var(--font-primary);
}

.masthead-title,
.bento-title,
.category-strip-title,
.magazine-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.masthead-desc,
.bento-desc,
.category-strip-desc,
.magazine-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}

.masthead-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: var(--space-md);
}

.masthead-card-primary {
  grid-column: 1;
  grid-row: span 3;
}

.masthead-card-primary .masthead-card-fig {
  aspect-ratio: 4/3;
}

.masthead-card-primary .masthead-card-body {
  padding: var(--space-md) var(--space-lg);
}

.masthead-card-primary .masthead-card-headline {
  font-size: 1.25rem;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.masthead-card-primary .masthead-card-excerpt {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 0.875rem;
}

.masthead-card-compact .masthead-card-excerpt {
  display: none;
}

.masthead-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.masthead-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

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

.masthead-card-fig {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-tertiary);
}

.masthead-card-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.masthead-card:hover .masthead-card-fig img {
  transform: scale(1.04);
}

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

.masthead-card-cat {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  align-self: flex-start;
}

.masthead-card-headline {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.02em;
}

.masthead-card-excerpt {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.masthead-card-date {
  font-size: 0.6875rem;
  color: var(--text-light);
  margin-top: auto;
  letter-spacing: 0.03em;
}

/* Bento Trending - Staggered Grid */
.bento-trending {
  padding: var(--space-xxl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.bento-header {
  margin-bottom: var(--space-xl);
}

.bento-header.section-header-premium {
  margin-bottom: var(--space-xl);
}

.bento-title {
  font-family: var(--font-heading);
  font-size: var(--type-display-md);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
  letter-spacing: -0.02em;
}

.bento-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: var(--space-md);
}

.bento-item-wide {
  grid-column: span 2;
}

.bento-item {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.bento-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.bento-link {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  text-decoration: none;
  color: inherit;
  min-height: 120px;
}

.bento-item-wide .bento-link {
  grid-template-columns: 200px 1fr;
  min-height: 140px;
}

.bento-fig {
  margin: 0;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.bento-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 120px;
  transition: transform 0.35s ease;
}

.bento-item-wide .bento-fig img {
  min-height: 140px;
}

.bento-item:hover .bento-fig img {
  transform: scale(1.04);
}

.bento-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  justify-content: center;
}

.bento-cat {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.bento-headline {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-item-wide .bento-headline {
  font-size: 1rem;
}

.bento-excerpt {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-date {
  font-size: 0.6875rem;
  color: var(--text-light);
  margin-top: auto;
  letter-spacing: 0.03em;
}

/* Category Hub - Card Grid */
.category-hub-nav {
  padding: var(--space-xxl) 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-color);
}

.category-hub-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-light);
}

.category-hub-kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-color);
  font-family: var(--font-primary);
}

.category-hub-title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.category-hub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.category-hub-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.category-hub-card:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.category-hub-card-num {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.category-hub-card:hover .category-hub-card-num {
  color: var(--accent-color);
}

.category-hub-card-name {
  flex: 1;
  min-width: 0;
}

.category-hub-card-arrow {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--text-light);
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition-fast);
}

.category-hub-card:hover .category-hub-card-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary-color);
}

/* Legacy category-strip (for other pages) */
.category-strip-nav {
  padding: var(--space-xxl) 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.category-strip-header {
  margin-bottom: var(--space-xl);
}

.category-strip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.category-strip-item {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  font-family: var(--font-primary);
  border-bottom: 2px solid transparent;
}

.category-strip-item:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Magazine Latest - Card Grid */
.magazine-latest {
  padding: var(--space-xxl) 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.magazine-header {
  margin-bottom: var(--space-xl);
}

.magazine-header.section-header-premium {
  margin-bottom: var(--space-xl);
}

.magazine-title {
  font-family: var(--font-heading);
  font-size: var(--type-display-md);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
  letter-spacing: -0.02em;
}

.magazine-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.magazine-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

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

.magazine-fig {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 5/3;
  background: var(--bg-tertiary);
}

.magazine-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.magazine-card:hover .magazine-fig img {
  transform: scale(1.03);
}

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

.magazine-cat {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.magazine-headline {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.02em;
}

.magazine-excerpt {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.magazine-date {
  font-size: 0.6875rem;
  color: var(--text-light);
  margin-top: auto;
  letter-spacing: 0.03em;
}

/* ================================
   NEW EDITORIAL LAYOUT - Index Page
   ================================ */

/* Editorial Hero */
.editorial-hero {
  position: relative;
  padding: var(--space-xl) 0 var(--space-xxl);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.editorial-hero-header {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
  border-left: 3px solid var(--primary-color);
}

.editorial-hero-kicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
  font-family: var(--font-primary);
}

.editorial-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.editorial-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: var(--space-md);
}

.editorial-card-lead {
  grid-column: 1;
  grid-row: span 3;
}

.editorial-card-lead .editorial-card-fig {
  aspect-ratio: 4/3;
}

.editorial-card-lead .editorial-card-body {
  padding: var(--space-md) var(--space-lg);
}

.editorial-card-lead .editorial-card-headline {
  font-size: 1.25rem;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.editorial-card-lead .editorial-card-excerpt {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 0.875rem;
}

.editorial-card-stack .editorial-card-excerpt {
  display: none;
}

.editorial-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.editorial-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

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

.editorial-card-fig {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-tertiary);
}

.editorial-card-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.editorial-card:hover .editorial-card-fig img {
  transform: scale(1.04);
}

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

.editorial-card-cat {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  align-self: flex-start;
}

.editorial-card-headline {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.02em;
}

.editorial-card-excerpt {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editorial-card-date {
  font-size: 0.6875rem;
  color: var(--text-light);
  margin-top: auto;
  letter-spacing: 0.03em;
}

/* Trending Editorial - Horizontal Cards (also used for Top Stories) */
.trending-editorial {
  padding: var(--space-xxl) 0;
  background: #ffffff;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.editorial-hero.trending-editorial {
  border-top: none;
}

.trending-editorial-header {
  margin-bottom: var(--space-xl);
  display: flex;
  /* align-items: flex-end; */
  justify-content: space-between;
  gap: var(--space-md);
}

.trending-editorial-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.trending-editorial-title span {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.trending-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(140px, auto);
  gap: var(--space-lg);
}

.trending-editorial-item.trending-wide {
  grid-column: span 1;
  grid-row: span 1;
}

.trending-editorial-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.96));
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.trending-editorial-item:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
  background: linear-gradient(135deg, rgba(239, 246, 255, 1), rgba(219, 234, 254, 1));
}

.trending-editorial-link {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: var(--space-md);
  padding: var(--space-md);
  text-decoration: none;
  color: inherit;
  align-items: stretch;
  min-height: 160px;
}

.trending-wide .trending-editorial-link {
  grid-template-columns: 1.4fr 1.6fr;
  padding: var(--space-lg);
}

.trending-editorial-fig {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  position: relative;
}

.trending-editorial-fig::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trending-editorial-item:hover .trending-editorial-fig::after {
  opacity: 1;
}

.trending-editorial-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 160px;
  transition: transform 0.5s ease;
}

.trending-wide .trending-editorial-fig img {
  min-height: 220px;
}

.trending-editorial-item:hover .trending-editorial-fig img {
  transform: scale(1.06);
}

.trending-editorial-content {
  padding: var(--space-sm) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  justify-content: center;
}

.trending-editorial-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.trending-editorial-headline {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-wide .trending-editorial-headline {
  font-size: 1.2rem;
}

.trending-editorial-excerpt {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-editorial-date {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: auto;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Latest Articles: two cards per row, same rhythm */
.latest-editorial .trending-editorial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.latest-editorial .trending-editorial-item:nth-child(6n+1),
.latest-editorial .trending-editorial-item:nth-child(6n+2) {
  grid-column: span 1;
}

.latest-editorial .trending-editorial-item:nth-child(6n+1) .trending-editorial-link,
.latest-editorial .trending-editorial-item:nth-child(6n+2) .trending-editorial-link {
  grid-template-columns: 1.1fr 1.4fr;
}

/* Topic Nav - Pill Style */
.topic-nav {
  padding: var(--space-xxl) 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-color);
}

.topic-nav-header {
  margin-bottom: var(--space-xl);
}

.topic-nav-title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.topic-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.topic-nav-pill {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 0;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.topic-nav-pill:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.topic-nav-pill-num {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.topic-nav-pill:hover .topic-nav-pill-num {
  color: var(--accent-color);
}

.topic-nav-pill-name {
  flex: 1;
  min-width: 0;
}

.topic-nav-pill-arrow {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--text-light);
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition-fast);
}

.topic-nav-pill:hover .topic-nav-pill-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary-color);
}

/* Latest Editorial */
.latest-editorial {
  padding: var(--space-xxl) 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-color);
}

.latest-editorial-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.latest-editorial-num {
  flex-shrink: 0;
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--border-color);
  line-height: 1;
  letter-spacing: -0.04em;
}

.latest-editorial-header-content {
  flex: 1;
}

.latest-editorial-kicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
  font-family: var(--font-primary);
}

.latest-editorial-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.latest-editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.latest-editorial-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.latest-editorial-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.latest-editorial-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.latest-editorial-fig {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 5/3;
  background: var(--bg-tertiary);
}

.latest-editorial-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.latest-editorial-card:hover .latest-editorial-fig img {
  transform: scale(1.03);
}

.latest-editorial-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
  min-height: 0;
}

.latest-editorial-cat {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.latest-editorial-headline {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.02em;
}

.latest-editorial-excerpt {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-editorial-date {
  font-size: 0.6875rem;
  color: var(--text-light);
  margin-top: auto;
  letter-spacing: 0.03em;
}

@media (max-width: 1024px) {
  .editorial-hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .editorial-card-lead {
    grid-column: span 2;
    grid-row: span 1;
  }
  .editorial-card-lead .editorial-card-fig {
    aspect-ratio: 16/10;
  }
  .trending-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trending-editorial-item.trending-wide {
    grid-column: span 2;
  }
  .topic-nav-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .latest-editorial .trending-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .latest-editorial .trending-editorial-item:nth-child(6n+1),
  .latest-editorial .trending-editorial-item:nth-child(6n+2) {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .editorial-hero-header,
  .editorial-hero-grid {
    grid-template-columns: 1fr;
  }
  .editorial-card-lead {
    grid-column: span 1;
  }
  .trending-editorial-grid {
    grid-template-columns: 1fr;
  }
  .trending-editorial-item.trending-wide {
    grid-column: span 1;
  }
  .trending-editorial-link {
    grid-template-columns: 100px 1fr;
    min-height: 100px;
  }
  .trending-wide .trending-editorial-link {
    grid-template-columns: 100px 1fr;
    min-height: 100px;
  }
  .topic-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .latest-editorial .trending-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .latest-editorial .trending-editorial-item:nth-child(6n+1),
  .latest-editorial .trending-editorial-item:nth-child(6n+2) {
    grid-column: span 2;
  }
  .latest-editorial .trending-editorial-item:nth-child(6n+1) .trending-editorial-link,
  .latest-editorial .trending-editorial-item:nth-child(6n+2) .trending-editorial-link {
    grid-template-columns: 100px 1fr;
    min-height: 100px;
  }
}

@media (max-width: 640px) {
  .topic-nav-grid {
    grid-template-columns: 1fr;
  }
  .latest-editorial .trending-editorial-grid {
    grid-template-columns: 1fr;
  }
  .latest-editorial .trending-editorial-item:nth-child(6n+1),
  .latest-editorial .trending-editorial-item:nth-child(6n+2) {
    grid-column: span 1;
  }
}

/* Footer inner */
.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.site-footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* Legacy trending/category/latest compatibility */
.trending-section-new {
  padding: var(--space-xxl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.trending-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.trending-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.trending-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.trending-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trending-card-content {
  padding: var(--space-lg);
}

.trending-card-cat {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
}

.trending-card-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
}

.trending-card-excerpt {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.trending-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.category-hub {
  padding: var(--space-xxl) 0;
  background: var(--bg-primary);
}

.category-hub-grid {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
  gap: var(--space-md);
}

.category-hub-item {
  padding: var(--space-md) var(--space-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  transition: var(--transition-fast);
}

.category-hub-item:hover {
  background: var(--primary-color);
  color: var(--on-primary);
  border-color: var(--primary-color);
}

.category-hub-name {
  font-family: var(--font-primary);
  font-size: 0.875rem;
}

.latest-grid-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* Index Page Responsive */
@media (max-width: 1200px) {
  .masthead-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .masthead-card-primary {
    grid-row: span 1;
  }

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

  .bento-item-wide {
    grid-column: span 2;
  }

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

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

  .hero-card-lead {
    grid-column: span 2;
    grid-row: span 1;
  }

  .hero-card-lead .hero-card-fig {
    aspect-ratio: 5/3;
  }

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

  .trending-row-link {
    grid-template-columns: 120px 1fr !important;
    min-height: 90px;
  }

  .trending-row-right .trending-row-link {
    grid-template-columns: 1fr 120px !important;
  }

  .trending-row-right .trending-row-fig {
    order: 2;
  }

  .trending-row-fig img {
    min-height: 90px;
  }

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

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

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

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

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

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

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

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

  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .masthead-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .masthead-card-primary {
    grid-row: span 1;
  }

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

  .bento-item-wide {
    grid-column: span 1;
  }

  .bento-link {
    grid-template-columns: 100px 1fr;
    min-height: 100px;
  }

  .bento-item-wide .bento-link {
    grid-template-columns: 100px 1fr;
    min-height: 100px;
  }

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

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

  .category-strip-list {
    justify-content: flex-start;
  }

  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header-numbered {
    flex-direction: column;
    gap: var(--space-md);
  }

  .section-header-num {
    font-size: 2rem;
  }

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

  .masthead-header .section-header-content {
    padding-left: var(--space-lg);
  }

  .hero-lead-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-lead {
    grid-column: 1;
  }

  .trending-row-link {
    grid-template-columns: 100px 1fr !important;
    min-height: 80px;
  }

  .trending-row-right .trending-row-link {
    grid-template-columns: 1fr 100px !important;
  }

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

  .trending-row-headline {
    font-size: 0.875rem;
  }

  .latest-rows-grid {
    grid-template-columns: 1fr;
  }

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

  .category-pills-wrap {
    justify-content: flex-start;
  }

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

  .category-hub-grid {
    justify-content: flex-start;
  }
}

/* ================================
   AUTHOR PAGE STYLES
   ================================ */

.author-profile-page {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
  background: var(--bg-primary);
}

/* Author Hero Section */
.author-hero-section {
  margin-bottom: var(--space-xxl);
}

.author-hero-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xxl);
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-secondary) 100%);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.author-avatar-wrapper {
  display: flex;
  justify-content: center;
}

.author-avatar-large {
  width: 180px;
  height: 180px;
  border-radius: 0;
  overflow: hidden;
  border: 4px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  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-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.author-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 600px;
}

/* Author Content Section */
.author-content-section {
  margin-bottom: var(--space-xxl);
  padding: var(--space-xl);
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.author-content-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-lg) 0;
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--border-color);
  letter-spacing: -0.01em;
}

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

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

.author-content-body h2,
.author-content-body h3 {
  color: var(--text-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

/* Author Articles Section */
.author-articles-section {
  margin-top: var(--space-xxl);
}

.author-articles-section .section-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--border-color);
}

.author-articles-section .section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

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

.author-articles-section .article-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.author-articles-section .article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

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

.author-articles-section .article-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-color);
  padding: 0.35rem 0.75rem;
  background: var(--accent-soft);
  /* border: 1px solid rgba(201, 162, 39, 0.25); */
  border-radius: var(--border-radius-sm);
  align-self: flex-start;
}

.author-articles-section .article-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.author-articles-section .article-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.author-articles-section .article-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.author-articles-section .article-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

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

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

  .author-description {
    font-size: 1rem;
  }

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

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

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

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

/* ================================
   ALONE/SINGLE PAGE STYLES
   ================================ */

.main-content {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
  background: var(--bg-primary);
}

.main-content .blog {
  background: var(--bg-primary);
}

.main-content .section-padding {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
}

/* Layout with sidebar */
.main-content .rightsidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-xxl);
  align-items: start;
}

.main-content .ccontent-area {
  min-width: 0;
}

/* Article Styles */
.main-content .article-wrap {
  background: var(--card-bg);
  padding: var(--space-xl);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  /* margin-bottom: var(--space-xl); */
}

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

.main-content .detail-title.article_part_h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.02em;
}

.main-content .entry-content.article_part_div {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.main-content .entry-content.article_part_div p {
  margin-bottom: var(--space-md);
}

.main-content .entry-content.article_part_div h2,
.main-content .entry-content.article_part_div h3,
.main-content .entry-content.article_part_div h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
}

.main-content .entry-content.article_part_div h2 {
  font-size: 1.5rem;
}

.main-content .entry-content.article_part_div h3 {
  font-size: 1.25rem;
}

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

.main-content .entry-content.article_part_div a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid var(--primary-color);
  transition: all 0.2s ease;
}

.main-content .entry-content.article_part_div a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

.main-content .entry-content.article_part_div ul,
.main-content .entry-content.article_part_div ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.main-content .entry-content.article_part_div li {
  margin-bottom: var(--space-xs);
}

.main-content .entry-content.article_part_div blockquote {
  border-left: 3px solid var(--primary-color);
  padding-left: var(--space-lg);
  margin: var(--space-lg) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Comments Area */
.main-content .comments-area {
  margin-top: var(--space-xxl);
}

.main-content .comment-respond {
  background: var(--card-bg);
  padding: var(--space-xl);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.main-content .comment-reply-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-lg) 0;
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--border-color);
  letter-spacing: -0.01em;
}

.main-content .comment-reply-title small {
  font-size: 0.75rem;
  font-weight: 400;
  margin-left: var(--space-sm);
}

.main-content .comment-reply-title small a {
  color: var(--text-muted);
  text-decoration: none;
}

.main-content .comment-reply-title small a:hover {
  color: var(--accent-color);
}

.main-content .comment-notes {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.main-content .comment-notes .required {
  color: var(--accent-color);
}

.main-content .comment-form p {
  margin-bottom: var(--space-md);
}

.main-content .comment-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.main-content .comment-form label .required {
  color: var(--accent-color);
}

.main-content .comment-form input[type="text"],
.main-content .comment-form input[type="email"],
.main-content .comment-form input[type="url"],
.main-content .comment-form textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  background: var(--bg-secondary);
  transition: all 0.2s ease;
  outline: none;
}

.main-content .comment-form input[type="text"]:focus,
.main-content .comment-form input[type="email"]:focus,
.main-content .comment-form input[type="url"]:focus,
.main-content .comment-form textarea:focus {
  border-color: var(--primary-color);
  background: var(--card-bg);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.main-content .comment-form textarea {
  resize: vertical;
  min-height: 150px;
}

.main-content .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

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

.main-content .comment-form-cookies-consent label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin: 0;
}

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

.main-content .form-submit .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: var(--border-radius-sm);
  background: var(--primary-color);
  color: var(--on-primary);
  border: 1px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.main-content .form-submit .button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 1024px) {
  .main-content .rightsidebar {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .main-content .article-wrap {
    padding: var(--space-lg);
  }

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

@media (max-width: 640px) {
  .main-content .section-padding {
    padding-top: var(--space-md);
  }

  .main-content .detail-title.article_part_h1 {
    font-size: 1.5rem;
  }

  .main-content .article-wrap {
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }

  .main-content .entry-content.article_part_div {
    font-size: 0.9375rem;
  }

  .main-content .comment-respond {
    padding: var(--space-md);
  }

  .main-content .comment-reply-title {
    font-size: 1.25rem;
  }

  .main-content .form-submit .button {
    width: 100%;
  }
}

/* ================================
   ALL ARTICLES PAGE STYLES
   ================================ */

.all-article-page {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
  background: var(--bg-primary);
}

.all-article-page .blog {
  background: var(--bg-primary);
}

.all-article-page .section-padding {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
}

.all-article-page .blog-archive-left {
  max-width: 900px;
  margin: 0 auto;
}

/* Page Header */
.all-article-page .page-header {
  text-align: center;
  margin-bottom: var(--space-xxl);
  padding-bottom: var(--space-xl);
  border-bottom: 2px solid var(--border-color);
  border-left: none;
  padding-left: 0;
}

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

/* Articles List */
.all-article-page .articles-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.all-article-page .article-wrap {
  background: var(--card-bg);
  padding: var(--space-xl);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.all-article-page .entry-header {
  position: relative;
}

.all-article-page .entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

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

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

.all-article-page .entry-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.all-article-page .entry-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.all-article-page .entry-title a:hover {
  color: var(--primary-color);
}

.all-article-page .entry-title a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.all-article-page .entry-title a:hover::after {
  transform: scaleX(1);
}

.all-article-page .entry-content {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.all-article-page .expert-content {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .all-article-page .page-title {
    font-size: 2rem;
  }

  .all-article-page .article-wrap {
    padding: var(--space-lg);
  }

  .all-article-page .entry-title {
    font-size: 1.25rem;
  }

  .all-article-page .entry-meta {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .all-article-page .page-title {
    font-size: 1.75rem;
  }

  .all-article-page .article-wrap {
    padding: var(--space-md);
  }

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

  .all-article-page .entry-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .all-article-page .entry-date {
    margin-right: 0;
  }
}
