.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 not hidden by fixed header */
}

.page-terms-conditions__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-terms-conditions__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

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

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

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* White background for content for readability */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #8B0000; /* Deep Red auxiliary color */
  margin-bottom: 15px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-terms-conditions__text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333333;
}

.page-terms-conditions__link {
  color: #8B0000; /* Deep Red for links */
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__link:hover {
  text-decoration: underline;
  color: #FFD700; /* Gold on hover */
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-terms-conditions__button--register {
  background-color: #FFD700; /* Gold button */
  color: #333333;
  border: 2px solid #FFD700;
}

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

.page-terms-conditions__button--login {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-terms-conditions__button--login:hover {
  background-color: #FFD700;
  color: #333333;
  transform: translateY(-2px);
}

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

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it's not inline */
  margin: 0 auto; /* Center the image */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-terms-conditions__call-to-action {
  text-align: center;
  background-color: #8B0000; /* Deep Red background */
  color: #ffffff;
  padding: 50px 30px;
  border-radius: 10px;
  margin-top: 50px;
}

.page-terms-conditions__call-to-action-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold title */
  margin-bottom: 20px;
}

.page-terms-conditions__call-to-action-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__call-to-action-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions__hero-title {
    font-size: 2.2em;
  }

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

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

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

  .page-terms-conditions__hero-actions, .page-terms-conditions__call-to-action-buttons {
    flex-direction: column;
    align-items: center;
  }

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

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

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

  /* Mobile content area images must be responsive */
  .page-terms-conditions__content-area img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Maintain min size even on mobile */
    min-height: 200px; /* Maintain min size even on mobile */
  }

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

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

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

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