/* 默认样式 */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    transition: margin-left 0.5s;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    transition: margin-left 0.5s;
}

header {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    min-height: 50px;
    border-bottom: #555 3px solid;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header #branding {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

header #branding h1 {
    margin: 0;
    text-align: center;
}

header nav {
    display: none;
}

header .highlight, header .current a {
    color: #e8491d;
    font-weight: bold;
}

header a:hover {
    color: #ffffff;
    font-weight: bold;
}

.content {
    padding: 20px;
}

.content h2 {
    margin-top: 0;
}

.content p {
    margin: 10px 0;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    bottom: 0;
}

.custom-background {
    background-image: url('');
    background-size: cover;
    background-position: center;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #f1f1f1;
}

.sidebar.expanded {
    width: 200px;
}

.sidebar-toggle {
    font-size: 24px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px;
    border: none;
    position: absolute;
    top: 10px;
    left: 10px;
    transition: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.sidebar-toggle:hover {
    background-color: #444;
}

.container.expanded {
    margin-left: 200px;
}

.x-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    display: none;
}

.x-icon:hover {
    color: #f1f1f1;
}

.article-card {
    background-color: #333;
    color: #fff;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-card h3 {
    margin: 0;
}

.article-card p {
    margin: 5px 0;
}

.article-card a {
    color: #e8491d;
    text-decoration: none;
}

.article-card a:hover {
    text-decoration: underline;
}

.sidebar-content h3,
.sidebar-content p {
    color: #fff;
}

.content ul {
    list-style-type: none;
    padding: 0;
}

.content li {
    margin-bottom: 20px;
}