.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #007bff; /* Primary brand color for hero background */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-terms-conditions__hero-container {
  position: relative;
  z-index: 1;
  max-width: 960px;
  padding: 40px 20px;
  margin: 0 auto;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for emphasis */
  font-weight: bold;
  line-height: 1.2;
}

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

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary color for CTA */
  color: #000000; /* Ensure high contrast for text on auxiliary color */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.page-terms-conditions__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 20px;
}

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

.page-terms-conditions__section-group {
  display: grid;
  gap: 30px;
}

.page-terms-conditions__article {
  padding-bottom: 30px;
  border-bottom: 1px solid #eeeeee;
}

.page-terms-conditions__article:last-child {
  border-bottom: none;
}

.page-terms-conditions__article-title {
  font-size: 2em;
  color: #007bff; /* Primary color for section titles */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-terms-conditions__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.page-terms-conditions__article-paragraph a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__article-paragraph a:hover {
  text-decoration: underline;
}

.page-terms-conditions__article-image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Ensure content images are at least 200px and responsive */
  min-width: 200px;
  min-height: 200px;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    min-height: 350px;
    padding-top: var(--header-offset, 80px);
  }

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

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

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

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

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

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

  .page-terms-conditions__content-area img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-section {
    padding-top: var(--header-offset, 60px);
  }

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

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

  .page-terms-conditions__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-terms-conditions__article-title {
    font-size: 1.4em;
  }

  .page-terms-conditions__article-paragraph,
  .page-terms-conditions__list-item {
    font-size: 0.9em;
  }
}