/* ── ARTICLES SHARED STYLES ── */

/* ── Page header ── */
.articles-header {
  padding: 120px 2rem 3rem;
  background: linear-gradient(180deg, var(--iron) 0%, var(--carbon) 100%);
  border-bottom: 1px solid var(--plate-edge);
}

.articles-header-inner {
  max-width: 820px;
  margin: 0 auto;
}

.articles-breadcrumb {
  font-size: 0.8rem;
  color: var(--gray-mid);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.articles-breadcrumb a {
  color: var(--gray-mid);
  text-decoration: none;
}

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

.articles-header h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.articles-header p {
  font-size: 1.05rem;
  color: var(--gray-light);
  max-width: 620px;
  line-height: 1.7;
}

/* ── Main content area ── */
.articles-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* ── Section title ── */
.articles-section {
  margin-bottom: 3.5rem;
}

.articles-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--plate-edge);
}

/* ── Card grids ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.articles-grid-pillars {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* ── Article card ── */
.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  background: var(--plate);
  border: 1px solid var(--plate-edge);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.article-card:hover {
  border-color: var(--orange);
  background: var(--plate-edge);
  transform: translateY(-2px);
}

.article-card-pillar {
  border-left: 3px solid var(--orange);
}

.article-card-pillar:hover {
  border-left-color: var(--orange-glow);
}

.article-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.article-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
}

.article-card p {
  font-size: 0.88rem;
  color: var(--gray-light);
  line-height: 1.6;
  flex: 1;
}

.article-card-read {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--steel-light);
  margin-top: auto;
}

.article-card:hover .article-card-read {
  color: var(--orange);
}

/* ── Bottom CTA ── */
.articles-cta {
  margin-top: 2rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--plate) 0%, var(--iron) 100%);
  border: 1px solid var(--plate-edge);
  border-radius: 6px;
  text-align: center;
}

.articles-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.articles-cta h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.articles-cta p {
  font-size: 1rem;
  color: var(--gray-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ── ARTICLE PAGE STYLES ── */

.article-page-header {
  padding: 120px 2rem 3rem;
  background: linear-gradient(180deg, var(--iron) 0%, var(--carbon) 100%);
  border-bottom: 1px solid var(--plate-edge);
}

.article-page-header-inner {
  max-width: 820px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.article-meta-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  background: rgba(232, 114, 12, 0.12);
  padding: 0.2em 0.6em;
  border-radius: 2px;
}

.article-meta-date {
  font-size: 0.8rem;
  color: var(--gray-mid);
}

.article-page-header h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--white);
}

.article-page-header .article-intro {
  font-size: 1.1rem;
  color: var(--gray-light);
  line-height: 1.7;
  max-width: 680px;
}

/* ── Article body ── */
.article-body-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.article-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--plate-edge);
}

.article-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--off-white);
  margin: 1.75rem 0 0.5rem;
}

.article-body p {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.article-body ul,
.article-body ol {
  color: var(--gray-light);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0.5rem 0 1.1rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.35rem;
}

.article-body strong {
  color: var(--off-white);
  font-weight: 600;
}

.article-body a {
  color: var(--steel-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--orange);
}

/* Callout / highlight box */
.article-callout {
  background: var(--plate);
  border-left: 3px solid var(--orange);
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
  margin: 1.5rem 0;
}

.article-callout p {
  margin: 0;
  font-size: 0.95rem;
}

/* ── Article footer CTA ── */
.article-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--plate) 0%, var(--iron) 100%);
  border: 1px solid var(--plate-edge);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
}

.article-cta h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.5rem;
  border: none;
  padding: 0;
}

.article-cta p {
  color: var(--gray-light);
  margin-bottom: 1.25rem;
}

/* ── Related articles ── */
.article-related {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--plate-edge);
}

.article-related h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 1rem;
  border: none;
  padding: 0;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

/* ── Nav active state ── */
nav .nav-active {
  color: var(--orange) !important;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .articles-grid,
  .articles-grid-pillars {
    grid-template-columns: 1fr;
  }

  .articles-header {
    padding: 100px 1.25rem 2.5rem;
  }

  .articles-main {
    padding: 2rem 1.25rem 4rem;
  }

  .article-body-wrap {
    padding: 2rem 1.25rem 4rem;
  }

  .article-page-header {
    padding: 100px 1.25rem 2.5rem;
  }
}
