/* Game Guide - Navigation Box Styles v2.4 (Final Mobile Polish) */

/* --- Genel Stiller (Tüm Layout'lar İçin Ortak) --- */
.gg-navigation-box {
    background-color: transparent;
    border: none;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    border-radius: 0;
    padding: 15px 0;
    margin-top: 10px;
    margin-bottom: 10px;
    clear: both;
    overflow: hidden;
}

.gg-navigation-title {
    margin: 0 0 20px 0;
    padding: 0 0 15px 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

.gg-nav-items-container {
    display: grid;
}

/* --- ULTRA-MİNİMALİST GRİD TASARIMI --- */
.style-grid-3 .gg-nav-items-container,
.style-grid-2 .gg-nav-items-container {
    grid-gap: 10px;
}

.style-grid-3 .gg-nav-item,
.style-grid-2 .gg-nav-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #444;
    padding-right: 15px;
}

.style-grid-3 .gg-nav-item:not(:nth-child(3n)) {
    border-right: 1px solid #e0e0e0;
}
.style-grid-2 .gg-nav-item:not(:nth-child(2n)) {
    border-right: 1px solid #e0e0e0;
}

.style-grid-3 .gg-nav-item-thumb,
.style-grid-2 .gg-nav-item-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 2px;
    background-color: #f0f0f0;
    overflow: hidden;
}

.style-grid-3 .gg-nav-item-thumb img,
.style-grid-2 .gg-nav-item-thumb img {
    width: 100%; height: 100%; object-fit: cover;
}

.style-grid-3 .gg-nav-item-title,
.style-grid-2 .gg-nav-item-title {
    margin: 0;
    padding: 0 0 0 15px;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.style-grid-3 .gg-nav-item:hover .gg-nav-item-title,
.style-grid-2 .gg-nav-item:hover .gg-nav-item-title {
    color: #0073aa;
    text-decoration: underline;
}

.style-grid-3 .gg-nav-items-container {
    grid-template-columns: repeat(3, 1fr);
}

.style-grid-2 .gg-nav-items-container {
    grid-template-columns: repeat(2, 1fr);
}

/* --- LİSTE GÖRÜNÜMÜ (DEĞİŞTİRİLMEDİ) --- */
.style-list .gg-nav-items-container {
    grid-template-columns: 1fr;
    grid-gap: 10px;
}
.style-list .gg-nav-item {
    display: flex; align-items: center; text-decoration: none; color: #444;
}
.style-list .gg-nav-item:hover .gg-nav-item-title {
    color: #0073aa; text-decoration: underline;
}
.style-list .gg-nav-item-thumb {
    width: 80px; height: 80px; flex-shrink: 0; border-radius: 4px;
    background-color: #f0f0f0; overflow: hidden;
}
.style-list .gg-nav-item-thumb img {
    width: 100%; height: 100%; object-fit: cover;
}
.style-list .gg-nav-item-title {
    margin: 0; padding: 0 0 0 15px; font-size: 16px; line-height: 1.5; transition: color 0.2s ease;
}

/* --- Mobil Uyumluluk (Responsive) --- */
@media (max-width: 900px) {
    .style-grid-3 .gg-nav-items-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .style-grid-3 .gg-nav-item:not(:nth-child(3n)) { border-right: none; }
    .style-grid-3 .gg-nav-item:not(:nth-child(2n)) { border-right: 1px solid #e0e0e0; }
}

/* =================================================================== */
/* --- MOBİL İÇİN ULTRA-MİNİMALİST STİLLER (600px ALTI) --- */
/* =================================================================== */
@media (max-width: 600px) {
    .style-grid-3 .gg-nav-items-container,
    .style-grid-2 .gg-nav-items-container {
        grid-template-columns: 1fr;
        grid-gap: 0; /* Boşluk yerine ayırıcı çizgi kullanacağımız için sıfırladık */
    }
    .style-grid-3 .gg-nav-item:not(:nth-child(3n)),
    .style-grid-3 .gg-nav-item:not(:nth-child(2n)),
    .style-grid-2 .gg-nav-item:not(:nth-child(2n)) {
        border-right: none; /* Dikey ayırıcıları tamamen kaldır */
    }

    /* YENİ: Grid öğelerini mobil için yeniden boyutlandır */
    .style-grid-3 .gg-nav-item,
    .style-grid-2 .gg-nav-item {
        padding: 12px 0; /* Her öğe arasına dikey boşluk ekle */
        border-bottom: 1px solid #f0f0f0; /* Öğeler arasına ince bir çizgi ekle */
    }
    /* Son öğenin altındaki çizgiyi kaldır */
    .gg-nav-items-container > .gg-nav-item:last-child {
        border-bottom: none;
    }

    /* YENİ: Mobil için ikon boyutunu küçült */
    .style-grid-3 .gg-nav-item-thumb,
    .style-grid-2 .gg-nav-item-thumb {
        width: 45px;
        height: 45px;
    }

    /* YENİ: Mobil için yazı boyutunu ve boşluğu ayarla */
    .style-grid-3 .gg-nav-item-title,
    .style-grid-2 .gg-nav-item-title {
        font-size: 14px;
        padding-left: 12px;
    }
}