/* css/blog.css */
.blog-header {
    padding-top: 120px;
    padding-bottom: 4rem;
    text-align: center;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}
.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
/* Blog kartı link efektlerini sıfırla — nav-links::after ile çakışmasın */
.blog-card::after,
.blog-card *::after {
    display: none !important;
}
.blog-card h2 {
    color: var(--text-main);
    text-decoration: none;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
}
.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background-size: cover;
    background-position: center;
}
.placeholder-img {
    background: linear-gradient(135deg, rgba(0, 229, 124, 0.2), rgba(0, 180, 216, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}
.placeholder-img::after {
    content: 'Gökhan Güngör Blog';
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    font-family: inherit;
}
.blog-single {
    max-width: 800px;
    margin: 120px auto 6rem;
}
.blog-single-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}
.blog-single-header {
    text-align: center;
    margin-bottom: 1rem;
}
.blog-single-header h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.blog-meta {
    color: var(--accent-primary);
    font-weight: 600;
}
.blog-single-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}
.blog-single-content h2 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
}
.blog-single-content h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem;
}
.blog-single-content ul, .blog-single-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.blog-single-content li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.blog-single-content pre {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
.blog-single-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--accent-primary);
}
.blog-single-content pre code {
    color: #e2e8f0;
}
.category-badge {
    display: inline-block;
    font-size: 0.85em;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(0, 229, 124, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 229, 124, 0.2);
    margin-bottom: 1rem;
    text-decoration: none;
}
.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.breadcrumb a {
    color: var(--accent-primary);
    text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.tag-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.tag-btn {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.tag-btn:hover, .tag-btn.active {
    background: rgba(0,229,124,0.1);
    border-color: rgba(0,229,124,0.3);
    color: var(--accent-primary);
}
