/* ═══════════════════════════════════════════════════════════════
   MINDFUL FINANCIAL™ — Resources / Insights Page Styles
═══════════════════════════════════════════════════════════════ */

/* ─── HERO ──────────────────────────────────────────────────── */
.resources-hero {
  padding: 140px 0 80px;
  position: relative;
}

.resources-hero-content {
  max-width: 760px;
}

.resources-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--black);
  margin-bottom: 20px;
}
.resources-hero-title em {
  font-style: italic;
  color: var(--dark-green);
}

.resources-hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 36px;
}

/* ─── ARTICLES GRID ─────────────────────────────────────────── */
.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 64px;
}

/* ─── ARTICLE CARD ──────────────────────────────────────────── */
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow var(--transition);
}

.article-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.article-card:hover {
  box-shadow: var(--shadow-md);
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--dark-green), var(--tan));
  transition: height 0.5s ease;
  border-radius: 0 0 4px 4px;
}

.article-card:hover::before,
.article-card--featured::before { height: 100%; }

.article-card--featured {
  background: var(--cream);
  border-color: var(--tan-light);
}

/* ─── ARTICLE META ──────────────────────────────────────────── */
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.article-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--dark-green);
  padding: 5px 14px;
  border-radius: 100px;
}

.article-read-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-read-time i { color: var(--tan); }

/* ─── ARTICLE TITLE & EXCERPT ───────────────────────────────── */
.article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-excerpt {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  font-style: italic;
  border-left: 3px solid var(--tan);
  padding-left: 20px;
}

/* ─── ARTICLE BODY ──────────────────────────────────────────── */
.article-body {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-bottom: 40px;
}

.article-body p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 20px;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--black);
  margin: 36px 0 14px;
  line-height: 1.25;
}

.article-body h3:first-child { margin-top: 0; }

.article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding-left: 0;
}

.article-list li {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
}

.article-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--tan);
  font-size: 0.8rem;
  top: 1px;
}

.article-list strong {
  color: var(--dark-green);
}

/* Callout box */
.article-callout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--dark-green);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 32px;
}

.article-callout i {
  color: var(--tan-light);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.article-callout p {
  font-size: 0.95rem !important;
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.75 !important;
  margin: 0 !important;
}

.article-callout strong {
  color: var(--tan-light);
}

/* ─── ARTICLE FOOTER ────────────────────────────────────────── */
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  flex-wrap: wrap;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.article-author .author-avatar {
  width: 44px;
  height: 44px;
  background: var(--dark-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tan-light);
  flex-shrink: 0;
}

.article-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--black);
  font-weight: 600;
  margin-bottom: 2px;
}

.article-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.article-cta-btn {
  white-space: nowrap;
}

/* ─── DIAGNOSTIC BANNER ─────────────────────────────────────── */
.resources-banner {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--mid-green) 100%);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  margin-bottom: 0;
}

.resources-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.resources-banner-text h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}

.resources-banner-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

.resources-banner .btn-primary {
  background: var(--tan);
  border-color: var(--tan);
  color: var(--black);
  white-space: nowrap;
}
.resources-banner .btn-primary:hover {
  background: var(--tan-light);
  border-color: var(--tan-light);
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .article-card { padding: 40px 44px; }
  .resources-banner { padding: 40px 44px; }
}

@media (max-width: 768px) {
  .article-card { padding: 32px 28px; }
  .resources-banner { padding: 32px 28px; }
  .resources-banner-inner { flex-direction: column; align-items: flex-start; }
  .article-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .article-card { padding: 24px 20px; }
  .article-callout { flex-direction: column; gap: 12px; }
}
