/* ------------------------------------------ */
/* TEMEL METİN KISITLAMALARI - Clamp Text */
/* ------------------------------------------ */
.clamp-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2; /* Başlıklar için 2 satır */
}

.clamp-text.h3, .clamp-text.h5 {
    -webkit-line-clamp: 1; /* Başlıklar için tek satır */
}

/* ------------------------------------------ */
/* POST ÖZET - 30 KELİME ÖNİZLEME */
/* ------------------------------------------ */
.post-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3; /* Maksimum 3 satır */
    margin-bottom: 0.5rem;
    font-size: 0.875rem; /* Küçük ve okunaklı */
    color: #6c757d; /* Bootstrap text-muted rengi */
}

/* ------------------------------------------ */
/* ÖZEL KART EFEKTLERİ */
/* ------------------------------------------ */
.custom-card {
    transition: box-shadow 0.3s, border-color 0.3s;
}

.custom-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* ------------------------------------------ */
/* RESİMLER VE FIGURE AYARLARI */
/* ------------------------------------------ */
figure.image {
    display: block;
    width: 100%;
    margin: 0;
}

figure.image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 10px;
}

/* ------------------------------------------ */
/* NAVBAR HOVER EFEKTLERİ */
/* ------------------------------------------ */
.liefect .nav-item a {
    display: inline-block;
    transition: all 0.3s ease;
}

.liefect .nav-item a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.02); /* İsteğe bağlı arkaplan efekti */
}