/**
 * Fedo Sanatçılar Grid Stilleri
 */

.fedo-artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0;
    padding: 0;
}

.fedo-artist-item {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.fedo-artist-image {
    width: 100%;
    margin-bottom: 8px;
    overflow: hidden;
}

/* Görsel yüksekliği 390px sabit */
.fedo-artist-image img {
    width: 100%;
    height: 390px;
    display: block;
    object-fit: cover;
}

.fedo-artist-info {
    text-align: left;
}

.fedo-artist-name {
    margin: 0;
    text-align: left;
    font-weight: inherit;
}

.fedo-artist-desc {
    text-align: left;
    line-height: inherit;
    margin: 0;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .fedo-artists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .fedo-artists-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ----------------------------------------------------------- */
/* EK ÖZELLİKLER */
/* ----------------------------------------------------------- */

/* 1. Biyografiyi 5 satıra düşüren kod */
.fedo-artist-desc.fedo-line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 2. Tamamını Oku Linki */
.fedo-read-more-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.9em;
    text-decoration: underline;
    cursor: pointer;
    color: inherit;
}

/* 3. Popup (Modal) Genel Yapısı - DÜZELTİLEN KISIM */
.fedo-modal {
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Flex ile kutuyu tam ortaya hizalıyoruz */
    display: none; /* JS ile flex yapılacak */
    justify-content: center;
    align-items: center;
}

/* Arkadaki karartma katmanı */
.fedo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Siyah ve %70 opaklık */
    z-index: 1;
}

/* Beyaz Kutu (İçerik Alanı) */
.fedo-modal-container {
    position: relative;
    background-color: #fff; /* Arka plan beyaz */
    width: 600px; /* Genişlik */
    max-width: 90%; /* Mobilde taşmaması için */
    max-height: 85vh; /* Ekranın %85'i kadar yükseklik */
    overflow-y: auto; /* Yazı uzunsa kaydırma çubuğu çıksın */
    padding: 30px;
    border-radius: 8px; /* Köşeleri yumuşat */
    box-shadow: 0 10px 25px rgba(0,0,0,0.5); /* Gölge */
    z-index: 2; /* Karartmanın üzerinde durması için */
}

/* Modal Başlık Kısmı */
.fedo-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.fedo-modal-header h3 {
    margin: 0;
    font-size: 1.5em;
}

/* Kapatma Butonu (X) */
.fedo-close-modal {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.fedo-close-modal:hover {
    color: #000;
}

.fedo-modal-body {
    font-size: 1em;
    line-height: 1.6;
    color: #333;
}