.blog-container{
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
}

.blog-header{
  margin: 10px 0 18px 0;
}

.blog-header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.blog-brand{
  font: 700 18px/1.2 Arial, sans-serif;
  text-decoration:none;
  color:#111;
}

.blog-search input{
  width: min(360px, 65vw);
  padding: 8px 10px;
  border:1px solid #e5e7eb;
  border-radius:8px;
  font: 14px Arial, sans-serif;
}

.blog-breadcrumbs{
  margin-top: 10px;
  font: 12px Arial, sans-serif;
  color:#6b7280;
}
.blog-breadcrumbs a{ color:#6b7280; text-decoration:none; }
.blog-breadcrumbs .sep{ margin: 0 6px; color:#9ca3af; }

.blog-main article{
  background:#fff;
}

.post-card{
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding: 14px 14px;
  margin: 0 0 12px 0;
}

.post-card h2{
  margin:0 0 6px 0;
  font: 700 18px/1.2 Arial, sans-serif;
}
.post-card h2 a{ color:#111; text-decoration:none; }
.post-card .meta{ font: 12px Arial, sans-serif; color:#6b7280; margin-bottom: 8px; }
.post-card .excerpt{ font: 14px/1.5 Arial, sans-serif; color:#111; }

.post{
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding: 18px 16px;
}
.post h1{
  margin:0 0 10px 0;
  font: 800 24px/1.2 Arial, sans-serif;
}
.post .meta{
  font: 12px Arial, sans-serif;
  color:#6b7280;
  margin-bottom: 14px;
}
.post .featured{
  margin: 10px 0 14px 0;
}
.post .featured img{
  width:100%;
  height:auto;
  border-radius:10px;
  border:1px solid #e5e7eb;
}



.post-content{
  font: 15px/1.7 Arial, sans-serif;
  color:#111;
}
.post-content h2{ margin: 18px 0 8px; font: 800 18px/1.3 Arial, sans-serif; }
.post-content h3{ margin: 16px 0 8px; font: 800 16px/1.3 Arial, sans-serif; }
.post-content a{ color:#0b57d0; }
.post-content pre{
  overflow:auto;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background:#fafafa;
}

.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
}
.post-content figure {
  margin: 24px 0;
}
.post-content figcaption {
  font-size: 0.95em;
  color: #555;
  margin-top: 8px;
}
.blog-footer{
  margin-top: 18px;
  padding: 14px 4px;
  border-top:1px solid #e5e7eb;
}
.muted{ color:#6b7280; font: 12px Arial, sans-serif; }
.pager{ display:flex; gap:10px; margin-top: 12px; }
.pager a{
  display:inline-block;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration:none;
  color:#111;
  font: 13px Arial, sans-serif;
}

.badges{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 14px; }
.badge{
  display:inline-block;
  padding: 6px 10px;
  border:1px solid #e5e7eb;
  border-radius: 999px;
  font: 12px Arial, sans-serif;
  color:#111;
  text-decoration:none;
}

.admin-wrap{ max-width: 1100px; margin: 0 auto; padding: 16px; }
.admin-card{ border:1px solid #e5e7eb; border-radius:12px; padding:14px; margin-bottom:12px; }
.admin-table{ width:100%; border-collapse:collapse; }
.admin-table th, .admin-table td{ border-bottom:1px solid #f0f0f0; padding:10px 8px; text-align:left; font: 13px Arial, sans-serif; }
.admin-actions a{ margin-right:10px; }
.input, textarea{
  width:100%;
  padding: 10px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  font: 14px Arial, sans-serif;
}
textarea{ min-height: 220px; }
.btn{
  display:inline-block;
  padding: 9px 12px;
  border-radius: 10px;
  border:1px solid #e5e7eb;
  text-decoration:none;
  color:#111;
  font: 14px Arial, sans-serif;
  background:#fff;
  cursor:pointer;
}
.btn.primary{ border-color:#111; }
.row{ display:flex; gap:12px; }
.col{ flex:1; }