.page-terms-conditions {
  color: #ffffff; /* Body background is #000000 (dark), so text must be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-terms-conditions__hero-section {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.9) 0%, rgba(255, 215, 0, 0.2) 100%), #0d0d0d;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

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

.page-terms-conditions__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #f0f0f0;
}

.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 40px;
  background: #FFD700;
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-terms-conditions__cta-button--secondary {
  background: #8B0000;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.page-terms-conditions__cta-button--secondary:hover {
  background: #6a0000;
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

.page-terms-conditions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtle background image */
  filter: grayscale(100%); /* Make it blend with the background colors */
}

.page-terms-conditions__content-section {
  padding: 60px 20px;
  background-color: #000000; /* Dark background for content */
  color: #ffffff; /* Light text for dark background */
}

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

.page-terms-conditions__article {
  background-color: #1a1a1a; /* Slightly lighter dark background for article content */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__article-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
  border-bottom: 2px solid #8B0000;
  padding-bottom: 10px;
}

.page-terms-conditions__article-title:first-of-type {
  margin-top: 0;
}

.page-terms-conditions__subtitle {
  font-size: 1.6em;
  color: #f0f0f0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-terms-conditions__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #cccccc;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 30px;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-terms-conditions__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

/* Ensure images within the article are not smaller than 200px */
.page-terms-conditions__article img {
  min-width: 200px;
  min-height: 200px;
}

.page-terms-conditions__final-cta {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px dashed #8B0000;
}

.page-terms-conditions__final-cta-text {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 2.8em;
  }

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

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

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

  .page-terms-conditions__article-paragraph,
  .page-terms-conditions__list li {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-terms-conditions__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

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

  .page-terms-conditions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button width on mobile */
    margin: 0 auto;
  }

  .page-terms-conditions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-terms-conditions__article {
    padding: 25px;
  }

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

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

  .page-terms-conditions__article-paragraph,
  .page-terms-conditions__list li {
    font-size: 0.95em;
  }

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

  .page-terms-conditions__article-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-terms-conditions__final-cta-text {
    font-size: 1.2em;
  }
}

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

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

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

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