body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f4f6f9;
}

header {
    background: #0b3c5d;
    color: white;
    padding: 30px;
    text-align: center;
}

.search-box {
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 10px;
}

.search-box input {
    width: 300px;
    padding: 10px;
}

.search-box button {
    background: #00adea;
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-card h3 {
    padding: 10px;
}

.news-card p {
    padding: 0 10px;
    font-size: 14px;
}

.news-card span {
    padding: 10px;
    display: block;
    font-size: 12px;
    color: #555;
}

.news-card a {
    display: block;
    text-align: center;
    padding: 10px;
    background: #0b3c5d;
    color: white;
    text-decoration: none;
}
.badge {
    position: absolute;
    background: red;
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    top: 10px;
    left: 10px;
    border-radius: 5px;
}

.news-card {
    position: relative;
}

.pagination {
    text-align: center;
    padding: 20px;
}

.pagination button {
    padding: 8px 15px;
    margin: 5px;
    border: none;
    background: #0b3c5d;
    color: white;
    cursor: pointer;
}
