/* ===== BEM: page-terms-conditions__ ===== */
.page-terms-conditions {
  color: #333333;
  background: #FFFFFF;
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero Section */
.page-terms-conditions__hero-section {
  padding-top: 10px;
  background: #FFFFFF;
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  margin: 0 auto;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 17/5;
  object-fit: cover;
  display: block;
}

.page-terms-conditions__hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 16px;
  text-align: center;
}

.page-terms-conditions__main-title {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #017439;
  margin: 0 0 16px 0;
}

.page-terms-conditions__hero-description {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  max-width: 800px;
  margin: 0 auto 24px auto;
}

.page-terms-conditions__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;

}

.page-terms-conditions__button--primary {
  background: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-terms-conditions__button--primary:hover {
  background: #a00707;
  color: #FFFF00;
}

.page-terms-conditions__button--secondary {
  background: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-terms-conditions__button--secondary:hover {
  background: #a00707;
  color: #FFFF00;
}

/* Intro Section */
.page-terms-conditions__intro-section {
  padding: 24px 16px;
  background: #FFFFFF;
}

.page-terms-conditions__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-terms-conditions__intro-text {
  font-size: 17px;
  line-height: 1.7;
  color: #333333;
}

/* Content Section */
.page-terms-conditions__content-section {
  padding: 24px 16px;
  background: #FFFFFF;
}

.page-terms-conditions__content-grid {
  display: grid;
  gap: 24px;
}

.page-terms-conditions__article {
  background: #FFFFFF;
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.page-terms-conditions__heading {
  font-size: 24px;
  font-weight: 600;
  color: #017439;
  margin: 0 0 16px 0;
}

.page-terms-conditions__text {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  margin: 8px 0;
}


.page-terms-conditions__list {
  margin: 8px 0;
  padding-left: 20px;
}

.page-terms-conditions__list-item {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 8px;
}

.page-terms-conditions__link {
  color: #017439;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}

.page-terms-conditions__link:hover {
  color: #015830;
}

/* Guide Sections */
.page-terms-conditions__guide-section {
  padding: 16px 16px 48px;
  background: #F5F7FA;
}

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

.page-terms-conditions__guide-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 32px;
}

.page-terms-conditions__guide-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.page-terms-conditions__guide-figure {
  margin: 0;
  width: calc(50% - 12px);
  max-width: 500px;
}

.page-terms-conditions__guide-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 8px;
}

.page-terms-conditions__guide-caption {
  text-align: center;
  padding-top: 8px;
  color: #333333;
  font-size: 15px;
}

/* FAQ Sections */
.page-terms-conditions__faq-section {
  padding: 40px 16px;
  background: #FFFFFF;
}

.page-terms-conditions__faq-title {
  font-size: 28px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 32px;
}

.page-terms-conditions__faq-item {
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 5px 16px;
  margin-bottom: 12px;
  background: #FFFFFF;
}

.page-terms-conditions__faq-question {
  font-size: 18px;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  padding: 12px 0;
  list-style: none;
}

.page-terms-conditions__faq-answer {
  padding: 0 0 12px 0;
  line-height: 1.6;
  color: #333333;
}

/* CTA Section */
.page-terms-conditions__cta-section {
  padding: 48px 16px;
  background: #017439;
}

.page-terms-conditions__cta-title {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 8px;
}

.page-terms-conditions__cta-text {
  font-size: 18px;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 24px;
}

.page-terms-conditions__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

  .page-terms-conditions__hero-content {
    padding: 20px 16px;
  }

  .page-terms-conditions__main-title {
    font-size: 24px;
  }

  .page-terms-conditions__hero-actions,
  .page-terms-conditions__cta-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .page-terms-conditions__intro-section,
  .page-terms-conditions__content-section,
  .page-terms-conditions__faq-section {
    padding: 20px 12px;
  }

  .page-terms-conditions__article {
    padding: 16px;
  }

  .page-terms-conditions__guide-grid {
    flex-direction: column;
    gap: 16px;
  }

  .page-terms-conditions__guide-figure {
    width: 100%;
    max-width: 100%;
  }

  .page-terms-conditions__cta-section {
    padding: 32px 12px;
  }

  .page-terms-conditions img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-terms-conditions {
    max-width: 100%;
    overflow-x: hidden;
  }
}