.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 not hidden by fixed header */
}

.page-terms-conditions__hero-section {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero to make text pop */
  color: #ffffff;
  overflow: hidden;
}

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

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

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

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

.page-terms-conditions__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px; /* Ensure buttons are not too small */
}

.page-terms-conditions__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

.page-terms-conditions__button--register:hover {
  background-color: #e0e0e0;
}

.page-terms-conditions__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-terms-conditions__button--login:hover {
  background-color: #e6a83a;
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Explicitly set content background */
}

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

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

.page-terms-conditions__article-paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure content images are not small */
  min-height: 200px;
}

.page-terms-conditions__image--inline {
  max-width: 800px; /* Example max-width for content images */
}

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

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

.page-terms-conditions__cta-section {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  margin-top: 50px;
}

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

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

.page-terms-conditions__button--cta {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-terms-conditions__button--cta:hover {
  background-color: #e6a83a;
}

/* 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__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-terms-conditions__button {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

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

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

  .page-terms-conditions__image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }

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

@media (max-width: 480px) {
  .page-terms-conditions__hero-section {
    padding: 40px 15px;
  }

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

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

  .page-terms-conditions__article-title {
    font-size: 1.3em;
  }

  .page-terms-conditions__article-paragraph {
    font-size: 0.9em;
  }

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

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