/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Crimson Text', serif, Arial, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background-color: #fdfdfd; 
}

/* Header & Banner */
header {
    width: 100%;
    background-color: #fff;
    border-bottom: 5px solid #002147; /* Oxford Blue Style */
}
.banner-img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    display: block;
}

/* Navigation - Responsive Overlay */
.nav-wrapper {
    background-color: #002147;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu-toggle {
    display: none;
    background: #002147;
    color: #fff;
    padding: 15px;
    text-align: right;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

.sf-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.sf-menu > li {
    position: relative;
}

.sf-menu a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
    border-bottom: 3px solid transparent;
}

.sf-menu li:hover > a {
    background-color: #003366;
    border-bottom: 3px solid #C5B358; /* Gold Accent */
}

/* Submenu */
.sf-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #003366;
    min-width: 220px;
    display: none;
    list-style: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.sf-menu ul li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sf-menu ul li a {
    padding: 12px 20px;
    font-weight: normal;
    border-bottom: none;
}

.sf-menu li:hover > ul {
    display: block;
}

/* Third Level Submenu */
.sf-menu ul ul {
    top: 0;
    left: 100%;
}

/* Main Container */
.main-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 600px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.news-item h3 {
    margin-bottom: 15px;
}

.news-item h3 a {
    color: #002147;
    text-decoration: none;
    font-size: 20px;
    font-family: 'Georgia', serif;
}

.news-item p {
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
}

.btn-detail {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #002147;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pagination */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #ddd;
    margin: 0 5px;
    text-decoration: none;
    color: #002147;
    font-weight: bold;
}

.pagination a.active {
    background: #002147;
    color: #fff;
    border-color: #002147;
}

/* Detail & Page content */
.page-header {
    border-bottom: 2px solid #C5B358;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.page-header h1 {
    color: #002147;
    font-family: 'Georgia', serif;
}

.meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 20px;
    text-align: center;
    font-size: 14px;
    margin-top: 60px;
}

footer strong {
    color: #fff;
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    
    .sf-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #002147;
        position: absolute;
        top: 100%;
        left: 0;
    }
    
    .sf-menu.active {
        display: flex;
    }

    .sf-menu > li { width: 100%; }
    
    .sf-menu ul {
        position: static;
        display: none;
        width: 100%;
        background: #001a38;
        padding-left: 20px;
        box-shadow: none;
    }

    .sf-menu li:hover > ul { display: block; }
    
    .sf-menu ul ul { padding-left: 20px; }
}