/* --- Image helpers --- */
.object-fit-cover { object-fit: cover; }
.object-fit-contain { object-fit: contain; }

/* --- Card look --- */
.card {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
}

/* --- Hero image max height (list cards) --- */
.post-thumb {           /* desktop */
  max-height: 260px;
}
@media (max-width: 767.98px) {
  .post-thumb {         /* mobile */
    max-height: 220px;
  }
}

/* --- Multi-line clamp utilities --- */
/* Base clamp: vendor + standard together (standard last) */
.clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 2 lines */
.clamp-2 {
  -webkit-line-clamp: 2;
  line-clamp: 2;              /* standard */
}

/* 3 lines */
.clamp-3 {
  -webkit-line-clamp: 3;
  line-clamp: 3;              /* standard */
}

/* Blog excerpt uses clamp-3 by default */
.blog-excerpt { margin: 0; }

.post-card .card-footer { background: transparent; }
.post-card .secondary-btn { position: relative; z-index: 1; }

/* Detay sayfası kahraman görsel yüksekliği */
.post-hero { max-height: 420px; }
@media (max-width: 767.98px) { .post-hero { max-height: 280px; } }

/* Markdown içerik okunabilirliği */
.content img { max-width: 100%; height: auto; display: block; margin: 1rem auto; border-radius: 8px; }
.content pre { background: #f8f9fa; padding: .75rem 1rem; border-radius: 10px; overflow: auto; }
.content h2 { margin-top: 1.5rem; }
.content h3 { margin-top: 1.25rem; }


