.blog-head { padding: 56px 0 40px; }
.blog-head h1 { font-size: clamp(46px, 6vw, 76px); line-height: 1; letter-spacing: -.035em; }
.blog-head .lede { margin-top: 18px; }

.blog-list { display: grid; gap: 20px; padding-bottom: 96px; }
.card { background: #fff; border-radius: 24px; padding: 32px 36px; box-shadow: var(--shadow); max-width: 860px; }
.card h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; }
.card h2 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover { color: var(--deep); text-decoration: underline; }
.card > p { color: var(--muted); margin-top: 12px; }

.post__meta { color: var(--muted); font-size: 15px; margin-top: 16px; }
.post__meta b { color: var(--ink); font-weight: 700; }

.post { padding: 28px 0 96px; }
.post__crumbs { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.post__crumbs a { color: var(--muted); }
.post__head { max-width: 900px; margin-top: 28px; }
.post__head h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -.03em; }
.post__summary { font-size: 21px; line-height: 1.6; max-width: 40em; margin-top: 32px; }

.post__example { margin: 44px 0 0; background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--shadow); max-width: 1000px; }
.post__pair { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; }
.post__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.post__photos img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; background: #F4F4F2; width: 100%; }
.post__example .ex__arrow { margin: 0; }
.post__example .vcard { box-shadow: none; border-radius: 12px; }
.post__example figcaption { color: var(--muted); font-size: 15px; margin-top: 16px; }

.post__body { display: grid; grid-template-columns: minmax(0, 720px) 240px; justify-content: space-between; gap: 64px; margin-top: 64px; }
.post__toc { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 100px; border: 1.5px solid var(--line); border-radius: 20px; padding: 20px 22px; }
.post__toc h2 { font: 800 16px/1.2 var(--display); letter-spacing: 0; }
.post__toc ol { margin: 14px 0 0; padding-left: 18px; display: grid; gap: 10px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.post__toc a { color: var(--muted); text-decoration: none; }
.post__toc a:hover { color: var(--deep); text-decoration: underline; }

.prose { grid-column: 1; grid-row: 1; min-width: 0; }
.prose section + section { margin-top: 56px; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.12; scroll-margin-top: 96px; }
.prose h3 { font-size: 21px; margin-top: 32px; }
.prose p, .prose ul, .prose ol { margin: 18px 0 0; }
.prose ul, .prose ol { padding-left: 24px; display: grid; gap: 10px; }
.prose li::marker { color: var(--deep); font-weight: 700; }
.prose code { font-size: .9em; background: var(--ramune-tint); border-radius: 6px; padding: 1px 6px; }
.post__more { margin-top: 56px !important; font-weight: 700; }

@media (max-width: 960px) {
  .post__body { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
  .post__toc { grid-column: 1; position: static; }
  .prose { grid-row: 2; }
}
@media (max-width: 860px) {
  .blog-head { padding: 36px 0 28px; }
  .card { padding: 24px; border-radius: 20px; }
  .post__summary { font-size: 19px; margin-top: 24px; }
  .post__example { padding: 14px; border-radius: 20px; margin-top: 32px; }
  .post__pair { grid-template-columns: 1fr; gap: 12px; }
  .post__photos { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .post__photos img { border-radius: 8px; }
  .post__example .ex__arrow { transform: rotate(90deg); width: 26px; justify-self: center; }
}
