.page-terms-conditions {
  background-color: #F5F7FA;
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding as per rules */
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width for desktop */
  margin-bottom: 20px;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-terms-conditions__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #FFFFFF;
  /* No fixed font-size, rely on responsive scaling */
}

.page-terms-conditions__description {
  font-size: 1.15em;
  margin-bottom: 30px;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__content-section {
  padding: 40px 20px;
}

.page-terms-conditions__container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
  color: #E53935;
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #E0E0E0;
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  color: #333333;
}

.page-terms-conditions__highlight {
  font-weight: bold;
  color: #E53935;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-terms-conditions__list-item {
  margin-bottom: 10px;
}

.page-terms-conditions__link {
  color: #FF5A4F;
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__link:hover {
  text-decoration: underline;
}

.page-terms-conditions__image-wrapper {
  margin: 20px 0;
  text-align: center;
}

.page-terms-conditions__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-terms-conditions__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px dashed #E0E0E0;
}

.page-terms-conditions__cta-text {
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #E53935;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-image-wrapper {
    margin-bottom: 15px;
  }

  .page-terms-conditions__hero-content {
    padding: 0 15px;
  }

  .page-terms-conditions__main-title {
    font-size: 2em; /* Adjusted for smaller screens */
    line-height: 1.3;
  }

  .page-terms-conditions__description {
    font-size: 1em;
  }

  .page-terms-conditions__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-terms-conditions__container {
    padding: 20px;
  }

  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }

  .page-terms-conditions__list {
    margin-left: 15px;
  }

  .page-terms-conditions__content-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content images do not overflow on mobile */
  .page-terms-conditions__content-section img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__main-title {
    font-size: 1.7em;
  }

  .page-terms-conditions__description {
    font-size: 0.9em;
  }

  .page-terms-conditions__section-title {
    font-size: 1.3em;
  }

  .page-terms-conditions__cta-text {
    font-size: 1em;
  }
}