/* ===== 공통: 블로그 페이지 레이아웃 ===== */

body {
  background: #fff;
  color: #111;
}

.page-blog {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 40px);
}

/* ===== 블로그 섹션 ===== */

.section-blog {
  padding: 60px 0 120px;
}

.blog-inner {
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 180px;
  box-sizing: border-box;
}

/* 제목 영역 */
.blog-head {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #b3b2b2;
}

.blog-title {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ===== 카드 그리드 (3 x 3) ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 60px;
  margin-top: 80px;
  margin-bottom: 60px;
}

.blog-card {
  list-style: none;
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 썸네일 */
.blog-thumb {
  width: 100%;
  height: 270px;
  border-radius: 12px;
  background: #e2e2e2;
  margin-bottom: 16px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 카드 텍스트 */
.blog-card-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 550;
  color: #222;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
  line-height: 1.5;
}

.blog-card-date {
  margin: 0;
  font-size: 16px;
  color: #777;
}

/* ===== 페이지네이션 ===== */

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.page-btn,
.page-num {
  border: none;
  background: transparent;
  min-width: 24px;
  height: 24px;
  padding: 0 4px;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #555;
  cursor: pointer;
}

.page-btn--edge {
  font-size: 16px;
}

.page-num.is-active {
  color: #ff5900;
}

/* ===== Footer (원본 동일) ===== */

.site-footer {
  background: #000;
  color: #fff;
  padding: 50px 0 36px;
  font-size: 13px;
}

.footer-inner {
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 180px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "logo cols"
    ".    bottom";
  column-gap: 240px;
}

/* 이하 동일 (푸터는 그대로 사용) */
