.custom-blog-portal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.loading-spinner {
  text-align: center;
  padding: 40px;
  color: #888;
  width: 100%;
}

/* 히어로 섹션 */
.hero-header {
  text-align: center;
  margin-bottom: 40px;
}
.hero-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; }
.hero-header p { font-size: 1.1rem; color: #666; }

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

/* 카테고리 섹션 */
.category-block { margin-bottom: 60px; }
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #111;
  padding-bottom: 10px;
  margin-bottom: 24px;
}
.category-header h2 { font-size: 1.8rem; margin: 0; font-weight: 700; }
.more-link { color: #555; text-decoration: none; font-weight: 600; }
.more-link:hover { color: #000; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 공통 카드 디자인 */
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.card-thumb {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #f8f9fa;
}
.card-thumb.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ccc;
  font-weight: bold;
}
.card-info { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.badge { align-self: flex-start; background: #2563eb; color: #fff; padding: 4px 8px; font-size: 0.75rem; border-radius: 4px; margin-bottom: 12px; text-transform: uppercase; font-weight: bold; }
.title { font-size: 1.2rem; margin: 0 0 10px 0; font-weight: 700; line-height: 1.4; }
.excerpt { color: #666; font-size: 0.95rem; margin: 0 0 16px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex-grow: 1; }
.date { color: #999; font-size: 0.85rem; }

@media (max-width: 768px) {
  .hero-grid, .category-grid { grid-template-columns: 1fr; }
}