/* =================================================================== */
/* === YAZAR PROFİL SAYFASI STİLLERİ (author-profile.css - SON GÜNCELLEME V3) === */
/* =================================================================== */

/* Genel Sayfa Ayarları */
.author-profile-page-wrapper {
    background-color: #f8f9fa;
    padding-top: 50px;
    padding-bottom: 80px;
    font-family: 'Inter', 'K2D', sans-serif;
    color: #495057;
}

/* Ana Profil Kartı */
.author-profile-header .profile-card {
    background-color: #ffffff;
    border-radius: 5px; /* Max 5px */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 35px 40px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 35px; /* Sütunlar arası boşluk biraz azaltıldı */
    align-items: flex-start;
    margin-bottom: 50px;
}

/* Sol Sütun: Avatar ve Temel Bilgiler */
.profile-avatar-column {
    text-align: left;
    position: sticky;
    top: 100px; /* Header durumuna göre ayarla */
    align-self: flex-start;
}

.profile-avatar-main {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    background-color: #e9ecef;
}

.profile-name {
    font-family: 'K2D', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 3px;
}

.profile-title {
    font-size: 13.5px;
    color: #6c757d;
    margin-bottom: 15px;
    font-weight: 400;
}

.profile-social-icons a {
    display: inline-flex;
    color: #adb5bd;
    font-size: 17px;
    margin-right: 12px;
    transition: color 0.2s ease;
}
.profile-social-icons a:last-child { margin-right: 0; }
.profile-social-icons a:hover { color: #495057; }

/* Sağ Sütun: Biyografi ve Detaylar */
.profile-info-column .profile-bio-text {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 35px; /* Biyo ile detaylar arası boşluk */
}
.profile-info-column .profile-bio-text p:last-child { margin-bottom: 0; }

.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobil için varsayılan tek sütun */
    gap: 30px; /* Detay item'ları arası dikey boşluk */
    margin-top: 0; /* Bio'dan sonraki boşluk bio'nun margin-bottom'ı ile ayarlandı */
}

@media (min-width: 768px) { /* Tablet ve üstü için iki sütun */
    .profile-details-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px; /* Yan yana iken sütunlar arası boşluk */
    }
}

.profile-detail-item {
 border:none;
}

.profile-detail-title {
    font-size: 13px; /* İlham görselindeki gibi daha küçük, zarif başlık */
    font-weight: 600;
    color: #343a40; /* Daha belirgin bir başlık rengi */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px; /* Başlık ile altındaki içerik arası boşluk */
    padding-bottom: 8px;  /* Alt çizgi için boşluk */
    border-bottom: 1px solid #e9ecef; /* Başlığın altında hafif bir ayırıcı çizgi */
    display: flex;
    align-items: center;
}
.profile-detail-title .fas, /* FontAwesome ikonları için */
.profile-detail-title .fab {
    margin-right: 10px;
    font-size: 14px; /* İkon boyutu başlıkla orantılı */
    color: #495057; /* İkonlar için monokrom */
    width: 18px; /* İkon için hizalama alanı */
    text-align: center;
}

.profile-tags {
    padding-top: 5px; /* Başlık çizgisinden sonra biraz boşluk */
}
.profile-tags .tag-item {
    display: inline-block;
    background-color: #f1f3f5; /* Çok açık gri etiket arkaplanı */
    color: #495057;
    padding: 5px 10px;
    border-radius: 4px; /* Max 5px */
    font-size: 12px;
    font-weight: 500;
    margin-right: 6px;
    margin-bottom: 6px;
    /* border: 1px solid #dee2e6; /* Kenarlık kaldırıldı, daha sade */
}
.profile-tags .tag-item:hover {
    background-color: #495057; /* Koyu gri hover */
    color: #ffffff;
}

.education-text {
    font-size: 14px;
    line-height: 1.65;
    color: #495057;
    padding-top: 5px; /* Başlık çizgisinden sonra biraz boşluk */
}
.education-text strong {
    color: #212529;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* Yazarın Blog Yazıları Bölümü */
.author-posts-section {
    padding-top: 40px; /* Profil kartından sonraki boşluk */
}

.section-title-center {
    text-align: center;
    font-family: 'K2D', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 35px;
}

/* Blog yazıları için grid yapısı - Çoklu sütun (eski haline getirildi) */
.profile-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Duyarlı grid */
    gap: 30px;
}
/* Mobil ve tablet için .profile-posts-grid kırılımları aşağıda responsive bölümde ayarlandı. */

/* Profil sayfasındaki .blog-card'lar için özel bir stil GEREKMİYOR. */
/* Mevcut `blog.css` veya `style.css` içindeki `.blog-card` stilleri uygulanacaktır. */


/* Responsive Ayarlamalar */
@media (max-width: 992px) {
    .author-profile-header .profile-card {
        grid-template-columns: 1fr;
        padding: 30px 25px;
        gap: 30px;
    }
    .profile-avatar-column {
        position: static;
        text-align: center;
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 25px;
        margin-bottom: 25px; /* Bilgi kısmından ayırmak için */
    }
    .profile-avatar-main { margin-left: auto; margin-right: auto; }
    .profile-info-column {
        padding-top: 0;
    }
    .profile-posts-grid {
        /* Tablette 2'li grid */
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
         /* Eğer kesin 2 sütun isteniyorsa: grid-template-columns: repeat(2, 1fr); */
    }
}

@media (max-width: 767px) {
    .profile-details-grid {
        grid-template-columns: 1fr; /* Uzmanlık ve Eğitim alt alta */
    }
    .section-title-center {
        font-size: 22px;
    }
    .profile-posts-grid {
        grid-template-columns: 1fr; /* Blog kartları tek sütun */
    }
}

@media (max-width: 480px) {
    .author-profile-header .profile-card { padding: 25px 20px; }
    .profile-avatar-main { width: 90px; height: 90px; }
    .profile-name { font-size: 19px; }
    .profile-title { font-size: 13px; }
    .profile-info-column .profile-bio-text { font-size: 14px; }
    .profile-detail-title { font-size: 12.5px; }
    .profile-tags .tag-item { font-size: 11px; padding: 4px 8px;}
    .education-text { font-size: 13px; }
    .section-title-center { font-size: 20px; }
}