.news-container {
    margin-bottom: 20px auto;
    padding: 20px;
    background: linear-gradient(to bottom, #263669, #4b6e9c);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    color: white;
    text-align: center;
}

.news-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.news-title span {
    font-weight: bold;
    color: #ffc107;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.news-item {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 250px;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}

.news-item img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
}

.news-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

.news-text {
    font-size: 16px;
    margin: 0;
}

.news-date {
    font-size: 14px;
    color: #aaa;
    margin-top: 10px;
}
