/* Main content layout */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 140px;
}

.news-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.back-to-home {
    margin-top: 3rem;
    text-align: center;
}

/* Media Queries */
@media (max-width: 768px) {
    main {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    .news-list {
        padding: 1rem;
    }

    .news-item {
        flex-direction: column;
        height: auto;
    }

    .news-image {
        width: 100%;
        height: 140px;
    }
} 