/* Axiovex Systems blog — brand-matched additions (base styles come from /styles.v16.css) */

/* ---------- Blog header ---------- */
.blog-hero { text-align: center; padding: 72px 0 16px; }
.blog-hero h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.02em; margin-bottom: 14px; }
.blog-hero .lede { max-width: 640px; margin: 0 auto; }

/* ---------- Search ---------- */
.blog-search-wrap { max-width: 560px; margin: 28px auto 8px; position: relative; }
#blog-search {
  width: 100%;
  background: rgba(247, 252, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 14px 22px 14px 48px;
}
#blog-search::placeholder { color: var(--faint); }
#blog-search:focus { outline: none; border-color: rgba(0, 222, 246, 0.55); }
.blog-search-wrap::before {
  content: "";
  position: absolute; left: 20px; top: 50%;
  width: 16px; height: 16px;
  transform: translateY(-50%);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300DEF6' stroke-width='2.4'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  opacity: 0.85;
  pointer-events: none;
}
#post-count { text-align: center; color: var(--faint); font-size: 14px; margin: 10px 0 0; }
#no-results { text-align: center; color: var(--muted); padding: 32px 0; }

/* ---------- Post cards ---------- */
#post-list {
  display: grid;
  gap: 20px;
  max-width: 860px;
  margin: 32px auto 0;
  padding-bottom: 24px;
}
.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
  background: rgba(247, 252, 255, 0.02);
  text-align: center;
  transition: transform 0.18s ease, border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: rgba(0, 222, 246, 0.45); }
.post-card h2 { font-size: 24px; letter-spacing: -0.01em; margin: 10px 0 12px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--cyan); }
.post-date {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.post-desc { color: var(--muted); font-size: 16px; margin: 0 0 16px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.tag-pill {
  font: inherit;
  font-size: 13px;
  color: var(--cyan);
  background: rgba(0, 222, 246, 0.08);
  border: 1px solid rgba(0, 222, 246, 0.25);
  border-radius: 999px;
  padding: 5px 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
a.tag-pill:hover, button.tag-pill:hover { background: rgba(0, 222, 246, 0.16); }
.read-more { color: var(--cyan); font-weight: 600; text-decoration: none; }
.read-more:hover { text-decoration: underline; }

/* ---------- Single article ---------- */
.post-article { max-width: 760px; margin: 0 auto; padding: 56px 0 24px; text-align: left; }
.post-article h1 { font-size: clamp(30px, 4.6vw, 44px); letter-spacing: -0.02em; margin: 12px 0 18px; line-height: 1.2; text-align: center; max-width: none; }
.post-article .post-date { text-align: center; }
.post-article .post-tags { margin-bottom: 26px; justify-content: center; }
.post-body { text-align: left; margin-top: 36px; font-size: 17px; line-height: 1.75; color: rgba(247, 252, 255, 0.88); }
.post-body h2 { font-size: 26px; letter-spacing: -0.01em; margin: 40px 0 14px; color: var(--ink); text-align: left; }
.post-body h3 { font-size: 20px; margin: 32px 0 10px; color: var(--ink); text-align: left; }
.post-body h4 { font-size: 17px; margin: 24px 0 8px; color: var(--ink); text-align: left; }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px 4px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body li ul, .post-body li ol { margin: 8px 0 4px; }
.post-body a { color: var(--cyan); }
.post-body blockquote {
  border-left: 3px solid var(--cyan);
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  color: var(--muted);
  font-style: italic;
}
.post-body blockquote p { margin-bottom: 10px; }
.post-body hr { border: 0; border-top: 1px solid var(--hairline); margin: 36px auto; max-width: 240px; }
.post-body img { max-width: 100%; height: auto; border-radius: 10px; display: block; margin: 24px auto; }
.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(0, 222, 246, 0.1);
  border-radius: 6px;
  padding: 2px 7px;
}
.post-body pre {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 0 0 22px;
}
.post-body pre code { background: none; padding: 0; font-size: 14px; }
.table-wrap { overflow-x: auto; margin: 0 0 22px; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.post-body th { background: rgba(0, 222, 246, 0.08); color: var(--ink); font-weight: 700; }
.post-body td { color: rgba(247, 252, 255, 0.85); }
.post-footer { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--hairline); text-align: left; }
.post-footer > p { color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.post-footer .share-row { justify-content: flex-start; }
.back-link { margin-top: 36px; text-align: left; }
.back-link a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.back-link a:hover { text-decoration: underline; }

/* ---------- Share buttons ---------- */
.share-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 4px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(247, 252, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease;
}
.share-btn:hover { border-color: rgba(0, 222, 246, 0.55); transform: translateY(-2px); background: rgba(0, 222, 246, 0.08); }
.share-btn svg { width: 16px; height: 16px; fill: var(--cyan); flex: none; }
.share-btn.copied { border-color: rgba(0, 222, 246, 0.7); }
.share-btn.copied svg { fill: #37e08b; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .post-card { padding: 26px 22px 24px; }
  .post-article { padding-top: 40px; }
  .share-row { gap: 8px; }
  .share-btn span { display: none; }
  .share-btn { padding: 9px 10px; }
  .share-btn svg { width: 15px; height: 15px; }
  .blog-hero { padding-top: 56px; }
}
