/* ===== ARTICLE PAGE ===== */
main.article-main { padding: 0; min-height: 0; }

/* ===== HERO ===== */
.article-hero {
  background: var(--bg-dark) center / cover no-repeat;
  position: relative;
  padding: 5rem 0 4rem;
  color: #fff;
  overflow: hidden;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0.72) 0%,
    rgba(15,23,42,0.85) 60%,
    rgba(15,23,42,0.96) 100%
  );
  pointer-events: none;
}
.article-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
}

.article-breadcrumb {
  margin-bottom: 1.5rem;
}
.article-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: color 0.15s, background 0.15s;
  border-radius: 0.375rem;
  padding: 0.2rem 0.5rem;
  margin-left: -0.5rem;
}
.article-breadcrumb a:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.article-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(246,153,50,0.15);
  border: 1px solid rgba(246,153,50,0.3);
  border-radius: 2rem;
  padding: 0.25rem 0.75rem;
}
.article-country {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2rem;
  padding: 0.25rem 0.75rem;
}
.article-date {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}
.article-title {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1rem;
  max-width: none;
}
.article-author {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

/* ===== BODY ===== */
.article-body-wrap {
  padding: 4rem 0 5rem;
}
.article-body {
  max-width: 48rem;
  margin: 0 auto;
}

.article-body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: none;
}
.article-body p em {
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.article-body h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 800;
  color: var(--text);
  margin: 2.75rem 0 1rem;
  line-height: 1.25;
  max-width: none;
}
.article-body h2:first-child { margin-top: 0; }

.article-body ul {
  margin: 0 0 1.5rem 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.article-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 1.0rem;
  line-height: 1.7;
  color: var(--text);
}
.article-body ul li::before {
  content: "";
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== BLOCKQUOTE ===== */
.article-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--primary);
  background: rgba(246,153,50,0.06);
  border-radius: 0 0.75rem 0.75rem 0;
}
.article-quote p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 0.75rem !important;
}
.article-quote footer {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* ===== INLINE FIGURES ===== */
.article-figure {
  margin: 2rem 0;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== STAT CALLOUTS ===== */
.article-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
  margin: 1.75rem 0 2rem;
  padding: 1.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 1rem;
  border-left: 4px solid var(--primary);
}
.article-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.article-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.article-stat-label {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.article-footer {
  max-width: 48rem;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.article-back-btn:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  transform: translateX(-2px);
}

/* ===== SIMILAR NEWS ===== */
.similar-news {
  background: var(--bg-light);
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border);
}
.similar-news-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: none;
}
.similar-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 64em) { .similar-news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 48em) {
  .article-hero { padding: 4rem 0 3rem; }
  .article-body-wrap { padding: 2.5rem 0 3.5rem; }
  .article-stats { grid-template-columns: 1fr 1fr; }
  .similar-news { padding: 3rem 0 4rem; }
}
@media (max-width: 30em) {
  .article-stats { grid-template-columns: 1fr; padding: 1.25rem; }
  .similar-news-grid { grid-template-columns: 1fr; }
}
