@charset "utf-8";
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #0a1f1a; color: #d0e8d8; line-height: 1.6; }
a { color: #a3e635; text-decoration: none; }
a:hover { color: #b8f26e; }
.FL { float: left; }
.FR { float: right; }
.clear { clear: both; }
.inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* Header */
.header { background: #0d2b24; border-bottom: 2px solid #2e6b4f; padding: 15px 0; }
.header .inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo img { max-height: 50px; }
.nav ul { display: flex; list-style: none; gap: 20px; }
.nav a { color: #b8f26e; font-weight: 500; padding: 5px 10px; border-radius: 4px; transition: background 0.3s; }
.nav a:hover { background: #1e4d3a; }
.search form { display: flex; background: #1a3d32; border-radius: 20px; overflow: hidden; }
.search input { background: transparent; border: none; color: #d0e8d8; padding: 8px 15px; outline: none; width: 180px; }
.search button { background: #2e6b4f; border: none; color: #fff; padding: 8px 15px; cursor: pointer; }
/* Container */
.container { display: flex; gap: 30px; margin-top: 30px; }
.main { flex: 1; }
.sidebar { width: 300px; flex-shrink: 0; }
/* Section Title */
.section-title h2 { font-size: 1.4em; color: #a3e635; border-bottom: 2px solid #2e6b4f; padding-bottom: 10px; margin-bottom: 20px; }
/* Article List (Card) */
.article-list { display: flex; flex-direction: column; gap: 25px; }
.card { background: #0f2b23; border: 1px solid #1e4d3a; border-radius: 12px; overflow: hidden; display: flex; flex-direction: row; transition: box-shadow 0.3s; }
.card:hover { box-shadow: 0 4px 20px rgba(163, 230, 53, 0.15); }
.card-img { width: 280px; flex-shrink: 0; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.card-body h3 { font-size: 1.2em; margin-bottom: 10px; }
.card-body h3 a { color: #e2f0e6; }
.card-body .meta { font-size: 0.85em; color: #7a9b8a; margin-bottom: 10px; }
.card-body .info { color: #b0c9b8; margin-bottom: 15px; }
.read-more { color: #a3e635; font-weight: 500; align-self: flex-start; }
/* Sidebar Widget */
.widget { background: #0f2b23; border: 1px solid #1e4d3a; border-radius: 10px; padding: 20px; margin-bottom: 25px; }
.widget h3 { font-size: 1.1em; color: #a3e635; border-bottom: 1px solid #2e6b4f; padding-bottom: 8px; margin-bottom: 15px; }
.widget ul { list-style: none; }
.widget li { padding: 6px 0; border-bottom: 1px dashed #1e4d3a; }
.widget li:last-child { border-bottom: none; }
.widget a { color: #c8dfd0; transition: color 0.3s; }
.widget a:hover { color: #a3e635; }
/* Pagination */
.pagination { margin-top: 30px; text-align: center; }
.pagination a, .pagination span { display: inline-block; padding: 8px 14px; margin: 0 3px; background: #1a3d32; color: #d0e8d8; border-radius: 4px; }
.pagination .current { background: #2e6b4f; color: #fff; }
/* Post (show.html) */
.post { background: #0f2b23; border: 1px solid #1e4d3a; border-radius: 12px; padding: 30px; }
.post-title { font-size: 2em; color: #e2f0e6; margin-bottom: 15px; }
.post-meta { color: #7a9b8a; font-size: 0.9em; margin-bottom: 20px; }
.post-body { color: #d0e8d8; line-height: 1.8; }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 15px 0; }
.related { margin-top: 30px; background: #0f2b23; border: 1px solid #1e4d3a; border-radius: 12px; padding: 20px; }
.related h3 { color: #a3e635; border-bottom: 1px solid #2e6b4f; padding-bottom: 10px; margin-bottom: 15px; }
.related ul { list-style: none; }
.related li { padding: 5px 0; }
/* Footer */
.footer { background: #0d2b24; border-top: 2px solid #2e6b4f; margin-top: 40px; padding: 30px 0; text-align: center; }
.footer .friend-links { margin-bottom: 20px; }
.footer .friend-links h3 { color: #a3e635; margin-bottom: 10px; }
.footer .friend-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; list-style: none; }
.footer .friend-links a { color: #b0c9b8; font-size: 0.9em; }
.footer .copyright p { margin: 5px 0; font-size: 0.85em; color: #7a9b8a; }
/* Responsive */
@media (max-width: 768px) {
  .container { flex-direction: column; }
  .sidebar { width: 100%; }
  .card { flex-direction: column; }
  .card-img { width: 100%; height: 200px; }
  .header .inner { flex-direction: column; gap: 15px; }
  .search input { width: 140px; }
}