.news-item {
    margin-bottom: 2em;
    padding: 1em;
    border-bottom: 1px solid #eee;
}

.news-item h3 {
    margin-bottom: 0.5em;
    color: #333;
}

.news-content {
    margin: 1em 0;
    line-height: 1.6;
}

.news-date {
    font-size: 0.9em;
    color: #666;
    margin-top: 0.5em;
}

.news-images {
    margin: 1em 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.news-image {
    max-width: 300px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.telegram-posts-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.telegram-post {
    margin: 2em auto;
    padding: 2em;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.telegram-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.telegram-post h2 {
    margin: 0 0 1em;
    color: #333;
    font-size: 1.5em;
    text-align: center;
}

.telegram-title {
    margin: 0 0 1em;
    color: #333;
    font-size: 1.5em;
    text-align: center;
}

.telegram-content {
    margin: 1.5em 0;
    line-height: 1.6;
    color: #444;
}

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

.telegram-images {
    margin: 1.5em 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

.telegram-image-wrapper {
    flex: 0 1 auto;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.telegram-image {
    display: block;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.telegram-image:hover {
    transform: scale(1.02);
}

.telegram-date {
    text-align: right;
    font-size: 0.9em;
    color: #666;
    margin-top: 1.5em;
    padding-top: 1em;
    border-top: 1px solid #eee;
}

/* Адаптивный дизайн */
@media (max-width: 850px) {
    .telegram-posts-container {
        padding: 10px;
    }
    
    .telegram-post {
        margin: 1.5em auto;
        padding: 1.5em;
    }
    
    .telegram-images {
        gap: 0.5em;
    }
}

@media (max-width: 480px) {
    .telegram-post {
        margin: 1em auto;
        padding: 1em;
    }
    
    .telegram-title {
        font-size: 1.3em;
    }
    
    .telegram-post h2 {
        font-size: 1.3em;
    }
    
    .telegram-images {
        margin: 1em 0;
    }
}
