.articles-page {
  background: linear-gradient(180deg, rgba(232, 243, 237, 0.66), rgba(255, 255, 255, 0) 390px), var(--white);
}

.articles-hero,
.articles-section,
.articles-featured,
.articles-status {
  width: var(--container);
  margin: 0 auto;
}

.articles-hero {
  padding: clamp(46px, 8vw, 86px) 0 clamp(28px, 5vw, 48px);
}

.articles-hero h1 {
  max-width: 900px;
  margin: 8px 0 18px;
  color: var(--green-950);
  font-size: clamp(2.15rem, 5.4vw, 5rem);
  line-height: 0.98;
}

.articles-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.articles-section,
.articles-featured {
  padding: clamp(30px, 5vw, 62px) 0;
}

.articles-muted {
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1120px) / 2));
  background: #f6faf7;
  border-block: 1px solid rgba(11, 61, 42, 0.08);
}

.articles-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.articles-section-heading h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.articles-status {
  display: grid;
  min-height: 72px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px 18px;
  color: var(--green-900);
  background: var(--white);
  border: 1px solid rgba(11, 61, 42, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(6, 43, 29, 0.07);
  font-weight: 750;
}

.articles-status[hidden] {
  display: none;
}

.articles-status.is-error {
  color: #9f1d1d;
  border-left-color: #9f1d1d;
}

.featured-article-card,
.article-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(11, 61, 42, 0.12);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(6, 43, 29, 0.08);
}

.featured-article-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: stretch;
}

.article-image,
.article-image-placeholder {
  width: 100%;
  min-height: 220px;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
}

.article-image-placeholder {
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--gold-soft);
  font-weight: 900;
  text-align: center;
}

.featured-article-body,
.article-card-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(20px, 3vw, 34px);
}

.featured-article-body h3,
.article-card h3,
.article-group h3 {
  margin: 0;
  color: var(--green-950);
  line-height: 1.14;
}

.featured-article-body h3 {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
}

.article-card h3 {
  font-size: 1.16rem;
}

.article-card p,
.featured-article-body p {
  margin: 0;
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--green-900);
  font-size: 0.86rem;
  font-weight: 800;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  background: var(--green-100);
  border: 1px solid rgba(11, 61, 42, 0.08);
  border-radius: 999px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.article-card .article-image,
.article-card .article-image-placeholder {
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 10;
}

.article-card-body {
  padding: 20px;
}

.article-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--green-950);
  background: var(--white);
  border: 1px solid rgba(11, 61, 42, 0.12);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(6, 43, 29, 0.06);
}

.article-category-link span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.article-category-groups {
  display: grid;
  gap: 24px;
}

.article-group {
  display: grid;
  gap: 14px;
}

.article-group h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}

.article-group .article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-detail-page {
  background: linear-gradient(180deg, rgba(232, 243, 237, 0.72), rgba(255, 255, 255, 0) 440px), var(--white);
}

.article-detail,
.article-related-section {
  width: var(--container);
  margin: 0 auto;
}

.article-detail-status {
  margin-top: clamp(30px, 5vw, 56px);
}

.article-detail {
  padding: clamp(30px, 5vw, 62px) 0;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.article-breadcrumb a {
  color: var(--green-800);
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.article-detail-header {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.article-detail-header h1 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(2rem, 5.2vw, 4.75rem);
  line-height: 1;
}

.article-detail-excerpt {
  max-width: 760px;
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.03rem, 2vw, 1.28rem);
  font-weight: 700;
}

.article-hero-image {
  overflow: hidden;
  margin: 18px 0 0;
  border: 1px solid rgba(11, 61, 42, 0.12);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: #fbfdfc;
  box-shadow: 0 18px 46px rgba(6, 43, 29, 0.09);
}

.article-hero-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}

.article-content {
  max-width: 820px;
  margin-top: clamp(30px, 5vw, 54px);
  color: var(--ink);
  font-size: 1.04rem;
}

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

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 1.65em 0 0.45em;
  color: var(--green-950);
  line-height: 1.12;
}

.article-content h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
}

.article-content h3 {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
}

.article-content p,
.article-content li {
  color: var(--muted);
}

.article-content p {
  margin: 0 0 1.05em;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 8px;
  margin: 1em 0 1.2em;
  padding-left: 1.25rem;
}

.article-content a {
  color: var(--green-800);
  font-weight: 750;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.article-content blockquote {
  margin: 1.4em 0;
  padding: 18px 20px;
  color: var(--green-900);
  background: var(--green-100);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 750;
}

.article-content img {
  width: 100%;
  height: auto;
  margin: 1.3em 0;
  border: 1px solid rgba(11, 61, 42, 0.12);
  border-radius: var(--radius);
}

.article-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 1.4em 0;
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-content th {
  color: var(--green-950);
  background: var(--green-100);
}

.article-faq-section,
.article-soft-cta {
  max-width: 920px;
  margin-top: clamp(34px, 5vw, 62px);
}

.article-faq-section .faq-list details {
  border-top: 2px solid rgba(200, 162, 74, 0.52);
  box-shadow: 0 12px 30px rgba(6, 43, 29, 0.06);
}

.article-faq-section .faq-list p {
  margin-bottom: 0;
}

.article-soft-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--white);
  background: linear-gradient(135deg, var(--green-950), var(--green-900));
  border: 1px solid rgba(200, 162, 74, 0.54);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-soft-cta h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.08;
}

.article-soft-cta p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: #e4eee9;
}

.article-soft-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

.article-soft-cta .btn-primary {
  color: var(--green-950);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.article-soft-cta .btn-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(200, 162, 74, 0.78);
}

@media (max-width: 900px) {
  .featured-article-card,
  .article-grid,
  .article-group .article-grid {
    grid-template-columns: 1fr;
  }

  .article-image,
  .article-image-placeholder {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .articles-hero {
    padding-top: 34px;
  }

  .articles-section-heading {
    display: grid;
    gap: 10px;
  }

  .article-category-link,
  .featured-article-body .btn,
  .article-card .btn {
    width: 100%;
  }

  .article-card-body,
  .featured-article-body {
    padding: 18px;
  }

  .article-soft-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-soft-cta-actions,
  .article-soft-cta-actions .btn {
    width: 100%;
  }
}
