.page-terms-conditions {
  color: #ffffff; /* Text color for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000000; /* Explicitly set background for content area if needed, though body handles main background */
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  padding: 40px 20px;
}

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

.page-terms-conditions__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.page-terms-conditions__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  line-height: 1.2;
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-terms-conditions__hero-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;
}

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

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #FCBC45;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #333333;
  padding-bottom: 10px;
}

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

.page-terms-conditions__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-terms-conditions__paragraph strong {
  color: #FCBC45;
}

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

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

.page-terms-conditions__cta-card {
  background-color: #0d0d0d; /* Even darker for CTA highlight */
  border: 1px solid #FCBC45;
  border-radius: 8px;
  padding: 30px;
  margin: 40px 0;
  text-align: center;
}

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

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-terms-conditions__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

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

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

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

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

  .page-terms-conditions__hero-section {
    min-height: 400px;
    padding: 30px 15px;
  }

  .page-terms-conditions__hero-container {
    padding: 15px;
  }

  /* Ensure images are responsive and don't overflow */
  .page-terms-conditions__hero-image,
  .page-terms-conditions__content-image {
    max-width: 100%;
    height: auto;
    width: auto; /* Override any fixed width */
  }
}

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

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

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

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