/* 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 {
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Gold to Dark Red gradient */
  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;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #ffffff; /* White button for contrast */
  color: #8B0000; /* Dark red text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #8B0000;
}

.page-terms-conditions__hero-button:hover {
  background-color: #FFD700; /* Gold on hover */
  color: #333333; /* Dark text on gold */
  border-color: #FFD700;
}

.page-terms-conditions__content-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.page-terms-conditions__content-container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #8B0000; /* Dark red for main section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700; /* Gold underline */
  padding-bottom: 10px;
  font-weight: bold;
}

.page-terms-conditions__sub-section-title {
  font-size: 1.5em;
  color: #8B0000; /* Dark red for sub-section titles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-terms-conditions__text-block {
  margin-bottom: 15px;
  font-size: 1em;
}

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

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

.page-terms-conditions__list-item strong {
  color: #8B0000;
}

.page-terms-conditions__text-block a, .page-terms-conditions__list-item a {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-terms-conditions__text-block a:hover, .page-terms-conditions__list-item a:hover {
  color: #8B0000; /* Dark red on hover */
  text-decoration: underline;
}

.page-terms-conditions__button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #333333; /* Dark text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
  border: none;
}

.page-terms-conditions__button:hover {
  background-color: #8B0000; /* Dark red on hover */
  color: #ffffff; /* White text */
}

.page-terms-conditions__button--contact {
  margin-top: 30px;
  background-color: #8B0000;
  color: #ffffff;
}

.page-terms-conditions__button--contact:hover {
  background-color: #FFD700;
  color: #333333;
}

.page-terms-conditions__image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

  .page-terms-conditions__content-container {
    padding: 20px;
  }

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

  .page-terms-conditions__sub-section-title {
    font-size: 1.2em;
  }

  .page-terms-conditions__list {
    margin-left: 10px;
  }

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

  /* Ensure content area images do not overflow */
  .page-terms-conditions__content-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
  }

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

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

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

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

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

  .page-terms-conditions__sub-section-title {
    font-size: 1.1em;
  }

  .page-terms-conditions__hero-button,
  .page-terms-conditions__button {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}