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

.page-terms-conditions__hero-section {
  background-color: #000000; /* Black background for hero */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FCBC45; /* Accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-terms-conditions__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-terms-conditions__button--login:hover {
  background-color: #E0A83A;
  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: 8px;
  margin-top: -40px; /* Overlap with hero section slightly */
  position: relative;
  z-index: 2;
}

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

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #000000; /* Black for main section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-terms-conditions__sub-section-title {
  font-size: 1.5em;
  color: #000000; /* Black for sub-section titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

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

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

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

.page-terms-conditions__cta-section {
  background-color: #F8F8F8;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  margin-top: 50px;
}

.page-terms-conditions__cta-text {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #000000;
}

.page-terms-conditions__button--primary {
  background-color: #000000; /* Black background for primary CTA */
  color: #FFFFFF; /* White text for primary CTA */
}

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

/* Responsive Design */
@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: 300px;
  }

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

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

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

  .page-terms-conditions__content-wrapper {
    padding: 10px;
  }

  /* Ensure images do not overflow on mobile */
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

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

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