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

.page-terms-conditions__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #f8f8f8;
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-terms-conditions__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-terms-conditions__section {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  padding: 30px;
  border-left: 5px solid #FFD700; /* Gold accent */
}

.page-terms-conditions__section-title {
  color: #8B0000; /* Deep red for section titles */
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.page-terms-conditions__section-paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333;
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Ensure images in content area are not too wide */
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-terms-conditions__link {
  color: #8B0000; /* Deep red for links */
  text-decoration: none;
  font-weight: bold;
}

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

.page-terms-conditions__section--cta {
  text-align: center;
  background-color: #FFD700;
  color: #333333;
  padding: 40px;
  border-left: none;
}

.page-terms-conditions__section--cta .page-terms-conditions__section-title {
  color: #8B0000;
  border-bottom: none;
}

.page-terms-conditions__section--cta .page-terms-conditions__section-paragraph {
  color: #333333;
}

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

.page-terms-conditions__button:hover {
  background-color: #5a0000; /* Darker red on hover */
}

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

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

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

  .page-terms-conditions__section-paragraph {
    font-size: 1em;
  }

  .page-terms-conditions__section {
    padding: 20px;
  }

  .page-terms-conditions__content-area {
    padding: 0 15px;
  }

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