.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-terms-conditions__hero-section {
  background-color: #1A202C; /* Main brand color */
  color: #ffffff; /* White text for dark background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-container {
  max-width: 900px;
  z-index: 1;
}

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  line-height: 1.2;
  font-weight: 700;
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for button */
  color: #1A202C; /* Dark text for accent button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__hero-button:hover {
  background-color: #e5c300; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.8;
  font-size: 1.05em;
}

.page-terms-conditions__article {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__article-heading {
  color: #1A202C; /* Main brand color for headings */
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
  font-weight: 600;
}

.page-terms-conditions__article p {
  margin-bottom: 20px;
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
  object-fit: cover; /* Ensure image covers the area without distortion */
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-terms-conditions__button {
  display: inline-block;
  background-color: #1A202C; /* Dark button for general CTAs */
  color: #FFD700; /* Gold text for dark button */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin-top: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__button:hover {
  background-color: #333d4e; /* Lighter dark on hover */
  color: #ffffff;
}

.page-terms-conditions__button--primary {
  background-color: #FFD700; /* Primary accent button */
  color: #1A202C;
}

.page-terms-conditions__button--primary:hover {
  background-color: #e5c300;
  color: #1A202C;
}

.page-terms-conditions__text-link {
  color: #1A202C; /* Link color */
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-terms-conditions__text-link:hover {
  color: #FFD700; /* Link hover color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-title {
    font-size: 2.2em;
  }

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

  .page-terms-conditions__article-heading {
    font-size: 1.6em;
  }

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

  .page-terms-conditions__article {
    padding: 20px;
  }

  /* Mobile content image constraint */
  .page-terms-conditions__content-area img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-terms-conditions__hero-button {
    padding: 12px 20px;
    font-size: 0.95em;
  }

  .page-terms-conditions__article-heading {
    font-size: 1.4em;
  }

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