:root{
  --wrap: 1100px;
  --text: #1b1b1b;
  --muted:#6a6a6a;
  --border:#e6e6e6;
  --bg:#ffffff;
  --card:#fbfbfb;
  --link:#0a58ca;
}

*{ box-sizing:border-box; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

a{ color: var(--link); text-decoration:none; }
a:hover{ text-decoration:underline; }
.muted{ color: var(--muted); }

.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 18px 16px; }

/* Header/footer (keep simple; replace with your site styles if needed) */
.site-header{ border-bottom: 1px solid var(--border); background:#fff; }
.header-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.logo{ font-weight: 800; color: var(--text); }
.nav{ display:flex; gap:14px; flex-wrap:wrap; }
.nav a{ padding: 6px 8px; border-radius: 8px; color: var(--text); }
.nav a.active{ background: var(--card); }

.site-footer{ border-top: 1px solid var(--border); background:#fff; }
.footer-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }

.page-title{ margin: 10px 0 8px; font-size: 34px; }
.rule{ border:0; border-top: 1px solid var(--border); margin: 10px 0 18px; }

.layout{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
  align-items:start;
}

.section-title{ margin: 0 0 10px; font-size: 20px; }

.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 12px 0 16px;
}
.input, .select{
  border:1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  background:#fff;
}
.input{ flex: 1 1 260px; }
.select{ flex: 0 0 220px; }

.articles{ display:flex; flex-direction:column; gap: 14px; }

.article{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}

.thumb img{
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  display:block;
}

.kicker{
  font-size: 13px;
  color: var(--muted);
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
}
.cat{ font-weight: 700; }
.sep{ opacity:0.7; }

.article-title{
  margin: 6px 0 4px;
  font-size: 18px;
}
.byline{ font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.excerpt{ margin: 0; color: #2a2a2a; }

.empty{
  border:1px dashed var(--border);
  border-radius: 12px;
  padding: 16px;
  color: var(--muted);
  background:#fff;
}

.pager{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  margin: 16px 0 10px;
}
.btn{
  border:1px solid var(--border);
  background:#fff;
  border-radius: 10px;
  padding: 10px 12px;
  cursor:pointer;
}
.btn:disabled{ opacity: 0.5; cursor:not-allowed; }

/* Sidebar */
.sidebar{ display:flex; flex-direction:column; gap: 14px; }
.side-card{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 14px;
}
.side-title{ margin: 0 0 10px; font-size: 16px; }
.side-links{ list-style:none; margin: 0; padding: 0; display:flex; flex-direction:column; gap: 8px; }
.side-text{ margin: 0 0 6px; color: var(--muted); }
.side-email{ font-weight: 700; }

.back{ display:inline-block; margin: 8px 0 14px; }

.post-wrap{ max-width: 900px; }
.post{
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  background:#fff;
}
.post-title{ margin: 10px 0 12px; font-size: 34px; }
.post-cover{
  width:100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin: 12px 0 6px;
}
.post-content p{ margin: 0 0 12px; }
.post-content ul{ margin: 0 0 12px 18px; }

/* Responsive */
@media (max-width: 980px){
  .layout{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .article{ grid-template-columns: 1fr; }
  .thumb img{ width: 100%; height: 180px; }
}
.cta-box{
  margin-top:24px;
  padding:20px;
  border-radius:12px;
  background:#f5f7fb;
  border:1px solid #e6e6e6;
}
.primary-btn{
  display:inline-block;
  margin-top:10px;
  padding:12px 18px;
  background:#0a58ca;
  color:#fff;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
}
.primary-btn:hover{
  background:#084298;
}
/* Centered single-column post */
.post-centered{
  max-width: 860px;   /* adjust: 760–980 depending on your taste */
  margin: 0 auto;     /* centers the post block */
}