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

:root {
  /* station1601 - Premium: deep navy + antique gold */
  --primary-color: #0d1321;
  --primary-dark: #080c14;
  --primary-light: #1a2332;
  --accent-color: #b8860b;
  --accent-hover: #9a6f09;
  --accent-soft: rgba(184, 134, 11, 0.09);
  --accent-glow: rgba(184, 134, 11, 0.14);
  --secondary-color: #2d3748;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #faf9f7;
  --bg-secondary: #f5f3f0;
  --bg-tertiary: #ebe8e4;
  --border-color: #e5e2de;
  --border-light: #f0eeeb;
  --card-bg: #ffffff;
  --success-color: #047857;
  --warning-color: #b45309;
  --error-color: #b91c1c;
  --on-primary: #faf9f7;

  /* 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 - Lora + Outfit */
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-display: 'Lora', Georgia, serif;
  --font-mono: 'Outfit', ui-monospace, monospace;

  --container-width: 1400px;
  --border-radius: 10px;
  --border-radius-sm: 5px;
  --border-radius-md: 8px;
  --border-radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(13, 19, 33, 0.04);
  --shadow-md: 0 4px 24px rgba(13, 19, 33, 0.06);
  --shadow-lg: 0 12px 40px rgba(13, 19, 33, 0.08);
  --shadow-xl: 0 24px 56px rgba(13, 19, 33, 0.1);

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

  --card-height: 250px;
}

/* Detail page: match station1601 premium palette */
.article-detail {
  --primary-color: #0d1321;
  --primary-dark: #080c14;
  --primary-light: #1a2332;
  --accent-color: #b8860b;
  --accent-hover: #9a6f09;
  --accent-soft: rgba(184, 134, 11, 0.09);
  --accent-glow: rgba(184, 134, 11, 0.14);
  --secondary-color: #2d3748;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #faf9f7;
  --bg-secondary: #f5f3f0;
  --bg-tertiary: #ebe8e4;
  --border-color: #e5e2de;
  --border-light: #f0eeeb;
  --card-bg: #ffffff;
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-display: 'Lora', Georgia, serif;
  --font-mono: 'Outfit', ui-monospace, monospace;
  --border-radius: 10px;
  --border-radius-sm: 5px;
  --border-radius-md: 8px;
  --border-radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(13, 19, 33, 0.04);
  --shadow-md: 0 4px 24px rgba(13, 19, 33, 0.06);
  --shadow-lg: 0 12px 40px rgba(13, 19, 33, 0.08);
  --shadow-xl: 0 24px 56px rgba(13, 19, 33, 0.1);
}

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

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

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

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

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

.article-content img {
  margin: var(--space-xl) auto;
  border-radius: var(--border-radius-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 */
.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.02em;
  border-radius: var(--border-radius-sm);
  background-color: var(--accent-color);
  color: var(--on-primary);
  font-family: var(--font-heading);
  border: none;
  box-shadow: var(--shadow-sm);
}

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

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

/* Navbar - Minimal elevated bar */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 249, 247, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  padding: 10px 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(13, 19, 33, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.navbar.scrolled {
  padding: var(--space-md) 0;
  background: rgba(250, 249, 247, 0.98);
  box-shadow: 0 2px 20px rgba(13, 19, 33, 0.04);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
  position: relative;
}

.logo::after {
  display: none;
}

.nav-menu {
  display: flex;
  gap: 0;
}

.nav-item {
  position: relative;
}

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

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

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

.nav-link.active {
  color: var(--accent-color);
  font-weight: 600;
  background: transparent;
  border-radius: 0;
}

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

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

.navbar .hamburger span {
  background-color: var(--primary-color);
}

/* Section Header - Left-aligned editorial with accent bar */
.section-header {
  margin-bottom: 10px;
  text-align: left;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-bottom: var(--space-sm);
  padding-left: 0;
  border-bottom: none;
  border-left: none;
}

.section-header::before {
  content: attr(data-overline);
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  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: none;
  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.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  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: 3px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  margin: 0 auto var(--space-xs);
  border-radius: 2px;
}

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

.section-header-centered .section-title {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  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 section header */
.section-header-left {
  text-align: left;
  align-items: flex-start;
  padding-left: var(--space-lg);
  border-left: 4px solid var(--accent-color);
}

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

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

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

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

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

/* Featured Section - Full-width hero + bento grid */
.featured-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
  background: var(--bg-primary);
  position: relative;
}

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

.featured-section .featured-bento-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Hero: full-width, image with overlay text */
.featured-section .featured-hero {
  grid-column: 1 / -1;
}

.featured-section .featured-hero .featured-card-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  min-height: 380px;
}

.featured-section .featured-hero .featured-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: var(--bg-tertiary);
}

