/* style/terms-conditions.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-terms-conditions {
  color: #ffffff; /* Light text for dark body background */
  background-color: #000000; /* Ensuring contrast with the body's dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-terms-conditions__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  color: #ffffff;
}

.page-terms-conditions__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF; /* White for contrast on potentially dark hero image */
}

.page-terms-conditions__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Content Area */
.page-terms-conditions__content-area {
  max-width: 100%; /* Ensure full width on smaller screens */
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #000000; /* Dark background for content sections */
  color: #ffffff; /* Light text on dark background */
  box-sizing: border-box;
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 25px;
  color: #26A9E0; /* Brand primary color for titles */
  text-align: left;
}

.page-terms-conditions__subsection-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFFFFF; /* White for subtitles */
  text-align: left;
}

.page-terms-conditions__text-block {
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-terms-conditions__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-terms-conditions__list li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-terms-conditions__ordered-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-terms-conditions__ordered-list li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

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

.page-terms-conditions__link {
  color: #26A9E0; /* Brand primary color for links */
  text-decoration: underline;
}

.page-terms-conditions__link:hover {
  color: #FFFFFF;
}

/* Buttons */
.page-terms-conditions__btn-primary,
.page-terms-conditions__cta-bottom {
  display: inline-block;
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary:hover,
.page-terms-conditions__cta-bottom:hover {
  background-color: #1a7bb7; /* Slightly darker shade on hover */
  transform: translateY(-2px);
}

.page-terms-conditions__cta-bottom {
  margin-top: 40px;
  width: auto;
  min-width: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

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

  .page-terms-conditions__hero-image {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

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

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

  .page-terms-conditions__subsection-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-terms-conditions p,
  .page-terms-conditions li {
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-terms-conditions__section,
  .page-terms-conditions__card,
  .page-terms-conditions__container,
  .page-terms-conditions__hero-section,
  .page-terms-conditions__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-terms-conditions__btn-primary,
  .page-terms-conditions__cta-bottom,
  .page-terms-conditions a[class*="button"],
  .page-terms-conditions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__cta-buttons,
  .page-terms-conditions__button-group,
  .page-terms-conditions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

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

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