/* GGS Frontend Stilleri v2.0 (Adaptive Premium) */

.widget_ggs_popular_posts_widget {
    /* Widget genel kutu ayarı (opsiyonel) */
    position: relative;
}

.ggs-popular-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ggs-popular-item {
    display: flex;
    align-items: flex-start; /* Üstten hizala */
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1); /* Yarı saydam çizgi, her zemine uyar */
    position: relative;
    transition: transform 0.2s ease;
}

.ggs-popular-item:last-child {
    border-bottom: none;
}

.ggs-popular-item:hover {
    transform: translateX(5px); /* Hafif sağa kayma efekti */
}

/* Görsel Alanı */
.ggs-item-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px; /* Daha modern yumuşak köşeler */
    overflow: hidden;
    background: rgba(0,0,0,0.05); /* Hafif dolgu */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Hafif gölge */
}

.ggs-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ggs-popular-item:hover .ggs-item-thumb img {
    transform: scale(1.08); /* Hover'da resim hafif büyüsün */
}

/* İçerik Alanı */
.ggs-item-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    justify-content: center;
    min-height: 70px; /* Görselle aynı yükseklik dengesi */
}

.ggs-item-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    /* Rengi temadan miras al, zorlama */
    color: inherit !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ggs-popular-item:hover .ggs-item-title {
    opacity: 0.8; /* Hover'da hafif renk değişimi */
}

/* Meta Bilgi (Görüntülenme Sayısı) */
.ggs-item-meta {
    font-size: 0.85em;
    /* Sabit gri yerine, mevcut metin renginin %60 opağı.
       Bu sayede siyah zeminde beyazımsı, beyaz zeminde grimsi görünür. */
    color: currentColor;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.ggs-item-icon {
    /* İkon rengi de metne uyum sağlasın */
    color: currentColor;
    opacity: 0.8;
    font-size: 14px;
    width: 14px;
    height: 14px;
}