/* ================================================================
   INSIGHTS ARTICLE PAGES
   Shared styling for branded insight pages
================================================================ */

/* Article hero */
.article-hero {
  padding: 140px 0 64px;
  background: linear-gradient(180deg, var(--gold-xlight) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}
.article-hero-inner {
  max-width: 900px;
}
.article-breadcrumb {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--mid-grey);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.article-breadcrumb a {
  color: var(--mid-grey);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.article-breadcrumb a:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}
.article-breadcrumb .sep {
  color: var(--border);
  margin: 0 10px;
}
.article-category {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 6px 14px;
  border: 1px solid var(--gold);
  background: var(--gold-light);
  border-radius: 2px;
  margin-bottom: 18px;
}
.article-title {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 20px;
}
.article-dek {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--mid-grey);
  max-width: 760px;
  margin-bottom: 28px;
}
.article-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--mid-grey);
  flex-wrap: wrap;
}
.article-meta strong {
  color: var(--dark);
  font-weight: 600;
}

/* Article body */
.article-body {
  padding: 72px 0;
  background: var(--white);
}
.article-body-inner {
  max-width: 820px;
  margin: 0 auto;
}
.article-body h2 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
  margin: 36px 0 12px;
}
.article-body p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
  color: #3A3A3A;
  margin-bottom: 20px;
}
.article-body p strong { color: var(--dark); font-weight: 600; }
.article-body ul, .article-body ol {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}
.article-body ul li, .article-body ol li {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #3A3A3A;
  padding-left: 28px;
  margin-bottom: 12px;
  position: relative;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.article-body ol { counter-reset: list-counter; }
.article-body ol li {
  counter-increment: list-counter;
}
.article-body ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pull quote / key stat */
.article-pullquote {
  margin: 40px 0;
  padding: 32px 36px;
  background: var(--gold-xlight);
  border-left: 4px solid var(--gold);
  border-radius: 2px;
}
.article-pullquote p {
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.45;
  color: var(--dark);
  margin: 0;
}

/* Stat grid */
.article-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 36px 0;
}
.article-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 24px;
  border-radius: 2px;
}
.article-stat-value {
  font-family: 'Source Serif 4', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-dark);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.article-stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mid-grey);
}
.article-stat-source {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #999;
  margin-top: 10px;
  font-style: italic;
}

/* Callout card */
.article-callout {
  margin: 36px 0;
  padding: 28px 32px;
  background: var(--dark);
  color: var(--white);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.article-callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gold);
}
.article-callout h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  color: var(--gold-light);
  margin-bottom: 12px;
  font-weight: 600;
}
.article-callout p {
  color: #E5E5E5;
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Data table */
.article-table-wrap {
  margin: 32px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}
.article-table thead tr {
  background: var(--dark);
  color: var(--white);
}
.article-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.article-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  color: #3A3A3A;
  vertical-align: top;
}
.article-table tbody tr:nth-child(even) { background: var(--gold-xlight); }
.article-table td strong { color: var(--dark); }

/* Three-column insight grid (for OEM page) */
.article-three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 36px 0;
}
.article-three-col .col-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 24px;
  border-radius: 2px;
}
.article-three-col .col-card h4 {
  font-family: 'Source Serif 4', serif;
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.3;
}
.article-three-col .col-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid-grey);
  margin: 0;
}

/* Sources */
.article-sources {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 2px solid var(--gold);
}
.article-sources h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.article-sources p {
  font-size: 13px;
  color: var(--mid-grey);
  line-height: 1.7;
}
.article-sources a { color: var(--gold-dark); text-decoration: underline; }

/* Article CTA */
.article-cta {
  margin-top: 56px;
  padding: 40px 44px;
  background: var(--gold-xlight);
  border: 1px solid var(--gold);
  border-radius: 2px;
  text-align: center;
}
.article-cta h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.article-cta p {
  font-family: 'DM Sans', sans-serif;
  color: var(--mid-grey);
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.article-cta .btn { margin: 0 6px 6px; }

/* Related insights */
.related-insights {
  padding: 64px 0;
  background: var(--gold-xlight);
  border-top: 1px solid var(--border);
}
.related-insights .section-title {
  margin-bottom: 32px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 2px;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(181, 155, 80, 0.15);
  border-color: var(--gold);
}
.related-card .cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.related-card h4 {
  font-family: 'Source Serif 4', serif;
  font-size: 19px;
  color: var(--dark);
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .article-hero { padding: 110px 0 44px; }
  .article-body { padding: 48px 0; }
  .article-pullquote { padding: 22px 24px; }
  .article-pullquote p { font-size: 18px; }
  .article-callout { padding: 22px 24px; }
  .article-cta { padding: 28px 24px; }
}
