/* Blog-specific styles (dark baseline) */

/* Card container */
.card {
  background: rgba(20, 20, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  box-shadow: 0 6px 22px rgba(0,0,0,0.45);
  transition: box-shadow 120ms ease, transform 120ms ease, border-color 120ms ease;
}

.card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.55);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}

.card .content { display: grid; gap: 8px; }
.card .title   { margin: 0; }
.card .meta    { color: #aaa; font-size: 0.9em; }

.card .more {
  display: inline-block;
  margin-top: 6px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.20);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.9em;
}
.card .more:hover { background: rgba(255,255,255,0.08); }

/* Optional hero thumbnail support */
.card .hero img {
  display:block;
  width:120px; height:80px;
  object-fit:cover;
  border-radius:8px;
}
@media (max-width: 560px) {
  .card { flex-direction: column; }
  .card .hero img { width:100%; height:180px; }
}

/* subtle info line used on tag pages */
.subtle-meta {
  font-size: 0.9em;
  color: #9aa0a6;
  margin-bottom: 1em;
}

/* tag list */
.tags-list {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 12px 0 24px;
}
.tag-pill {
  padding:4px 8px;
  border:1px solid rgba(255,255,255,0.16);
  border-radius:999px;
  text-decoration:none;
  color:inherit;
  background: rgba(30, 30, 34, 0.9);
}
.tag-pill:hover { border-color: rgba(255,255,255,0.28); }

/* article content */
.article { line-height:1.6; }
.article img { max-width:100%; height:auto; border-radius:8px; }
.article h2, .article h3, .article h4 { margin-top: 1.25em; }

/* pager */
.pager {
  display:flex;
  justify-content:space-between;
  margin-top:20px;
}
.pager a { text-decoration:none; }
.pager a:hover { text-decoration:underline; }

/* container width */
.wrap {
  max-width: 880px;
  margin: 24px auto 64px;
  padding: 0 16px;
}
.wrap h1 { margin-top: 0.2rem; }

/* spacing between cards */
.wrap .card + .card { margin-top: 20px; }
