/* ==========================================================================
   ARTICLES PAGE (A NEW LAYOUT INSPIRED BY IMAGE COPY 2)
   ========================================================================== */

.articles-page .articles-trust {
  margin-top: var(--space-6);
}



.articles-page .featured-article {
  background: #ffffff;
  border: 1px solid rgba(27, 53, 44, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  box-shadow: 0 20px 50px rgba(27, 53, 44, 0.08);
}

.articles-page .featured-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.articles-page .featured-excerpt {
  margin: 0;
}

.articles-page .featured-cta {
  margin-top: var(--space-2);
}

.articles-page .featured-image img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.articles-page .featured-title a {
  color: var(--brand-primary);
  text-decoration: none;
}

.articles-page .featured-title a:hover {
  text-decoration: underline;
}

.articles-page .featured-sidebar {
  background: #ffffff;
  border: 1px solid rgba(27, 53, 44, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 18px 40px rgba(27, 53, 44, 0.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.articles-page .topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.articles-page .topic-chip {
  padding: var(--space-2) var(--space-3);
  border-radius: 999px;
  background: rgba(27, 53, 44, 0.08);
  color: var(--brand-primary);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.articles-page .sidebar-card {
  background: var(--background-light);
  border: 1px solid rgba(27, 53, 44, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.articles-page .articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-8);
}

.articles-page .article-card.is-hidden {
  display: none;
}

.articles-page .articles-more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-8);
}

.articles-page .article-card {
  border: 1px solid rgba(27, 53, 44, 0.08);
  box-shadow: 0 14px 30px rgba(27, 53, 44, 0.06);
  transition: none;
}

.articles-page .article-card:hover {
  transform: none;
  box-shadow: 0 14px 30px rgba(27, 53, 44, 0.06);
}

.articles-page .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  color: #4c5b56;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.articles-page .article-link {
  color: var(--brand-primary);
  text-decoration: none;
}

.articles-page .article-link:hover {
  text-decoration: underline;
}

.articles-page .highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.articles-page .highlight-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.articles-page .highlight-card a {
  color: var(--color-text-inverse);
  text-decoration: none;
}

.articles-page .highlight-card a:hover {
  text-decoration: underline;
}

.articles-page .highlight-card p {
  color: rgba(255, 255, 255, 0.85);
}

.articles-page .newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(27, 53, 44, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  box-shadow: 0 18px 40px rgba(27, 53, 44, 0.06);
}

.articles-page .newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.articles-page .featured-excerpt,
.articles-page .card-text {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: #2a3f37;
}

.articles-page .featured-title,
.articles-page .card-title {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
}

.articles-page .author-name,
.articles-page .read-time,
.articles-page .article-date {
  font-weight: var(--font-weight-semibold);
}

.articles-page .newsletter-input {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 53, 44, 0.2);
  background: #ffffff;
  color: var(--text-primary);
}

.articles-page .newsletter-input::placeholder {
  color: var(--text-muted);
}

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

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

  .articles-page .newsletter-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
