.page-terms-conditions {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color from custom palette */
  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;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding for content */
  box-sizing: border-box;
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  min-height: 300px; /* Ensure minimum height */
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  color: #F2FFF6; /* Ensure text is visible on hero image */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold color for main title */
}

.page-terms-conditions__hero-description {
  font-size: clamp(1em, 2vw, 1.2em);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-terms-conditions__container {
  width: 100%;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #2AD16F; /* Green for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
  border-bottom: 2px solid #1E3A2A; /* Divider color */
  padding-bottom: 10px;
}

.page-terms-conditions__text-block {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #F2FFF6; /* Main text color */
}

.page-terms-conditions__highlight {
  color: #F2C14E;
  font-weight: bold;
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Example size */
  margin: 20px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-terms-conditions__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}

.page-terms-conditions__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}

.page-terms-conditions__image--center {
  clear: both;
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__link {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #F2C14E;
  text-decoration: underline;
}

.page-terms-conditions__faq-list {
  margin-top: 30px;
  border: 1px solid #1E3A2A; /* Divider color for border */
  border-radius: 8px;
  overflow: hidden;
  background-color: #11271B; /* Card BG color */
}

.page-terms-conditions__faq-item {
  border-bottom: 1px solid #1E3A2A; /* Divider color */
  color: #F2FFF6; /* Main text color */
}

.page-terms-conditions__faq-item:last-child {
  border-bottom: none;
}

.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: #F2FFF6; /* Main text color */
  background-color: #11271B; /* Card BG color */
  transition: background-color 0.3s ease;
}

.page-terms-conditions__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green for hover */
}

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

.page-terms-conditions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

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

.page-terms-conditions__faq-answer {
  padding: 15px 25px 20px 25px;
  background-color: #0A4B2C; /* Deep Green for answer background */
  color: #A7D9B8; /* Secondary text color */
  font-size: 1em;
  line-height: 1.5;
  border-top: 1px solid #1E3A2A;
}

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

/* Ensure images within content area are responsive and not too small */
.page-terms-conditions__content-area img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

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

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

  .page-terms-conditions__hero-image {
    min-height: 250px;
  }

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

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

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

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

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

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

  .page-terms-conditions__faq-answer {
    padding: 10px 20px 15px 20px;
  }
  
  /* Mobile responsive for all images */
  .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__hero-image {
    min-height: 250px !important;
  }

  .page-terms-conditions__image--left,
  .page-terms-conditions__image--right,
  .page-terms-conditions__image--center {
    float: none !important;
    margin: 20px auto !important;
  }
  
  .page-terms-conditions__content-area,
  .page-terms-conditions__container,
  .page-terms-conditions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
}

/* Fixed header spacing - body padding-top is handled by shared.css */
/* This page's first section can have a small top padding */
.page-terms-conditions__hero-section {
  padding-top: 10px;
}