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

.page-terms-conditions__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #8B0000; /* Secondary color for hero background */
  color: #ffffff;
  text-align: center;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Primary color for title */
  line-height: 1.2;
}

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

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Primary color for button */
  color: #8B0000; /* Secondary color for button text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

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

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

.page-terms-conditions__section-group {
  margin-bottom: 40px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #8B0000; /* Secondary color for section titles */
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700; /* Primary color for border */
  padding-bottom: 10px;
}

.page-terms-conditions__text {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444444;
}

.page-terms-conditions__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-terms-conditions__list-item {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 8px;
  color: #444444;
}

.page-terms-conditions__inline-link {
  color: #8B0000; /* Secondary color for inline links */
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-terms-conditions__inline-link:hover {
  color: #FFD700; /* Primary color on hover */
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 25px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #8B0000; /* Secondary color for CTA button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #8B0000;
  margin-top: 20px;
}

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

.page-terms-conditions__cta-button--secondary {
  background-color: #FFD700; /* Primary color for secondary CTA */
  color: #8B0000;
  border-color: #FFD700;
}

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

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

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

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

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

  .page-terms-conditions__section-group {
    padding: 20px;
  }

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

  /* Ensure images do not overflow on mobile */
  .page-terms-conditions__image {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-terms-conditions__list {
    margin-left: 15px;
  }
}