@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-list {
    width: 73%;
}

.list-header {
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.list-title {
    font-size: 22px;
    color: #1b5e20;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.list-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background-color: #2e7d32;
    border-radius: 2px;
}

.breadcrumb {
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #2e7d32;
}

.breadcrumb span {
    margin: 0 5px;
}

/* 简化版文章项样式 */
.article-item {
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.article-title {
    font-size: 16px;
    flex: 1;
}

.article-title a {
    color: #333;
}

.article-title a:hover {
    color: #2e7d32;
}

.article-date {
    color: #888;
    font-size: 14px;
    width: 120px;
    text-align: right;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 3px;
}

.pagination a:hover {
    background-color: #f0f7f0;
    color: #2e7d32;
    border-color: #2e7d32;
}

.pagination a.active {
    background-color: #2e7d32;
    color: white;
    border-color: #2e7d32;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }

    .sidebar, .article-list {
        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-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-date {
        width: 100%;
        text-align: left;
        margin-top: 5px;
    }
}

