/* ── Article Layout ── */
.article-hero {
  padding-top: 140px;
  padding-bottom: 64px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.3s;
}
.article-back:hover { color: var(--brass-dark); }
.article-back:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 2px; }
.article-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.article-tag.guide { background: var(--brass-glow); color: var(--brass-dark); }
.article-tag.basics { background: var(--green-light); color: var(--green); }
.article-tag.challenge { background: rgba(74, 127, 181, 0.12); color: #3A6B9F; }
.article-tag.tax { background: var(--red-light); color: var(--red); }
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
}
.article-meta {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  font-weight: 300;
}
.article-meta span + span::before {
  content: '\00b7';
  margin: 0 10px;
}

/* ── Article Content ── */
.article-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-top: 56px;
  margin-bottom: 20px;
  line-height: 1.3;
}
.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.35;
}
.article-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-light);
  margin-bottom: 24px;
  font-weight: 300;
}
.article-content strong {
  font-weight: 500;
  color: var(--ink);
}
.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.article-content li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-light);
  margin-bottom: 8px;
  font-weight: 300;
}
.article-content blockquote {
  border-left: 2px solid var(--brass);
  padding: 16px 24px;
  margin: 32px 0;
  background: rgba(200, 165, 92, 0.06);
  border-radius: 0 12px 12px 0;
}
.article-content blockquote p {
  font-style: italic;
  color: var(--ink-muted);
  margin-bottom: 0;
}

/* ── Tables ── */
.example-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.9375rem;
}
.example-table th {
  text-align: left;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 12px 16px;
  border-bottom: 2px solid rgba(26, 24, 20, 0.1);
}
.example-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(26, 24, 20, 0.06);
  font-weight: 300;
  color: var(--ink-light);
}
.example-table tr:last-child td { border-bottom: none; }
.example-table .amount { font-weight: 500; color: var(--ink); }
.example-table .highlight { font-weight: 500; color: var(--red); }
.example-table .zakatable { font-weight: 500; color: var(--green); }
.example-table .not-zakatable { font-weight: 500; color: var(--ink-muted); }

/* ── Callout Boxes ── */
.tip-box {
  padding: 20px 24px;
  background: rgba(58, 125, 92, 0.06);
  border: 1px solid rgba(58, 125, 92, 0.15);
  border-radius: 12px;
  margin: 32px 0;
}
.tip-box p {
  color: var(--ink-light);
  margin-bottom: 0;
  font-size: 0.9375rem;
}
.tip-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.warning-box {
  padding: 20px 24px;
  background: rgba(196, 91, 74, 0.06);
  border: 1px solid rgba(196, 91, 74, 0.15);
  border-radius: 12px;
  margin: 32px 0;
}
.warning-box p {
  color: var(--ink-light);
  margin-bottom: 0;
  font-size: 0.9375rem;
}
.warning-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.article-divider {
  width: 48px;
  height: 1px;
  background: var(--brass);
  margin: 56px auto;
}

/* ── Category Grid (30-day challenge) ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 32px;
}
.category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--cream-dark);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-light);
}
.category-icon {
  width: 20px;
  height: 20px;
  color: var(--brass-dark);
  flex-shrink: 0;
}
.category-icon svg {
  width: 100%;
  height: 100%;
}

.week-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brass-glow);
  border: 1px solid rgba(200, 165, 92, 0.2);
  color: var(--brass-dark);
  font-weight: 600;
  font-size: 0.8125rem;
  margin-right: 12px;
  flex-shrink: 0;
}

/* ── Article CTA Banner ── */
.article-cta {
  max-width: 680px;
  margin: 0 auto 100px;
  padding: 48px 40px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article-cta::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(200, 165, 92, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 12px;
  position: relative;
}
.article-cta p {
  color: rgba(245, 240, 232, 0.5);
  font-size: 0.9375rem;
  font-weight: 300;
  margin-bottom: 32px;
  line-height: 1.7;
  position: relative;
}
.article-cta .btn-primary {
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
}
.article-cta .btn-primary:hover {
  background: var(--brass-light);
  box-shadow: 0 8px 32px rgba(200, 165, 92, 0.3);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .article-hero { padding-top: 110px; padding-bottom: 40px; }
  .article-content { padding: 0 20px 80px; }
  .article-cta { margin: 0 24px 80px; padding: 36px 24px; }
  .example-table { font-size: 0.8125rem; }
  .example-table th, .example-table td { padding: 10px 12px; }
  .category-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .article-hero { padding-top: 100px; padding-bottom: 32px; }
  .article-content { padding: 0 16px 60px; }
  .article-content h2 { font-size: 1.5rem; margin-top: 40px; }
  .article-content h3 { font-size: 1.125rem; margin-top: 32px; }
  .article-content p, .article-content li { font-size: 1rem; }
  .article-cta { margin: 0 16px 60px; padding: 28px 20px; }
  .article-cta h3 { font-size: 1.25rem; }
  .example-table { font-size: 0.75rem; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .example-table th, .example-table td { padding: 8px 8px; white-space: nowrap; }
  .tip-box, .warning-box { padding: 16px 18px; }
}
