/* Darkpunk style */
body {
  background: #0b0e13;
  color: #e0e0e0;
  font-family: Arial, sans-serif;
  margin: 0;
}

.site-header {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(to bottom, #0f1220, transparent);
}

.site-header h1 {
  font-size: 2rem;
  color: #fff;
}
.tagline {
  color: #aaa;
  font-size: 0.9rem;
}

.container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.post-card {
  background: #121629;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(122,0,255,0.3);
}
.post-link {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.thumb img, .no-thumb {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #1a1a2f;
}
.no-thumb {
  display:flex;
  align-items:center;
  justify-content:center;
  color:#777;
}

.post-info {
  padding: 1rem;
}
.post-title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: #fff;
}
.meta {
  font-size: 0.8rem;
  color: #aaa;
}
.excerpt {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #ccc;
}
.tags {
  margin-top: 0.5rem;
}
.tag {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 2px 6px;
  margin-right: 5px;
  font-size: 0.75rem;
}
.actions {
  margin-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn {
  background: rgba(122,0,255,0.2);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
}
.comments {
  font-size: 0.75rem;
  color: #aaa;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.widget h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #f0f0f0;
}
.widget {
  background: #1a1a2f;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}
.tag-cloud a {
  margin: 0 5px 5px 0;
  display: inline-block;
  color: #ccc;
  text-decoration: none;
}
.tag-cloud a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
}
