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

.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* Text color for hero section */
  text-align: center;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6); /* Darken image for text readability */
}

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

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
}

.page-terms-conditions__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  font-weight: bold;
}

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

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

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

.page-terms-conditions__button--register {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light button */
  border: 2px solid #FCBC45;
}

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

.page-terms-conditions__button--login {
  background-color: transparent;
  color: #FFFFFF; /* Register button color */
  border: 2px solid #FFFFFF;
}

.page-terms-conditions__button--login:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

.page-terms-conditions__article {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.page-terms-conditions__article-heading {
  font-size: 2em;
  color: #000000; /* Main color */
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #FCBC45; /* Accent color for headings */
  padding-bottom: 10px;
}

.page-terms-conditions__article-paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-terms-conditions__inline-link {
  color: #FCBC45; /* Accent color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__inline-link:hover {
  text-decoration: underline;
}

.page-terms-conditions__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Primary color background for CTA */
  color: #FFFFFF;
  border-radius: 10px;
  margin-top: 40px;
}

.page-terms-conditions__cta-heading {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-terms-conditions__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

.page-terms-conditions__button--join:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
  }

  .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%;
    padding: 12px 20px;
  }

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

  .page-terms-conditions__article-heading {
    font-size: 1.6em;
  }

  .page-terms-conditions__article-paragraph {
    font-size: 0.95em;
  }

  .page-terms-conditions__cta-section {
    padding: 40px 15px;
  }

  .page-terms-conditions__cta-heading {
    font-size: 1.8em;
  }

  .page-terms-conditions__content-image {
    max-width: 100%; /* Ensure images are responsive and don't overflow */
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

/* Ensure all images within .page-terms-conditions are not smaller than 200px */
.page-terms-conditions img {
  min-width: 200px;
  min-height: 200px;
}

/* Hero image must be large */
.page-terms-conditions__hero-image {
  min-width: 100%;
  min-height: 100%;
}

/* Ensure content area does not cause horizontal scroll */
@media (max-width: 768px) {
  .page-terms-conditions {
    overflow-x: hidden;
  }
}