/* Ana Wrapper */
.ck-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
}

/* Kongre Başlığı */
.ck-kongre-section {
    margin-bottom: 60px;
}

.ck-kongre-baslik {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 30px;
    position: relative;
}

.ck-kongre-baslik::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #0073aa; /* Tema rengi */
}

/* Grid Yapısı (Standart 4 Sütun) */
.ck-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* İdeal kitap dizilimi */
    gap: 30px;
}

/* Responsive Ayarlar */
@media (max-width: 1024px) {
    .ck-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .ck-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ck-grid { grid-template-columns: 1fr; }
}

/* Kitap Kartı */
.ck-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: 1px solid #f0f0f0;
}

.ck-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.ck-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Resim Alanı - DİKDÖRTGEN (2:3 Oranı) */
.ck-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3; /* Standart Kitap Kapağı Oranı */
    overflow: hidden;
    background-color: #f4f4f4;
}

.ck-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi alana yayar ve fazlalıkları kırpar */
    object-position: top center; /* Öncelik resmin üst kısmındadır */
    transition: transform 0.5s ease;
}

.ck-card:hover .ck-image-box img {
    transform: scale(1.05);
}

/* Hover Efekti (Overlay) */
.ck-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ck-card:hover .ck-overlay {
    opacity: 1;
}

.ck-icon {
    background: #fff;
    color: #333;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transform: translateY(15px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.ck-card:hover .ck-icon {
    transform: translateY(0);
}

/* Kitap Bilgisi */
.ck-info {
    padding: 15px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #f9f9f9;
}

.ck-info h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
    color: #444;
    line-height: 1.4;
    /* Başlık çok uzunsa 2 satırda keser */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}