:root {
    --b-black: #111111;
    --b-gray: #64748b;
    --b-light: #f8fafc;
    --b-border: #e2e8f0;
    --b-accent: #2563eb;
}

/* 1. HERO SECTION (DARK MODE) */
.blog-hero {
    padding: 160px 0 100px;
    text-align: center; 
    background-color: #0f172a; 
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero-glow-1 {
    position: absolute; top: -20%; left: 20%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    filter: blur(80px); z-index: 0; pointer-events: none;
}
.hero-glow-2 {
    position: absolute; bottom: -20%; right: 20%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(147,51,234,0.15) 0%, transparent 70%);
    filter: blur(80px); z-index: 0; pointer-events: none;
}
.hero-pattern {
    position: absolute; inset: 0; opacity: 0.03;
    background-image: url('images/cubes.png');
    z-index: 0; pointer-events: none;
}

.hero-content { position: relative; z-index: 10; }

.hero-cat { 
    display: inline-block;
    font-size: 0.75rem; font-weight: 800; 
    color: #93c5fd; 
    background: rgba(59,130,246,0.1); 
    border: 1px solid rgba(59,130,246,0.2);
    padding: 6px 16px; border-radius: 99px;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; 
}

.hero-title { 
    font-size: 3.5rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; line-height: 1.1; 
    color: white;
}

.hero-desc { 
    font-size: 1.2rem; color: #94a3b8; 
    max-w-2xl mx-auto; padding: 0 20px; line-height: 1.6;
}

/* 2. LAYOUT */
.blog-container {
    display: grid; 
    grid-template-columns: 3fr 1fr; 
    gap: 60px;
    max-width: 1300px; 
    margin: 60px auto; 
    padding: 0 24px; 
    align-items: start;
}

/* MAIN CONTENT */
.blog-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px; 
}

/* Featured Article */
.blog-card.featured {
    grid-column: span 2;
    border-bottom: 1px solid var(--b-border);
    padding-bottom: 40px;
    margin-bottom: 20px;
}
.blog-card.featured .b-img-wrap { height: 450px; }
.blog-card.featured .b-title { font-size: 2.5rem; }

/* Standard Card */
.blog-card { display: flex; flex-direction: column; gap: 15px; }

.b-img-wrap {
    width: 100%; height: 250px; 
    border-radius: 12px; overflow: hidden; position: relative; background: #f1f5f9; display: block;
}
.b-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .b-img { transform: scale(1.05); }

.b-meta { display: flex; gap: 10px; align-items: center; font-size: 0.75rem; color: var(--b-gray); flex-wrap: wrap; }
.b-cat { background: #eff6ff; color: var(--b-accent); padding: 4px 10px; border-radius: 4px; font-weight: 700; text-transform: uppercase; font-size: 0.7rem; }

.b-title { font-size: 1.4rem; font-weight: 700; line-height: 1.3; transition: color 0.2s; color: var(--b-black); }
.blog-card:hover .b-title { color: var(--b-accent); }

.b-excerpt { 
    color: var(--b-gray); font-size: 0.95rem; line-height: 1.6; 
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.read-more {
    display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--b-black); text-decoration: none; margin-top: auto; font-size: 0.9rem;
}
.read-more:hover { color: var(--b-accent); gap: 10px; transition: 0.3s; }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 40px; }
.widget { background: var(--b-light); padding: 30px; border-radius: 16px; border: 1px solid var(--b-border); }
.w-title { font-size: 1rem; font-weight: 800; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #e2e8f0; text-transform: uppercase; letter-spacing: 1px; }

.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed #e2e8f0; cursor: pointer; color: #475569; transition: 0.2s; font-size: 0.95rem; }
.cat-item:last-child { border-bottom: none; }
.cat-item:hover { color: var(--b-accent); padding-left: 5px; }

.trend-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: start; }
.trend-img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.trend-info h4 { font-size: 0.9rem; font-weight: 700; line-height: 1.4; margin-bottom: 5px; color: var(--b-black); }
.trend-info h4:hover { color: var(--b-accent); cursor: pointer; }
.trend-date { font-size: 0.75rem; color: var(--b-gray); }

/* PAGINATION (RESPONSIVE AYARLI) */
.pagination {
    grid-column: span 2; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 10px; 
    margin-top: 60px; 
    padding-top: 40px; 
    border-top: 1px solid var(--b-border);
    flex-wrap: wrap; /* Mobilde taşarsa aşağı insin */
}
.page-link {
    width: 40px; height: 40px; 
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--b-border); border-radius: 8px; 
    font-weight: 600; cursor: pointer; transition: 0.3s;
    color: var(--b-black); text-decoration: none;
}
.page-link:hover, .page-link.active {
    background: var(--b-black); color: white; border-color: var(--b-black);
}

/* --- RESPONSIVE DÜZENLEMELER --- */

@media (max-width: 1024px) {
    .blog-container { grid-template-columns: 1fr; gap: 40px; margin: 40px auto; }
    .sidebar { margin-top: 0; order: 2; }
    .blog-grid { order: 1; grid-template-columns: repeat(2, 1fr); }
    .blog-card.featured { grid-column: span 2; }
}

@media (max-width: 768px) {
    .blog-hero { padding: 120px 0 60px; }
    .hero-title { font-size: 2.5rem; }
    
    .blog-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .blog-card.featured { 
        grid-column: span 1; padding-bottom: 30px; margin-bottom: 10px;
    }
    .blog-card.featured .b-img-wrap { height: 250px; }
    .blog-card.featured .b-title { font-size: 1.8rem; }
    
    .b-title { font-size: 1.25rem; }
    
    /* MOBİL PAGINATION DÜZENLEMESİ */
    .pagination { 
        grid-column: span 1; 
        gap: 6px; /* Boşlukları azalt */
        margin-top: 40px;
        padding-top: 30px;
    }
    .page-link {
        width: 36px; height: 36px; /* Butonları hafif küçült */
        font-size: 0.9rem;
    }
}