/* 블로그 섹션 전체 */
.blog-section {
  max-width: 1150px;
  margin: 50px auto;
  padding: 0 10px;
  text-align: center;
}

/* 타이틀 */
.blog-title-main {
  font-size: 2rem;
  font-weight: bold;
  color: #ffe052;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

/* 슬라이더 아이템 공통 */
.blog-card {
  background: rgba(32,32,24,0.92);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

/* 이미지 컨테이너 */
.blog-thumb {
  display: block;
  width: 100%;
  height: 200px; /* 필요시 높이 변경 가능 */
  overflow: hidden;
  padding: 0;      /* 여백 제거 */
  margin: 0;       /* 여백 제거 */
  border-radius: 0; /* 모서리 둥글기 제거하려면 0으로 */
}

/* 이미지 */
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 여백 없이 꽉 채움 */
  display: block;
}

/* 내용 */
.blog-content {
  padding: 15px;
  text-align: left;
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #ffecc9;
}

.blog-title a {
  color: inherit;
  text-decoration: none;
}

.blog-title a:hover {
  color: #ffd700;
}

.blog-desc {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 최대 3줄 */
  -webkit-box-orient: vertical;
}

/* 반응형 */
@media (max-width: 950px) {
  .blog-thumb { height: 180px; }
}

@media (max-width: 600px) {
  .blog-thumb { height: 160px; }
}
