

.p-post {
  --po-rule: var(--line);
  --po-rule-2: var(--line-2);
  --po-measure: 68ch;
}

.p-post .po-head {
  padding: 52px 0 38px;
  background: var(--cream);
  border-bottom: 1.5px solid var(--po-rule-2);
}
.p-post .po-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
}
.p-post .po-crumbs a { color: var(--ink-2); text-decoration: none; text-underline-offset: 3px; transition: color .16s var(--ease); }
.p-post .po-crumbs a:hover { color: var(--accent); text-decoration: underline; }

.p-post .po-title {
  margin: 18px 0 0;
  max-width: 22ch;
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.035em;
  color: var(--ink);
}
.p-post .po-stand {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
}
.p-post .po-by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-3);
}
.p-post .po-by__who { font-weight: 700; color: var(--ink); }
.p-post .po-by__sep { color: var(--ink-3); }
.p-post .po-by__soon {
  padding: 3px 10px;
  border: 1px solid var(--po-rule-2);
  border-radius: var(--pill);
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.p-post .po-grid {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 48px 0 20px;
}
.p-post .po-rail { position: sticky; top: 104px; }

.p-post .po-toc__t {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ink);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.p-post .po-toc ol {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: decimal;
  color: var(--ink-3);
}
.p-post .po-toc li { margin-bottom: 9px; font-size: 14px; line-height: 1.42; }
.p-post .po-toc a { color: var(--ink-2); text-decoration: none; text-underline-offset: 3px; transition: color .16s var(--ease); }
.p-post .po-toc a:hover { color: var(--accent); text-decoration: underline; }

.p-post .po-aside {
  margin-top: 30px;
  padding: 22px 20px 20px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--r);
}
.p-post .po-aside__t {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.p-post .po-aside__p {
  margin: 9px 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.p-post .po-body { max-width: var(--po-measure); }
.p-post .po-body > p,
.p-post .po-body > ul,
.p-post .po-body > ol,
.p-post .po-body > blockquote,
.p-post .po-body > figure,
.p-post .po-body > table {
  margin: 0 0 22px;
}
.p-post .po-body p {
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--ink-2);
}
.p-post .po-body .po-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
}
.p-post .po-body strong { color: var(--ink); font-weight: 700; }
.p-post .po-body a { color: var(--accent); text-underline-offset: 3px; }

.p-post .po-body h2 {
  margin: 44px 0 14px;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.028em;
  color: var(--ink);
  scroll-margin-top: 100px;
}
.p-post .po-body h3 {
  margin: 32px 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
  scroll-margin-top: 100px;
}

.p-post .po-anchor {
  margin-left: 8px;
  font-weight: 400;
  color: var(--ink-3);
  text-decoration: none;
  opacity: 0;
  transition: opacity .14s var(--ease);
}
.p-post .po-body h2:hover .po-anchor,
.p-post .po-body h3:hover .po-anchor,
.p-post .po-anchor:focus { opacity: 1; }

.p-post .po-body ul,
.p-post .po-body ol { padding-left: 24px; }
.p-post .po-body li {
  margin-bottom: 9px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.p-post .po-body li:last-child { margin-bottom: 0; }
.p-post .po-body blockquote {
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
}
.p-post .po-body blockquote p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
}

.p-post .po-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 15.5px;
}
.p-post .po-body th,
.p-post .po-body td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--po-rule);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.p-post .po-body th {
  border-bottom: 1.5px solid var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.p-post .po-body td { color: var(--ink-2); }
.p-post .po-body figcaption { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }

.p-post .po-faq { margin-top: 52px; padding-top: 34px; border-top: 1.5px solid var(--ink); }
.p-post .po-faq h2 { margin-top: 0; }
.p-post .po-faq__i { border-bottom: 1px solid var(--po-rule); }
.p-post .po-faq__i summary {
  padding: 16px 34px 16px 0;
  position: relative;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.42;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color .16s var(--ease);
}
.p-post .po-faq__i summary::-webkit-details-marker { display: none; }
.p-post .po-faq__i summary:hover,
.p-post .po-faq__i[open] summary { color: var(--accent); }
.p-post .po-faq__i summary:focus-visible { outline-offset: 4px; border-radius: var(--r-sm); }
.p-post .po-faq__i summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-3);
  transition: color .16s var(--ease);
}
.p-post .po-faq__i summary:hover::after { color: var(--accent); }
.p-post .po-faq__i[open] summary::after { content: "\2212"; }
.p-post .po-faq__a { padding: 0 0 18px; }
.p-post .po-faq__a p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.p-post .po-faq__a p:last-child { margin-bottom: 0; }

.p-post .po-cta {
  margin-top: 52px;
  padding: 34px 32px 32px;
  background: var(--ink);
  border-radius: var(--r-lg);
  color: var(--ink-inv);
}
.p-post .po-cta__k {
  margin: 0;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.p-post .po-cta__t {
  margin: 10px 0 0;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.028em;
  color: #fff;
}
.p-post .po-cta__p { margin: 12px 0 0; font-size: 16px; line-height: 1.62; color: var(--ink-inv-2); }
.p-post .po-cta__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.p-post .po-next { padding: 62px 0 84px; background: var(--paper); border-top: 1px solid var(--po-rule); }
.p-post .po-next__t {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.p-post .po-next__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}
.p-post .po-next__c {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px 22px;
  background: var(--white);
  border: 1px solid var(--po-rule);
  border-top: 3px solid var(--ink);
  border-radius: 0 0 var(--r) var(--r);
  text-decoration: none;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .22s var(--ease);
}
.p-post .po-next__c:hover { transform: translateY(-3px); border-color: var(--po-rule-2); box-shadow: var(--sh-sm); }
.p-post .po-next__k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
}
.p-post .po-next__h {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--ink);
}
.p-post .po-next__p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.p-post .po-next__m { margin-top: auto; padding-top: 8px; font-size: 12.5px; color: var(--ink-3); }

