/* ============================================================
   layout-home-latest.css
   Home – Latest Posts Section (Layout Only)
   ============================================================ */

/* ------------------------------------------------------------
   홈페이지 dfl-posts-wrap (블로그와 동일한 구조)
------------------------------------------------------------ */
.home .dfl-posts-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
  background: var(--page-bg);
}

/* ------------------------------------------------------------
   Section Title (홈 전용)
------------------------------------------------------------ */
.home .dfl-posts-wrap .dfl-home-latest__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--text);
  text-align: left;
}

.home .dfl-posts-wrap .dfl-home-latest__desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
  text-align: left;
}

/* 모바일 반응형 */
@media (max-width: 640px) {
  .home .dfl-posts-wrap {
    padding: 40px 32px;
  }

  .home .dfl-post-grid {
    gap: 28px;
  }

  .home .dfl-post-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .home .dfl-posts-wrap .dfl-home-latest__title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .home .dfl-posts-wrap .dfl-home-latest__desc {
    font-size: 14px;
    margin-bottom: 24px;
  }
}

/* ------------------------------------------------------------
   dfl-home-explore (카테고리 / 전체 글 진입 경로)
------------------------------------------------------------ */
.dfl-home-explore {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 48px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
}

.dfl-home-explore__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dfl-home-explore__categories a,
.dfl-home-explore__all {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--dfl-border, #e5e7eb);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
}

.dfl-home-explore__all {
  font-weight: 600;
}
