.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 below fixed header */
}

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

.page-terms-conditions__hero-section {
  background-color: #000000; /* Black background for hero */
  color: #FFFFFF; /* White text for contrast */
  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: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  font-weight: bold;
  line-height: 1.2;
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-terms-conditions__hero-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;
  min-width: 150px;
  text-align: center;
}

.page-terms-conditions__hero-button--register {
  background-color: #FFFFFF; /* White for Register */
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-terms-conditions__hero-button--login {
  background-color: #FCBC45; /* Yellow for Login */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-terms-conditions__hero-button--login:hover {
  background-color: #e0a030;
  transform: translateY(-2px);
}

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

.page-terms-conditions__section {
  margin-bottom: 40px;
  padding: 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__section-paragraph {
  font-size: 1em;
  margin-bottom: 15px;
  color: #333333;
}

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

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

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #333333;
}

.page-terms-conditions__list-item {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-terms-conditions__list-item strong {
  color: #000000;
}

.page-terms-conditions__section-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-terms-conditions__hero-button {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .page-terms-conditions__section-image {
    max-width: 100%; /* Ensure images don't overflow on mobile */
    height: auto;
  }
}