   body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
        }
        
        .container {
            width: 100%;
            margin: 0 auto;
            margin: 0;
            padding: 0;
        }
        
        /* Header styles */
        .header {
            background: linear-gradient(to bottom, #b8cef0, #8eafd7);
            padding: 17px 27px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-style: italic;
            color: #2c4b7a;
            font-size: 28px;
            text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
            display: flex;
            align-items: center;
        }
        
        .logo strong {
            font-weight: bold;
        }
        
        .logo span {
            font-weight: normal;
        }
        
        .user-panel {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }
        
        .login-form {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 5px;
        }
        
        .login-form input {
            border: 1px solid #ccc;
            padding: 2px 5px;
            font-size: 12px;
            height: 18px;
        }
        
        .login-form button {
            background-color: #e8e8e8;
            border: 1px solid #ccc;
            padding: 2px 8px;
            height: 24px;
            cursor: pointer;
        }
        
        .login-form a {
            color: white;
            text-decoration: none;
            margin-left: 10px;
            font-weight: bold;
            font-size: 12px;
        }
        
        .remember-me {
            display: flex;
            align-items: center;
            gap: 5px;
            color: white;
            font-size: 12px;
        }
        
        .powered-by {
            text-align: right;
            color: white;
            font-size: 10px;
        }
        
        .powered-text {
            color: white;
            font-size: 14px;
            font-weight: bold;
        }
        
        /* Navigation bar styles */
        .main-nav {
            background-color: #2c4b7a;
            display: flex;
            align-items: stretch;
            height: 45px;
        }
        
        .main-nav-item {
            position: relative;
            height: 100%;
        }
        
        .main-nav a {
            color: white;
            text-decoration: none;
            font-weight: bold;
            font-size: 14px;
            padding: 13px 17px;
            display: inline-block;
            height: 100%;
            box-sizing: border-box;
        }
        
        /* Style for active menu item */
        .main-nav .active {
            background-color: white;
            color: #2c4b7a;
            position: relative;
        }
        
        /* Add the blue borders to active item */
        .main-nav .active::before,
        .main-nav .active::after {
            content: "";
            position: absolute;
            width: 5px;
            height: 100%;
            top: 0;
            background-color: #1a3b68;
        }
        
        .main-nav .active::before {
            left: -5px;
        }
        
        .main-nav .active::after {
            right: -5px;
        }
        
        .search-box {
            margin-left: auto;
            display: flex;
            align-items: center;
            padding: 6px 10px;
        }
        
        .search-box input {
            padding: 3px 5px;
            border: 1px solid #ccc;
            height: 20px;
            width: 180px;
        }
        
        .search-box button {
            background-color: #4f82bf;
            border: 1px solid #4f82bf;
            height: 23px;
            width: 23px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: white;
            border-radius: 5px;
        }

        .login-form button{
            font-size: 10px;
            width: fit-content;
        }
        
        /* Sub navigation styles */
        .sub-nav {
            background-color: #e8e8e8;
            padding: 8px 15px;
            font-size: 14px;
            display: flex;
            gap: 25px;
            flex-wrap: wrap;
        }
        
        .sub-nav a {
            color: #2c4b7a;
            text-decoration: none;
        }
        
        /* Search results styles */
        .search-results {
            margin-top: 20px;
            padding: 15px;
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 5px;
            display: none;
        }
        
        .search-results h2 {
            color: #2c4b7a;
            margin-top: 0;
            border-bottom: 1px solid #eee;
            padding-bottom: 10px;
        }
        
        .result-item {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .result-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }
        
        .result-title {
            font-weight: bold;
            color: #2c4b7a;
            margin-bottom: 5px;
        }
        
        .result-excerpt {
            color: #666;
            font-size: 14px;
            margin-bottom: 5px;
        }
        
        .result-meta {
            font-size: 12px;
            color: #999;
        }

        @media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .logo {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .user-panel {
        width: 100%;
        align-items: flex-start;
    }

    .login-form {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 5px;
    }

    .login-form input {
        width: 100%;
    }

    .login-form button {
        width: 100%;
    }

    .remember-me {
        justify-content: flex-start;
    }

    .powered-by {
        text-align: left;
        margin-top: 5px;
    }

    .main-nav {
        flex-wrap: wrap;
        height: auto;
    }

    .main-nav-item, .search-box {
        width: 100%;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 10px;
        border-top: 1px solid #45679e;
    }

    .search-box {
        justify-content: space-between;
        padding: 10px;
    }

    .search-box input {
        width: 70%;
    }

    .search-box button {
        width: 28px;
    }

    .sub-nav {
        flex-direction: column;
        gap: 10px;
    }
}
