.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); /* Ensure content is not hidden by fixed header */
}

.page-terms-conditions__hero-section {
  background-color: #1A1A1A; /* Dark background for hero */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-terms-conditions__main-title {
  font-size: 3em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-terms-conditions__intro-text {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.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__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A1A1A; /* Dark text on gold button */
  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;
  border: none;
  cursor: pointer;
  z-index: 1;
}

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

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

.page-terms-conditions__article {
  margin-bottom: 40px;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-terms-conditions__sub-title {
  font-size: 1.5em;
  color: #f0f0f0;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-terms-conditions__inline-link {
  color: #FFD700; /* Gold for inline links */
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__inline-link:hover {
  text-decoration: underline;
}

.page-terms-conditions__content-image {
  width: 100%;
  max-width: 600px; /* Ensure content images are not too wide */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px;
}

.page-terms-conditions__action-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(255, 215, 0, 0.1); /* Light gold tint background */
  border-radius: 10px;
}

.page-terms-conditions__action-text {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-terms-conditions__cta-button--secondary {
  background-color: #1A1A1A; /* Dark button */
  color: #FFD700; /* Gold text on dark button */
  border: 2px solid #FFD700;
}

.page-terms-conditions__cta-button--secondary:hover {
  background-color: #000000;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
  }

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

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

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

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

  .page-terms-conditions__sub-title {
    font-size: 1.2em;
  }

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

  .page-terms-conditions__cta-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-terms-conditions__content-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px;
  }

  /* Ensure all images within content area are responsive and not smaller than 200px */
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

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