@import url('event.css');

.promo-content {
  background: #fff;
  padding: 64px 24px 96px;
}

.promo-content-inner {
  position: relative;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.promo-floats {
  position: fixed;
  top: 50%;
  right: max(16px, calc((100vw - var(--content-max-width)) / 2 + 16px));
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-floats__online {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0F6055;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.promo-floats__top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.promo-section {
  margin-bottom: 72px;
}

.promo-section:last-child {
  margin-bottom: 0;
}

.promo-section__head {
  margin-bottom: 28px;
}

.promo-section__head .content-title-wrap {
  display: inline-block;
  margin-bottom: 12px;
}

.promo-section__title {
  margin: 0;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #011D20;
}

.promo-section__title-ko {
  display: inline-block;
}

.promo-section__title-en {
  margin-left: 0.35em;
}

.promo-section__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #111;
  letter-spacing: -0.02em;
}

.promo-section--brand .promo-section__lead {
  color: #666;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.promo-card {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  box-sizing: border-box;
}

.promo-card--media {
  padding: 16px 16px 0;
}

.promo-card__top {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 188px;
  padding: 24px 24px 22px;
  background: #fff;
  box-sizing: border-box;
}

.promo-card__thumb {
  flex: 0 0 148px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-card__thumb img {
  display: block;
  width: 100%;
  max-width: 148px;
  max-height: 210px;
  height: auto;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.promo-card__info {
  flex: 1;
  min-width: 0;
}

.promo-card__title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
  color: #111;
  letter-spacing: -0.02em;
}

.promo-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #666;
  letter-spacing: -0.02em;
}

.promo-card__divider {
  flex-shrink: 0;
  height: 1px;
  margin: 16px 0 0;
  background: #e0e0e0;
}

.promo-card__actions {
  display: flex;
  gap: 12px;
  padding: 16px 0 20px;
  box-sizing: border-box;
}

.promo-card__actions--single .promo-btn {
  flex: 1;
  max-width: none;
}

.promo-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border: none;
  border-radius: 0;
  background: #0F6055;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  letter-spacing: -0.02em;
}

.promo-btn:hover {
  background: #0F6055;
}

/* 브랜드 자료 카드 — 로고 상단 · 텍스트 · 다운로드 버튼 세로 배치 */
.promo-card--brand {
  padding: 16px;
  height: 100%;
}

.promo-card--brand .promo-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
  background: #fff;
  box-sizing: border-box;
}

.promo-card--brand .promo-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 240px;
  padding: 48px 32px 36px;
  box-sizing: border-box;
}

.promo-card--brand .promo-card__logo img {
  display: block;
  width: auto;
  height: 128px;
  max-width: min(100%, 320px);
  object-fit: contain;
  object-position: center;
}

.promo-card--brand .promo-card__info {
  flex-shrink: 0;
  padding: 0 28px 4px;
}

.promo-card--brand .promo-card__title {
  margin-bottom: 10px;
  font-size: 17px;
}

.promo-card--brand .promo-card__desc {
  font-size: 14px;
  line-height: 1.6;
}

.promo-card--brand .promo-card__actions {
  flex-shrink: 0;
  margin-top: auto;
  padding: 20px 28px 28px;
}

.promo-card--brand .promo-card__actions--single .promo-btn {
  width: 100%;
}

@media (max-width: 1024px) {
  .promo-floats {
    right: 16px;
  }

  .promo-grid {
    gap: 20px;
  }

  .promo-card--media .promo-card__top {
    padding: 24px 20px 20px;
    gap: 20px;
  }

  .promo-card--media .promo-card__thumb {
    flex-basis: 120px;
  }

  .promo-card--media .promo-card__thumb img {
    max-width: 120px;
    max-height: 180px;
  }

  .promo-card--brand .promo-card__inner {
    min-height: 340px;
  }

  .promo-card--brand .promo-card__logo {
    min-height: 180px;
    padding: 40px 24px 32px;
  }
}

@media (max-width: 767px) {
  .promo-content {
    padding: 40px 16px 72px;
  }

  .promo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .promo-card--media .promo-card__top {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 20px 16px 18px;
    gap: 16px;
  }

  .promo-card--media .promo-card__thumb {
    flex-basis: auto;
    width: 100%;
    justify-content: flex-start;
  }

  .promo-card--media .promo-card__thumb img {
    max-width: 120px;
    max-height: 170px;
  }

  .promo-card--media .promo-card__actions {
    flex-direction: column;
    padding: 16px 0 20px;
  }

  .promo-card--brand {
    padding: 12px;
  }

  .promo-card--brand .promo-card__inner {
    min-height: 320px;
  }

  .promo-card--brand .promo-card__logo {
    min-height: 200px;
    padding: 32px 20px 28px;
  }

  .promo-card--brand .promo-card__logo img {
    height: 112px;
    max-width: min(100%, 280px);
  }

  .promo-card--brand .promo-card__info {
    padding: 0 20px 4px;
  }

  .promo-card--brand .promo-card__actions {
    padding: 16px 20px 22px;
  }
}
