/* =====================================================
   BLOG IMAGES CSS
   Стандартизированные стили для изображений блога
   ===================================================== */

/* Общие стили для изображений блога */
.blog-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Изображения в карточках новостей */
.singel-news .news-thum img,
.singel-event-list .event-thum img {
    width: 100%;
    height: 200px; /* Фиксированная высота для карточек */
    object-fit: cover;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Изображения в детальной странице блога */
.blog-details .thum img {
    width: 100%;
    height: 400px; /* Фиксированная высота для детальной страницы */
    object-fit: cover;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Изображения в списке новостей на главной странице */
.news-list .news-thum img {
    width: 100%;
    height: 150px; /* Фиксированная высота для списка на главной */
    object-fit: cover;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Эффект при наведении */
.singel-news:hover .news-thum img,
.singel-event-list:hover .event-thum img {
    transform: scale(1.05);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .singel-news .news-thum img,
    .singel-event-list .event-thum img {
        height: 180px;
    }
    
    .blog-details .thum img {
        height: 250px;
    }
    
    .news-list .news-thum img {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .singel-news .news-thum img,
    .singel-event-list .event-thum img {
        height: 150px;
    }
    
    .blog-details .thum img {
        height: 200px;
    }
    
    .news-list .news-thum img {
        height: 100px;
    }
}

/* Стили для placeholder изображений */
.blog-image-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    width: 100%;
    height: 200px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.blog-image-placeholder .icon {
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-image-placeholder .text {
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

/* Стили для детальной страницы placeholder */
.blog-details .thum .blog-image-placeholder {
    height: 400px;
}

.blog-details .thum .blog-image-placeholder .icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.blog-details .thum .blog-image-placeholder .text {
    font-size: 16px;
}
