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

.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  padding: 0;
}

.page-terms-conditions__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
  filter: brightness(0.6);
}

.page-terms-conditions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 90%;
  z-index: 10;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-terms-conditions__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  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__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-terms-conditions__cta-button--register {
  background-color: #000000; /* Dark background */
  color: #FFFFFF; /* White text */
  border: 2px solid #FFFFFF;
}

.page-terms-conditions__cta-button--register:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-terms-conditions__cta-button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

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

.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.05);
  border-radius: 8px;
}

.page-terms-conditions__article {
  padding: 20px;
}

.page-terms-conditions__article-heading {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-terms-conditions__sub-heading {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 10px;
}

.page-terms-conditions__article-paragraph {
  font-size: 1em;
  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;
  font-size: 1em;
}

.page-terms-conditions__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-terms-conditions__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 800px; /* Ensure images don't stretch too wide */
  min-width: 200px;
  min-height: 200px;
}

.page-terms-conditions__call-to-action {
  background-color: #000000;
  color: #FFFFFF;
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  margin-top: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #FCBC45;
}

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

.page-terms-conditions__cta-button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

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

  .page-terms-conditions__cta-button {
    display: block;
    margin: 15px auto;
    width: 80%;
  }

  .page-terms-conditions__article-heading {
    font-size: 1.6em;
  }

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

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

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

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

  /* Mobile content image constraint */
  .page-terms-conditions__content-area img, 
  .page-terms-conditions__article img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
  }
}

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

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

  .page-terms-conditions__cta-button {
    width: 90%;
  }

  .page-terms-conditions__article-heading {
    font-size: 1.4em;
  }

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