@charset "utf-8";
/* CSS Document */
/* 主体内容区域 */
.main-content {
    padding: 40px 0;
    background-color: #f9f9f9;
}
.content-wrapper {
    display: flex;
    justify-content: space-between;
}
/* 左侧导航样式 */
.sidebar {
    width: 25%;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}
.sidebar-title {
    background-color: #2e7d32;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
}
.sidebar-nav {
    padding: 15px 0;
}
.sidebar-nav li {
    border-bottom: 1px solid #eee;
}
.sidebar-nav li:last-child {
    border-bottom: none;
}
.sidebar-nav a {
    display: block;
    padding: 12px 20px;
    color: #333;
    transition: all 0.3s;
}
.sidebar-nav a:hover {
    background-color: #f0f7f0;
    color: #2e7d32;
    padding-left: 25px;
}
.sidebar-nav a.active {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
    padding-left: 16px;
}

/* 右侧文章内容样式 */
.article-content {
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 30px;
    width:80%;
    margin:0 auto;
}
.article-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 25px;
    text-align:center;
}
.article-title {
    font-size: 28px;
    color: #1b5e20;
    margin-bottom: 15px;
    line-height: 1.4;
}
.article-meta {
    display: flex;
    color: #666;
    font-size: 14px;
    flex-wrap: wrap;
justify-content: center;
}
.meta-item {
    margin-right: 20px;
    display: flex;
    align-items: center;
}
.meta-item:last-child {
    margin-right: 0;
}
.meta-label {
    margin-right: 5px;
    color: #888;
}
.article-body {
    font-size: 16px;
    line-height: 1.8;
}
.article-body p {
    margin-bottom: 20px;
    text-align: justify;
}
.article-body h2 {
    font-size: 22px;
    color: #1b5e20;
    margin: 30px 0 15px;
    padding-left: 15px;
    position: relative;
    border-left: 4px solid #2e7d32;
}
.article-body h3 {
    font-size: 18px;
    color: #333;
    margin: 25px 0 15px;
}
.article-body blockquote {
    border-left: 4px solid #2e7d32;
    background-color: #f5f5f5;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
}
.article-body ul, .article-body ol {
    margin: 15px 0;
    padding-left: 30px;
}
.article-body li {
    margin-bottom: 8px;
}
.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 5px;
}
.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.article-tags {
    display: flex;
    align-items: center;
}
.tag {
    display: inline-block;
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
    margin-right: 10px;
}
.article-actions {
    display: flex;
}
.action-btn {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    color: #666;
    padding: 8px 15px;
    border-radius: 3px;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s;
}
.action-btn:hover {
    background-color: #e8f5e9;
    color: #2e7d32;
}

/* 响应式设计 */
@media (max-width: 992px) {
.content-wrapper {
    flex-direction: column;
}
.sidebar, .article-content {
    width: 100%;
}
.sidebar {
    margin-bottom: 20px;
}
.inner {
    padding: 0 20px;
}
.header-content {
    padding: 0 20px;
}
}

@media (max-width: 768px) {
.wp-menu {
    flex-direction: column;
}
.header-content {
    flex-direction: column;
    text-align: center;
}
.site-title {
    margin-left: 0;
    margin-top: 15px;
}
.full-banner {
    height: 200px;
}
.banner-content h2 {
    font-size: 28px;
}
.banner-content p {
    font-size: 16px;
}
.article-meta {
    flex-direction: column;
}
.meta-item {
    margin-bottom: 10px;
}
.article-footer {
    flex-direction: column;
    align-items: flex-start;
}
.article-actions {
    margin-top: 15px;
    width: 100%;
    justify-content: space-between;
}
.action-btn {
    flex: 1;
    margin: 0 5px;
    justify-content: center;
}
}

