/* ===== CONTENT — SEO article + STICKY TOC =====
   Flowing layout (NOT scaled-stage) so the TOC can be position:sticky.
   Sizes use calc(100vw*px/1920) to visually match the scaled neighbours
   at every viewport width. Figma node ~ homepage content block. */
.cnt { background: transparent; padding: calc(100vw * 70 / 1920) 0 calc(100vw * 96 / 1920); }

.cnt__wrap {
  width: calc(100vw * 1246 / 1920);
  margin: 0 auto;
  display: flex;
  direction: rtl;           /* article (right) → divider → TOC (left) */
  align-items: flex-start;
  gap: calc(100vw * 34 / 1920);
}

/* ---------- Article (right column) — white card on grey ---------- */
.cnt__article {
  flex: 1 1 auto; min-width: 0; background: #fff; border-radius: 8px;
  padding: calc(100vw * 44 / 1920) calc(100vw * 48 / 1920);
}
.cnt__title {
  font-size: calc(100vw * 42 / 1920); line-height: calc(100vw * 48 / 1920);
  font-weight: 400; color: #000; text-align: right;
  margin-bottom: calc(100vw * 24 / 1920);
}
.cnt__lead {
  font-size: calc(100vw * 21 / 1920); line-height: calc(100vw * 30 / 1920);
  color: var(--basic-black); text-align: right;
}
.cnt__lead p + p { margin-top: calc(100vw * 16 / 1920); }
.cnt__why {
  font-size: calc(100vw * 26 / 1920); font-weight: 600; color: #000; text-align: right;
  margin: calc(100vw * 30 / 1920) 0 calc(100vw * 24 / 1920);
  display: inline-block;
}
.cnt__why::after {
  content: ""; display: block; height: 2px; background: #b58d41;
  margin-top: calc(100vw * 7 / 1920); width: 100%;
}
.cnt__bullet {
  position: relative; padding-right: calc(100vw * 24 / 1920); text-align: right;
  margin-bottom: calc(100vw * 26 / 1920); scroll-margin-top: calc(100vw * 170 / 1920);
}
.cnt__bullet::before {
  content: ""; position: absolute; right: 0; top: calc(100vw * 9 / 1920);
  width: calc(100vw * 7 / 1920); height: calc(100vw * 7 / 1920);
  background: #b58d41; transform: rotate(45deg);
}
.cnt__bullet h4 {
  font-size: calc(100vw * 21 / 1920); font-weight: 700; line-height: calc(100vw * 26 / 1920);
  color: var(--basic-black); margin-bottom: calc(100vw * 8 / 1920);
}
.cnt__bullet p {
  font-size: calc(100vw * 21 / 1920); font-weight: 400; line-height: calc(100vw * 26 / 1920);
  color: var(--basic-black);
}

/* ---------- Divider ---------- */
.cnt__divider { display: none; }

/* ---------- TOC (left column) — STICKY ---------- */
.cnt__toc {
  flex: 0 0 calc(100vw * 360 / 1920);
  position: sticky;
  top: calc(100vw * 150 / 1920 + 20px);   /* clear the fixed header */
  background: #fff; border: 1px solid #ececec; border-radius: 4px;
  box-shadow: 0 8px 28px rgba(7,28,55,.06);
  padding: calc(100vw * 20 / 1920) calc(100vw * 27 / 1920) calc(100vw * 22 / 1920);
}
.cnt__toc-head { display: flex; align-items: center; justify-content: space-between; }
.cnt__toc-title { font-size: calc(100vw * 24 / 1920); font-weight: 700; color: #000; }
.cnt__toc-caret {
  width: calc(100vw * 11 / 1920); height: calc(100vw * 11 / 1920);
  border-right: 2px solid #b58d41; border-bottom: 2px solid #b58d41; transform: rotate(45deg);
}
.cnt__toc-rule { display: block; height: 1px; background: #e2e2e2; margin: calc(100vw * 16 / 1920) 0 0; }
.cnt__toc-list { counter-reset: toc; list-style: none; margin-top: calc(100vw * 16 / 1920); padding: 0; }
.cnt__toc-list li {
  counter-increment: toc; position: relative; padding-right: calc(100vw * 26 / 1920);
  margin-bottom: calc(100vw * 14 / 1920);
  font-size: calc(100vw * 21 / 1920); line-height: calc(100vw * 24 / 1920);
  text-align: right; color: #000; transition: color .2s, font-weight .2s;
}
.cnt__toc-list li::before { content: counter(toc) "."; position: absolute; right: 0; font-size: calc(100vw * 18 / 1920); }
.cnt__toc-list li a { color: inherit; }
.cnt__toc-list li:hover { color: var(--gold-deep); }
.cnt__toc-list li.is-reading { color: var(--gold-deep); font-weight: 700; }

/* ===== Mobile (<1024) — stack, collapsible TOC on top, no sticky ===== */
@media (max-width: 1024px) {
  .cnt { padding: 30px 0 36px; }
  .cnt__wrap { width: auto; flex-direction: column; gap: 0; padding: 0 16px; }
  .cnt__divider { display: none; }
  .cnt__toc {
    order: -1; position: static; flex: none; width: auto; margin: 0 0 22px;
    padding: 0; overflow: hidden; cursor: pointer;
  }
  .cnt__toc-head { padding: 16px 18px; }
  .cnt__toc-title { font-size: 19px; }
  .cnt__toc-caret { width: 11px; height: 11px; transition: transform .25s; }
  .cnt__toc.open .cnt__toc-caret { transform: rotate(225deg); }
  .cnt__toc-rule { display: none; }
  .cnt__toc-list { max-height: 0; overflow: hidden; transition: max-height .3s ease; margin: 0; padding: 0 18px; }
  .cnt__toc.open .cnt__toc-head { border-bottom: 1px solid #ececec; }
  .cnt__toc.open .cnt__toc-list { max-height: 600px; padding: 14px 18px 18px; }
  .cnt__toc-list li { font-size: 16px; line-height: 22px; padding-right: 22px; margin-bottom: 12px; }
  .cnt__toc-list li::before { font-size: 14px; }

  .cnt__title { font-size: 26px; line-height: 1.22; margin-bottom: 14px; }
  .cnt__lead { font-size: 16px; line-height: 25px; }
  .cnt__lead p + p { margin-top: 12px; }
  .cnt__why { font-size: 21px; margin: 22px 0 16px; }
  .cnt__bullet { padding-right: 20px; margin-bottom: 18px; scroll-margin-top: 90px; }
  .cnt__bullet h4 { font-size: 17px; line-height: 22px; }
  .cnt__bullet p { font-size: 16px; line-height: 23px; }
}
