.page-terms-conditions {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.page-terms-conditions__hero-section {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.8) 0%, rgba(255, 215, 0, 0.8) 100%);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #FFD700;
}

.page-terms-conditions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-terms-conditions__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__button--primary {
  background-color: #FFD700; /* Gold */
  color: #1E90FF; /* Royal Blue */
}

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

.page-terms-conditions__button--secondary {
  background-color: #1E90FF; /* Royal Blue */
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-terms-conditions__button--secondary:hover {
  background-color: #1565b3;
  transform: translateY(-2px);
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Slightly transparent dark background for content */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-terms-conditions__article-heading {
  color: #FFD700; /* Gold for main article headings */
  font-size: 2.2em;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #1E90FF;
  padding-bottom: 10px;
}

.page-terms-conditions__article-sub-heading {
  color: #1E90FF; /* Royal Blue for sub-headings */
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__article-paragraph {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-terms-conditions__link {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #1E90FF;
  text-decoration: underline;
}

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

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

.page-terms-conditions__image-wrapper {
  text-align: center;
  margin: 30px 0;
}

.page-terms-conditions__image {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  max-width: 100%; /* Ensure image is responsive */
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-terms-conditions__call-to-action {
  background-color: #1E90FF; /* Royal Blue background for CTA */
  padding: 40px;
  text-align: center;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border: 2px solid #FFD700;
}

.page-terms-conditions__call-to-action-title {
  color: #FFD700; /* Gold */
  font-size: 2.5em;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__call-to-action-description {
  color: #ffffff;
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  background-color: #FFD700;
  color: #1E90FF;
}

.page-terms-conditions__button--large:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* 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__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-terms-conditions__button {
    width: 80%;
    max-width: 300px;
  }

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

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

  .page-terms-conditions__call-to-action-title {
    font-size: 2em;
  }

  .page-terms-conditions__call-to-action-description {
    font-size: 1em;
  }

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

  /* Ensure content area images are responsive and do not overflow */
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-terms-conditions__hero-section {
    padding: 60px 15px;
  }

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

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

  .page-terms-conditions__call-to-action {
    padding: 30px 15px;
  }
}