/**
 * NewsKent - Geçmişte Bugün / Zaman Tüneli Hatırlatıcısı Stilleri
 * Lüks Cam Efekti (Glassmorphism), Canlı Başlık, Mikro Etkileşimler & Touch Scroll
 */

:root {
    --jet-gb-bg: rgba(255, 255, 255, 0.68);
    --jet-gb-border: rgba(226, 232, 240, 0.85);
    --jet-gb-title: #0f172a;
    --jet-gb-badge: #d97706;
    --jet-gb-accent: #2563eb;
    --jet-gb-radius: 14px;
    --jet-gb-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Ana Kapsayıcı */
.jet-gecmiste-bugun-section {
    margin-top: 20px;
    margin-bottom: 24px;
    clear: both;
    position: relative;
    z-index: 10;
}

/* Lüks Cam Efekti Kart Kutusu */
.jet-gb-card-box {
    background: var(--jet-gb-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--jet-gb-border);
    border-radius: var(--jet-gb-radius);
    padding: 18px 20px;
    box-shadow: var(--jet-gb-shadow);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.jet-gb-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0) 0%, rgba(37, 99, 235, 0.6) 50%, rgba(217, 119, 6, 0.5) 100%);
    pointer-events: none;
}

/* Başlık Alanı */
.jet-gb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    gap: 12px;
}

.jet-gb-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Canlı Yanıp Sönen Zaman İkonu */
.jet-gb-icon-pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.05));
    color: var(--jet-gb-accent);
    position: relative;
    flex-shrink: 0;
}

@keyframes jetGbPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.jet-gb-icon-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    animation: jetGbPulse 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.jet-gb-headings {
    display: flex;
    flex-direction: column;
}

/* Gradient Renkli Başlık Metni */
.jet-gb-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
    background: linear-gradient(90deg, #1e293b 0%, var(--jet-gb-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    line-height: 1.2;
}

.jet-gb-subtitle {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

/* Bugünün Tarih Rozeti */
.jet-gb-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.03em;
    white-space: nowrap;
    flex-shrink: 0;
}

.jet-gb-cal-icon {
    color: var(--jet-gb-accent);
}

/* Grid Düzeni */
.jet-gb-grid {
    display: grid;
    gap: 16px;
}

.jet-gb-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.jet-gb-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.jet-gb-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* Tekil Kart */
.jet-gb-item {
    position: relative;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.jet-gb-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.jet-gb-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Görsel Maskeleme & Zoom Hover */
.jet-gb-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}

.jet-gb-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.jet-gb-item:hover .jet-gb-img {
    transform: scale(1.06);
}

/* Yıl Rozeti (Görsel Üzerine Yerleşen Parlayan Badge) */
.jet-gb-year-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.95), rgba(180, 83, 9, 0.95));
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 5px;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
}

.jet-gb-thumb-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
}

/* İçerik & Tipografi */
.jet-gb-info {
    padding: 8px 4px 4px 4px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.jet-gb-item-date {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 4px;
}

.jet-gb-item-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--jet-gb-title);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.jet-gb-item:hover .jet-gb-item-title {
    color: var(--jet-gb-accent);
}

/* Responsive & Mobile Touch Scroll */
@media (max-width: 991px) {
    .jet-gb-cols-4,
    .jet-gb-cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .jet-gecmiste-bugun-section {
        margin-top: 14px;
        margin-bottom: 16px;
    }
    .jet-gb-card-box {
        padding: 12px 14px;
        border-radius: 12px;
    }
    .jet-gb-title {
        font-size: 14px;
    }
    .jet-gb-subtitle {
        display: none;
    }
    .jet-gb-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 12px;
        padding-bottom: 4px;
    }
    .jet-gb-grid::-webkit-scrollbar {
        display: none;
    }
    .jet-gb-item {
        flex: 0 0 240px;
        scroll-snap-align: start;
    }
}
