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

.page-terms-conditions__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  text-align: center;
  color: #FFFFFF;
  background-color: #000000; /* Dark background for hero text */
  padding-bottom: 60px;
  overflow: hidden;
}

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

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

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight with login button color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__hero-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
  color: #F0F0F0;
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-terms-conditions__article {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-terms-conditions__paragraph {
  margin-bottom: 20px;
  font-size: 1em;
}

.page-terms-conditions__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-terms-conditions__list-item {
  margin-bottom: 8px;
}

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

.page-terms-conditions__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-terms-conditions__button--register {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-terms-conditions__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-terms-conditions__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-terms-conditions__button--login:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

/* 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__content-area {
    padding: 30px 15px;
  }

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

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

  .page-terms-conditions__button {
    width: 100%;
    min-width: unset;
  }

  .page-terms-conditions__cta-group {
    flex-direction: column;
  }
}