/* ==========================================================================
   Promotion Page
   ========================================================================== */

.promotion-main {
  /* background-color: var(--g-100); */
}

/* Title section */
.promotion-title {
  padding: var(--hero-pt) var(--page-px) var(--page-pb);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid var(--g-200);
}

.promotion-title__headline {
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-weight: 600;
  font-size: var(--fs-hero);
}

.promotion-title__headline .bl {
  padding-top: 0;
  font-weight: 600;
  font-size: var(--fs-hero);
}

.promotion-title__desc {
  font-size: var(--fs-body);
  color: var(--g-600);
}

/* PROMOTION section title */
.promotion-section {
  padding: 40px var(--page-px);
}

.promotion-section__title {
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

/* Promotion list */
.promotion-list {
  padding: 0 var(--page-px) 240px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 80px;
}

.promotion-list__row {
  display: contents;
}

/* Promotion card */
.promotion-card {
  min-width: 0;
}

.promotion-card.is-placeholder {
  opacity: 0;
  pointer-events: none;
}

.promotion-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.promotion-card__thumb {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  background-color: #4fa6f9;
}

.promotion-card__thumb--placeholder {
  background-color: #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promotion-card__placeholder-text {
  font-size: var(--fs-subtitle);
  font-weight: 600;
  color: var(--g-500);
  text-transform: uppercase;
}

.promotion-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promotion-card__body {
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.promotion-card__title {
  font-size: var(--fs-subtitle-sm);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--bl);
}

.promotion-card__desc {
  font-size: var(--fs-detail);
  line-height: 1.5;
  color: var(--g-600);
}

/* Floating SNS */
.promotion-sns {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 80px;
  align-items: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.promotion-sns__btn {
  width: 60px;
  height: 60px;
  border-radius: 50px;
  background-color: var(--wh);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promotion-sns__btn img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* [수정] footer 공통 스타일은 common.css로 이동 */

/* Responsive */
@media (max-width: 1024px) {
  .promotion-title__headline,
  .promotion-title__headline .bl {
    font-size: var(--fs-hero);
  }

  .promotion-section {
    padding: 32px var(--page-px);
  }

  .promotion-section__title {
    font-size: var(--fs-hero);
  }
  /* [수정] .promotion-list__section-title — HTML에 없는 클래스, 제거 */

  .promotion-list {
    padding: 0 var(--page-px) 120px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 60px;
  }

  .promotion-card.is-placeholder {
    display: none;
  }

  .promotion-card__thumb {
    height: 200px;
  }

  .promotion-card__thumb--placeholder {
    height: 240px;
  }

  .promotion-card__body {
    padding: 15px 0 0;
  }

  .promotion-card__title {
    font-size: var(--fs-subtitle-sm);
  }

  .promotion-card__desc {
    font-size: var(--fs-detail);
  }

  .promotion-sns {
    right: 20px;
    bottom: 20px;
    width: 56px;
    gap: 12px;
  }

  .promotion-sns__btn {
    width: 48px;
    height: 48px;
  }

  .promotion-sns__btn img {
    width: 24px;
    height: 24px;
  }

  /* [수정] footer 공통 스타일은 common.css로 이동 */
}

@media (max-width: 768px) {
  .promotion-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 48px;
  }
}
