.page-terms-conditions {
  padding-top: var(--header-offset, 120px);
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8;
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000080; /* Dark blue background for hero */
  color: #ffffff;
  padding-bottom: 60px; /* Add padding to bottom */
}

.page-terms-conditions__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 0;
}

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

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

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

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

.page-terms-conditions__hero-button {
  display: inline-block;
  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;
  min-width: 200px; /* Ensure buttons are large enough */
}

.page-terms-conditions__hero-button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #000080; /* Dark blue text on gold */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-terms-conditions__hero-button--primary:hover {
  background-color: #e0c000;
  transform: translateY(-2px);
}

.page-terms-conditions__hero-button--secondary {
  background-color: #000080; /* Dark blue secondary button */
  color: #FFD700; /* Gold text on dark blue */
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(0, 0, 128, 0.4);
}

.page-terms-conditions__hero-button--secondary:hover {
  background-color: #000066;
  transform: translateY(-2px);
}

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

.page-terms-conditions__article {
  line-height: 1.8;
  font-size: 1.1em;
}

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

.page-terms-conditions__article-paragraph {
  margin-bottom: 15px;
  color: #444444;
}

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

.page-terms-conditions__article-list-item {
  margin-bottom: 10px;
  color: #444444;
}

.page-terms-conditions__link {
  color: #000080; /* Dark blue for links */
  text-decoration: underline;
  font-weight: bold;
}

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

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

.page-terms-conditions__cta-section {
  text-align: center;
  background-color: #000080; /* Dark blue background for CTA */
  color: #ffffff;
  padding: 60px 20px;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.page-terms-conditions__cta-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for CTA title */
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #e0e0e0;
}

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

.page-terms-conditions__cta-button {
  display: inline-block;
  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;
  min-width: 200px; /* Ensure buttons are large enough */
}

.page-terms-conditions__cta-button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #000080; /* Dark blue text on gold */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-terms-conditions__cta-button--primary:hover {
  background-color: #e0c000;
  transform: translateY(-2px);
}

.page-terms-conditions__cta-button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text on transparent */
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-terms-conditions__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #000080;
  transform: translateY(-2px);
}

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

  .page-terms-conditions__hero-description {
    font-size: 1em;
  }

  .page-terms-conditions__hero-button {
    width: 100%;
    max-width: 300px;
  }

  .page-terms-conditions__hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .page-terms-conditions__article-title {
    font-size: 1.6em;
  }

  .page-terms-conditions__article-paragraph,
  .page-terms-conditions__article-list-item {
    font-size: 0.95em;
  }

  .page-terms-conditions__content-area {
    padding: 15px;
    margin: 20px auto;
  }

  .page-terms-conditions__cta-title {
    font-size: 2em;
  }

  .page-terms-conditions__cta-description {
    font-size: 1em;
  }

  .page-terms-conditions__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-terms-conditions__cta-button {
    width: 100%;
    max-width: 300px;
  }
}

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

  .page-terms-conditions__hero-description {
    font-size: 0.9em;
  }

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

  .page-terms-conditions__hero-button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-terms-conditions__cta-section {
    padding: 40px 15px;
  }

  .page-terms-conditions__cta-title {
    font-size: 1.8em;
  }

  .page-terms-conditions__cta-description {
    font-size: 0.9em;
  }
}