:root {
--primary-color: #DFFFDF;
--secondary-color: #c9f0c9;
--text-color: #333333;
--link-color: #006600;
--hover-color: #009900;
--shadow: 0 2px 5px rgba(0,0,0,0.1);
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--primary-color);
}

a {
text-decoration: none;
color: var(--link-color);
}

a:hover {
color: var(--hover-color);
}

.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}

/* 导航栏样式 */
header {
background-color: var(--secondary-color);
box-shadow: var(--shadow);
position: sticky;
top: 0;
margin-bottom: 30px;
z-index: 1000;
}

.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px;
}

.logo {
font-size: 1.5rem;
font-weight: bold;
}

.nav-menu {
display: flex;
list-style: none;
}

.nav-item {
margin-left: 20px;
}

.nav-link {
padding: 5px 10px;
transition: all 0.3s ease;
}

.nav-link:hover {
background-color: rgba(255, 255, 255, 0.3);
border-radius: 4px;
}

.hamburger {
display: none;
cursor: pointer;
font-size: 1.5rem;
}

/* 面包屑导航 */
.breadcrumb {
background-color: white;
border-radius: 8px;
padding: 15px 20px;
margin-bottom: 30px;
box-shadow: var(--shadow);
}

.breadcrumb-list {
display: flex;
flex-wrap: wrap;
list-style: none;
}

.breadcrumb-item {
margin-right: 10px;
margin-bottom: 5px;
font-size: 0.9rem;
}

.breadcrumb-item:not(:last-child)::after {
content: ">";
margin-left: 10px;
color: #999;
}

.breadcrumb-item a:hover {
text-decoration: underline;
}

/* 主内容区样式 */
main {
padding: 0 0 30px;
}

.section {
margin-bottom: 30px;
}

.section-title {
font-size: 1.5rem;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid var(--secondary-color);
}

/* 两列布局 */
.two-column-layout {
display: flex;
gap: 30px;
}

.left-column {
flex: 2;
}

.right-column {
flex: 1;
}

/* 文字列表 */
.text-list {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 15px;
margin-bottom: 30px;
}

.text-item {
display: block;
background-color: white;
border-radius: 8px;
padding: 15px 10px;
text-align: center;
box-shadow: var(--shadow);
transition: all 0.3s ease;
}

.text-item:hover {
transform: translateY(-3px);
box-shadow: 0 5px 10px rgba(0,0,0,0.1);
background-color: var(--secondary-color);
}

/* 文章列表 */
.article-list {
margin-bottom: 30px;
}

.article-item {
display: flex;
background-color: white;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
box-shadow: var(--shadow);
transition: all 0.3s ease;
}

.article-item:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-thumbnail {
flex: 0 0 150px;
height: 120px;
border-radius: 6px;
overflow: hidden;
margin-right: 20px;
background-color: #f0f0f0;
background-size: cover;
background-position: center;
}

.article-content {
flex: 1;
}

.article-title {
font-size: 1.2rem;
margin-bottom: 10px;
line-height: 1.4;
}

.article-meta {
display: flex;
margin-bottom: 10px;
color: #666;
font-size: 0.9rem;
}

.article-author::before {
content: "👤 ";
}

.article-date::before {
content: "📅 ";
margin-left: 15px;
}

.article-views::before {
content: "👁 ";
margin-left: 15px;
}

.article-excerpt {
color: #555;
line-height: 1.6;
}

/* 侧边栏文章列表 */
.sidebar-list {
background-color: white;
border-radius: 8px;
padding: 20px;
margin-bottom: 30px;
box-shadow: var(--shadow);
}

.sidebar-item {
padding: 10px 0;
border-bottom: 1px solid #eee;
}

.sidebar-item:last-child {
border-bottom: none;
}

.sidebar-item a {
transition: color 0.3s ease;
}

.sidebar-item a:hover {
color: var(--hover-color);
}

/* 分页 */
.pagination {
display: flex;
justify-content: center;
margin-top: 30px;
}

.pagination-list {
display: flex;
list-style: none;
}

.pagination-item {
margin: 0 5px;
}

.pagination-link {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background-color: white;
border-radius: 6px;
box-shadow: var(--shadow);
transition: all 0.3s ease;
}

.pagination-link:hover {
background-color: var(--secondary-color);
}

.pagination-link.active {
background-color: var(--link-color);
color: white;
}

/* 页脚样式 */
footer {
background-color: var(--secondary-color);
padding: 20px 0;
text-align: center;
margin-top: 40px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
.hamburger {
display: block;
}

.nav-menu {
position: fixed;
top: 70px;
right: -100%;
flex-direction: column;
background-color: var(--secondary-color);
width: 100%;
text-align: center;
transition: 0.3s;
box-shadow: 0 10px 10px rgba(0,0,0,0.1);
padding: 20px 0;
}

.nav-menu.active {
right: 0;
}

.nav-item {
margin: 15px 0;
}

.text-list {
grid-template-columns: repeat(4, 1fr);
}

.copyright {
display: none;
}
}

@media (max-width: 768px) {
.two-column-layout {
flex-direction: column;
}

.article-item {
flex-direction: column;
}

.article-thumbnail {
flex: 0 0 200px;
width: 100%;
margin-right: 0;
margin-bottom: 15px;
}

.article-meta {
flex-direction: column;
}

.article-date::before,
.article-views::before {
margin-left: 0;
}
}

@media (max-width: 500px) {
.text-list {
grid-template-columns: repeat(2, 1fr);
}

.article-list {
grid-template-columns: 1fr;
}
}