:root {
--primary-color: #BF0060;
--secondary-color: #f8f8f8;
--text-color: #333;
--light-text: #777;
--shadow: 0 4px 8px rgba(0,0,0,0.1);
--transition: all 0.3s ease;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
color: var(--text-color);
line-height: 1.6;
background-color: #fff;
}

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

a:hover {
opacity: 0.8;
}

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

/* 导航栏样式 */
header {
background-color: #fff;
box-shadow: var(--shadow);
position: sticky;
top: 0;
z-index: 1000;
}

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

.logo {
font-size: 1.5rem;
font-weight: bold;
color: var(--primary-color);
}

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

.nav-links li {
margin-left: 25px;
position: relative;
}

.nav-links a {
color: var(--text-color);
font-weight: 500;
padding: 5px 0;
}

.nav-links a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: 0;
left: 0;
background-color: var(--primary-color);
transition: var(--transition);
}

.nav-links a:hover::after {
width: 100%;
}

.nav-links a:hover {
color: var(--primary-color);
}

.hamburger {
display: none;
cursor: pointer;
flex-direction: column;
justify-content: space-around;
width: 30px;
height: 25px;
}

.hamburger div {
width: 100%;
height: 3px;
background-color: var(--primary-color);
transition: var(--transition);
}

/* 面包屑导航 */
.breadcrumb {
padding: 20px 0;
font-size: 0.9rem;
color: var(--light-text);
}

.breadcrumb a {
color: var(--light-text);
}

.breadcrumb a:hover {
color: var(--primary-color);
}

.breadcrumb span {
margin: 0 8px;
}

/* 主内容区布局 */
.main-content {
display: flex;
gap: 30px;
margin: 30px 0;
}

.left-column {
flex: 2;
}

.right-column {
flex: 1;
}

/* 文章头部 */
.article-header {
display: flex;
margin-bottom: 20px;
align-items: center;
}

.article-thumb {
flex: 0 0 100px;
height: 100px;
margin-right: 20px;
border-radius: 6px;
overflow: hidden;
}

.article-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}

.article-title-container {
flex: 1;
}

.article-title {
font-size: 1.8rem;
margin-bottom: 10px;
font-weight: bold;
}

.article-meta {
display: flex;
font-size: 0.9rem;
color: var(--light-text);
}

.meta-item {
margin-right: 20px;
display: flex;
align-items: center;
}

.meta-item::before {
margin-right: 5px;
}

.date::before {
content: "📅";
}

.views::before {
content: "👀";
}

/* 导读区域 */
.article-intro {
background-color: var(--secondary-color);
padding: 20px;
border-radius: 8px;
margin-bottom: 30px;
font-style: italic;
border-left: 4px solid var(--primary-color);
}

/* 文章内容 */
.article-content {
margin-bottom: 40px;
line-height: 1.8;
}

.article-content p {
margin-bottom: 20px;
}

.article-content h2 {
margin: 30px 0 15px;
color: var(--primary-color);
}

.article-content img {
max-width: 100%;
height: auto;
border-radius: 8px;
margin: 20px 0;
}

/* 文章导航 */
.article-navigation {
display: flex;
justify-content: space-between;
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #eee;
}

.nav-item {
flex: 0 0 48%;
padding: 15px;
background-color: var(--secondary-color);
border-radius: 8px;
transition: var(--transition);
}

.nav-item:hover {
background-color: var(--primary-color);
color: white;
}

.nav-item:hover a {
color: white;
}

.nav-label {
font-size: 0.9rem;
color: var(--light-text);
margin-bottom: 5px;
}

.nav-title {
font-weight: 500;
}

/* 侧边栏列表 */
.sidebar-list {
margin-bottom: 30px;
}

.sidebar-title {
font-size: 1.2rem;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid var(--primary-color);
color: var(--primary-color);
}

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

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

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

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

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

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

.nav-links {
position: fixed;
top: 70px;
left: -100%;
width: 100%;
height: calc(100vh - 70px);
background-color: white;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding-top: 30px;
transition: var(--transition);
box-shadow: var(--shadow);
}

.nav-links.active {
left: 0;
}

.nav-links li {
margin: 15px 0;
}

.copyright {
display: none !important;
}
}

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

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

.article-thumb {
margin-right: 0;
margin-bottom: 15px;
}

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

.meta-item {
margin-bottom: 5px;
}

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

.nav-item {
flex: 0 0 100%;
margin-bottom: 15px;
}
}