.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* body handles background color */
}

/* Hero Section */
.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: #0a0a0a; /* Ensure hero section has a background consistent with body */
}

.page-terms-conditions__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and text */
}

.page-terms-conditions__hero-content {
  max-width: 900px;
  width: 100%; /* Ensure content block takes full width within max-width */
  z-index: 1;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-terms-conditions__main-title {
  color: #ffffff;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 100%; /* Prevent overflow */
  box-sizing: border-box;
  /* No fixed font-size, rely on natural flow or clamp if absolutely needed */
}

.page-terms-conditions__description {
  color: #f0f0f0;
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Content Sections */
.page-terms-conditions__content-section {
  padding: 60px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-terms-conditions__dark-bg {
  background-color: #0a0a0a; /* Dark background from body */
  color: #ffffff;
}

.page-terms-conditions__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 15px; /* Inner padding for content */
}

.page-terms-conditions__section-title {
  color: #26A9E0; /* Brand color for titles */
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

.page-terms-conditions__paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #f0f0f0; /* Light text for readability on dark background */
}

.page-terms-conditions__paragraph a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-terms-conditions__image-wrapper {
  margin: 30px auto;
  text-align: center;
  max-width: 800px; /* Constrain image width */
}

.page-terms-conditions__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrap for buttons */
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-terms-conditions__btn-primary {
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-terms-conditions__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-terms-conditions__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-terms-conditions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-terms-conditions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* FAQ Section */
.page-terms-conditions__faq-section {
  padding: 60px 20px;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-terms-conditions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions__faq-item {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  font-size: 1.1em;
  background-color: #1a1a1a;
  list-style: none; /* For details/summary */
}

.page-terms-conditions__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-terms-conditions__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-terms-conditions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-terms-conditions__faq-item[open] .page-terms-conditions__faq-toggle {
  content: "−";
}

.page-terms-conditions__faq-answer {
  padding: 0 25px 20px;
  color: #f0f0f0;
  font-size: 1em;
  line-height: 1.7;
}

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

  .page-terms-conditions__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-terms-conditions__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-terms-conditions__content-section {
    padding: 40px 15px;
  }

  .page-terms-conditions__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

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

  .page-terms-conditions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-terms-conditions__image-wrapper {
    margin: 20px auto;
  }

  /* Mobile image responsive styles */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-terms-conditions__hero-image,
  .page-terms-conditions__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure containers holding images/buttons are also responsive */
  .page-terms-conditions__section,
  .page-terms-conditions__card,
  .page-terms-conditions__container,
  .page-terms-conditions__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-terms-conditions__faq-answer {
    padding: 0 20px 15px;
  }
}

/* No CSS filters on images */
.page-terms-conditions img {
  filter: none;
}