.page-terms-conditions {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image for text contrast */
}

.page-terms-conditions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
  color: #FFF6D6;
}

.page-terms-conditions__main-title {
  color: #FFD36B; /* Glow */
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.6);
}

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

.page-terms-conditions__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111; /* Dark text for bright button */
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-terms-conditions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-terms-conditions__content-section {
  padding: 60px 0;
}

.page-terms-conditions__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-terms-conditions__section-title {
  color: #FFD36B; /* Glow */
  font-size: 2.2em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #3A2A12; /* Border */
  padding-bottom: 10px;
}

.page-terms-conditions__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
}

.page-terms-conditions__text-link {
  color: #F2C14E; /* Main color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-terms-conditions__text-link:hover {
  color: #FFD36B; /* Glow on hover */
}

.page-terms-conditions__faq-list {
  margin-top: 30px;
}

.page-terms-conditions__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #FFD36B; /* Glow */
  transition: background-color 0.3s ease;
}

.page-terms-conditions__faq-question:hover {
  background-color: rgba(255, 211, 107, 0.1);
}

.page-terms-conditions__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Ensure h3 inside is not too large */
}

.page-terms-conditions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-toggle {
  transform: rotate(45deg);
}

.page-terms-conditions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

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

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

@media (max-width: 768px) {
  .page-terms-conditions__hero-content {
    width: 95%;
    padding: 15px;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

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

  .page-terms-conditions__btn-primary {
    padding: 10px 25px;
    font-size: 1em;
  }

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

  .page-terms-conditions__container {
    padding: 0 15px;
  }

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

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

  .page-terms-conditions p,
  .page-terms-conditions li {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Mobile image responsiveness */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-terms-conditions__hero-image-wrapper,
  .page-terms-conditions__content-section,
  .page-terms-conditions__container,
  .page-terms-conditions__faq-list,
  .page-terms-conditions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .page-terms-conditions__btn-primary,
  .page-terms-conditions a[class*="button"],
  .page-terms-conditions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero content positioning for smaller screens */
  .page-terms-conditions__hero-content {
    position: static; /* Allow content to flow naturally */
    transform: none; /* Remove transform */
    background: rgba(10, 10, 10, 0.7); /* Dark overlay for text readability */
    padding: 20px;
    margin-top: -100px; /* Pull up over the image a bit */
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .page-terms-conditions__hero-section {
    padding-bottom: 20px;
  }
}

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

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

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

  .page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
    padding: 10px 20px 20px;
  }
}