/* =========================================
   BLOG – GLOBAL
========================================= */

.blog-list,
.blog-article {
  max-width: 720px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
}

/* =========================================
   BLOG LIST (INDEX PAGE)
========================================= */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px 22px 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.blog-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-title a {
  color: #2563eb;
  text-decoration: none;
}

.blog-title a:hover {
  text-decoration: underline;
}

.blog-excerpt {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-read-more {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.blog-read-more:hover {
  text-decoration: underline;
}

/* =========================================
   BLOG ARTICLE (POST PAGE)
========================================= */

.blog-article {
  margin-top: 8px;
}

.article-header {
  margin-bottom: 36px;
}

.article-header h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 12px;
}

.article-meta {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 14px;
}

/* Content */

.article-content {
  font-size: 17px;
  color: #334155;
  line-height: 1.75;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 42px 0 16px;
}

.article-content ul,
.article-content ol {
  margin: 18px 0 24px 22px;
}

.article-content li {
  margin-bottom: 10px;
}

/* =========================================
   IMPROVED INTRO PARAGRAPH
========================================= */

.article-header + .article-content p:first-child {
  font-size: 18px;
  color: #475569;
}

/* =========================================
   PREMIUM CTA BOX (NEW)
========================================= */

.article-cta-box {
  margin: 60px 0 20px;
  padding: 36px 28px;
  border-radius: 24px;
  background: #0f172a;
  text-align: center;
  color: #ffffff;
}

.article-cta-box h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #22c55e;
}

.article-cta-box p {
  margin-bottom: 18px;
  color: #cbd5e1;
}

.article-cta-box .btn {
  min-width: 220px;
}

/* =========================================
   OLD CTA (KEEP SAFE)
========================================= */

.article-cta {
  margin: 40px 0 20px;
  text-align: center;
}

.article-cta .btn-primary {
  display: inline-block;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  background: #2563eb;
  color: #ffffff;
  border-radius: 10px;
  text-decoration: none;
}

.article-cta .btn-primary:hover {
  background: #1d4ed8;
}

/* =========================================
   BACK BUTTON (BLOG ONLY)
========================================= */

.page-back {
  margin-bottom: 14px;
}

.page-back a {
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.page-back a:hover {
  text-decoration: underline;
}

/* =========================================
   FOOTER SPACING IMPROVEMENT
========================================= */

.site-footer {
  margin-top: 60px;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

/* =========================================
   MOBILE OPTIMIZATION
========================================= */

@media (max-width: 640px) {

  .page-header h1 {
    font-size: 26px;
  }

  .article-header h1 {
    font-size: 28px;
  }

  .blog-title {
    font-size: 20px;
  }

  .blog-card {
    padding: 18px;
  }

  .article-content {
    font-size: 16px;
  }

  .article-content h2 {
    font-size: 20px;
  }

  .article-cta .btn-primary,
  .article-cta-box .btn {
    width: 100%;
  }
}
/* =========================================
   PREMIUM ARTICLE CONTAINER
========================================= */

.page-container {
  padding: 40px 20px 60px;
}

.blog-article {
  background: #ffffff;
  padding: 40px 36px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}

/* =========================================
   STRONGER HEADER STYLE
========================================= */

.article-header {
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 36px;
}

.article-meta {
  margin-top: 8px;
}

/* =========================================
   BETTER HEADING HIERARCHY
========================================= */

.article-content h2 {
  position: relative;
  padding-left: 14px;
}

.article-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 24px;
  background: #2563eb;
  border-radius: 4px;
}

/* =========================================
   IMPROVED LIST STYLING
========================================= */

.article-content ul {
  list-style: none;
  padding-left: 0;
}

.article-content ul li {
  position: relative;
  padding-left: 22px;
}

.article-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
}

/* Ordered list cleaner spacing */

.article-content ol {
  padding-left: 20px;
}

.article-content ol li {
  padding-left: 4px;
}

/* =========================================
   PARAGRAPH BREATHING SPACE
========================================= */

.article-content p {
  max-width: 680px;
}

/* =========================================
   CTA TRANSITION SPACE
========================================= */

.article-cta-box {
  margin-top: 70px;
}

/* =========================================
   MOBILE POLISH
========================================= */

@media (max-width: 640px) {

  .blog-article {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .article-content {
    font-size: 16px;
  }

  .article-content h2::before {
    height: 20px;
  }
}
