/* ================= BLOG PAGE ================= */

/* ===== ARTICLE CONTAINER ===== */
.blog-article {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  padding: 24px !important;
  border-radius: 22px;
}

/* ===== HERO ===== */
.blog-hero {
  margin-bottom: 18px;
}

.blog-hero img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* ===== TITLE ===== */
.blog-title {
  margin-top: 14px;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(90deg, #f4d87b, #d6b14c);
  -webkit-background-clip: text;
  color: transparent;
}

/* ===== META ===== */
.blog-meta {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
}

/* ===== EXCERPT ===== */
.blog-excerpt {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #475569;
  max-width: 680px;
}

/* ================= CONTENT ================= */

.blog-content {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.65;
  color: #1e293b;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== HEADINGS ===== */
.blog-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 28px 0 12px;
  line-height: 1.3;
  border-left: 4px solid #f59e0b;
  padding-left: 10px;
}

.blog-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 22px 0 8px;
}

.blog-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  margin: 18px 0 6px;
}

.blog-content h5 {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  margin: 16px 0 4px;
}

/* ===== PARAGRAPH ===== */
.blog-content p {
  margin-bottom: 12px;
  color: #334155;
}

/* ===== LIST ===== */
.blog-content ul,
.blog-content ol {
  margin: 10px 0 14px;
  padding-left: 18px;
}

.blog-content li {
  margin-bottom: 6px;
  color: #334155;
}

/* ===== STRONG ===== */
.blog-content strong {
  color: #0f172a;
  font-weight: 700;
}

/* ===== LINKS ===== */
.blog-content a {
  color: #d97706;
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 119, 6, 0.4);
  transition: all 0.2s ease;
}

.blog-content a:hover {
  color: #b45309;
  border-color: transparent;
}

/* ===== BLOCKQUOTE ===== */
.blog-content blockquote {
  border-left: 4px solid #f59e0b;
  padding-left: 14px;
  margin: 16px 0;
  color: #475569;
  font-style: italic;
  background: rgba(251, 191, 36, 0.08);
  padding: 10px 14px;
  border-radius: 10px;
}

/* ===== IMAGE INSIDE CONTENT ===== */
.blog-content img {
  width: 100%;
  border-radius: 16px;
  margin: 18px 0;
}

/* ===== TABLE ===== */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.blog-content table th,
.blog-content table td {
  border: 1px solid #e2e8f0;
  padding: 8px;
  text-align: left;
}

.blog-content table th {
  background: #f8fafc;
  font-weight: 600;
}

/* ================= TAGS ================= */
.blog-tags {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tags span {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(251, 191, 36, 0.15);
  color: #92400e;
}

/* ================= CTA ================= */
.blog-cta {
  margin-top: 36px;
  padding: 26px;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(251, 191, 36, 0.18),
    rgba(249, 115, 22, 0.12)
  );
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.blog-cta h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.blog-cta p {
  margin-bottom: 14px;
  font-size: 14px;
  color: #475569;
}

.blog-cta a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  background: linear-gradient(90deg, #f4d87b, #d6b14c);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.35);
  transition: transform 0.2s ease;
}

.blog-cta a:hover {
  transform: scale(1.05);
}

/* ================= RELATED ================= */
.related-card img {
  border-radius: 12px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .blog-article {
    padding: 17px !important;
  }

  .blog-title {
    font-size: 1.5rem;
  }

  .blog-content {
    font-size: 16px;
    line-height: 1.6;
  }

  .blog-content h2 {
    font-size: 21px;
  }

  .blog-content h3 {
    font-size: 19px;
  }

  .blog-content h4 {
    font-size: 17px;
  }

  .blog-content h5 {
    font-size: 15px;
  }

  .blog-cta {
    padding: 20px;
  }
}