* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
       line-height: 1.6; color: #333; background: #f8f9fa; min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { background: linear-gradient(135deg, #2c3e50, #3498db); color: white; padding: 30px 0; }
header h1 { font-size: 2.5em; text-align: center; }
nav { background: white; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 15px 0; }
nav a { color: #2c3e50; text-decoration: none; padding: 10px 15px; border-radius: 5px; transition: all 0.3s; }
nav a:hover { background: #3498db; color: white; }
main { padding: 40px 0; flex: 1; }
.post-date { background: #e3f2fd; border-left: 4px solid #2196f3; padding: 8px 15px; margin-bottom: 20px; border-radius: 5px; color: #1565c0; font-size: 0.9em; }
article { background: white; padding: 40px; margin-bottom: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); line-height: 1.8; }
h1 { font-size: 2.5em; margin-bottom: 20px; color: #2c3e50; }
h2 { font-size: 2em; margin: 30px 0 15px; color: #2c3e50; border-bottom: 2px solid #3498db; padding-bottom: 10px; }
h3 { font-size: 1.5em; margin: 25px 0 10px; color: #34495e; }
h4 { font-size: 1.2em; margin: 20px 0 10px; color: #34495e; }
p { margin-bottom: 15px; line-height: 1.8; }
a { color: #3498db; }
a:hover { text-decoration: underline; }
.dead-link { color: #999; text-decoration: line-through; cursor: not-allowed; }
ul, ol { margin: 15px 0 15px 30px; }
li { margin-bottom: 10px; }
strong { color: #2c3e50; font-weight: 600; }
blockquote { border-left: 4px solid #3498db; padding-left: 20px; margin: 20px 0; font-style: italic; color: #555; background: #f8f9fa; padding: 15px 20px; border-radius: 5px; }
img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px auto; display: block; }
footer { background: #2c3e50; color: white; padding: 40px 0; margin-top: 60px; }
footer h3 { color: #3498db; margin-bottom: 15px; font-size: 1.3em; }
.footer-section { margin-bottom: 30px; }
.sitemap-toggle { background: #34495e; color: white; padding: 12px 20px; border: none; cursor: pointer; border-radius: 5px; font-size: 1em; width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s; }
.sitemap-toggle:hover { background: #3498db; }
.sitemap-toggle .arrow { transition: transform 0.3s; display: inline-block; }
.sitemap-toggle.active .arrow { transform: rotate(180deg); }
.sitemap-content { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; }
.sitemap-content.active { max-height: 5000px; }
.sitemap-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin: 15px 0 0 0; padding: 0; }
.sitemap-list li { margin: 0; }
.sitemap-list a { color: #ecf0f1; text-decoration: none; padding: 8px 12px; display: block; border-radius: 4px; transition: all 0.3s; font-size: 0.95em; }
.sitemap-list a:hover { background: #34495e; color: #3498db; }
.copyright { text-align: center; padding-top: 20px; border-top: 1px solid #34495e; margin-top: 20px; color: #95a5a6; font-size: 0.9em; }
@media (max-width: 768px) { header h1 { font-size: 2em; } article { padding: 20px; } nav ul { flex-direction: column; } .sitemap-list { grid-template-columns: 1fr; } }