/* Blog liste ve detay sayfaları */

.blog-page-body {
    padding-top: 120px;
    background: var(--bg-dark, #0a0a0c);
}

.header-wrapper--subpage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.blog-page-hero {
    padding: 3rem 0 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.blog-page-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.blog-page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 0.75rem;
}

.blog-page-hero p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-list-section {
    padding: 3rem 0 5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(245, 183, 0, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.blog-card-image-link {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #121214;
}

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

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

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.5;
}

.blog-card-body {
    padding: 1.35rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-card-body h2 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.blog-card-body h2 a {
    color: #fff;
}

.blog-card-body h2 a:hover {
    color: var(--primary);
}

.blog-card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1rem;
}

.blog-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-card-link:hover {
    gap: 12px;
}

.blog-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

.blog-empty i {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.6;
    margin-bottom: 1rem;
}

.blog-empty-btn {
    display: inline-flex;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 1rem;
}

/* Detay */
.blog-detail {
    padding: 2rem 0 5rem;
}

.blog-detail-container {
    max-width: 820px;
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.blog-breadcrumb a {
    color: var(--text-muted);
}

.blog-breadcrumb a:hover {
    color: var(--primary);
}

.blog-breadcrumb span:last-child {
    color: #fff;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-detail-date {
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-detail-title {
    font-size: clamp(1.6rem, 4vw, 2.35rem);
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.blog-detail-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.blog-detail-image img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.blog-detail-content {
    color: #d0d0d8;
    font-size: 1.05rem;
    line-height: 1.85;
}

.blog-detail-content p {
    margin-bottom: 1rem;
}

.blog-detail-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
}

.blog-back-link:hover {
    gap: 14px;
}

.nav-item--active > a {
    color: var(--primary) !important;
}

@media (max-width: 768px) {
    .blog-page-body {
        padding-top: 90px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}
