/* promotion.css - Converted from Article.module.css */

.fixHeader {
  background-color: var(--ntl-blue-600);
  height: 56px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.promotionArticleContainer {
  margin-top: 64px;
  background-color: rgba(242, 246, 255, 1);
}

.promotionArticleContainer article {
  width: 100%;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.promotionArticleContainer article h1 {
  font-family: var(--font-sarabun);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--text-and-icon-primary);
}

.promotionArticleContainer article .promotionDate {
  width: 100%;
  padding: 8px 16px;
  background-color: var(--surface-tertiary);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.promotionArticleContainer article .promotionDate .promotionDateText {
  width: 176px;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

article .promotionDetail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

article .promotionInfo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

article .promotionInfo .promotionInfoDescription {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  gap: 32px;
  padding: 24px;
  background-color: white;
  border-radius: 24px;
  box-shadow: 0px 6px 15px 0px rgba(0, 77, 149, 0.08);
}

article .promotionInfo .promotionInfoDescription::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: rgba(191, 213, 254, 0.5);
}

article .promotionInfo .promotionInfoDescription .promotionInfoDescriptionItem {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 16px;
}

article .promotionCondition {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Tablet styles (min-width: 810px) */
@media (min-width: 810px) {
  article {
    gap: 24px;
  }

  article h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
  }

  article .promotionDate {
    width: 240px;
    margin: 0 auto;
  }

  article .promotionInfo .promotionInfoDescription {
    flex-direction: row;
    gap: 32px;
    padding: 24px;
  }

  article .promotionInfo .promotionInfoDescription::before {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
  }

  article .promotionInfo .promotionInfoDescription .promotionInfoDescriptionItem {
    width: 50%;
    gap: 16px;
  }
}

/* Desktop styles (min-width: 1200px) */
@media (min-width: 1200px) {
  .fixHeader {
    background-color: var(--ntl-blue-600);
    height: 131px;
    position: fixed;
    top: 0;
    left: 0;
  }

  .promotionArticleContainer {
    margin-top: 131px;
    background-color: rgba(242, 246, 255, 1);
  }

  article {
    width: 792px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }
}
