/* Articles - Magazine Style */

.page-spacer { padding-top: 80px; }

.breadcrumb {
    max-width: 1280px;
    margin: 0 auto 1rem;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

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

.breadcrumb span {
    color: var(--text-muted);
}

.articles-header {
  text-align: center;
  padding: 132px 8px 48px;
}
.articles-header h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.articles-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* Sticky/Pinned Articles */
.sticky-articles {
  margin-bottom: 48px;
}
.sticky-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.sticky-grid {
  display: grid;
  gap: 24px;
}
.sticky-card {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: all var(--transition);
}
.sticky-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.sticky-image {
  flex-shrink: 0;
  width: 200px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
}
.sticky-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sticky-info h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.sticky-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.meta-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* Article Cards Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.article-card {
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-image-link {
  display: block;
  text-decoration: none;
}
.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.article-card:hover .card-image img {
  transform: scale(1.05);
}
.card-content {
  padding: 20px;
}
.card-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.card-content h2 a {
  color: var(--text);
  text-decoration: none;
}
.card-content h2 a:hover {
  color: var(--accent);
}
.card-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.card-meta {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Article Detail - Magazine Style */
.article-detail-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 132px 8px 96px;
}
.article-hero-image {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
}
.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-header {
  margin-bottom: 40px;
}
.article-meta-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.article-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.article-lede {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Article Body - Rich Content */
.article-body {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 48px;
}
.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 32px 0 16px;
}
.article-body h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 24px 0 12px;
}
.article-body p {
  margin-bottom: 16px;
}
.article-body ul, .article-body ol {
  margin: 0 0 16px 24px;
  display: grid;
  gap: 8px;
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
}
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 24px 0;
  font-size: 18px;
  font-style: italic;
  color: var(--text-muted);
  background: rgba(16, 185, 129, 0.05);
  border-radius: 0 8px 8px 0;
}
.article-body a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.article-body a:hover {
  text-decoration: underline;
}

/* Related Articles */
.related-articles {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.related-articles h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.related-card {
  text-decoration: none;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.related-image {
  width: 100%;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}
.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.related-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}
.page-info {
  font-size: 14px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .sticky-card {
    flex-direction: column;
  }
  .sticky-image {
    width: 100%;
    height: 200px;
  }
  .article-hero-image {
    height: 240px;
  }
  .articles-grid, .related-grid {
    grid-template-columns: 1fr;
  }
}
