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

.page-terms-conditions__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Primary brand color for hero background */
  color: #FFFFFF;
  text-align: center;
  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.3; /* Slightly transparent to allow text readability */
  z-index: 1;
}

.page-terms-conditions__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-terms-conditions__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #FFFFFF;
}

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

.page-terms-conditions__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-terms-conditions__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-terms-conditions__button--login:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

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

.page-terms-conditions__section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  font-size: 1em;
  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__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px 0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-terms-conditions__call-to-action {
  text-align: center;
  padding: 40px 20px;
  background-color: #F8F8F8;
  border-radius: 8px;
  margin-top: 40px;
}

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

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

.page-terms-conditions__button--cta:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 30px;
  }

  .page-terms-conditions__hero-container {
    padding: 40px 15px;
    min-height: 300px;
  }

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

  .page-terms-conditions__intro-text {
    font-size: 1em;
  }

  .page-terms-conditions__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-terms-conditions__button {
    width: 100%;
    max-width: 300px;
  }

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

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

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

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

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

  .page-terms-conditions__button--cta {
    width: 100%;
    max-width: 300px;
  }
}