/* style/terms-conditions.css */
.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  background-color: #f4f4f4; /* Inherited from body, explicit for context */
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  background-color: #0A2E36; /* Primary brand color for hero background */
  color: #ffffff; /* White text for dark background */
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

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

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

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

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

.page-terms-conditions__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
  font-size: 1em;
}

.page-terms-conditions__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #0A2E36; /* Dark text for gold button */
  border: 2px solid #FFD700;
}

.page-terms-conditions__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-terms-conditions__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for transparent button */
  border: 2px solid #FFD700;
}

.page-terms-conditions__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2E36;
}

.page-terms-conditions__hero-image {
  max-width: 100%;
  overflow: hidden;
  margin-top: 30px;
}

.page-terms-conditions__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Ensure image meets minimum size requirements */
  min-height: 200px;
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* White background for content for readability */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: -80px; /* Overlap with hero section slightly */
  position: relative;
  z-index: 1;
}

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

.page-terms-conditions__content-area p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-terms-conditions__content-area a {
  color: #0A2E36; /* Primary brand color for internal links */
  text-decoration: underline;
  font-weight: bold;
}

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

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

.page-terms-conditions__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure image meets minimum size requirements */
  min-height: 200px;
}

.page-terms-conditions__call-to-action {
  background-color: #0A2E36; /* Dark background for CTA */
  color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-terms-conditions__call-to-action p {
  font-size: 1.3em;
  margin-bottom: 25px;
  font-weight: bold;
  color: #ffffff;
}

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

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

  .page-terms-conditions__button {
    padding: 10px 20px;
    min-width: unset;
    width: 100%;
  }

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

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

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

  .page-terms-conditions__hero-image img,
  .page-terms-conditions__image-wrapper img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  
  .page-terms-conditions {
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
  }
}

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

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