/* 라면특가행사 페이지 전용 스타일 */

.ramen-event-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 50px;
  margin: 50px auto;
  align-items: center;
  justify-content: center;
}

.ramen-event-card {
  width: 330px;
  height: 300px;
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.ramen-event-card:hover {
  transform: translateY(-10px);
}

.promotion-card__image {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: top center;
}

.promotion-card__image img {
  display: none;
}

.promotion-card__content {
  padding: 18px;
}

.promotion-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-light);
}

.promotion-card__category {
  color: var(--primary-color);
  font-weight: 700;
}

.promotion-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
  white-space: nowrap; /* 텍스트를 한 줄로 유지 */
  overflow: hidden; /* 넘치는 텍스트 숨김 */
  text-overflow: ellipsis; /* 넘치는 텍스트를 말줄임표로 표시 */
}

/* 더보기 버튼은 components.css의 btn-more 클래스 사용 */

/* 반응형 스타일 */
@media (max-width: 1023px) {
  .ramen-event-content {
    padding: 0 24px;
  }
}

@media (max-width: 767px) {
  .ramen-event-content {
    gap: 30px;
    padding: 0;
  }

  .page-title h2 {
    font-size: var(--font-size-2xl);
  }

  .page-title p {
    font-size: var(--font-size-sm);
  }
}
