.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-terms-conditions__hero-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

.page-terms-conditions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for contrast */
  color: #ffffff;
  padding: 20px;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for emphasis */
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 900px;
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.5;
}

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A0A0A; /* Dark text on gold button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-terms-conditions__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.page-terms-conditions__section {
  margin-bottom: 30px;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #0A0A0A; /* Main dark color */
  margin-bottom: 20px;
  border-bottom: 3px solid #FFD700; /* Gold underline */
  padding-bottom: 10px;
}

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

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

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

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

.page-terms-conditions__link {
  color: #FFD700; /* Gold link */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 25px 0;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-terms-conditions__image--centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px; /* Max width for content images */
}

.page-terms-conditions__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #0A0A0A; /* Dark background for CTA */
  border-radius: 8px;
  color: #ffffff;
}

.page-terms-conditions__cta-text {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A0A0A; /* Dark text on gold button */
  padding: 18px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-terms-conditions__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

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

  .page-terms-conditions__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

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

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

  /* Mobile image scaling */
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

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

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

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

  .page-terms-conditions__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}