.featured-section .featured-hero .featured-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 19, 33, 0.88) 0%, rgba(13, 19, 33, 0.35) 40%, transparent 70%);
}

.featured-section .featured-hero .featured-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xxl);
  background: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.featured-section .featured-hero .featured-category {
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 0.25rem 0.6rem;
  margin-bottom: var(--space-sm);
}

.featured-section .featured-hero .featured-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.featured-section .featured-hero .featured-excerpt {
  color: rgba(255,255,255,0.9);
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 0.9375rem;
  margin-top: var(--space-sm);
}

.featured-section .featured-hero .featured-date {
  color: rgba(255,255,255,0.75);
  margin-top: var(--space-sm);
}

/* Bento cards: 3-col grid */
.featured-section .featured-bento-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.featured-section .featured-bento-card .featured-card-link {
  flex-direction: column;
}

.featured-section .featured-bento-card .featured-image-wrapper {
  height: 140px;
  min-height: 140px;
}

.featured-section .featured-bento-card .featured-card-body {
  padding: var(--space-md);
}

.featured-section .featured-bento-card .featured-category {
  background: var(--accent-soft);
  color: var(--accent-color);
  padding: 0.2rem 0.5rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--space-xs);
}

.featured-section .featured-bento-card .featured-title {
  font-size: 0.9375rem;
  font-weight: 600;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.featured-section .featured-bento-card .featured-excerpt {
  display: none;
}

.featured-section .featured-bento-card .featured-date {
  font-size: 0.6875rem;
  margin-top: var(--space-sm);
}

/* Trending - Horizontal feed list */
.trending-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

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

.trending-feed-link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
  text-decoration: none;
  color: inherit;
}

.trending-feed-image {
  flex-shrink: 0;
  width: 240px;
  min-width: 240px;
  height: 160px;
  overflow: hidden;
  border-radius: var(--border-radius);
  background: var(--bg-tertiary);
}

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

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

.trending-feed-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-sm) 0;
}

.trending-feed-category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: var(--space-xs);
}

.trending-feed-title {
  font-size: 1.125rem;
  font-weight: 600;
  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;
}

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

.trending-feed-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* Latest - Alternating 2-col layout */
.latest-alternating-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.latest-alt-item {
  border-radius: 0;
  overflow: hidden;
  background: var(--card-bg);
  border: none;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.latest-alt-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-soft);
}

.latest-alt-link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
}

.latest-alt-item.alt-right .latest-alt-link {
  flex-direction: row-reverse;
}

.latest-alt-image {
  flex-shrink: 0;
  width: 42%;
  min-width: 42%;
  height: 300px;
  min-height: 200px;
  overflow: hidden;
  background: var(--bg-tertiary);
}

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

.latest-alt-item:hover .latest-alt-image img {
  transform: scale(1.04);
}

.latest-alt-body {
  flex: 1;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.latest-alt-category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: var(--space-sm);
}

.latest-alt-title {
  font-size: 1.25rem;
  font-weight: 600;
  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;
}

.latest-alt-excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: var(--space-md) 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-alt-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: var(--space-md);
}

.featured-card::before {
  display: none;
}

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

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

.featured-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.featured-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  min-width: 28px;
  height: 28px;
  padding: 0 var(--space-sm);
  background: var(--primary-color);
  color: var(--on-primary);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  z-index: 2;
  line-height: 1;
  border-radius: var(--border-radius-sm);
}

.featured-card-body {
  padding: var(--space-md) 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.featured-category {
  display: inline-block;
  color: var(--accent-color);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  align-self: flex-start;
  font-family: var(--font-heading);
  margin-bottom: 0;
  background: var(--accent-soft);
  border: none;
  border-radius: var(--border-radius-sm);
}

.featured-title {
  font-size: 1rem;
  font-weight: 600;
  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;
}

.featured-excerpt {
  font-size: 0.8125rem;
  line-height: 1.55;
  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;
  letter-spacing: 0.01em;
}

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

/* Category Section - Flex wrap pills with accent */
.category-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
  background: var(--bg-secondary);
  color: var(--text-primary);
  position: relative;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}

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

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

.category-section .section-title {
  color: var(--text-primary);
  font-weight: 600;
}

.category-section .section-header-centered {
  border-bottom-color: transparent;
}

