.main-news{
    max-width: 80%;
    margin: auto;
}
.news-container {
    font-family: Arial, Helvetica, sans-serif;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    background-color: #ffffff;
}

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

.news-card:hover {
    transform: translateY(-5px);
}
.news-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.news-content {
    padding: 15px;
}
.news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.news-date {
    font-size: 14px;
    color: gray;
    margin-bottom: 10px;
}
.news-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}
.read-more {
    display: inline-block;
    text-decoration: none;
    color: #800000;
    font-weight: bold;
}
.read-more:hover {
    text-decoration: underline;
}



@media (max-width: 600px) {
    .news-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .news-card {
        width: 100%;
        max-width: 350px;
    }
}