/* 도킴랩스 블로그(/blog/). 첫 화면 style.css 위에 글 읽기 모양만 더한다 */

.masthead .blog-link {
  position: absolute;
  top: 50%;
  right: max(16px, calc((100% - 1080px) / 2 + 16px));
  transform: translateY(-50%);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.post {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 16px 40px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}

.post h1 {
  margin: 6px 0 22px;
  font-family: var(--serif);
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.35;
}

.post h2 {
  margin: 36px 0 12px;
  font-size: 21px;
  line-height: 1.4;
}

.post p,
.post ul,
.post ol {
  margin: 0 0 16px;
}

.post ul,
.post ol {
  padding-left: 1.3em;
}

.post li + li {
  margin-top: 4px;
}

.post a {
  color: var(--toss);
}

.post-meta {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.post-meta a {
  color: var(--ink-soft);
}

.post figure {
  margin: 22px 0;
  text-align: center;
}

.post figure img {
  max-width: min(100%, 420px);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--rule), 0 8px 20px -14px rgba(16, 24, 40, 0.5);
}

.post figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.post .note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  font-size: 16px;
}

.post .table {
  overflow-x: auto;
  margin: 0 0 18px;
}

.post table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.post th,
.post td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  white-space: nowrap;
}

.post th {
  background: var(--surface);
  font-weight: 700;
}

.post .try {
  margin: 32px 0;
  text-align: center;
}

.try-btn {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

/* 글 목록 */
.blog-list .lede {
  color: var(--ink-soft);
}

.posts {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0 !important;
  list-style: none;
}

.posts a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink) !important;
  text-decoration: none;
}

.posts strong {
  font-size: 18px;
  line-height: 1.45;
}

.posts span {
  font-size: 15px;
  color: var(--ink-soft);
}

.posts time {
  font-size: 13px;
  color: var(--ink-soft);
}
