:root { 
--bg-color: #fafafa; 
--card-bg: #ffffff; 
--text-color: #333333; 
--text-light: #666666; 
--primary-color: #0f172a; 
--border-color: #e5e7eb; 
--shadow: 0 2px 12px rgba(0,0,0,0.06); 
} 
[data-theme="dark"] { 
--bg-color: #0f172a; 
--card-bg: #1e293b; 
--text-color: #f1f5f9; 
--text-light: #94a3b8; 
--primary-color: #38bdf8; 
--border-color: #334155; 
--shadow: 0 2px 12px rgba(0,0,0,0.2); 
} 
* { 
margin: 0; 
padding: 0; 
box-sizing: border-box; 
} 
body { 
font-family: 'Inter', system-ui, sans-serif; 
background: var(--bg-color); 
color: var(--text-color); 
line-height: 1.8; 
transition: background 0.3s, color 0.3s; 
} 
a { 
color: var(--primary-color); 
text-decoration: none; 
transition: opacity 0.3s; 
} 
a:hover { 
opacity: 0.8; 
} 
img { 
max-width: 100%; 
height: auto; 
border-radius: 6px; 
} .wrapper { 
max-width: 800px; 
margin: 0 auto; 
padding: 0 20px; 
} .site-header { 
padding: 2rem 0; 
border-bottom: 1px solid var(--border-color); 
margin-bottom: 2rem; 
display: flex; 
justify-content: space-between; 
align-items: center; 
} 
.site-brand h1 { 
font-size: 1.6rem; 
font-weight: 700; 
} 
.site-brand p { 
color: var(--text-light); 
font-size: 0.9rem; 
margin-top: 0.2rem; 
} 
.header-actions { 
display: flex; 
gap: 1rem; 
align-items: center; 
} 
.hamburger, .theme-toggle { 
background: var(--card-bg); 
border: 1px solid var(--border-color); 
padding: 0.5rem 0.8rem; 
border-radius: 6px; 
cursor: pointer; 
color: var(--text-color); 
} .slide-sidebar { 
position: fixed; 
top: 0; 
right: -320px; 
width: 320px; 
height: 100vh; 
background: var(--card-bg); 
box-shadow: var(--shadow); 
padding: 2rem; 
overflow-y: auto; 
transition: right 0.3s; 
z-index: 999; 
} 
.slide-sidebar.active { 
right: 0; 
} 
.sidebar-close { 
position: absolute; 
top: 1rem; 
right: 1rem; 
cursor: pointer; 
color: var(--text-light); 
} 
.overlay { 
position: fixed; 
top: 0; 
left: 0; 
width: 100%; 
height: 100%; 
background: rgba(0,0,0,0.5); 
z-index: 998; 
display: none; 
} 
.overlay.active { 
display: block; 
} .article-card { 
background: var(--card-bg); 
border-radius: 10px; 
padding: 2rem; 
margin-bottom: 1.5rem; 
box-shadow: var(--shadow); 
border: 1px solid var(--border-color); 
} 
.article-card h2 { 
font-size: 1.4rem; 
margin-bottom: 0.8rem; 
line-height: 1.4; 
} 
.article-meta { 
color: var(--text-light); 
font-size: 0.85rem; 
margin-bottom: 1rem; 
display: flex; 
gap: 1rem; 
flex-wrap: wrap; 
} 
.article-excerpt { 
color: var(--text-light); 
margin-bottom: 1rem; 
} 
.read-more-btn { 
display: inline-block; 
padding: 0.4rem 1rem; 
background: var(--primary-color); 
color: #fff; 
border-radius: 4px; 
font-size: 0.9rem; 
} .single-article h1 { 
font-size: 1.8rem; 
margin-bottom: 1rem; 
line-height: 1.5; 
} 
.article-content { 
margin: 1.5rem 0; 
} 
.article-content h2, .article-content h3 { 
margin: 2rem 0 1rem 0; 
font-weight: 600; 
} 
.article-content p { 
margin-bottom: 1rem; 
} 
.article-content ul, .article-content ol { 
margin: 1rem 0 1rem 2rem; 
} .breadcrumb { 
background: var(--card-bg); 
padding: 0.8rem 1.2rem; 
border-radius: 6px; 
margin-bottom: 1.5rem; 
font-size: 0.9rem; 
color: var(--text-light); 
border: 1px solid var(--border-color); 
} .pagination { 
display: flex; 
gap: 0.5rem; 
justify-content: center; 
margin: 2rem 0; 
} 
.pagination a, .pagination span { 
padding: 0.5rem 1rem; 
border-radius: 4px; 
background: var(--card-bg); 
border: 1px solid var(--border-color); 
color: var(--text-color); 
} 
.pagination .current { 
background: var(--primary-color); 
color: #fff; 
border-color: var(--primary-color); 
} .footer-widgets { 
background: var(--card-bg); 
border-top: 1px solid var(--border-color); 
padding: 3rem 0; 
margin-top: 3rem; 
} 
.widget-row { 
display: grid; 
grid-template-columns: repeat(3, 1fr); 
gap: 2rem; 
} 
.widget { 
margin-bottom: 1.5rem; 
} 
.widget-title { 
font-size: 1.1rem; 
margin-bottom: 1rem; 
padding-bottom: 0.5rem; 
border-bottom: 1px solid var(--border-color); 
} 
.widget ul { 
list-style: none; 
} 
.widget ul li { 
margin-bottom: 0.5rem; 
padding-bottom: 0.5rem; 
border-bottom: 1px dashed var(--border-color); 
} .site-footer { 
padding: 2rem 0; 
text-align: center; 
color: var(--text-light); 
font-size: 0.9rem; 
background: var(--bg-color); 
} @media (max-width: 992px) { 
.widget-row { 
grid-template-columns: 1fr; 
} 
.slide-sidebar { 
width: 80%; 
} 
} .related-posts { 
margin-top: 2rem; 
padding-top: 2rem; 
border-top: 1px solid var(--border-color); 
} 
.related-posts h3 { 
font-size: 1.3rem; 
margin-bottom: 1.5rem; 
color: var(--text-color); 
} 
.related-grid { 
display: grid; 
grid-template-columns: repeat(2, 1fr); 
gap: 1.5rem; 
} 
.related-card { 
background: var(--card-bg); 
border: 1px solid var(--border-color); 
border-radius: 8px; 
overflow: hidden; 
box-shadow: var(--shadow); 
transition: transform 0.2s; 
} 
.related-card:hover { 
transform: translateY(-3px); 
} 
.related-thumb { 
height: 160px; 
overflow: hidden; 
} 
.related-thumb img { 
width: 100%; 
height: 100%; 
object-fit: cover; 
border-radius: 0; 
} 
.related-info { 
padding: 1rem; 
} 
.related-info h4 { 
font-size: 1rem; 
line-height: 1.5; 
margin-bottom: 0.5rem; 
} 
.related-meta { 
font-size: 0.85rem; 
color: var(--text-light); 
} @media (max-width: 768px) { 
.related-grid { 
grid-template-columns: 1fr; 
} 
}