/* === 블로그 포스트 가독성 개선 === */
.entry-content {
  font-size: 16.5px;
  line-height: 1.95;
  color: #2d2d2d;
  word-break: keep-all;
}
.entry-content p {
  margin-bottom: 22px;
}
.entry-content h2 {
  margin-top: 52px;
  margin-bottom: 18px;
  padding: 14px 0 14px 18px;
  border-left: 5px solid #0066cc;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8f9ff 100%);
  border-radius: 0 8px 8px 0;
  font-size: 21px;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: -0.3px;
}
.entry-content h2:first-of-type {
  margin-top: 28px;
}
.entry-content figure {
  margin-top: 16px;
  margin-bottom: 16px;
}
.entry-content div[style*="display:flex"] {
  margin: 28px 0 !important;
}
.entry-content div[style*="background:#f0f4ff"] {
  box-shadow: 0 2px 8px rgba(0,102,204,0.08);
}

/* === 1. 본문 최대 너비 제한 (한 줄 40자) === */
.entry-content {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* === 3. 해시태그 뱃지/칩 스타일 === */
.entry-content p:last-of-type {
  line-height: 2.4;
}
.entry-content p:last-of-type a[href*="naver"],
.entry-content p:last-of-type a[href*="kakao"] {
  /* 링크는 뱃지 제외 */
}

/* === 4. 첫 문단 리드 강조 === */
.entry-content > p:first-of-type {
  font-size: 18px;
  color: #1a1a2e;
  font-weight: 500;
  line-height: 1.85;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 20px;
  margin-bottom: 28px;
}

/* === 3. 해시태그 뱃지/칩 스타일 === */
.entry-content p.hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  margin-bottom: 24px;
  line-height: 1.4;
}
.entry-content .htag {
  display: inline-block;
  background: #f0f4ff;
  color: #0055aa;
  font-size: 13.5px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid #d0ddf0;
  white-space: nowrap;
  transition: background 0.2s;
}
.entry-content .htag:hover {
  background: #dbe6ff;
}
/* === 페이지네이션 스타일 === */
.pagination-wrap {
  text-align: center;
  margin: 28px 0 12px;
}
.pagination-wrap ul {
  list-style: none;
  display: inline-flex;
  gap: 4px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination-wrap li {
  display: inline-block;
}
.pagination-wrap .page-numbers {
  display: inline-block;
  min-width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 1px solid #d0ddf0;
  border-radius: 6px;
  color: #0055aa;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  padding: 0 10px;
}
.pagination-wrap .page-numbers:hover {
  background: #f0f4ff;
  border-color: #0066cc;
}
.pagination-wrap .page-numbers.current {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
  font-weight: 700;
}
.pagination-wrap .page-numbers.prev,
.pagination-wrap .page-numbers.next {
  font-weight: 600;
}
.pagination-wrap .page-numbers.dots {
  border: none;
  pointer-events: none;
}