body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('https://i.ibb.co/SK2kSQL/image.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
}

.news-container {
    background-color: rgba(0, 0, 0, 0.65);
    min-height: 100vh;
    padding: 20px;
    text-align: center;
}

.title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
}

.news-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.news-card {
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 900px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.news-img {
    width: 250px;
    height: 160px;
    object-fit: cover;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
}

.news-content {
    padding: 20px;
    text-align: left;
    flex: 1;
}

.news-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.news-desc {
    font-size: 16px;
    margin-bottom: 15px;
}

.news-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #00aaff;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s ease;
}

.news-button:hover {
    background-color: #0088cc;
}

.footer {
    margin-top: 50px;
    font-size: 14px;
    color: #aaa;
}
.news-img-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-date {
    margin-top: 5px;
    font-size: 14px;
    color: #ccc;
    text-align: center;
}
/* ========== HEADER / NAVIGATION ========== */
header {
    background-color: #1d1d1d;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #ff9800;
    color: #000;
}
