/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: #222;
  background-color: #f7f7f9;
  padding: 20px;
}

/* ===== Blog Wrapper ===== */
.blog-article {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* ===== Headings ===== */
.blog-article header h1 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #111827;
}

.blog-article header p {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.blog-article h2 {
  font-size: 1.4rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: #111827;
  border-left: 4px solid #2563eb;
  padding-left: 10px;
}

.blog-article h3 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 8px;
  color: #1f2933;
}

/* ===== Paragraphs & Lists ===== */
.blog-article p {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #374151;
}

.blog-article ul {
  margin: 8px 0 16px 18px;
  padding-left: 12px;
}

.blog-article ul li {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

/* ===== Links ===== */
.blog-article a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px dashed rgba(37, 99, 235, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.blog-article a:hover {
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.8);
}

/* ===== Strong Text ===== */
.blog-article strong {
  font-weight: 600;
  color: #111827;
}

/* ===== Sections Spacing ===== */
.blog-article section {
  margin-bottom: 20px;
}

/* ===== FAQ Styling ===== */
.blog-article section h3 {
  font-weight: 600;
}

.blog-article section:last-of-type {
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  body {
    padding: 12px;
  }

  .blog-article {
    padding: 20px 16px;
  }

  .blog-article header h1 {
    font-size: 1.6rem;
  }

  .blog-article h2 {
    font-size: 1.25rem;
  }

  .blog-article h3 {
    font-size: 1.02rem;
  }
}
