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

:root {
--primary-color: #FF359A;
--secondary-color: #ff70b8;
--light-color: #fff5f9;
--dark-color: #333;
--gray-color: #f0f0f0;
--text-color: #444;
--border-radius: 8px;
--box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
--transition: all 0.3s ease;
--section-padding: 30px 25px;
}

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

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

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

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

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

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

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

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

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

.nav-link {
color: var(--dark-color);
font-weight: 500;
}

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

.hamburger {
display: none;
cursor: pointer;
font-size: 24px;
color: var(--dark-color);
}

/* 面包屑导航 */
.breadcrumb {
padding: 15px 0;
margin-bottom: 20px;
font-size: 14px;
color: #777;
}

.breadcrumb a {
color: #777;
}

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

.breadcrumb span {
margin: 0 8px;
}

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

.left-column {
flex: 7;
}

.right-column {
flex: 3;
}

/* 内容区块通用样式 */
section {
padding: var(--section-padding);
background-color: #fff;
margin-bottom: 30px;
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
}

.section-header {
margin-bottom: 25px;
padding-bottom: 15px;
border-bottom: 1px solid #eee;
}

.section-title {
font-size: 22px;
color: var(--dark-color);
position: relative;
display: inline-block;
}

.section-title::after {
content: '';
position: absolute;
bottom: -16px;
left: 0;
width: 40px;
height: 3px;
background-color: var(--primary-color);
}

/* 文章头部信息 */
.article-header {
display: flex;
margin-bottom: 25px;
}

.article-thumb {
width: 100px;
height: 100px;
flex-shrink: 0;
border-radius: var(--border-radius);
overflow: hidden;
margin-right: 20px;
}

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

.article-info {
flex-grow: 1;
}

.article-title {
font-size: 24px;
font-weight: bold;
margin-bottom: 12px;
color: var(--dark-color);
}

.article-meta {
display: flex;
flex-wrap: wrap;
font-size: 14px;
color: #777;
}

.article-meta span {
margin-right: 15px;
display: flex;
align-items: center;
}

.article-meta .date::before {
content: '📅';
margin-right: 5px;
}

.article-meta .views::before {
content: '👀';
margin-right: 5px;
}

/* 导读信息 */
.article-intro {
background: var(--gray-color);
padding: 20px;
border-radius: var(--border-radius);
margin-bottom: 25px;
font-style: italic;
border-left: 4px solid var(--primary-color);
}

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

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

.article-content h2 {
font-size: 22px;
margin: 30px 0 15px;
color: var(--dark-color);
}

.article-content h3 {
font-size: 18px;
margin: 25px 0 12px;
color: var(--dark-color);
}

.article-content img {
display: block;
max-width: 100%;
height: auto;
margin: 0 auto;
}

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

.nav-previous, .nav-next {
flex: 1;
}

.nav-next {
text-align: right;
}

.nav-label {
font-size: 14px;
color: #777;
margin-bottom: 5px;
}

.nav-title {
font-weight: 500;
color: var(--dark-color);
}

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

/* 右侧边栏列表 */
.sidebar-list {
list-style: none;
}

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

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

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

.sidebar-item a:hover {
color: var(--primary-color);
padding-left: 5px;
}

/* 页脚 */
footer {
background: var(--dark-color);
color: #fff;
padding: 30px 0;
text-align: center;
}

.copyright {
font-size: 14px;
opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 1024px) {
.nav-menu {
position: fixed;
left: -100%;
top: 70px;
flex-direction: column;
background-color: #fff;
width: 100%;
text-align: center;
transition: 0.3s;
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
padding: 20px 0;
}

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

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

.hamburger {
display: block;
}

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

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

.copyright {
display: none;
}
}

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

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

.article-meta span {
margin-bottom: 8px;
}

.article-navigation {
flex-direction: column;
gap: 20px;
}

.nav-next {
text-align: left;
}
}

@media (max-width: 500px) {
.article-thumb {
height: 150px;
}
}