﻿/* استایل‌های تکمیلی برای صفحه اخبار */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-featured-item .row {
        flex-direction: column;
    }

    .news-featured-item img {
        height: 250px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    animation: fadeIn 0.5s ease forwards;
}

/* استایل‌های هشتگ‌ها */
.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.hashtag {
    background: #f0f0f0;
    color: #666;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
}

/* استایل‌های مودال نمایش خبر */
.news-modal .modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.news-modal .modal-body {
    padding: 30px;
}

.news-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}
