.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); /* Ensure content is below fixed header */
}

.page-terms-conditions__hero-section {
  background-color: #0D1117; /* Main dark color */
  color: #f0f0f0;
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Auxiliary gold color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary gold for CTA */
  color: #0D1117; /* 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;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

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

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* White background for content for readability */
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  margin-top: -60px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 2;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #0D1117; /* Main dark color for titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

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

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

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

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

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

.page-terms-conditions__list-item {
  margin-bottom: 8px;
  font-size: 1em;
}

.page-terms-conditions__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

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

.page-terms-conditions__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  color: #FFD700;
}

.page-terms-conditions__cta-button--bottom {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px 30px;
  }

  .page-terms-conditions__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-terms-conditions__section-title {
    font-size: 1.8em;
    margin-top: 30px;
  }

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

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

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

  .page-terms-conditions__call-to-action {
    padding: 30px 15px;
  }

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

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

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

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

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

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