/* ===== GLOBAL BLOG PAGE STYLING ===== */
.blog-page,
.blog-details {
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
  font-family: 'Poppins', 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #222;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===== CENTERED ELEMENTS ===== */
.blog-details .center {
  text-align: center;
  margin: 20px auto;
}

/* ===== HEADINGS ===== */
.blog-details h1 {
  color: #ab183d;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
}

.blog-details h2 {
  color: #ab183d;
  border-left: 4px solid #ab183d;
  padding-left: 10px;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 12px;
  font-weight: 600;
}

/* ===== BADGES & LABELS ===== */
.blog-details .badge {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  margin-right: 8px;
  font-weight: 500;
}

.blog-details .urgent {
  color: #e6007e;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== IMAGES ===== */
.blog-details .im {
  margin: 20px 0;
}

.blog-details .blog-img {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin: 0 auto 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

/* ===== TEXT CONTENT ===== */
.blog-details section {
  margin-bottom: 30px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
}

.blog-details p {
  color: #444;
  margin: 12px 0;
}

/* ===== BUTTONS ===== */
.blog-details a.view-btn {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(180deg, #ab183d, #e6007e);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.blog-details a.view-btn:hover {
  background: linear-gradient(180deg, #e6007e, #ab183d);
  transform: translateY(-2px);
}

/* ===== TAGS ===== */
.tags {
  margin-top: 15px;
}

.tags span {
  display: inline-block;
  background: #f0f0f0;
  color: #333;
  padding: 5px 10px;
  border-radius: 8px;
  margin-right: 6px;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.tags span:hover {
  background: #f8d7da;
}

/* ===== POST DATE ===== */
.post-date {
  display: inline-block;
  margin-left: 10px;
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== SOCIAL UPDATE SECTION ===== */
.updates-section {
  background: #fdf2f5;
  border: 1px solid rgba(171, 24, 61, 0.2);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  margin-top: 40px;
}

.updates-section h2 {
  color: #ab183d;
  margin-bottom: 15px;
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 600;
  border-left: none !important;
}

.updates-section p {
  color: #444;
  margin-bottom: 20px;
  font-size: 1rem;
}

.updates-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.update-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.2s, opacity 0.2s;
}

.update-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Platform colors */
.update-btn.telegram { background: #0088cc; }
.update-btn.whatsapp { background: #25d366; }
.update-btn.instagram { background: #e1306c; }

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
  .blog-details h1 {
    font-size: 1.6rem;
  }

  .blog-details h2 {
    font-size: 1.2rem;
  }

  .blog-details section {
    font-size: 0.95rem;
  }

  .blog-details .badge {
    font-size: 0.75rem;
  }

  .blog-details .blog-img {
    max-width: 100%;
  }

  .update-btn {
    font-size: 0.9rem;
    padding: 8px 14px;
  }
}
