* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f7f7f7;
    color: #222;
}

/* Header Styles */
.site-header {
    background: #fff;
    padding: 20px 40px;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #111;
}

.main-nav a {
    color: #444;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    font-weight: 600;
}

.main-nav a:hover {
    color: #007bff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Main Banner */
.main-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.main-banner img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px;
    color: #fff;
}

.badge {
    background: #007bff;
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

.banner-content h2 {
    margin-top: 10px;
    font-size: 28px;
}

.banner-content h2 a {
    color: #fff;
    text-decoration: none;
}

.banner-content h2 a:hover {
    text-decoration: underline;
}

/* Last News Section */
.section-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: bold;
    color: #333;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.news-card h4 {
    padding: 15px;
    font-size: 15px;
    line-height: 1.4;
}

.news-card h4 a {
    color: #222;
    text-decoration: none;
}

.news-card h4 a:hover {
    color: #007bff;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 25px;
    background: #fff;
    border-top: 1px solid #eaeaea;
    color: #666;
    margin-top: 50px;
    font-size: 14px;
}

/* News Card Image Fix */
.news-card img {
    width: 100%;
    height: 180px; /* Keep a fixed height */
    object-fit: cover; /* Fit the image inside the box without stretching it */
    object-position: center; /* Focus on the center of the image so it is not cut off */
    display: block;
}

/* Main Banner Image Fix */
.main-banner img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
}