.p-post .po-cats {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--po-rule-2);
}
.p-post .po-cats__t {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.p-post .po-cats__t a { color: var(--ink); }
.p-post .po-cats__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.p-post .po-cats__a {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid var(--po-rule-2);
  border-radius: var(--pill);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color .16s var(--ease), color .16s var(--ease), background-color .16s var(--ease);
}
.p-post .po-cats__a:hover { border-color: var(--accent); color: var(--accent); }
.p-post .po-cats__a.is-on { background: var(--ink); border-color: var(--ink); color: var(--ink-inv); }

@media (max-width: 980px) {

  .p-post .po-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 34px; }
  .p-post .po-rail { position: static; }
  .p-post .po-toc {
    padding: 18px 20px 6px;
    background: var(--paper);
    border: 1px solid var(--po-rule);
    border-radius: var(--r);
  }
  .p-post .po-aside { margin-top: 20px; }
  .p-post .po-body { max-width: none; }
}

@media (max-width: 620px) {
  .p-post .po-head { padding: 38px 0 28px; }
  .p-post .po-stand { font-size: 17px; }
  .p-post .po-body p, .p-post .po-body li { font-size: 17px; }
  .p-post .po-body h2 { font-size: 24px; margin-top: 36px; }
  .p-post .po-cta { padding: 26px 20px 24px; }
  .p-post .po-cta__t { font-size: 23px; }

  .p-post .po-body .po-t th { white-space: normal; font-size: 13px; }
  .p-post .po-body .po-t { font-size: 16px; }

  .p-post .po-body .po-t--cards { overflow-x: visible; }

  .p-post .po-body .po-t--cards thead { display: none; }
  .p-post .po-body .po-t--cards tbody { display: grid; gap: 12px; }
  .p-post .po-body .po-t--cards tr {
    display: block;
    padding: 14px 16px 12px;
    background: var(--white);
    border: 1px solid var(--po-rule);
    border-left: 3px solid var(--ink);
    border-radius: 0 var(--r) var(--r) 0;
  }
  .p-post .po-body .po-t--cards td {
    display: grid;
    grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
    gap: 2px 14px;
    padding: 5px 0;
    border-bottom: 0;
    font-size: 16px;
    line-height: 1.45;
  }
  .p-post .po-body .po-t--cards td::before {
    content: attr(data-l);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ink-3);
  }

  .p-post .po-body .po-t--cards td[data-l=""] {
    display: block;
    margin-bottom: 6px;
    padding: 0 0 9px;
    border-bottom: 1px solid var(--po-rule);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
  }
  .p-post .po-body .po-t--cards td[data-l=""]::before { content: none; }
  .p-post .po-body .po-t--cards tbody tr:last-child td { padding-bottom: 5px; }
  .p-post .po-body .po-t--cards tbody tr:last-child td[data-l=""] { padding-bottom: 9px; }

  .p-post .po-crumbs { gap: 4px; margin-bottom: -6px; }
  .p-post .po-crumbs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  .p-post .po-crumbs [aria-hidden="true"] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .p-post .po-aside .btn { min-height: 44px; }
  .p-post .po-cta__row { gap: 10px; }
  .p-post .po-cta__row .btn { flex: 1 1 100%; }

  .p-post .po-toc ol { padding-left: 0; list-style: none; counter-reset: po-toc; }
  .p-post .po-toc li { margin-bottom: 0; counter-increment: po-toc; }
  .p-post .po-toc a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0 8px 26px;
  }
  .p-post .po-toc a::before {
    content: counter(po-toc) ".";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--ink-3);
  }
  .p-post .po-cats { padding-top: 10px; }
  .p-post .po-cats__t a { display: inline-flex; align-items: center; min-height: 44px; }
  .p-post .po-cats__list { gap: 10px; margin-top: 4px; }
  .p-post .po-cats__a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 0;
  }

  .p-post .po-toc__t,
  .p-post .po-cta__k { font-size: 12px; }
  .p-post .po-next__m,
  .p-post .po-cats__t { font-size: 13px; }
  .p-post .po-next__p { font-size: 14px; }
  .p-post .po-faq__a p { font-size: 16px; }
}

@media print {
  .p-post .po-rail, .p-post .po-cta, .p-post .po-next { display: none; }
  .p-post .po-grid { display: block; }
  .p-post .po-head { background: none; }
}

.p-post .po-body .po-cta__k { color: rgba(255, 255, 255, .55); }
.p-post .po-body .po-cta__t { color: #fff; }
.p-post .po-body .po-cta__p { color: rgba(255, 255, 255, .74); }
.p-post .po-body .po-cta__p a { color: #9db8ff; }
.p-post .po-body .po-cta .btn--primary { color: #fff; }
.p-post .po-body .po-cta .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.p-post .po-body .po-cta .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
