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

.page-terms-conditions__hero-section {
  background-color: #003366; /* Main brand color for hero background */
  color: #ffffff; /* White text for dark background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFCC00; /* Gold accent for title */
  position: relative;
  z-index: 1;
}

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

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

.page-terms-conditions__article {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__section-title {
  color: #003366;
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFCC00;
  padding-bottom: 10px;
}

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

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

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-terms-conditions__list-item {
  margin-bottom: 8px;
  font-size: 1.05em;
}

.page-terms-conditions__inline-link {
  color: #003366;
  text-decoration: underline;
  font-weight: bold;
}

.page-terms-conditions__inline-link:hover {
  color: #FFCC00;
  text-decoration: none;
}

.page-terms-conditions__link-button,
.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FFCC00; /* Gold button */
  color: #003366; /* Dark blue text on gold */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px 5px;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-terms-conditions__link-button:hover,
.page-terms-conditions__cta-button:hover {
  background-color: #e6b800; /* Slightly darker gold on hover */
  color: #001a33;
}

.page-terms-conditions__cta-button--secondary {
  background-color: #003366;
  color: #ffffff;
}

.page-terms-conditions__cta-button--secondary:hover {
  background-color: #001a33;
  color: #FFCC00;
}

.page-terms-conditions__content-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Ensure content images are not too wide */
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__call-to-action {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f8f8;
  border-top: 1px solid #eee;
  margin-top: 50px;
  border-radius: 8px;
}

.page-terms-conditions__cta-text {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 25px;
  font-weight: bold;
}

/* 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__section-title {
    font-size: 1.6em;
  }

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

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

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

  .page-terms-conditions__link-button,
  .page-terms-conditions__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
    display: block;
    margin: 10px auto;
  }

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

  /* Mobile content image constraint */
  .page-terms-conditions__content-image {
    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__section-title {
    font-size: 1.4em;
  }

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

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

  .page-terms-conditions__list-item {
    font-size: 0.95em;
  }
}