.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensure content area matches body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-bottom: 40px;
}

.page-terms-conditions__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-terms-conditions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: #FFFFFF;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
}

.page-terms-conditions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-terms-conditions__hero-button,
.page-terms-conditions__contact-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for bright button */
  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;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__hero-button:hover,
.page-terms-conditions__contact-button:hover {
  background-color: #FFD700; /* Slightly brighter gold on hover */
  transform: translateY(-2px);
}

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

.page-terms-conditions__section {
  margin-bottom: 40px;
  padding: 25px;
  background-color: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-terms-conditions__sub-section-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 25px;
  margin-bottom: 15px;
}

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

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

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

/* Ensure all content images meet minimum size */
.page-terms-conditions__content-area img {
  min-width: 200px;
  min-height: 200px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-title {
    font-size: 3em;
  }
  .page-terms-conditions__section-title {
    font-size: 2em;
  }
  .page-terms-conditions__sub-section-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-terms-conditions__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-terms-conditions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-terms-conditions__hero-button,
  .page-terms-conditions__contact-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-terms-conditions__content-area {
    padding: 15px;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__sub-section-title {
    font-size: 1.4em;
  }
  .page-terms-conditions__paragraph {
    font-size: 0.95em;
  }
  /* Mobile content image constraint */
  .page-terms-conditions__content-area img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__hero-description {
    font-size: 0.9em;
  }
  .page-terms-conditions__hero-button,
  .page-terms-conditions__contact-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__sub-section-title {
    font-size: 1.2em;
  }
}