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

.page-terms-conditions__hero-section {
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
  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-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #ffc107; /* Accent brand color */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  margin-bottom: 40px;
}

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

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Constrain image width */
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  margin: 20px auto 0;
  display: block;
}

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

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

.page-terms-conditions__article-heading {
  font-size: 2em;
  color: #007bff; /* Primary brand color for headings */
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #ffc107; /* Accent border */
  padding-bottom: 10px;
}

.page-terms-conditions__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444444;
}

.page-terms-conditions__article-button {
  display: inline-block;
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
  margin-top: 15px;
  margin-bottom: 30px;
}

.page-terms-conditions__article-button:hover {
  background-color: #0056b3;
}

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

.page-terms-conditions__cta-section {
  background-color: #f8f9fa; /* Light background */
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
}

.page-terms-conditions__cta-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-terms-conditions__cta-title {
  font-size: 2.5em;
  color: #007bff; /* Primary brand color */
  margin-bottom: 20px;
}

.page-terms-conditions__cta-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #ffc107; /* Accent brand color */
  color: #000000;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__cta-button:hover {
  background-color: #e0a800;
}

.page-terms-conditions__cta-image {
  width: 100%;
  height: auto;
  max-width: 700px; /* Constrain image width */
  margin: 30px auto 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

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

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

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

  .page-terms-conditions__hero-image,
  .page-terms-conditions__article-image,
  .page-terms-conditions__cta-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and do not overflow */
  }
}

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

  .page-terms-conditions__hero-button,
  .page-terms-conditions__article-button,
  .page-terms-conditions__cta-button {
    padding: 12px 20px;
    font-size: 0.9em;
  }

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