.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  background-color: #f4f4f4; /* Ensures consistency with body background */
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header height */
  }
}

.page-terms-conditions__hero-section {
  background-color: #0A192F; /* Primary brand color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-terms-conditions__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for emphasis */
  line-height: 1.2;
  font-weight: 700;
}

.page-terms-conditions__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for CTA */
  color: #0A192F; /* Primary color for text on CTA */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

.page-terms-conditions__article {
  background-color: #ffffff; /* White background for article content */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
  font-size: 1.8em;
  color: #0A192F; /* Primary brand color for headings */
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #FFD700; /* Auxiliary color for subtle highlight */
  padding-bottom: 5px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  font-size: 1em;
}

.page-terms-conditions__paragraph a {
  color: #0A192F; /* Link color using primary brand color */
  text-decoration: underline;
  font-weight: bold;
}

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

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

.page-terms-conditions__list-item {
  margin-bottom: 8px;
}

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

.page-terms-conditions__cta-bottom {
  text-align: center;
  padding: 50px 20px;
  background-color: #0A192F;
  color: #ffffff;
  margin-top: 40px;
  border-radius: 10px;
}

.page-terms-conditions__cta-text {
  font-size: 1.3em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-terms-conditions__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__main-title {
    font-size: 2em;
  }

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

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

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

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

  /* Ensure images are responsive and do not overflow */
  .page-terms-conditions__image-center {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }

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

  .page-terms-conditions__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}