.page-terms-conditions {
  color: #333333; /* Default text color for light body background */
  background-color: #f8f8f8; /* Light background for the main content area */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-terms-conditions__hero-section {
  background-color: #0A1F3B; /* Dark blue main color */
  color: #ffffff; /* White text for dark background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.page-terms-conditions__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent color for title */
  line-height: 1.2;
}

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

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button background */
  color: #0A1F3B; /* Dark blue text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-terms-conditions__hero-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: -60px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 1;
}

.page-terms-conditions__article {
  line-height: 1.7;
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #0A1F3B; /* Dark blue for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700; /* Gold underline */
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: #555555;
}

.page-terms-conditions__paragraph a {
  color: #0A1F3B;
  text-decoration: underline;
  font-weight: 600;
}

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

.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.05em;
  color: #555555;
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
    min-height: 300px;
  }

  .page-terms-conditions__hero-title {
    font-size: 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: 40px 15px;
    margin-top: -40px;
  }

  .page-terms-conditions__section-title {
    font-size: 1.6em;
    margin-top: 30px;
  }

  .page-terms-conditions__paragraph,
  .page-terms-conditions__list-item {
    font-size: 0.95em;
  }
  
  .page-terms-conditions__image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size on mobile */
    min-height: 200px; /* Ensure minimum size on 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__hero-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }

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