/*==================== EE88 - Dieu Khoan Su Dung ====================*/
.page-terms-conditions {
  background: #F5F7FA;
  color: #333333;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  padding: 0;
  margin: 0;
}

.page-terms-conditions a {
  color: #E53935;
}

.page-terms-conditions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #F5F7FA 100%);
  padding-top: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.page-terms-conditions__hero-image {
  width: 100%;
  max-width: 1020px;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.page-terms-conditions__hero-content {
  text-align: center;
  max-width: 860px;
  margin: 14px auto 0;
  width: 100%;
  padding: 0 16px;
}

.page-terms-conditions__hero-title {
  color: #E53935;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin: 0 auto 8px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.page-terms-conditions__hero-subtitle {
  color: #333333;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.page-terms-conditions__btn-register {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff !important;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 5px 12px rgba(229, 57, 53, 0.35);
}

.page-terms-conditions__btn-register:hover {
  opacity: 0.9;
}

/*----------------------- Info Section -----------------------*/
.page-terms-conditions__info-section { padding: 20px 0; }
.page-terms-conditions__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-terms-conditions__info-title,
.page-terms-conditions__policy-title,
.page-terms-conditions__regulation-title,
.page-terms-conditions__conduct-title,
.page-terms-conditions__compensation-title {
  color: #E53935;
  font-weight: 700;
  margin-bottom: 10px;
  border-left: 6px solid #FF5A4F;
  padding-left: 16px;
}

.page-terms-conditions__paragraph {
  color: #333333;
  margin-bottom: 16px;
  text-align: justify;
}

.page-terms-conditions__link-inline {
  color: #E53935;
  text-decoration: underline;
  font-weight: 600;
}

/*----------------------- Policy Section -----------------------*/
.page-terms-conditions__policy-section { padding: 10px 0 20px; }

/*----------------------- Image Banner -----------------------*/
.page-terms-conditions__image-banner-section {
  text-align: center;
  padding: 10px 0 15px;
}

.page-terms-conditions__image-banner {
  width: 400px;
  max-width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: inline-block;
}

/*----------------------- Regulation & Conduct & Compensation-----------------------*/
.page-terms-conditions__regulation-section,
.page-terms-conditions__conduct-section,
.page-terms-conditions__compensation-section { padding: 15px 0; }

.page-terms-conditions__conduct-list {
  margin-left: 24px;
  margin-bottom: 20px;
  color: #333333;
}

.page-terms-conditions__conduct-item {
  padding: 4px 0;
}

/*----------------------- CTA Section-----------------------*/
.page-terms-conditions__cta-section {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  padding: 0 0 40px;
  text-align: center;
  margin: 25px 0;
}

.page-terms-conditions__cta-content {
  padding: 30px 16px;
}

.page-terms-conditions__cta-title {
  color: #ffffff;
  font-weight: 800;
  max-width: 700px;
  margin: 0 auto 10px;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.page-terms-conditions__cta-subtitle {
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto 24px;
  opacity: 0.95;
}

.page-terms-conditions__btn-download {
  display: inline-block;
  padding: 12px 38px;
  background: #ffffff;
  color: #E53935 !important;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__btn-download:hover {
  background: #ffeceb;
}

/*----------------------- Guide Section-----------------------*/
.page-terms-conditions__guide-section {
  background: #FFFFFF;
  padding: 25px 0 30px;
  border-radius: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-terms-conditions__guide-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-terms-conditions__guide-title {
  text-align: center;
  color: #E53935;
  font-weight: 700;
  margin-bottom: 22px;
}

.page-terms-conditions__guide-figure {
  margin: 0 0 20px;
}

.page-terms-conditions__guide-image {
  display: block;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto;
}

.page-terms-conditions__faq-detail {
  background: #F5F7FA;
  border-left: 3px solid #E53935;
  border-radius: 6px;
  padding: 7px 12px;
  margin: 8px 0;
}

.page-terms-conditions__faq-question {
  color: #333333;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.page-terms-conditions__faq-question::-webkit-details-marker { display: none; }

.page-terms-conditions__faq-icon {
  background: #E53935;
  color: #ffffff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-left: 12px;
}

.page-terms-conditions__faq-answer {
  margin: 10px 0 4px;
  color: #444;
  border-top: 1px dashed #E0E0E0;
  padding-top: 10px;
}

.page-terms-conditions__update-note {
  font-size: 0.9rem;
  color: #777;
  background: #fff3f2;
  padding: 10px;
  border-radius: 5px;
  margin: 12px 0 0;
}

/*----------------------- Responsive: Tablet / Mobile -----------------------*/
@media (max-width: 768px) {
  .page-terms-conditions__hero-section { padding-top: 10px; }

  .page-terms-conditions__hero-image {
    aspect-ratio: 2 / 1;
    max-height: none;
  }

  .page-terms-conditions__hero-title {
    font-size: 1.9rem;
  }

  .page-terms-conditions__hero-subtitle {
    font-size: 0.98rem;
    padding: 0 6px;
  }

  .page-terms-conditions__btn-register {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: auto;
  }

  .page-terms-conditions__info-section,
  .page-terms-conditions__policy-section,
  .page-terms-conditions__regulation-section,
  .page-terms-conditions__conduct-section,
  .page-terms-conditions__compensation-section { padding: 10px 0; }

  .page-terms-conditions__image-banner {
    max-width: 100%;
    height: auto;
  }

  .page-terms-conditions__cta-subtitle {
    font-size: 0.95rem;
  }

  .page-terms-conditions__btn-download {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-terms-conditions__guide-section {
    margin: 0 10px;
  }

  .page-terms-conditions__guide-inner {
    padding: 0 10px;
  }

  .page-terms-conditions__guide-title {
    font-size: 1.5rem;
  }

  .page-terms-conditions__guide-figure,
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }

  .page-terms-conditions__faq-question { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-title { font-size: 1.5rem; }

  .page-terms-conditions__hero-subtitle { font-size: 0.9rem; }

  .page-terms-conditions__btn-register,
  .page-terms-conditions__btn-download {
    font-size: 0.95rem;
    padding: 10px 20px;
    white-space: normal;
    width: 100%;
  }

  .page-terms-conditions__container { padding: 0 10px; }

  .page-terms-conditions__cta-section { padding: 0 0 20px; }
}

/*----------------------- Desktop max-width 1024px (fix for flex inner width)-----------------------*/
@media (min-width: 1025px) {
  .page-terms-conditions__hero-content {
    max-width: 860px;
    width: 100%;
  }
}