/**
 * Blog Sayfası İçin Özel Stiller
 */

/* Post Meta Info Styles */
.post-meta {
    margin-top: 15px;
    padding: 10px 0;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.post-meta span {
    position: relative;
}

.post-meta span:not(:last-child):after {
    content: "•";
    margin-left: 15px;
    color: #ccc;
}

.post-excerpt {
    margin-top: 10px;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .post-meta {
        font-size: 12px;
        gap: 10px;
        flex-direction: column;
    }
    
    .post-meta span:after {
        display: none;
    }
    
    .post-excerpt {
        font-size: 13px;
    }
}

/* RTL Support for Blog */
[dir="rtl"] .post-meta {
    text-align: right;
}

[dir="rtl"] .post-meta span:not(:last-child):after {
    margin-left: 0;
    margin-right: 15px;
}

/* Loading animation for dynamic content */
.blog-loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

.blog-loading:before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Category filter styling */
.category-filter {
    margin: 20px 0;
    text-align: center;
}

.category-filter a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px 10px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-filter a:hover,
.category-filter a.active {
    background: #007bff;
    color: white;
    text-decoration: none;
}

/* Featured post styling */
.post-item.featured {
    position: relative;
}

.post-item.featured:before {
    content: 'Öne Çıkan';
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b35;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

[dir="rtl"] .post-item.featured:before {
    right: auto;
    left: 15px;
}

/* Reading time indicator */
.reading-time {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.reading-time:before {
    content: '📖';
    margin-right: 5px;
}

[dir="rtl"] .reading-time:before {
    margin-right: 0;
    margin-left: 5px;
}