/* Stable styles for ops-published blog articles (mirrors site slate look). */
:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --line: #334155;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent2: #06b6d4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: #60a5fa; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #1e293b;
  background: #020617;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.brand img { height: 32px; width: auto; }
.site-header nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: #fff; }
.hero {
  position: relative;
  height: 24rem;
  overflow: hidden;
  background: #0f172a;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0f172a, rgba(15, 23, 42, 0.75), transparent);
  display: flex;
  align-items: flex-end;
}
.hero-inner { width: min(56rem, 100%); margin: 0 auto; padding: 2rem 1.25rem; }
.chips { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
.chip {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
}
.muted { color: var(--muted); }
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
}
.byline { margin: 0; color: #cbd5e1; }
.article { width: min(56rem, 100%); margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.blog-content h2 { margin-top: 2rem; font-size: 1.5rem; }
.blog-content h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.blog-content p, .blog-content li { color: #e2e8f0; }
.blog-content ul { padding-left: 1.25rem; }
.author-box {
  margin-top: 3rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  gap: 1rem;
  align-items: center;
}
.author-box img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  background: #1e293b;
  border-radius: 999px;
  padding: 0.4rem;
}
.author-box h3 { margin: 0 0 0.35rem; }
.author-box p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.related-title { margin: 3rem 0 1rem; font-size: 1.5rem; }
.related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.7);
}
.related-card h3 { margin: 0.5rem 0; font-size: 1.05rem; color: #fff; }
.related-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.related-card .meta { margin-top: 0.65rem; font-size: 0.8rem; color: #64748b; }
.cta {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.18), rgba(6, 182, 212, 0.18));
}
.cta h2 { margin: 0 0 0.5rem; }
.cta p { color: var(--muted); }
.btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
}
.site-footer {
  border-top: 1px solid #1e293b;
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer a { color: var(--muted); }
@media (max-width: 640px) {
  .hero { height: 18rem; }
  .site-header { flex-direction: column; align-items: flex-start; }
}