.category-section .section-header-centered .section-title {
  color: var(--text-primary);
}

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

/* Category strip - horizontal scroll */
.category-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-md);
  padding: var(--space-md) 0 var(--space-md);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.category-strip::-webkit-scrollbar {
  height: 6px;
}

.category-strip::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
  border-radius: 3px;
}

.category-strip::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.category-strip-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  min-width: 140px;
  justify-content: center;
}

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

/* Legacy category-list for other pages */
.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0 0;
}

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

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

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

.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: transparent;
}

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

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

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

.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.2rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  align-self: flex-start;
  font-family: var(--font-primary);
  margin-bottom: 0;
  background: transparent;
  border-bottom: 2px solid var(--primary-color);
}

.article-item-excerpt {
  font-size: 0.8125rem;
  line-height: 1.55;
  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: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-top: auto;
}

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


/* Footer - Slate dark strip */
.footer {
  background: var(--primary-color);
  border-top: 1px solid rgba(254, 253, 251, 0.08);
  color: var(--on-primary);
  padding: 20px 0;
}

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

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

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

.footer-link {
  color: rgba(254, 253, 251, 0.75);
  transition: var(--transition-fast);
  padding: var(--space-xs) 0;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}

.footer-link:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-link:focus {
  color: var(--accent-color);
}

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

/* Responsive Design - margins/padding preserved */
@media (max-width: 1200px) {
  .featured-section .featured-bento-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .trending-feed-image {
    width: 200px;
    min-width: 200px;
    height: 133px;
  }

  .latest-alt-image {
    width: 45%;
    min-height: 200px;
  }

  .category-list {
    justify-content: center;
  }

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

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

  body {
    line-height: 1.65;
  }

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

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

  .mobile-toggle {
    display: block;
  }

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

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

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

  .featured-section .featured-hero .featured-card-link {
    min-height: 320px;
  }

  .featured-section .featured-hero .featured-image-wrapper {
    min-height: 320px;
  }

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

  .featured-section .featured-hero .featured-card-body {
    padding: var(--space-xl);
  }

  .trending-feed-link {
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
  }

  .trending-feed-image {
    width: 100%;
    min-width: 100%;
    height: 200px;
  }

  .trending-feed-body {
    padding: 0;
  }

  .latest-alt-link {
    flex-direction: column !important;
  }

  .latest-alt-item.alt-right .latest-alt-link {
    flex-direction: column !important;
  }

  .latest-alt-image {
    width: 100%;
    min-width: 100%;
    height: 200px;
    min-height: 200px;
    align-self: auto;
  }

  .latest-alt-body {
    padding: var(--space-lg);
  }

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

  .category-strip-item {
    min-width: 120px;
  }

  .category-list {
    gap: var(--space-sm);
  }

  .category-item-link {
    padding: var(--space-sm) var(--space-md);
  }

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

  .article-item-title {
    font-size: 1rem;
  }

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

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

/* List Page Styles - 2-col grid, card = image left + content right */
.list-page {
  padding-top: 0;
  background-color: var(--bg-primary);
}

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

.list-page .article-item {
  background: var(--card-bg);
  overflow: hidden;
  position: relative;
  width: 100%;
  transition: var(--transition);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.list-page .article-item::after {
  display: none;
}

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

.list-page .article-item-image {
  width: 200px;
  min-width: 200px;
  height: auto;
  min-height: 140px;
  overflow: hidden;
  background: var(--bg-tertiary);
  position: relative;
  flex-shrink: 0;
}

.list-page .article-item-image::before {
  display: none;
}

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

.list-page .article-item-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  min-width: 24px;
  height: 24px;
  padding: 0 var(--space-sm);
  background: var(--primary-color);
  color: var(--on-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  z-index: 2;
  line-height: 1;
  border-radius: var(--border-radius-sm);
}

.list-page .article-item-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.list-page .article-item-category {
  display: inline-block;
  color: var(--primary-color);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  align-self: flex-start;
  font-family: var(--font-heading);
  margin-bottom: 0;
  background: var(--accent-soft);
  border: none;
  border-radius: var(--border-radius-sm);
}

.list-page .article-item-title {
  font-size: 0.9375rem;
  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;
}

.list-page .article-item-excerpt {
  font-size: 0.8125rem;
  line-height: 1.55;
  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;
}

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

.list-page .articles-list .ad-div {
  width: 100%;
  padding: var(--space-lg) 0;
}

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

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

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

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

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

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

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

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

.page-header {
  text-align: left;
  border-bottom: none;
}

.category-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.6875rem;
  border-radius: var(--border-radius-sm);
}

.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 10px;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  letter-spacing: 0.02em;
  font-family: var(--font-display);
  padding-bottom: var(--space-sm);
  border-left: none;
  border-bottom: 3px solid var(--primary-color);
  display: inline-block;
  text-transform: uppercase;
}

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

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

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

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

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

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

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

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

