/* =====================================================
   BLOG DETAIL / SHOW PAGE — Joginder Gymkhana Club
   ===================================================== */

.blog-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}
.blog-post-content {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.85;
}
.blog-post-content p { margin-bottom: 1.5rem; }
.blog-post-content h2,
.blog-post-content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--text);
  margin: 2.5rem 0 1rem;
}

/* ── BOTTOM ACTION ROW ── */
.blog-post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-share { font-size: 0.85rem; color: var(--text-light); }
.blog-share a {
  margin-left: 8px;
  color: inherit;
  text-decoration: none;
}
.blog-share a:not(:first-of-type) { margin-left: 12px; }

/* ── SIDEBAR ── */
.blog-sidebar { display: flex; flex-direction: column; gap: 2rem; }
.sidebar-widget {
  background: #fafaf7;
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 4px;
}
.widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}
.related-blog-item {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
  text-decoration: none;
  color: inherit;
}
.related-blog-item:last-child { margin-bottom: 0; }
.related-blog-img {
  width: 80px; height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.related-blog-info { display: flex; flex-direction: column; justify-content: center; }
.related-blog-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-blog-date { font-size: 0.75rem; color: var(--text-light); }
.sidebar-widget-text { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 1.25rem; }
.sidebar-apply-btn { display: block; text-align: center; }

/* ── BANNER TITLE (compact for long titles) ── */
.blog-banner-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  max-width: 850px;
}
.blog-banner-meta { color: var(--gold-light); font-size: 0.83rem; }

@media (max-width: 900px) {
  .blog-details-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .blog-post-footer { flex-direction: column; gap: 1rem; align-items: flex-start; }
}
