.page-terms-conditions {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header height */
  }
}

.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Minimum height for hero section */
  padding: 60px 20px;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability, but not changing its color */
}

.page-terms-conditions__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFB300; /* Gold for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #E44D26; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-terms-conditions__hero-button:hover {
  background-color: #FFB300; /* Auxiliary brand color on hover */
  transform: translateY(-2px);
}

.page-terms-conditions__content-area {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff; /* White background for content readability */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #E44D26; /* Main brand color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFB300;
  padding-bottom: 10px;
}

.page-terms-conditions__sub-title {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

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

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

.page-terms-conditions__image-inline {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 10px;
  border: 1px dashed #E44D26;
}

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

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FFB300; /* Auxiliary brand color */
  color: #333333;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-terms-conditions__cta-button:hover {
  background-color: #E44D26; /* Main brand color on hover */
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-title {
    font-size: 2em;
  }

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

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

  .page-terms-conditions__sub-title {
    font-size: 1.2em;
  }

  .page-terms-conditions__content-area {
    margin: 20px auto;
    padding: 15px;
  }

  .page-terms-conditions__image-inline {
    max-width: 100%;
    height: auto;
  }
  
  /* Ensure no horizontal scroll on mobile for content area */
  .page-terms-conditions {
    overflow-x: hidden;
  }
  .page-terms-conditions__content-area {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-terms-conditions__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}