.page-terms-conditions {
  background-color: #08160F;
  color: #F2FFF6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  overflow: hidden;
}

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

.page-terms-conditions__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-terms-conditions__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  /* No fixed font-size, rely on clamp for responsiveness if needed, but not here */
}

.page-terms-conditions__description {
  font-size: 1.1em;
  color: #A7D9B8;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-terms-conditions__content-area {
  padding: 40px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-terms-conditions__section-wrapper {
  background-color: #11271B;
  border-radius: 12px;
  padding: 40px;
  border: 1px solid #2E7A4E;
}

.page-terms-conditions__heading {
  font-size: 2em;
  color: #F2FFF6;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  border-bottom: 1px solid #1E3A2A;
  padding-bottom: 10px;
}

.page-terms-conditions__heading:first-of-type {
  margin-top: 0;
}

.page-terms-conditions__paragraph {
  font-size: 1em;
  line-height: 1.7;
  color: #A7D9B8;
  margin-bottom: 15px;
}

.page-terms-conditions__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #A7D9B8;
}

.page-terms-conditions__list-item {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-terms-conditions__list-item::marker {
  color: #2AD16F; /* Use a bright color for list markers */
}

.page-terms-conditions__paragraph a, .page-terms-conditions__list-item a {
  color: #2AD16F;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions__paragraph a:hover, .page-terms-conditions__list-item a:hover {
  color: #57E38D;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.3);
}

.page-terms-conditions__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.4);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 2.5em;
  }
  .page-terms-conditions__heading {
    font-size: 1.8em;
  }
  .page-terms-conditions__section-wrapper {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__main-title {
    font-size: 2em;
  }
  .page-terms-conditions__description {
    font-size: 1em;
  }
  .page-terms-conditions__heading {
    font-size: 1.5em;
  }
  .page-terms-conditions__section-wrapper {
    padding: 20px;
  }
  .page-terms-conditions__hero-content {
    padding: 0 15px;
  }
  .page-terms-conditions__content-area {
    padding: 30px 15px 60px;
  }
  .page-terms-conditions__hero-image {
    max-width: 100%;
    height: auto;
  }
  /* CRITICAL: Mobile content image overflow prevention */
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__main-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__heading {
    font-size: 1.3em;
  }
  .page-terms-conditions__section-wrapper {
    padding: 15px;
  }
  .page-terms-conditions__button {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
  }
}