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

.page-terms-conditions__hero-section {
  background-color: #8B0000; /* Deep red background for hero */
  color: #FFD700; /* Gold text on deep red */
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-terms-conditions__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.page-terms-conditions__hero-image {
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

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

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: -40px; /* Overlap with hero section */
  position: relative;
  z-index: 1;
}

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

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

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

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

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

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

.page-terms-conditions__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it's a block element for max-width to work */
  margin: 0 auto;
}

.page-terms-conditions__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background-color: #FFD700; /* Gold background for CTA */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-terms-conditions__call-to-action-text {
  font-size: 1.4em;
  margin-bottom: 25px;
  font-weight: bold;
  color: #8B0000; /* Deep red text for emphasis */
}

.page-terms-conditions__button {
  display: inline-block;
  background-color: #8B0000; /* Deep red button */
  color: #FFD700; /* Gold text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__button:hover {
  background-color: #a00000; /* Slightly darker red on hover */
  transform: translateY(-3px);
}

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

  .page-terms-conditions__hero-description,
  .page-terms-conditions__article-paragraph,
  .page-terms-conditions__list-item,
  .page-terms-conditions__call-to-action-text {
    font-size: 1em;
  }

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

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

  .page-terms-conditions__content-area {
    margin-top: -20px;
  }

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

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

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

  .page-terms-conditions__hero-section {
    padding: 40px 10px;
  }

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