.list-sidebar .sidebar-card,
.article-sidebar .sidebar-card {
  background: var(--card-bg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

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

/* List page: use same card grid as homepage latest-section */
.list-page .list-page-header {
  margin-bottom: var(--space-xl);
}

.list-page .list-articles-section.latest-section {
  padding-top: 0;
  padding-bottom: 0;
}

.list-page .list-articles-section .latest-alternating-list .list-ad-break {
  width: 100%;
  padding: var(--space-lg) 0;
  flex: none;
}

.list-page .list-articles-section .list-ad-break .ad-div {
  width: 100%;
}

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

.list-page .articles-grid .trending-card:nth-child(7n+1),
.list-page .articles-grid .trending-card:nth-child(7n+2),
.list-page .articles-grid .trending-card:nth-child(7n+3) {
  grid-column: span 4;
}

.list-page .articles-grid .trending-card:nth-child(7n+4),
.list-page .articles-grid .trending-card:nth-child(7n+5),
.list-page .articles-grid .trending-card:nth-child(7n+6),
.list-page .articles-grid .trending-card:nth-child(7n+7) {
  grid-column: span 3;
}

.list-page .articles-grid .trending-card {
  height: 100%;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

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

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

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

.ad-div {
  text-align: center;
}

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

  .list-page .articles-grid .trending-card:nth-child(n+1) {
    grid-column: span 1;
  }
}

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

  .list-main {
    order: 0;
  }

  .list-sidebar {
    order: 1;
    position: static;
  }

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

  .list-page .articles-grid .trending-card:nth-child(n+1) {
    grid-column: span 1;
  }

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

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

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

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

  .list-page .articles-grid .trending-card:nth-child(n+1) {
    grid-column: span 1;
  }

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

  .list-page .article-item-link {
    flex-direction: column !important;
  }

  .list-page .article-item-image {
    width: 100% !important;
    min-width: 100% !important;
    height: 160px !important;
    min-height: 160px !important;
  }
}

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

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

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

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

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

.post-pagination a:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: var(--accent-soft);
}

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

.post-pagination .current:hover,
.post-pagination a.current:hover {
  color: var(--on-primary);
}

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

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

.widget-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
  margin-top: 0;
  border-bottom: 2px solid var(--accent-color);
  font-family: var(--font-heading);
  line-height: 1.4;
}

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

.tag-item {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-heading);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.sidebar-card {
  background: var(--card-bg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  position: relative;
  transition: var(--transition);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

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

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

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

.sidebar-card .card-header h3,
.sidebar-card .widget-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
  padding-bottom: var(--space-sm);
  margin: 0;
  border-bottom: 2px solid var(--accent-color);
  line-height: 1.4;
}

.sidebar-card .popular-title a,
.sidebar-card .popular-title {
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.sidebar-card .category-link {
  color: var(--text-secondary);
  transition: var(--transition);
}

.sidebar-card .category-item.active .category-link {
  color: var(--accent-color);
  font-weight: 700;
}

.sidebar-card .tag-item {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.sidebar-card .category-item {
  border-bottom-color: var(--border-color);
}

.sidebar-card .popular-item {
  border-bottom-color: var(--border-color);
}

.card-header h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
  padding-bottom: var(--space-sm);
  margin: 0;
  border-bottom: 2px solid var(--accent-color);
  line-height: 1.4;
}

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

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

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

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

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

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

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

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

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

.article-detail .breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  padding: var(--space-md) 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

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

.article-detail .breadcrumb span {
  color: var(--text-primary);
  font-weight: 600;
}


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

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

.article-sidebar {
  order: 1;
  top: 80px;
  align-self: start;
}

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

  .article-main {
    order: 0;
  }

  .article-sidebar {
    order: 1;
  }
}

.article-header {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.article-header .article-category {
  order: 1;
}

.article-header .article-meta {
  order: 2;
}

.article-header .article-title {
  order: 3;
}

.article-category {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--primary-color);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 10px;
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
  border-radius: var(--border-radius-sm);
}

.article-title {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-family: var(--font-display);
  margin-bottom: var(--space-md);
  margin-top: var(--space-sm);
}

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

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

.meta-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.article-author-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm, 0.5rem);
  color: var(--text-muted);
  text-decoration: none;
}

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

