/* ============================================================
   AXONMED blog module — themed via the parent site's CSS vars
   (loads after ../styles.css)
   ============================================================ */

/* ---------- Blog index ---------- */
.blog-head { max-width: 60ch; padding: 72px 0 12px; }
.blog-head h1 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
}
.blog-head p { margin-top: 14px; font-size: 17px; color: var(--muted); }

.post-featured {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 0;
  margin: 44px 0 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.post-featured:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12); }
.post-featured figure { margin: 0; min-height: 340px; }
.post-featured img { width: 100%; height: 100%; object-fit: cover; }
.pf-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.post-chip {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
}
.pf-body h2 {
  margin-top: 16px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.28;
}
.pf-body > p { margin-top: 12px; font-size: 15.5px; color: var(--muted); max-width: 52ch; }
.pf-meta { margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.pf-read {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent);
}
.pf-read svg { transition: transform 0.3s var(--ease); }
.post-featured:hover .pf-read svg { transform: translateX(4px); }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 96px;
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post-card h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.post-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.post-card .pf-meta { margin-top: auto; padding-top: 8px; }

/* ---------- Post page ---------- */
.post-wrap { max-width: 780px; margin: 0 auto; padding: 64px 24px 96px; }
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.post-back:hover { color: var(--accent); }
.post-wrap h1 {
  margin-top: 22px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.22;
}
.post-meta { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.post-meta strong { color: var(--ink); font-weight: 600; }

.post-answer {
  margin-top: 34px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.post-answer .pa-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}
.post-answer p { font-size: 16.5px; line-height: 1.7; font-weight: 500; }

.post-body { margin-top: 20px; }
.post-body h2 {
  margin-top: 44px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.post-body p { margin-top: 14px; font-size: 16px; color: var(--muted); line-height: 1.75; }
.post-body ul { margin-top: 14px; display: grid; gap: 10px; padding-left: 2px; }
.post-body li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}
.post-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.post-body li strong { color: var(--ink); font-weight: 600; }

.post-faq { margin-top: 52px; }
.post-faq h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 16px; }

.post-author {
  margin-top: 52px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.post-author .au-label { font-size: 12.5px; font-weight: 800; color: var(--accent); }
.post-author h3 { margin-top: 8px; font-size: 17px; font-weight: 700; }
.post-author p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.6; }

.post-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.post-cta p { font-size: 15px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .post-featured { grid-template-columns: 1fr; }
  .post-featured figure { min-height: 240px; max-height: 300px; overflow: hidden; }
  .post-grid { grid-template-columns: 1fr; }
}
