.page-terms-conditions {
  color: #333333; /* Dark text for default light body background */
}

.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: var(--header-offset, 120px) 20px 60px; /* Use header offset */
  text-align: center;
  overflow: hidden;
  background-color: #8B0000; /* Dark red background for contrast with gold text */
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2; /* Slightly transparent to let background color show */
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: #FFD700; /* Gold text on dark background */
}

.page-terms-conditions__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700;
}

.page-terms-conditions__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-terms-conditions__hero-button:hover {
  background-color: #e6c200;
  color: #6a0000;
}

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

.page-terms-conditions__section {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-terms-conditions__paragraph {
  font-size: 1.1em;
  margin-bottom: 10px;
}

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

.page-terms-conditions__link {
  color: #8B0000;
  text-decoration: underline;
  font-weight: bold;
}

.page-terms-conditions__link:hover {
  color: #FFD700;
}

.page-terms-conditions__call-to-action {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-top: 60px;
}

.page-terms-conditions__cta-text {
  font-size: 1.5em;
  color: #333333;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-terms-conditions__cta-button:hover {
  background-color: #e6c200;
  color: #6a0000;
}

.page-terms-conditions__cta-button--secondary {
  background-color: #8B0000;
  color: #FFD700;
}

.page-terms-conditions__cta-button--secondary:hover {
  background-color: #6a0000;
  color: #e6c200;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    min-height: 400px;
    padding: var(--header-offset, 120px) 15px 40px;
  }

  .page-terms-conditions__main-title {
    font-size: 2.2em;
  }

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

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

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

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

  .page-terms-conditions__image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px; /* Maintain min width for content images */
    min-height: 200px; /* Maintain min height for content images */
  }

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

  .page-terms-conditions__cta-button {
    width: 100%;
    margin: 10px 0;
  }
}