/* components.css */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.post-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.post-title a {
  text-decoration: none;
  color: var(--text-main);
}

.post-title a:hover {
  color: var(--primary-color);
}

.post-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.post-excerpt {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-read-more {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-read-more:hover {
  background-color: var(--primary-hover);
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: 1.1rem;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 4px;
}

/* 작성자 공통 아바타 (오렌지 그라데이션 + 3D 번개) */
.author-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  /* 사용자가 원했던 오렌지 계열 그라데이션 복구 */
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
  box-shadow: 0 4px 15px rgba(255, 126, 95, 0.4);
  font-size: 2.2rem;
  flex-shrink: 0;
  margin: 0 auto 16px auto;
  /* 번개 이모지에 3D 입체 효과 부여 (그림자 중첩) */
  text-shadow: 2px 4px 5px rgba(0, 0, 0, 0.4), 
               -3px -3px 4px rgba(255, 255, 255, 1.0),
               -1px -1px 1px rgba(255, 255, 255, 0.9);
}
