.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-color);
}

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

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

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-terms-conditions__main-title {
  font-size: clamp(2em, 5vw, 3.2em);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-terms-conditions__hero-description {
  font-size: clamp(1em, 2vw, 1.2em);
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  background-color: var(--bg-color);
  box-sizing: border-box;
}

.page-terms-conditions__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-terms-conditions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  background-color: #000;
}

.page-terms-conditions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-terms-conditions__video-caption {
  color: var(--text-secondary);
  text-align: center;
  margin-top: 15px;
  font-size: 0.9em;
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Explicitly white background for content for contrast */
  color: #333333; /* Dark text for white background */
  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: 2;
  box-sizing: border-box;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: var(--deep-green);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 2px solid var(--divider);
  padding-bottom: 10px;
}

.page-terms-conditions__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-terms-conditions__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-terms-conditions__list-item strong {
  color: var(--deep-green);
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-terms-conditions__image--left {
  float: left;
  margin-right: 20px;
  max-width: 400px;
}

.page-terms-conditions__image--right {
  float: right;
  margin-left: 20px;
  max-width: 400px;
}

.page-terms-conditions__content-area::after {
  content: '';
  display: table;
  clear: both;
}

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

.page-terms-conditions__faq-item {
  background-color: #f9f9f9;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--deep-green);
  background-color: #f1f1f1;
  border-bottom: 1px solid var(--border);
}

.page-terms-conditions__faq-question:hover {
  background-color: #e8e8e8;
}

.page-terms-conditions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: var(--main-color);
}

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

.page-terms-conditions__faq-answer {
  padding: 15px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

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

.page-terms-conditions__faq-answer a {
  color: var(--main-color);
  text-decoration: none;
}

.page-terms-conditions__faq-answer a:hover {
  text-decoration: underline;
}

/* Color Variables */
:root {
  --main-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --bg-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Ensure content text is readable on body background */
.page-terms-conditions__dark-bg {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-terms-conditions__dark-bg .page-terms-conditions__hero-description,
.page-terms-conditions__dark-bg .page-terms-conditions__video-caption {
  color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-terms-conditions__image--left,
  .page-terms-conditions__image--right {
    float: none;
    margin: 20px auto;
    max-width: 100%;
    display: block;
  }
}

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

  .page-terms-conditions__hero-content {
    padding: 15px;
  }

  .page-terms-conditions__main-title {
    font-size: 1.8em; /* Adjusted for mobile */
  }

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

  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-terms-conditions__video-section {
    padding: 20px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-terms-conditions__video-container,
  .page-terms-conditions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-terms-conditions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-terms-conditions__content-area {
    padding: 30px 15px;
    margin-top: -20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-terms-conditions__text-block,
  .page-terms-conditions__list-item {
    font-size: 1em;
  }

  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-terms-conditions__image--left,
  .page-terms-conditions__image--right {
    margin-left: 0;
    margin-right: 0;
  }

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

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