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

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  min-height: 450px;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-terms-conditions__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
  color: #FFFFFF;
}

.page-terms-conditions__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-terms-conditions__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1em;
  cursor: pointer;
  border: none;
}

.page-terms-conditions__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-terms-conditions__button--register:hover {
  background-color: #f0f0f0;
  color: #333333;
}

.page-terms-conditions__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-terms-conditions__button--login:hover {
  background-color: #e0a53a;
  color: #000000;
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-top: -80px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 3;
}

.page-terms-conditions__section {
  margin-bottom: 40px;
  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: 2em;
  color: #000000;
  margin-bottom: 20px;
  border-left: 5px solid #FCBC45;
  padding-left: 15px;
}

.page-terms-conditions__section p {
  margin-bottom: 15px;
  color: #333333;
}

.page-terms-conditions__section-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 25px 0;
  display: block;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-terms-conditions__list {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

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

.page-terms-conditions__link {
  color: #FCBC45; /* Brand color for links */
  text-decoration: none;
  font-weight: bold;
}

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

.page-terms-conditions__cta-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.page-terms-conditions__cta-bottom p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 2.2em;
  }
  .page-terms-conditions__intro-text {
    font-size: 1em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-container {
    padding: 30px 15px;
  }
  .page-terms-conditions__main-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__intro-text {
    font-size: 0.9em;
  }
  .page-terms-conditions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-terms-conditions__content-area {
    padding: 30px 15px;
    margin-top: -50px;
  }
  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__section-image {
    max-width: 100%;
    height: auto;
  }
  /* 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; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__main-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.3em;
  }
  .page-terms-conditions__button {
    width: 100%;
  }
}