.page-terms-conditions {
  color: #ffffff; /* Body background is dark (#111), so use light text */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  background-color: #1A202C; /* Auxiliary color */
  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;
  color: #D4AF37; /* Main color */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  font-weight: bold;
}

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

.page-terms-conditions__hero-cta {
  display: inline-block;
  background-color: #D4AF37; /* Main color */
  color: #1A202C; /* Auxiliary color for text */
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-terms-conditions__hero-cta:hover {
  background-color: #e1c773; /* Lighter shade of main color */
  transform: translateY(-3px);
}

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

.page-terms-conditions__content-wrapper {
  background-color: rgba(26, 32, 44, 0.8); /* Semi-transparent auxiliary color for content background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #D4AF37; /* Main color */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.5);
  padding-bottom: 10px;
}

.page-terms-conditions__subsection-title {
  font-size: 1.5em;
  color: #f0f0f0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__content-wrapper p {
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-terms-conditions__content-wrapper ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-terms-conditions__content-wrapper li {
  margin-bottom: 8px;
}

.page-terms-conditions__image {
  width: 100%;
  max-width: 800px; /* Ensure images don't stretch too wide */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: cover; /* Ensures image covers the area without distortion */
}

.page-terms-conditions__contact-cta {
  display: inline-block;
  background-color: transparent;
  border: 2px solid #D4AF37;
  color: #D4AF37; /* Main color */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin-top: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-terms-conditions__contact-cta:hover {
  background-color: #D4AF37;
  color: #1A202C; /* Auxiliary color */
}

.page-terms-conditions__final-cta-wrapper {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.page-terms-conditions__final-cta-text {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-terms-conditions__final-cta-button {
  display: inline-block;
  background-color: #D4AF37; /* Main color */
  color: #1A202C; /* Auxiliary color */
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.page-terms-conditions__final-cta-button:hover {
  background-color: #e1c773; /* Lighter shade of main color */
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

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

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

  .page-terms-conditions__hero-cta,
  .page-terms-conditions__final-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

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

  /* Ensure images are responsive and do not overflow */
  .page-terms-conditions__image {
    max-width: 100%;
    height: auto;
    width: auto; /* Allow auto width to prevent overflow */
    object-fit: contain; /* Adjust to contain for smaller screens if needed */
  }
  
  /* Critical: Ensure all images within content area are responsive */
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-terms-conditions__hero-cta,
  .page-terms-conditions__final-cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

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

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