.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
}

.page-terms-conditions__hero-section {
  background-color: #000000; /* Main color */
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.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__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.page-terms-conditions__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
  position: relative;
  z-index: 1;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
  margin: 10px;
}

.page-terms-conditions__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-terms-conditions__cta-button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF; /* Background color */
}

.page-terms-conditions__article {
  line-height: 1.7;
  font-size: 1em;
}

.page-terms-conditions__article-heading {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-terms-conditions__link {
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
}

.page-terms-conditions__link:hover {
  color: #FCBC45;
}

.page-terms-conditions__article-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-terms-conditions__contact-info {
  margin-top: 50px;
  padding: 30px;
  background-color: #F8F8F8;
  border-left: 5px solid #000000;
  border-radius: 8px;
  text-align: center;
}

.page-terms-conditions__contact-info .page-terms-conditions__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px); /* Ensure mobile also has offset */
  }

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

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

  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

  .page-terms-conditions__article-image {
    max-width: 100%;
    height: auto;
  }

  .page-terms-conditions__contact-info {
    padding: 20px;
  }

  /* Mobile content area images must not overflow */
  .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__cta-button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-terms-conditions__cta-button--login {
    margin-bottom: 0;
  }
}