.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
  padding-bottom: 40px;
}

.page-terms-conditions__top-section {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 10px 20px 40px;
  text-align: center;
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-terms-conditions__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em); /* Use clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__top-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-terms-conditions__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-terms-conditions__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-terms-conditions__btn--secondary {
  background: #ffffff; /* Card BG */
  color: #E53935; /* Primary color */
  border: 2px solid #E53935;
}

.page-terms-conditions__btn--secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-terms-conditions__article-wrap {
  max-width: 900px;
  margin: 30px auto 0;
  background-color: #ffffff; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  box-sizing: border-box;
}

.page-terms-conditions__content-area {
  padding: 0;
}

.page-terms-conditions__article h2,
.page-terms-conditions__article h3 {
  color: #E53935; /* Primary color */
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-terms-conditions__section-title {
  font-size: 1.8em;
  font-weight: 700;
  border-bottom: 2px solid #FF5A4F;
  padding-bottom: 10px;
}

.page-terms-conditions__sub-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #333333; /* Text Main */
}

.page-terms-conditions__article p {
  margin-bottom: 1em;
  font-size: 1em;
  color: #333333; /* Text Main */
}

.page-terms-conditions__article ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 1em;
  color: #333333; /* Text Main */
}

.page-terms-conditions__article li {
  margin-bottom: 0.5em;
  color: #333333; /* Text Main */
}

.page-terms-conditions__figure {
  margin: 25px 0;
  text-align: center;
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.page-terms-conditions__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin: 0 auto;
}

.page-terms-conditions__figcaption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

.page-terms-conditions__promo-box {
  background: #FFF3E0; /* Light orange background for promo */
  border: 1px solid #FFCC80;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  margin-top: 40px;
}

.page-terms-conditions__promo-title {
  font-size: 1.8em;
  color: #E53935; /* Primary color */
  margin-bottom: 15px;
}

.page-terms-conditions__promo-text {
  font-size: 1.1em;
  color: #333333; /* Text Main */
  margin-bottom: 25px;
}

.page-terms-conditions__promo-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-terms-conditions__article-wrap {
    padding: 25px;
    margin: 20px auto 0;
  }
  .page-terms-conditions__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }
  .page-terms-conditions__description {
    font-size: 1em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.6em;
  }
  .page-terms-conditions__sub-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-terms-conditions__top-section {
    padding-top: 10px !important; /* Small top padding */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-terms-conditions__main-title {
    font-size: clamp(1.5em, 6vw, 2em) !important;
    margin-bottom: 15px;
  }
  .page-terms-conditions__description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }
  .page-terms-conditions__top-cta {
    flex-direction: column;
    gap: 10px;
  }
  /* 4. 按钮与按钮容器 */
  .page-terms-conditions__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 0.95em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-terms-conditions__promo-cta {
    flex-direction: column;
    gap: 10px;
  }
  
  /* 2. 单栏长文容器 */
  .page-terms-conditions__article-wrap {
    margin: 20px 15px 0 !important;
    padding: 20px !important;
    border-radius: 8px;
    max-width: calc(100% - 30px) !important; /* Account for 15px padding on main */
    width: calc(100% - 30px) !important;
  }
  .page-terms-conditions__section-title {
    font-size: 1.5em;
    padding-bottom: 8px;
  }
  .page-terms-conditions__sub-title {
    font-size: 1.2em;
  }
  .page-terms-conditions__article p,
  .page-terms-conditions__article li {
    font-size: 0.95em;
  }

  /* 3. 通用图片与 figure */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-terms-conditions__figure {
    margin: 20px 0;
    padding: 8px;
  }
  .page-terms-conditions__figcaption {
    font-size: 0.85em;
  }

  .page-terms-conditions__promo-box {
    padding: 25px;
    margin-top: 30px;
  }
  .page-terms-conditions__promo-title {
    font-size: 1.6em;
  }
  .page-terms-conditions__promo-text {
    font-size: 1em;
  }
}