/* style/promotions.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại biến đó */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Thêm flex-direction: column để đảm bảo ảnh trên, văn bản dưới */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn var(--header-offset) */
  box-sizing: border-box;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Giới hạn chiều rộng của hình ảnh */
  margin-bottom: 30px; /* Khoảng cách giữa ảnh và nội dung */
  box-sizing: border-box;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Sử dụng clamp cho kích thước font H1 */
  font-weight: 700;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__intro-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main */
}

/* General Section Styling */
.page-promotions__section {
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-promotions__dark-bg {
  background-color: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
}

.page-promotions__light-bg {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__section-title {
  font-size: 2.5rem;
  color: #FF8C1A; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-promotions__paragraph {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF3E6; /* Text Main */
}

.page-promotions__highlight {
  color: #FFA53A; /* Auxiliary color */
  font-weight: bold;
}

.page-promotions__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* CTA Button Styles */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Đảm bảo nút không tràn */
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(255, 165, 58, 0.4);
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 165, 58, 0.6);
}

.page-promotions__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Primary color */
  border: 2px solid #A84F0C; /* Border color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-secondary:hover {
  background: #FF8C1A; /* Primary color */
  color: #ffffff;
  border-color: #FF8C1A;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 140, 26, 0.4);
}

/* Promotion Cards */
.page-promotions__promotion-card {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #FFF3E6; /* Text Main */
}

.page-promotions__card-title {
  font-size: 1.8rem;
  color: #FF8C1A; /* Primary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__card-text {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
  flex-grow: 1; /* Đảm bảo văn bản chiếm không gian */
}

.page-promotions__card-button {
  align-self: flex-end; /* Nút ở cuối thẻ */
}

/* Steps List */
.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions__steps-list .page-promotions__list-item {
  background-color: #17191F; /* Card BG */
  border-left: 5px solid #FF8C1A; /* Primary color */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: #FFF3E6; /* Text Main */
}

.page-promotions__list-title {
  font-size: 1.5rem;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-promotions__list-text {
  font-size: 1rem;
  color: #FFF3E6; /* Text Main */
}

.page-promotions__link {
  color: #FF8C1A; /* Primary color */
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__link:hover {
  text-decoration: underline;
}

/* Terms List */
.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions__terms-list .page-promotions__list-item {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: #FFF3E6; /* Text Main */
}

/* Advantages List */
.page-promotions__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-promotions__advantages-list .page-promotions__list-item {
  background-color: #17191F; /* Card BG */
  border-left: 5px solid #FFA53A; /* Auxiliary color */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: #FFF3E6; /* Text Main */
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 30px;
}

.page-promotions__faq-item {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6; /* Text Main */
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FF8C1A; /* Primary color */
  cursor: pointer;
  background-color: #17191F; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.1); /* Slight hover effect */
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #FFA53A; /* Auxiliary color */
}

.page-promotions__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #FFF3E6; /* Text Main */
  max-height: 0; /* Cho JS */
  overflow: hidden; /* Cho JS */
  transition: max-height 0.3s ease-out, padding-top 0.3s ease-out; /* Cho JS */
}

/* For <details> native behavior */
.page-promotions__faq-item[open] .page-promotions__faq-answer {
  max-height: 2000px; /* Đủ lớn để chứa nội dung */
  padding-top: 15px;
}