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

.page-terms-conditions__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

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

.page-terms-conditions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
  color: #FFFFFF;
}

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

.page-terms-conditions__section-container {
  padding: 20px;
}

.page-terms-conditions__section-heading {
  font-size: 2em;
  color: #000000; /* Main text color */
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #FCBC45; /* Accent border */
  padding-bottom: 5px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

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

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-terms-conditions__cta-button:hover {
  background-color: #e0a33c;
}

.page-terms-conditions__cta-link {
  display: inline-block;
  color: #FCBC45; /* Login button color */
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.page-terms-conditions__cta-link:hover {
  color: #e0a33c;
  text-decoration: underline;
}

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

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

  .page-terms-conditions__hero-description,
  .page-terms-conditions__paragraph,
  .page-terms-conditions__list-item {
    font-size: 1em;
  }

  .page-terms-conditions__section-heading {
    font-size: 1.7em;
  }

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

  .page-terms-conditions__hero-section {
    padding: 60px 15px 30px;
  }

  .page-terms-conditions__image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
  }
}

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

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

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

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