/* ==========================================================
   1. GLOBAL DEĞİŞKENLER & TEMEL AYARLAR
   ========================================================== */
:root {
    --gt-orange: #E4572E;
    --gt-orange-hover: #D64C23;
    --gt-beige: #F5E6CA;
    --gt-brown: #5C3D2E;
    --gt-radius: 14px;
    --gt-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Tekil yazı temizliği */
.single-post .ast-breadcrumbs, 
.single-post .entry-meta .comments-link, 
.single-post .entry-meta .cat-links { display: none !important; }

/* ==========================================================
   2. BUTONLAR (Global - Core & Spectra Uyumlu)
   ========================================================== */
.wp-block-button__link, .uagb-button__link {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 20px; border-radius: var(--gt-radius);
    font-weight: 600; text-decoration: none; border: 1px solid transparent;
    box-shadow: var(--gt-shadow); transition: all .2s ease;
}

/* Primary (Turuncu) */
.btn--primary.wp-block-button__link, .btn--primary .uagb-button__link {
    background: var(--gt-orange) !important; color: #fff !important;
}

/* Secondary (Bej) */
.btn--secondary.wp-block-button__link, .btn--secondary .uagb-button__link {
    background: var(--gt-beige) !important; color: var(--gt-brown) !important;
}

.wp-block-button__link:hover, .uagb-button__link:hover {
    transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

/* ==========================================================
   3. KART VE GRID YAPILARI (Genel Kullanım)
   ========================================================== */
.gt-grid, .kb-grid {
    display: grid; gap: 20px; grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 600px) { .gt-grid, .kb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .gt-grid, .kb-grid { grid-template-columns: repeat(4, 1fr); } }

/* Kart Tasarımı */
.gt-card, .kb-card {
    background: #fff; border: 1px solid #eee; border-radius: var(--gt-radius);
    overflow: hidden; display: flex; flex-direction: column; height: 100%;
    transition: transform .2s ease;
}
.gt-card:hover, .kb-card:hover { transform: translateY(-3px); box-shadow: var(--gt-shadow); }

/* Kart Görseli */
.gt-thumb img, .kb-thumb img {
    width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
}

/* Kart İçeriği */
.gt-inner, .kb-inner { padding: 15px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gt-excerpt, .kb-excerpt {
    font-size: 14px; color: #555; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ==========================================================
   4. KATEGORİ SAYFASI (Hızlı Filtre Çipleri)
   ========================================================== */
.gt-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0; }
.gt-chip {
    padding: 8px 16px; background: #faf7f2; border: 1px solid #eee;
    border-radius: 50px; text-decoration: none; color: #333;
    font-size: 14px; font-weight: 600; transition: all .2s ease;
}
.gt-chip:hover { background: var(--gt-orange); color: #fff; border-color: var(--gt-orange); }

/* ==========================================================
   5. ÖZEL SAYFA DÜZENLEMELERİ (A–Z Liste vb.)
   ========================================================== */
#kb-cat .az-menu { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
#kb-cat .az-letter-block h3 {
    padding: 8px; background: #f9fafb; border-left: 4px solid var(--gt-orange); border-radius: 6px;
}
#kb-cat .az-list li { padding: 8px 0; border-bottom: 1px dashed #eee; }

/* GastroTarifler Kategori Buton Sistemi - Tam Genişlik Versiyon */
.gastro-hub-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 25px 0 35px 0 !important; /* Alt ve üst boşluklar artırıldı */
    padding: 0 !important;
    width: 100% !important; /* Genişliği zorlar */
    max-width: 100% !important;
    justify-content: flex-start !important; /* Sola yaslar */
    clear: both !important; /* Etrafındaki metinlerden bağımsızlaştırır */
}

.gastro-hub-wrapper a {
    background-color: #fff5f2 !important; 
    color: #444444 !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    border: 1.5px solid #fdeae4 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important; /* Yazıların tek satırda kalmasını sağlar */
}

.gastro-hub-wrapper a:hover {
    background-color: #ff6b35 !important;
    color: #ffffff !important;
    border-color: #ff6b35 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2) !important;
}

.gastro-hub-wrapper .g-icon {
    font-size: 18px !important;
}

/* Mobil için sola yaslama garantisi */
@media (max-width: 768px) {
    .gastro-hub-wrapper {
        justify-content: flex-start !important;
        gap: 8px !important;
    }
}
