body,
html {
    width: 100% !important;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
.site-container {
    margin-top: 17vh;
    display: flex;
}

.background-column {
    width: 5%;
    background-color: transparent;
}

.news-column {
    width: 95vw;
    margin-top: 7vh;
    margin-left: 5vw;
    padding: 60px;
    background-color: #ffffff;
    color: #000;
    overflow: visible;
}

.news-column h1 {
    font-size: 48px;
    margin-bottom: 5vh;
}

.news-card {
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 20px;
    margin-bottom: 20px;
}

.news-card h2 {
    margin: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}
.news-card img {
    width: calc(30vh / 9 * 16);
    height: 30vh;
    object-fit: cover;
    margin-right: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease;
}
.news-card img:hover {
    transform: translateY(-5px);
}
.news-column .news-card:first-child {
    margin-top: -17vh;
    position: relative;
    z-index: 1;
}
.page-title {
    position: absolute;
    top: 1vh;
    left: 0vh;
    margin-left: 10vw;
    font-size: 12vh;
    color: white;
    z-index: 10;
    letter-spacing: 3px;
    font-weight: bold;
    font-family: "AlienEnergy", sans-serif;
}
.nav.inverted {
    color: white;
}

.nav.inverted .menu a {
    color: black;
    border-color: transparent;
}

.nav.inverted .menu a:hover,
.nav.inverted .menu a.active {
    background-color: black;
    color: white;
}

#pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0 40px 0;
    gap: 10px;
}
#pagination a {
    padding: 8px 16px;
    border: 1px solid #08c1b1;
    border-radius: 4px;
    color: #08c1b1;
    text-decoration: none;
    font-weight: bold;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}
#pagination a.active,
#pagination a:hover {
    background: #08c1b1;
    color: #fff;
}
@media (max-width: 500px) {
    body {
        width: 100%;
        overflow-x: visible;
    }
    .background-column {
        display: none;
    }
    .news-column {
        margin: 0;
        margin-top: 10vh;
        width: 100%;
        padding: 10px; /* optional: reduce padding for small screens */
        box-sizing: border-box; /* ensures padding doesn't add to width */
    }
    .news-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .page-title {
        position: absolute;
        top: 9vh;
        left: 0vh;
        margin-left: 10vw;
        font-size: 17vw;
        color: white;
        z-index: 10;
        letter-spacing: 3px;
        font-weight: bold;
        font-family: "AlienEnergy", sans-serif;
    }
    .news-card img {
        width: calc(50vw / 9 * 16);
        height: 50vw;
        object-fit: cover;
        margin: 0 auto 16px auto;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}
