.page-terms-conditions {
  /* Using shared --header-offset for consistent top padding */
  padding-top: var(--header-offset, 120px); /* Default for desktop if shared doesn't set body padding */
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8; /* Slightly off-white background for main content area */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px; /* Minimum height for hero section */
  background-color: #0A1931; /* Dark blue background if image not loaded */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the background image for text readability */
  z-index: 1;
}

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

.page-terms-conditions__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-terms-conditions__cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__cta-button--primary {
  background-color: #FFD700; /* Gold */
  color: #0A1931; /* Dark blue text */
}

.page-terms-conditions__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-terms-conditions__cta-button--secondary {
  background-color: #0A1931; /* Dark blue */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-terms-conditions__cta-button--secondary:hover {
  background-color: #1a2a47;
  transform: translateY(-2px);
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #0A1931; /* Dark blue for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: #333333;
}

.page-terms-conditions__keyword {
  font-weight: bold;
  color: #E02B2B; /* Highlight keywords with accent red */
}

.page-terms-conditions__image {
  display: block;
  width: 100%;
  max-width: 800px; /* Constrain image width within content area */
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-terms-conditions__cta-group--bottom {
  margin-top: 50px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }

  .page-terms-conditions__hero-section {
    min-height: 350px;
    padding: 60px 15px;
  }

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

  .page-terms-conditions__intro-text {
    font-size: 1em;
  }

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

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

  .page-terms-conditions__cta-group {
    flex-direction: column;
  }

  .page-terms-conditions__cta-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-terms-conditions__image {
    max-width: 100%; /* Ensure images don't overflow on mobile */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__main-title {
    font-size: 1.8em;
  }

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