.page-terms-conditions {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #f5f5f5; /* Light background for readability */
  color: #333333; /* Dark text for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-terms-conditions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Gold to Red gradient for a rich feel */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-terms-conditions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.page-terms-conditions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  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;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__hero-button: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 0 20px rgba(0, 0, 0, 0.05);
}

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

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #8B0000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 3px solid #FFD700;
  padding-bottom: 10px;
}

.page-terms-conditions__sub-section-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

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

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

.page-terms-conditions__image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-terms-conditions__call-to-action {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #FFD700;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__call-to-action-text {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-terms-conditions__call-to-action-button {
  display: inline-block;
  background-color: #8B0000;
  color: #ffffff;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__call-to-action-button:hover {
  background-color: #b30000;
  transform: translateY(-3px);
}

.page-terms-conditions__call-to-action-button--secondary {
  background-color: #a0a0a0; /* A neutral color for secondary action */
  color: #333333;
}

.page-terms-conditions__call-to-action-button--secondary:hover {
  background-color: #777777;
}

@media (max-width: 1024px) {
  .page-terms-conditions__hero-title {
    font-size: 3em;
  }
  .page-terms-conditions__hero-description {
    font-size: 1.2em;
  }
  .page-terms-conditions__section-title {
    font-size: 2em;
  }
  .page-terms-conditions__sub-section-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 40px 15px;
  }
  .page-terms-conditions__hero-title {
    font-size: 2.2em;
  }
  .page-terms-conditions__hero-description {
    font-size: 1em;
  }
  .page-terms-conditions__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-terms-conditions__content-area {
    padding: 20px 15px;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__sub-section-title {
    font-size: 1.3em;
  }
  .page-terms-conditions__paragraph {
    font-size: 0.95em;
  }
  .page-terms-conditions__call-to-action-text {
    font-size: 1.4em;
  }
  .page-terms-conditions__call-to-action-button {
    padding: 14px 25px;
    font-size: 1em;
    margin: 10px 0; /* Stack buttons on mobile */
    width: 100%;
  }
  .page-terms-conditions__image {
    max-width: 100%;
    height: auto;
  }
  .page-terms-conditions__call-to-action {
    padding: 30px 15px;
  }
}

@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__section-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__sub-section-title {
    font-size: 1.1em;
  }
  .page-terms-conditions__call-to-action-text {
    font-size: 1.2em;
  }
}