.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background #0a0a0a is dark, so text should be light */
}

.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-terms-conditions__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-terms-conditions__hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-terms-conditions__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-terms-conditions__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0;
}

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

.page-terms-conditions__btn-primary {
  display: inline-block;
  background: #EA7C07; /* Custom color for login/primary CTA */
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__btn-primary:hover {
  background-color: #d16b06;
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #0a0a0a; /* Ensure content background is dark */
  color: #ffffff; /* Ensure text is light */
}

.page-terms-conditions__section-block {
  margin-bottom: 50px;
  padding: 20px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for blocks */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 25px;
  border-bottom: 2px solid #26A9E0;
  padding-bottom: 10px;
}

.page-terms-conditions__sub-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-terms-conditions ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-terms-conditions li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-terms-conditions__content-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-terms-conditions__link:hover {
  color: #1a7bb0;
}

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

.page-terms-conditions__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #ffffff;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-terms-conditions__faq-question::-webkit-details-marker {
  display: none;
}

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

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

.page-terms-conditions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #cccccc;
}

.page-terms-conditions__faq-answer p {
  margin-bottom: 0;
}

.page-terms-conditions__faq-item[open] .page-terms-conditions__faq-question {
  background-color: rgba(38, 169, 224, 0.2); /* Slightly darker when open */
}

.page-terms-conditions__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Darker background for CTA */
  border-radius: 8px;
  margin-top: 50px;
}

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

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

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

  .page-terms-conditions__sub-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-terms-conditions__hero-content,
  .page-terms-conditions__content-area,
  .page-terms-conditions__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__hero-image,
  .page-terms-conditions__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-terms-conditions__hero-image-container,
  .page-terms-conditions__section-block,
  .page-terms-conditions__cta-section,
  .page-terms-conditions__faq-item,
  .page-terms-conditions__faq-question,
  .page-terms-conditions__faq-answer,
  .page-terms-conditions__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__btn-primary {
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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

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

  .page-terms-conditions__sub-title {
    font-size: 1.2em;
  }

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

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