/* style/terms-conditions.css */
.page-terms-conditions {
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-terms-conditions__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FCBC45;
}

.page-terms-conditions__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

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

.page-terms-conditions__button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
  font-size: 1em;
}

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

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

.page-terms-conditions__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-terms-conditions__button--login:hover {
  background-color: #E0A030;
  color: #000000;
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-terms-conditions__section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000000;
}

.page-terms-conditions__section-paragraph {
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333333;
}

.page-terms-conditions__section-paragraph a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__section-paragraph a:hover {
  text-decoration: underline;
}

.page-terms-conditions__image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
}

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

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

  .page-terms-conditions__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-terms-conditions__button {
    width: 100%;
  }

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

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

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

  .page-terms-conditions {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
  }

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

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

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