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

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  height: 60vh; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 20px;
}

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

.page-terms-conditions__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(10, 36, 99, 0.7); /* Primary color with transparency */
  border-radius: 10px;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #E3B505; /* Auxiliary color for highlight */
}

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

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #E3B505; /* Auxiliary color */
  color: #0A2463; /* Primary color for text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-terms-conditions__hero-button:hover {
  background-color: #f0c52a;
}

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

.page-terms-conditions__article {
  padding: 20px 0;
}

.page-terms-conditions__section-title {
  color: #0A2463; /* Primary color */
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #E3B505;
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-terms-conditions__paragraph a {
  color: #0A2463;
  text-decoration: underline;
}

.page-terms-conditions__paragraph a:hover {
  color: #E3B505;
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-terms-conditions__cta-section {
  text-align: center;
  background-color: #0A2463; /* Primary color */
  color: #ffffff;
  padding: 60px 20px;
  margin-top: 50px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

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

.page-terms-conditions__cta-title {
  position: relative;
  z-index: 1;
  font-size: 2.5em;
  color: #E3B505; /* Auxiliary color */
  margin-bottom: 20px;
}

.page-terms-conditions__cta-description {
  position: relative;
  z-index: 1;
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__cta-button {
  position: relative;
  z-index: 1;
  display: inline-block;
  background-color: #E3B505; /* Auxiliary color */
  color: #0A2463; /* Primary color for text */
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 10px;
}

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

.page-terms-conditions__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #E3B505;
  color: #E3B505;
}

.page-terms-conditions__cta-button--secondary:hover {
  background-color: #E3B505;
  color: #0A2463;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    height: 50vh;
  }

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

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

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

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

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

  .page-terms-conditions__cta-button:last-of-type {
    margin-bottom: 0;
  }

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

  .page-terms-conditions__cta-button {
    display: block;
    width: fit-content;
    margin: 15px auto;
  }

  .page-terms-conditions__image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-section {
    height: 40vh;
  }

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

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

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

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