.page-terms-conditions {
  color: #333333; /* Dark text for default light body background */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px; /* Ensure space for fixed header */
  background-color: #FFD700; /* Primary color background */
  overflow: hidden;
}

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

.page-terms-conditions__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle overlay */
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  border-radius: 12px;
  color: #ffffff;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold title */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-terms-conditions__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #8B0000; /* Dark red button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-terms-conditions__hero-button:hover {
  background-color: #a01010;
}

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

.page-terms-conditions__article {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__article-heading {
  font-size: 2em;
  color: #8B0000; /* Dark red heading */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700; /* Gold underline */
  padding-bottom: 10px;
}

.page-terms-conditions__article-paragraph {
  font-size: 1em;
  margin-bottom: 15px;
}

.page-terms-conditions__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-terms-conditions__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 800px; /* Default width for content images */
  height: 600px; /* Default height for content images */
}

.page-terms-conditions__cta-banner {
  position: relative;
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

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

.page-terms-conditions__cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  color: #ffffff;
  max-width: 800px;
}

.page-terms-conditions__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-terms-conditions__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #333333;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-terms-conditions__cta-button:hover {
  background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-title {
    font-size: 2.2em;
  }
  .page-terms-conditions__article-heading {
    font-size: 1.8em;
  }
  .page-terms-conditions__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: var(--header-offset, 120px) 15px 40px;
  }
  .page-terms-conditions__hero-content {
    padding: 30px;
  }
  .page-terms-conditions__hero-title {
    font-size: 1.8em;
  }
  .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: 40px 15px;
  }
  .page-terms-conditions__article {
    padding: 25px;
  }
  .page-terms-conditions__article-heading {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-terms-conditions__article-paragraph {
    font-size: 0.95em;
  }
  .page-terms-conditions__image-wrapper img {
    max-width: 100%;
    height: auto;
  }
  .page-terms-conditions__cta-content {
    padding: 30px;
  }
  .page-terms-conditions__cta-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__cta-description {
    font-size: 1em;
  }
  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  /* Ensure content images do not cause horizontal scroll */
  .page-terms-conditions__image-wrapper img, 
  .page-terms-conditions__cta-banner img {
    max-width: 100%;
    height: auto;
  }
  .page-terms-conditions__article-heading,
  .page-terms-conditions__article-paragraph {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__hero-description {
    font-size: 0.9em;
  }
  .page-terms-conditions__cta-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__cta-description {
    font-size: 0.9em;
  }
}