:root {
  --ink: #111;
  --paper: #F7F6F2;
  --muted: #686864;
  --line: #D7D6D0;
  --panel: #ECEBE6;
  --accent: #FFD84D;
  --font: 'Onest', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: var(--font); margin: 0; }
.hp-header, .hp-footer { margin-left: 0 !important; margin-right: 0 !important; }

/* ── Article wrapper ── */
.post-wrap {
  width: min(calc(100% - 96px), 740px);
  margin-inline: auto;
  padding: 64px 0 120px;
}
@media (max-width: 1100px) { .post-wrap { width: calc(100% - 64px); } }
@media (max-width: 600px) { .post-wrap { width: calc(100% - 32px); } }

/* ── Back link ── */
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 48px;
  transition: color .15s;
}
.post-back:hover { color: var(--ink); }

/* ── Article header ── */
.post-meta {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}
.post-title {
  font-family: var(--font);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--ink);
  margin: 0 0 32px;
}
.post-lead {
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 0 0 56px;
}

/* ── Article body ── */
.post-body { font-family: var(--font); }
.post-body h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 56px 0 16px;
}
.post-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 12px;
}
.post-body p {
  font-size: 17px;
  line-height: 1.78;
  color: #2a2a28;
  margin: 0 0 24px;
}
.post-body strong { color: var(--ink); }
.post-body a { color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; transition: border-color .15s; }
.post-body a:hover { border-color: var(--ink); }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 24px;
  margin: 40px 0;
}
.post-body blockquote p {
  font-size: 21px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}
.post-body img,
.post-body figure img,
.post-body .w-richtext-figure-type-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px 0;
}
.post-body figure { margin: 40px 0; }
.post-body figure div { line-height: 0; }
.post-body ul, .post-body ol {
  font-size: 17px;
  line-height: 1.78;
  color: #2a2a28;
  margin: 0 0 24px;
  padding-left: 24px;
}
.post-body li { margin-bottom: 8px; }
.post-body .image-blog { width: 100%; height: auto; display: block; border-radius: 10px; margin: 40px 0; }
.post-body .div-block-16 { margin: 40px 0; }
.post-body .div-block-16 img { width: 100%; height: auto; display: block; border-radius: 10px; }

/* ── Author card ── */
.post-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  background: var(--panel);
  border-radius: 12px;
  margin-top: 64px;
}
.post-author-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.post-author-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-author-name {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.post-author-role {
  font-family: var(--font);
  font-size: 13px;
  color: var(--muted);
  margin: 2px 0 0;
}

/* ── End navigation ── */
.post-end {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.post-end-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}
.post-end-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-end-text {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.post-end-link:hover .post-end-text { text-decoration: underline; }
