/* --- FİZİKHABER YAZAR WIDGET DÜZELTMESİ (v16 - Float + Line-Height) --- */

/* 1. TÜM Avatarları (resimleri) boyutlandır ve sola yasla */
body #authors-2.widget_authors .avatar {
    width: 48px !important;
    height: 48px !important;
    object-fit: cover !important; /* Kare olmayanları kırp */
    float: left !important;         /* Sola yasla ('alignnone' sınıfını ezer) */
    margin-right: 10px !important;  /* İsimle arasına boşluk koy */
}

/* 2. Yazar Adını (strong etiketi) dikeyde ortala */
/* YÖNTEM: 'line-height' (metni 48px'lik bir kutuda ortalar) */
body #authors-2.widget_authors ul > li > a strong {
    display: inline-block !important; /* Gerekli */
    float: none !important;           /* Temanın 'float'ını iptal et */
    
    /* İSMİ ORTALAYAN KOD BURASI */
    height: 48px !important;             /* Resimle aynı yüksekliği ver */
    line-height: 48px !important;      /* Metni bu 48px'in tam ortasına al */
    
    /* Önceki denemelerden kalanları sıfırla */
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 3. Makale listesini (iç ul) resmin altına it (KAYMAYI ENGELLE) */
body #authors-2.widget_authors ul > li > ul {
    clear: both !important; /* float etkisini temizle ve alttan başla */
    padding-top: 5px !important; 
}


@media (max-width: 768px) {
    #main-head {
        will-change: transform;
        transition: transform 0.28s ease;
    }

    #main-head.is-hidden {
        transform: translate3d(0, -100%, 0);
    }
}


/* Öne çıkan görsellerde kafa kırpılmasını düzeltir */
.wp-block-post-featured-image img,
.entry-content img,
.single-post img.wp-post-image {
    object-fit: cover !important;
    object-position: center 20% !important; /* Üst kısmı daha fazla gösterir */
}

/* Mobil cihazlar için ayrı ayar */
@media (max-width: 768px) {
    .wp-block-post-featured-image img,
    .single-post img.wp-post-image {
        object-position: center 30% !important; /* Mobilde biraz daha yukarı */
    }
}