.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 not hidden by fixed header */
}

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

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-terms-conditions__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
}

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

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

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

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF; /* Auxiliary color for content background */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__article {
  margin-bottom: 40px;
}

.page-terms-conditions__article-title {
  font-size: 2.2em;
  color: #000000; /* Main color for titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45; /* Login color as accent */
  padding-bottom: 10px;
}

.page-terms-conditions__article-subtitle {
  font-size: 1.6em;
  color: #333333;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-terms-conditions__article-paragraph {
  font-size: 1em;
  margin-bottom: 15px;
  color: #444444;
}

.page-terms-conditions__inline-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-terms-conditions__inline-link:hover {
  color: #CC9933;
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-terms-conditions__image--center {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

.page-terms-conditions__cta-section {
  background-color: #000000; /* Main color for CTA section background */
  color: #FFFFFF; /* White text for dark background */
  padding: 50px 30px;
  border-radius: 8px;
  text-align: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  z-index: 0;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-terms-conditions__cta-section h3,
.page-terms-conditions__cta-section p,
.page-terms-conditions__cta-section .page-terms-conditions__cta-button {
  position: relative;
  z-index: 1;
}

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

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

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for primary CTA */
  color: #000000; /* Black text for bright button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-terms-conditions__cta-button:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

.page-terms-conditions__cta-button--secondary {
  background-color: #FFFFFF; /* White for secondary CTA */
  color: #000000; /* Black text for white button */
  border: 1px solid #FCBC45;
}

.page-terms-conditions__cta-button--secondary:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
}

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

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

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

  .page-terms-conditions__article-subtitle {
    font-size: 1.4em;
  }

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

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

  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-terms-conditions__image,
  .page-terms-conditions__cta-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small on mobile */
    min-height: 200px;
  }
}

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

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

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

  .page-terms-conditions__hero-section {
    padding: 40px 10px;
  }

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