.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Assuming body default is white */
}

.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top spacing, not var(--header-offset) */
  display: flex;
  flex-direction: column; /* Image first, then content */
  align-items: center;
  text-align: center;
  background-color: #0D0E12; /* Dark background for the whole hero section */
  padding-bottom: 40px;
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2; /* Ensure content is above image */
  max-width: 900px;
  margin-top: -150px; /* Overlap image slightly for design, but text is not *on* image */
  padding: 40px;
  background: rgba(23, 25, 31, 0.9); /* Card BG with transparency for hero content */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #FFF3E6; /* Text Main color for dark background */
  border: 1px solid #A84F0C; /* Border color */
}

.page-terms-conditions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF3E6; /* Text Main color */
  letter-spacing: -0.5px;
}

.page-terms-conditions__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main color */
}

.page-terms-conditions__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to wrap */
}

.page-terms-conditions__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

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

.page-terms-conditions__btn-secondary {
  background: #ffffff;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.2);
}

.page-terms-conditions__btn-secondary:hover {
  transform: translateY(-3px);
  background: #FF8C1A;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.4);
}

.page-terms-conditions__content-area {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for main content */
  color: #333333; /* Dark text for light background */
}

.page-terms-conditions__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}