/* استایل‌های عمومی */
.blog-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 20px 0;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
}

/* استایل‌های کارت اخبار */
.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.article-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* استایل‌های اخبار مرتبط */
.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.related-news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.related-news-item:hover {
    transform: translateY(-4px);
}

.related-news-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-news-content {
    padding: 15px;
}

.related-news-title-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #333;
}

/* استایل‌های سایدبار */
.sidebar-widget {
    padding: 20px;
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

/* استایل‌های دکمه‌های اشتراک */
.share-buttons {
    display: flex;
    gap: 10px;
    margin: 30px 0;
}

.share-button {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.share-telegram {
    background: #0088cc;
    color: white;
}

.share-whatsapp {
    background: #25d366;
    color: white;
}

.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-copy {
    background: #6c757d;
    color: white;
}

/* استایل‌های نویسنده */
.author-box {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 30px 0;
}

.author-avatar {
    border-radius: 50%;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.author-role {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.author-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* استایل‌های نظرات */
.comments-section {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comments-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.comment-form {
    margin-bottom: 30px;
}

.comment-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    resize: vertical;
}

.comment-button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-button:hover {
    background: #0056b3;
}

.comment {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.comment:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: #333;
}

.comment-date {
    color: #666;
    font-size: 14px;
}

.comment-content {
    color: #333;
    line-height: 1.6;
}

.comment-actions {
    margin-top: 10px;
}

.comment-action {
    color: #007bff;
    cursor: pointer;
    font-size: 14px;
}

.comment-replies {
    margin-left: 20px;
    margin-top: 15px;
    padding-left: 20px;
    border-left: 2px solid #eee;
}

/* استایل‌های متا */
.article-meta {
    display: flex;
    gap: 20px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.meta-item i {
    color: #007bff;
}

/* استایل‌های FAQ */
.faq-section {
    margin: 40px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.faq-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    cursor: pointer;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
}

/* استایل‌های واکنش‌گرا */
@media (max-width: 768px) {
    .blog-image {
        max-width: 100%;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
} 