.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop and mobile */
}

.page-terms-conditions__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text for dark background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Highlight with secondary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFFFFF;
}

.page-terms-conditions__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-terms-conditions__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

.page-terms-conditions__button--register:hover {
  background-color: #e0e0e0;
}

.page-terms-conditions__button--download {
  background-color: #FCBC45; /* Login/Download button color */
  color: #000000;
}

.page-terms-conditions__button--download:hover {
  background-color: #e6a73a;
}

.page-terms-conditions__content-area {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
}

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

.page-terms-conditions__article-heading {
  font-size: 2em;
  color: #000000; /* Dark text for headings */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-terms-conditions__article-paragraph {
  margin-bottom: 20px;
  font-size: 1em;
  color: #333333;
}

.page-terms-conditions__article-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-terms-conditions__contact-actions {
  text-align: center;
  margin-top: 50px;
}

.page-terms-conditions__button--support {
  background-color: #000000; /* Dark button for support */
  color: #FFFFFF;
}

.page-terms-conditions__button--support:hover {
  background-color: #333333;
}

/* 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__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-terms-conditions__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto; /* Center buttons on mobile */
  }

  .page-terms-conditions__hero-section,
  .page-terms-conditions__content-area {
    padding: 40px 15px;
  }

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

  .page-terms-conditions__article-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }

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