.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
}

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

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

.page-terms-conditions__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
}

.page-terms-conditions__hero-description {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%; /* Ensure responsiveness */
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim the image to make text pop */
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF; /* Light background for main content */
  line-height: 1.8;
  font-size: 1.1rem;
}

.page-terms-conditions__article {
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
  font-size: 2.2rem;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 3px solid #FCBC45;
  padding-bottom: 10px;
  font-weight: bold;
}

.page-terms-conditions__sub-section-title {
  font-size: 1.6rem;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  color: #444444;
}

.page-terms-conditions__link {
  color: #FCBC45; /* Login color for links */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
  margin-right: 15px;
  text-align: center;
}

.page-terms-conditions__button--register {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text on light background */
}

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

.page-terms-conditions__button--login {
  background-color: #000000; /* Main color */
  color: #FCBC45; /* Login color for text */
  border: 2px solid #FCBC45;
}

.page-terms-conditions__button--login:hover {
  background-color: #222222;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-terms-conditions__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-terms-conditions__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions__cta-title {
  font-size: 2.8rem;
  color: #FCBC45;
  margin-bottom: 20px;
}

.page-terms-conditions__cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-title {
    font-size: 2.5rem;
  }

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

  .page-terms-conditions__section-title {
    font-size: 1.8rem;
  }

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

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

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

  .page-terms-conditions__image {
    margin: 20px auto;
  }

  .page-terms-conditions__button {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
    display: block;
  }

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

  .page-terms-conditions__cta-description {
    font-size: 1rem;
  }

  /* Ensure content area images are responsive and don't overflow */
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

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

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