/* Article 2: How to Start Email Marketing in 2026 — CSS prefix: emg- */
/* Mobile-first design */

.emg-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  color: #1a1a2e;
  line-height: 1.75;
  font-size: 17px;
}

.emg-article h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 20px 0;
  font-weight: 800;
}

.emg-article h2 {
  font-size: 1.4rem;
  color: #0f172a;
  margin: 40px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
  font-weight: 700;
}

.emg-article h3 {
  font-size: 1.15rem;
  color: #1e293b;
  margin: 28px 0 12px 0;
  font-weight: 700;
}

.emg-article p {
  margin: 0 0 16px 0;
}

.emg-article a {
  color: #2563eb;
  text-decoration: underline;
}

.emg-article a:hover {
  color: #1d4ed8;
}

.emg-article ul, .emg-article ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.emg-article li {
  margin-bottom: 8px;
}

/* Disclosure */
.emg-disclosure {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #64748b;
  margin: 16px 0 24px 0;
}

/* Verdict / Key Takeaway */
.emg-verdict {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.emg-verdict h2 {
  color: #fff;
  border: none;
  margin: 0 0 12px 0;
  font-size: 1.25rem;
}

.emg-verdict p {
  color: #cbd5e1;
  margin: 0 0 10px 0;
}

.emg-verdict strong {
  color: #38bdf8;
}

.emg-verdict ul {
  color: #cbd5e1;
  margin: 10px 0 0 0;
  padding-left: 20px;
}

.emg-verdict li {
  margin-bottom: 6px;
}

/* Step Numbers */
.emg-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.emg-step-header {
  display: flex;
  align-items: center;
  margin: 40px 0 16px 0;
}

.emg-step-header h2 {
  margin: 0;
  border: none;
  padding: 0;
}

/* Callout Boxes */
.emg-callout {
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
}

.emg-callout.emg-tip {
  background: #eff6ff;
  border-left: 4px solid #2563eb;
}

.emg-callout.emg-warn {
  background: #fefce8;
  border-left: 4px solid #eab308;
}

.emg-callout.emg-info {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
}

.emg-callout strong {
  display: block;
  margin-bottom: 6px;
}

/* Platform Comparison Table */
.emg-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}

.emg-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 0.9rem;
}

.emg-table thead {
  background: #0f172a;
  color: #fff;
}

.emg-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
}

.emg-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.emg-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.emg-table tbody tr:hover {
  background: #eff6ff;
}

/* Subject Line Examples */
.emg-examples {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
}

.emg-examples h3 {
  margin-top: 0;
}

.emg-example-bad {
  background: #fef2f2;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 8px;
  border-left: 3px solid #ef4444;
}

.emg-example-good {
  background: #f0fdf4;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 8px;
  border-left: 3px solid #22c55e;
}

/* Checklist */
.emg-checklist {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
  list-style: none;
  padding-left: 20px;
}

.emg-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.emg-checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  font-size: 1.1rem;
}

/* FAQ Section */
.emg-faq {
  margin: 32px 0;
}

.emg-faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
}

.emg-faq-q {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.emg-faq-a {
  color: #475569;
  line-height: 1.7;
}

/* CTA Final */
.emg-cta-final {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  margin: 40px 0;
}

.emg-cta-final h2 {
  color: #fff;
  border: none;
  margin: 0 0 12px 0;
}

.emg-cta-final p {
  color: #cbd5e1;
  margin: 0 0 20px 0;
}

/* Methodology */
.emg-methodology {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  margin: 32px 0;
}

.emg-methodology h2 {
  border: none;
  margin-top: 0;
}

/* Desktop */
@media (min-width: 768px) {
  .emg-article {
    padding: 0 24px;
  }

  .emg-article h1 {
    font-size: 2.25rem;
  }

  .emg-article h2 {
    font-size: 1.6rem;
  }
}
