/* Blog pages. Builds on work/case.css (palette, header, hero band, CTA, footer). */
.bar nav a[aria-current="page"] { color: var(--ink); }

.post-hero { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.post-hero h1 { max-width: 20ch; }
.post-hero .case-hero__summary { max-width: 52ch; }
.post-meta { margin-top: 1.4rem; color: var(--band-soft); font-family: var(--font-display); font-size: 0.92rem; font-weight: 500; }

/* ---------- article body ---------- */
.post-body { max-width: 42rem; margin-top: clamp(2.5rem, 6vw, 4rem); color: var(--olive-deep); font-size: 1.08rem; line-height: 1.72; }
.post-body > * + * { margin-top: 1.1rem; }
.post-body h2 {
  margin-top: 2.6rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48, "wdth" 90;
  font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.post-body h3 { margin-top: 1.8rem; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.post-body strong { color: var(--ink); }
.post-body a { color: var(--ink); text-decoration-color: var(--olive); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.post-body a:hover { text-decoration-color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 1.3rem; }
.post-body li + li { margin-top: 0.45rem; }
.post-body li::marker { color: var(--olive); font-weight: 700; }
.post-body blockquote { padding-left: 1.1rem; border-left: 3px solid var(--olive); color: var(--ink); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }

/* ---------- post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.25rem; }
.post-grid--index { margin-top: clamp(2.5rem, 6vw, 4rem); }
.post-card {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  border-radius: 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.post-card__meta { color: var(--olive); font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; }
.post-card h2 { font-family: var(--font-display); font-variation-settings: "opsz" 48, "wdth" 88; font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.12; letter-spacing: -0.015em; }
.post-card p { color: var(--olive-deep); font-size: 0.98rem; }
.post-card .go { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 0.4rem; font-family: var(--font-display); font-weight: 600; }
.post-card .go svg { transition: transform 0.3s var(--ease); }
.post-card:hover .go svg { transform: translateX(4px); }

.related { margin: clamp(3.5rem, 8vw, 5rem) 0 clamp(3rem, 7vw, 5rem); }
.related .block-title { margin-bottom: 1.2rem; }
.post-grid--index + .cta-card { margin-bottom: clamp(3rem, 7vw, 5rem); }

.post-service { max-width: 42rem; margin-top: 2rem; padding: 1rem 1.25rem; border-radius: 1rem; background: var(--card-bg); border: 1px solid var(--border); color: var(--olive-deep); }
.post-service a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* ---------- service pages ---------- */
.svc-hero-cta { margin-top: 1.8rem; }
.svc-section { margin-top: clamp(3rem, 7vw, 4.5rem); }
.svc-section .block-title { margin-bottom: 1.2rem; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.25rem; }
.svc-item { padding: 1.4rem; border-radius: 1.25rem; background: var(--card-bg); border: 1px solid var(--border); }
.svc-item h3, .svc-steps h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.svc-item p, .svc-steps p { margin-top: 0.4rem; color: var(--olive-deep); font-size: 0.98rem; }
.svc-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; }
.svc-steps li { counter-increment: step; padding-top: 1rem; border-top: 2px solid var(--ink); }
.svc-steps li::before { content: "0" counter(step); display: block; margin-bottom: 0.4rem; color: var(--olive); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.svc-end { height: clamp(3rem, 7vw, 5rem); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 48rem; border-top: 1px solid var(--border-strong); }
.faq-item { border-bottom: 1px solid var(--border-strong); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 3.5rem; padding: 1rem 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 500; color: var(--olive); transition: transform 0.3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 1.2rem; max-width: 62ch; color: var(--olive-deep); }

/* ---------- footer service links ---------- */
.footer-services { display: flex; flex-wrap: wrap; column-gap: 1.25rem; }
.footer-services a { color: var(--olive-pale); text-decoration: none; }
.footer-services a:hover { color: var(--ink); }
