/* style/terms-conditions.css */
.page-terms-conditions {
  color: #333333; /* Dark text for light body background #f0f2f5 */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #1A1A2E; /* Main brand color for hero background */
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

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

.page-terms-conditions__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for CTA button */
  color: #1A1A2E; /* Dark text for light 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;
}

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

.page-terms-conditions__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  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.1);
  margin-top: -40px; /* Overlap with hero section slightly */
  position: relative;
  z-index: 3;
}

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

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #1A1A2E; /* Main brand color for section titles */
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

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

.page-terms-conditions__inline-link {
  color: #1A1A2E;
  text-decoration: underline;
  font-weight: bold;
}

.page-terms-conditions__inline-link:hover {
  color: #FFD700;
}

.page-terms-conditions__image {
  width: 100%;
  max-width: 800px; /* Ensure images are not too wide and responsive */
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Min size for content images */
  min-height: 200px; /* Min size for content images */
}

.page-terms-conditions__cta-button--bottom {
  margin-top: 40px;
}

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

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

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

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

  .page-terms-conditions__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    padding-bottom: 40px;
  }

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

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

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

  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}