.page-terms-conditions {
  padding-top: 10px; /* Small top padding, main body handles header offset */
  background-color: #F5F7FA;
  color: #333333;
  font-family: sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 20px;
  background-color: #E53935;
  padding: 0;
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  width: 100%;
  max-width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-terms-conditions__hero-content {
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Adjust to sit over the image bottom */
  background-color: rgba(229, 57, 53, 0.85); /* Semi-transparent main color */
  border-radius: 8px;
  z-index: 1;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative; /* Ensure it's above the image */
}

.page-terms-conditions__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.page-terms-conditions__description {
  font-size: 1.1rem;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #F5F7FA;
}

.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: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 250px;
  margin: 0 auto;
}

.page-terms-conditions__cta-button:hover {
  opacity: 0.9;
}

.page-terms-conditions__content-section {
  padding: 30px 0;
}

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

.page-terms-conditions__section-title {
  font-size: 2rem;
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-terms-conditions__section-title:first-of-type {
  margin-top: 0;
}

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

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

.page-terms-conditions__list-item {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.page-terms-conditions__action-area {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #E0E0E0;
  text-align: center;
}

.page-terms-conditions__action-text {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #333333;
  font-weight: 600;
}

.page-terms-conditions__cta-button--bottom {
  max-width: 300px;
}

@media (max-width: 849px) {
  .page-terms-conditions__hero-content {
    margin-top: -100px;
    padding: 15px;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

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

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

  .page-terms-conditions__section-title {
    font-size: 1.8rem;
  }

  .page-terms-conditions__paragraph,
  .page-terms-conditions__list-item {
    font-size: 1rem;
  }

  .page-terms-conditions__hero-image {
    height: 300px;
  }
}

@media (max-width: 549px) {
  .page-terms-conditions__hero-content {
    margin-top: -80px;
    padding: 10px;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(1.2rem, 7vw, 2rem);
  }

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

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

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

  .page-terms-conditions__paragraph,
  .page-terms-conditions__list-item {
    font-size: 0.95rem;
  }

  .page-terms-conditions__cta-button {
    width: 100%;
    max-width: 200px;
  }

  .page-terms-conditions__cta-button--bottom {
    max-width: 250px;
  }

  .page-terms-conditions__hero-image {
    height: 250px;
  }

  .page-terms-conditions__hero-section img {
    max-width: 100%;
    height: auto;
  }
  .page-terms-conditions__content-section img {
    max-width: 100%;
    height: auto;
  }
}