.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF; /* Ensures consistency with body background if any local background is applied */
}

.page-terms-conditions__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Minimum height for hero section */
  padding-bottom: 40px; /* Add some padding at the bottom */
}

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

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text readability */
  border-radius: 10px;
  color: #FFFFFF;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFFFFF;
  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;
}

.page-terms-conditions__hero-cta, .page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Black text for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__hero-cta:hover, .page-terms-conditions__cta-button:hover {
  background-color: #e0a53b;
}

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

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

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

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

.page-terms-conditions__paragraph a {
  color: #FCBC45; /* Highlight links */
  text-decoration: none;
  font-weight: bold;
}

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

.page-terms-conditions__section-image {
  width: 100%;
  max-width: 800px; /* Ensure images don't exceed content width */
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__link-button {
  display: inline-block;
  background-color: #000000; /* Primary color */
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.page-terms-conditions__link-button:hover {
  background-color: #333333;
}

.page-terms-conditions__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #f8f8f8;
  border-radius: 8px;
}

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

/* 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.5em;
  }

  .page-terms-conditions__paragraph {
    font-size: 0.95em;
  }

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

  /* Ensure all content area images are responsive and don't overflow */
  .page-terms-conditions__hero-image, 
  .page-terms-conditions__section-image {
    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-cta, .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}