.article-author-link img {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  object-fit: cover;
}

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

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


.author-card {
  margin-top: var(--space-md);
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
}

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

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

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

.author-avatar-placeholder {
  width: 56px;
  height: 56px;
  background: var(--bg-tertiary);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  border-radius: 50%;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

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

.author-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: var(--font-heading);
}

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

.author-bio {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: var(--space-xs) 0 0 0;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

.author-section .author-avatar-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

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

.author-section .author-info {
  flex: 1;
}

.author-section .author-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs, 0.25rem);
}

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

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

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

.author-section .author-bio {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: var(--line-height-normal, 1.6);
  margin-top: 0;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
}

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

.article-detail .article-body {
  min-height: 0;
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: var(--space-xxl);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-family: var(--font-display);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-color);
}

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

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

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

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

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

.article-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  padding: var(--space-xl);
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.share-label {
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

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

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

.share-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn.whatsapp:hover {
  background-color: #25d366;
}

.share-btn.linkedin:hover {
  background-color: #0a66c2;
}

.share-btn.telegram:hover {
  background-color: #0088cc;
}

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

.comments-section .section-header {
  border-left: none;
  padding-left: 0;
}

.comments-count {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  margin-top: var(--space-xs);
}

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

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

.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

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

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

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

.comment {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

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

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

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

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

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

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

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


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

.related-articles-title {
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--accent-color);
}

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

.related-articles-grid .article-card {
  background: var(--card-bg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

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

.related-articles-grid .article-card::before {
  display: none;
}

.related-articles-grid .article-card::after {
  display: none;
}

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

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

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

.related-articles-grid .article-card .article-category,
.related-articles-grid .article-card .headline-category {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--primary-color);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
  align-self: flex-start;
  font-family: var(--font-heading);
  border-radius: var(--border-radius-sm);
}

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

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


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

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

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

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

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

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

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

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

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


.navbar-container {
  position: relative;
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
  display: block;
}

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

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

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

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

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

  .breadcrumb-container {
    display: none;
  }

  .breadcrumb {
    display: none;
  }

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

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

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

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

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

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

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

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

  .nav-actions {
    display: flex;
  }

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

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

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

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

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

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

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

.rightsidebar .articles-list,
.blog-archive-left .articles-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

.rightsidebar .articles-list .article-item,
.blog-archive-left .articles-list .article-item {
  border-bottom: 1px solid var(--border-color);
}

.rightsidebar .articles-list .article-item:first-child,
.blog-archive-left .articles-list .article-item:first-child {
  grid-column: span 1;
}

/* All Article page - 2 columns per row only */
.all-article-page .blog-archive-left .articles-list {
  grid-template-columns: repeat(2, 1fr);
}

.all-article-page .blog-archive-left .articles-list .article-wrap:first-child,
.all-article-page .blog-archive-left .articles-list .article-item:first-child {
  grid-column: span 1;
}

.all-article-page .blog-archive-left .articles-list .ad-div {
  grid-column: 1 / -1;
}

.all-article-page .blog-archive-left .articles-list .article-wrap {
  background: var(--card-bg);
}

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

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

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

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

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

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


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

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

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

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

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

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

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

.entry-header {
  display: block;
}

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

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

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

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

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

.article_part_div h2,
.article_part_div h3,
.article_part_div h4 {
  margin-bottom: var(--space-md);
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
}

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

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

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

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

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

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

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

.comment-respond {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

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

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

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

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

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

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

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

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

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
}

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

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

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

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

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

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

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

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

.button {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  text-decoration: none;
  text-align: center;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

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


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

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

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

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

.blog-archive-left .page-header {
  margin-bottom: 10px;
  margin-top: 0;
}

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

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

.rightsidebar > aside,
.rightsidebar .sidebar,
.rightsidebar .list-sidebar {
  order: 1;
  top: 80px;
  align-self: start;
}

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

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

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

  .all-article-page .blog-archive-left .articles-list {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

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

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

  .article_part_div {
    font-size: 1.125rem;
  }

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

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

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

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

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

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

.author-avatar-large {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border-color);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* =========================================================
   station1598 - Taiwan English Info Blog (Google SEO)
   - Wire-style: dark nav/footer + red accent, sharp corners
   - Playfair Display + Manrope, 2-col + horizontal hero, scroll categories
   - Spacing/margin variables unchanged
   ========================================================= */

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

  .list-page .articles-list .article-item:first-child {
    grid-column: span 1;
  }
}
