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

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-terms-conditions__hero-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* Ensure visibility for overlay */
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-terms-conditions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Darker overlay for text readability */
  color: #ffffff;
}

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

.page-terms-conditions__button-cta {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A192F; /* Dark blue text */
  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__button-cta:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

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

.page-terms-conditions__heading-primary {
  color: #0A192F; /* Main brand color for primary headings */
  font-size: 2.2em;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 3px solid #FFD700;
  padding-bottom: 10px;
}

.page-terms-conditions__heading-secondary {
  color: #0A192F; /* Main brand color for secondary headings */
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.8;
}

.page-terms-conditions__paragraph--bold {
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  margin-top: 40px;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-terms-conditions__list-item {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-terms-conditions__article a {
  color: #0A192F; /* Dark blue for internal links within content */
  text-decoration: underline;
  font-weight: bold;
}

.page-terms-conditions__article a:hover {
  color: #FFD700; /* Gold on hover */
}

.page-terms-conditions__final-cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #eee;
}

.page-terms-conditions__final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.page-terms-conditions__button-cta--register {
  background-color: #0A192F; /* Dark blue for register */
  color: #FFD700; /* Gold text */
}

.page-terms-conditions__button-cta--register:hover {
  background-color: #1a2a40;
  color: #ffffff;
}

.page-terms-conditions__button-cta--login {
  background-color: #FFD700; /* Gold for login */
  color: #0A192F; /* Dark blue text */
}

.page-terms-conditions__button-cta--login:hover {
  background-color: #e6c200;
  color: #0A192F;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-title {
    font-size: 2.8em;
  }
  .page-terms-conditions__hero-description {
    font-size: 1.1em;
  }
  .page-terms-conditions__heading-primary {
    font-size: 2em;
  }
  .page-terms-conditions__heading-secondary {
    font-size: 1.5em;
  }
}

@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-cta {
    width: 80%;
    max-width: 300px;
    padding: 12px 20px;
  }
  .page-terms-conditions__content-area {
    padding: 20px 15px;
  }
  .page-terms-conditions__heading-primary {
    font-size: 1.8em;
  }
  .page-terms-conditions__heading-secondary {
    font-size: 1.3em;
  }
  .page-terms-conditions__paragraph, .page-terms-conditions__list-item {
    font-size: 0.95em;
  }
  .page-terms-conditions__final-cta-buttons {
    flex-direction: column;
  }
  /* Ensure images do not overflow on mobile */
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }
  .page-terms-conditions__hero-image {
    filter: brightness(0.5); /* Slightly darker for mobile */
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__hero-description {
    font-size: 0.9em;
  }
  .page-terms-conditions__heading-primary {
    font-size: 1.6em;
  }
  .page-terms-conditions__heading-secondary {
    font-size: 1.2em;
  }
  .page-terms-conditions__hero-overlay {
    padding: 15px;
  }
}