/* 블로그(원본 wholesale·series 섹션의 선·카드·eyebrow 톤을 그대로 따름) */

/* 메인의 "최신 블로그 글" — 원본 .wholesale-grid(4칸 선 격자)를 3칸으로 */
.blog-latest-grid {
  grid-template-columns: repeat(3, 1fr);
}

.blog-latest-card,
.blog-latest-empty {
  min-height: 220px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  align-content: space-between;
  gap: 18px;
  transition: background .2s ease;
}

.blog-latest-empty {
  grid-column: 1 / -1;
  min-height: 160px;
  align-content: center;
  text-align: center;
}

.blog-latest-card:hover,
.blog-latest-card:focus-visible {
  background: #f7f7f8;
}

.blog-latest-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.blog-latest-card span {
  color: var(--accent);
  font-family: "Podlers Modern", "Exo 2", "Arial Black", Arial, sans-serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 800;
}

.blog-latest-card strong,
.blog-latest-empty strong {
  font-size: 21px;
  line-height: 1.25;
}

.blog-latest-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 15px;
  line-height: 1.5;
}

.blog-latest-more {
  margin: 28px 0 0;
  text-align: center;
}

.blog-latest-more a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

/* 404 쪽(v3) */
.not-found-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* 목록 페이지 */
.blog-list {
  align-content: start;
  padding-top: 150px;
}

.blog-list .section-head h1 {
  margin: 0;
  font-family: "Podlers Modern", "Aptos Display", "Segoe UI Variable Display", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(38px, 6vw, 92px);
  line-height: 1.02;
}

.series-grid .blog-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.series-grid .blog-card img {
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 8px;
}

/* v3: 목록 카드 제목 h3 → h2(제목 순서 h1 → h2). 모양은 원본 h3 그대로 */
.series-grid .blog-card .blog-card-title {
  margin: 0;
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: pretty;
}

.blog-card-date {
  color: var(--accent);
  font-family: "Podlers Modern", "Exo 2", "Arial Black", Arial, sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 800;
}

.blog-card-more {
  font-weight: 800;
}

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
}

/* 글 페이지 */
.blog-post {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 150px clamp(20px, 5vw, 40px) 100px;
}

.blog-post-head h1 {
  margin: 0;
  font-family: "Podlers Modern", "Aptos Display", "Segoe UI Variable Display", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
}

.blog-post-summary {
  color: var(--muted);
}

.blog-post-cover {
  margin: 36px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-post-cover img {
  width: 100%;
  height: auto; /* v3: width/height 속성(흔들림 방지)이 있어도 비율 유지 */
  max-height: 560px;
  object-fit: cover;
}

.blog-body h2 {
  margin: 48px 0 12px;
  font-size: clamp(28px, 3.4vw, 40px);
}

.blog-body h3,
.blog-body h4 {
  margin: 32px 0 8px;
}

/* v3: 제목 단계를 h2부터 맞추되(md-dN = 예전 단계) 화면 모양은 예전 그대로 */
.blog-body h2.md-d3 {
  margin: 32px 0 8px;
  font-size: 25px;
  line-height: normal;
}

.blog-body h3.md-d4 {
  font: inherit;
  font-weight: 700;
}

.blog-body p,
.blog-body li {
  font-size: 18px;
  line-height: 1.75;
}

.blog-body a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

.blog-body figure {
  margin: 28px 0;
}

.blog-body img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.blog-body figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.blog-body blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
}

.blog-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

.blog-post-back {
  margin-top: 56px;
}

.blog-post-back a {
  font-weight: 800;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

@media (max-width: 880px) {
  .blog-latest-grid {
    grid-template-columns: 1fr;
  }
  .blog-list {
    padding-top: 120px;
  }
  .blog-post {
    padding-top: 120px;
  }
}
