/* ===== BLOG LİSTE ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.blog-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text);
}

.blog-card:hover {
    border-color: rgba(99,102,241,0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.blog-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-dim);
}

.blog-card-body h2 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
}

.blog-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.blog-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 4px;
}

/* Blog CTA */
.blog-cta {
    text-align: center;
    padding: 60px 40px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.blog-cta h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.blog-cta p {
    color: var(--text-muted);
    font-size: 16px;
}

/* ===== TEK YAZI ===== */
.post-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.post-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.5) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 48px;
}

.post-back {
    display: inline-block;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.post-back:hover { color: var(--text); }

.post-hero-overlay .blog-category {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
    width: fit-content;
}

.post-hero-overlay h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.25;
    margin-bottom: 12px;
    max-width: 800px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Post layout */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* Post içerik */
.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
}

.post-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 32px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.post-content p { margin-bottom: 16px; }

.post-content strong { color: var(--text); }

.post-content ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.post-content ul li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: var(--text-muted);
}

.post-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Post CTA kutusu */
.post-cta-box {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.1));
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: var(--radius);
    padding: 32px;
    margin-top: 40px;
    text-align: center;
}

.post-cta-icon { font-size: 36px; margin-bottom: 12px; }

.post-cta-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.post-cta-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Sidebar */
.post-sidebar { position: sticky; top: 90px; }

.sidebar-widget {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-widget h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.sidebar-post {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: opacity 0.2s;
}

.sidebar-post:last-child { border-bottom: none; }
.sidebar-post:hover { opacity: 0.8; }

.sidebar-post img {
    width: 60px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.sidebar-category {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.sidebar-post p {
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-muted);
}

.sidebar-cta-widget {
    text-align: center;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.08));
    border-color: rgba(99,102,241,0.25);
}

.sidebar-cta-widget h4 { font-size: 16px; }
.sidebar-cta-widget p { font-size: 13px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .post-layout { grid-template-columns: 1fr; }
    .post-sidebar { position: static; }
    .post-hero { height: 300px; }
    .post-hero-overlay h1 { font-size: 22px; }
    .blog-cta { padding: 40px 20px; }
}
