/* blog */
.mk-blog-head { padding: clamp(56px, 7cqw, 112px) var(--gutter) clamp(24px, 2.5cqw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: flex-end; }
.mk-blog-head .mk-page-header { max-width: 760px; }
.mk-blog-head .mk-page-header-lede { font-size: 17px; line-height: 1.5; max-width: 540px; }
.mk-blog-aside { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.mk-blog-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-blog-cats a, .mk-blog-tags a { color: var(--ink); }
.mk-blog-cats a:hover, .mk-blog-tags a:hover { border-color: var(--ink); text-decoration: none; }
.mk-blog-cats a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mk-blog-meta { font-size: 13px; color: var(--ink-3); }

.mk-blog-list { padding: 0 var(--gutter) clamp(56px, 7cqw, 112px); }
.mk-blog-rows { display: flex; flex-direction: column; border-bottom: 1px solid var(--rule); }
.mk-blog-row { border-top: 1px solid var(--rule); }
.mk-blog-row > a { display: block; color: inherit; padding: clamp(24px, 2.6cqw, 36px) 0; }
.mk-blog-row > a:hover { color: inherit; text-decoration: none; }
.mk-blog-row > a:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.08em; }
.mk-blog-row-inner { display: flex; flex-wrap: wrap; gap: 12px clamp(24px, 4cqw, 72px); align-items: baseline; }
.mk-blog-row-title { flex: 1 1 280px; max-width: 520px; display: flex; flex-direction: column; gap: 8px; }
.mk-blog-row-title h2 { font-size: clamp(26px, 2.4cqw, 34px); line-height: 1.08; letter-spacing: -0.01em; }
.mk-blog-row-summary { flex: 1.2 1 340px; max-width: 620px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.mk-blog-list-foot { margin-top: 24px; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 620px; }

.mk-blog-post { padding: clamp(48px, 6cqw, 88px) var(--gutter) clamp(40px, 5cqw, 72px); display: flex; justify-content: center; }
.mk-blog-post .mk-article { width: 100%; }
.mk-blog-post .mk-blog-post-meta { margin: 0 0 10px; }
.mk-blog-post .mk-blog-byline { margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--ink-3); }
.mk-blog-post ul { list-style: disc; }
.mk-blog-post ol { list-style: decimal; }
.mk-blog-post pre { margin: 0 0 16px; padding: 16px; border: 1px solid var(--rule); border-radius: 8px; overflow: auto; background: var(--card); font-family: var(--f-mono); font-size: 13.5px; line-height: 1.6; }
.mk-blog-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); }

.mk-blog-related { padding: clamp(40px, 5cqw, 72px) var(--gutter) clamp(56px, 7cqw, 112px); border-top: 1px solid var(--rule); }
.mk-blog-related-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 48px; align-items: flex-end; margin-bottom: clamp(20px, 2cqw, 32px); }
.mk-blog-related-head h2 { font-size: clamp(26px, 2.4cqw, 34px); line-height: 1.1; }
.mk-blog-related-head a { font-size: 15px; }
.mk-blog-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 2.5cqw, 40px); }
.mk-blog-related-grid > :only-child { max-width: 620px; }
.mk-blog-related-card { display: flex; flex-direction: column; gap: 8px; color: inherit; border-top: 2px solid var(--ink); padding-top: 16px; }
.mk-blog-related-card:hover { color: inherit; text-decoration: none; }
.mk-blog-related-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.08em; }
.mk-blog-related-card h3 { font-size: clamp(22px, 1.8cqw, 26px); line-height: 1.15; }
.mk-blog-related-summary { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.mk-blog-related-foot { margin-top: 24px; font-size: 14px; color: var(--ink-3); }
