/* ==========================================================================
   easymtge.com — guides.css
   Article-specific typography for long-form reading.
   Depends on styles.css (color variables, .card, .btn, layout).
   ========================================================================== */

/* ---------- Guides index grid ---------- */

.guides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.6rem;
  transition: box-shadow 0.15s ease, transform 0.1s ease;
}
.guide-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}
.guide-card .guide-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.guide-card h2 {
  font-size: 1.15rem;
  color: var(--blue-800);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.guide-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.guide-card .guide-card-more {
  margin-top: auto;
  color: var(--blue-600);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Article layout ---------- */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
}

.article h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  color: var(--blue-800);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.article h2 {
  font-size: 1.4rem;
  color: var(--blue-800);
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.75rem;
}

.article h3 {
  font-size: 1.12rem;
  color: var(--blue-700);
  margin: 1.75rem 0 0.6rem;
}

.article p {
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.15rem;
}

.article ul,
.article ol {
  padding-left: 1.4rem;
  margin: 0 0 1.3rem;
}
.article li {
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.article a { color: var(--blue-600); font-weight: 600; }

.article strong { color: var(--blue-900); }

.article blockquote {
  margin: 1.5rem 0;
  padding: 0.9rem 1.25rem;
  background: var(--blue-50);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  color: var(--text);
}
.article blockquote p:last-child { margin-bottom: 0; }

/* muted caveat / not-advice note */
.article .article-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--accent-light);
  border: 1px solid #f2dcc4;
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0;
}

/* end-of-article call to action */
.article-cta {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.article-cta p {
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 auto 1.25rem;
}

@media (min-width: 640px) {
  .guides-grid { grid-template-columns: 1fr 1fr; }
  .article h1 { font-size: 2.2rem; }
  .article h2 { font-size: 1.5rem; }
}

@media (min-width: 900px) {
  .guides-grid { grid-template-columns: repeat(3, 1fr); }
}
