/* style/privacy-policy.css */

/* General styles for the privacy policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Dark body background #0a0a0a, so use light text */
  background-color: #0a0a0a; /* Ensure consistency with body background */
  line-height: 1.6;
  padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: #1a1a1a; /* Slightly lighter dark background for hero */
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 30px;
  object-fit: cover;
  width: 1200px; /* HTML width attribute */
  height: 675px; /* HTML height attribute */
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #26A9E0; /* Brand color for title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-privacy-policy__text-link:hover {
  color: #38bdf8;
}

/* Content Sections */
.page-privacy-policy__section {
  max-width: 1200px;
  margin: 0 auto 20px auto;
  padding: 40px 20px;
  background-color: #1a1a1a; /* Dark background for content sections */
  border-radius: 8px;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.page-privacy-policy__subsection-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-privacy-policy ul,
.page-privacy-policy ol {
  margin-left: 25px;
  margin-bottom: 15px;
  color: #f0f0f0;
  padding-left: 0; /* Reset default padding */
}

.page-privacy-policy ul {
  list-style-type: disc;
}

.page-privacy-policy ol {
  list-style-type: decimal;
}

.page-privacy-policy li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

/* Images within content */
.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* Call to Action Button */
.page-privacy-policy__cta-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 30px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  background-color: #1e87c0;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  max-width: 1200px;
  margin: 0 auto 20px auto;
  padding: 40px 20px;
  background-color: #1a1a1a;
  border-radius: 8px;
}

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}

.page-privacy-policy__faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  color: #26A9E0;
  transition: color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  color: #38bdf8;
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
}

.page-privacy-policy__faq-answer {
  padding: 0 0 15px 0;
  color: #f0f0f0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 500px; /* Adjust as needed, ensure it covers content */
  padding: 15px 0;
}

/* Contact Section */
.page-privacy-policy__contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  background-color: #1a1a1a;
  border-radius: 8px;
}

.page-privacy-policy__contact-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-privacy-policy__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-privacy-policy__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .page-privacy-policy__section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__contact-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .page-privacy-policy__subsection-title {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  }

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containers with images */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__section,
  .page-privacy-policy__card, /* Assuming cards might exist if structure changes */
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsive */
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy 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;
  }

  /* Button container responsive */
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__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;
    display: flex; /* Ensure flex context for wrap */
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

/* Fixed color rules */
/* No specific login button on this page, but example for reference */
/* .page-privacy-policy__login-button { 
  background-color: #EA7C07;
  color: #FFFFFF;
} */

/* Ensure contrast for various elements on dark background */
.page-privacy-policy__dark-bg {
  color: #ffffff; /* Deep dark background, use light text */
  background: #0a0a0a;
}

.page-privacy-policy__light-bg {
  color: #333333; /* Light background, use dark text */
  background: #ffffff;
}

.page-privacy-policy__medium-bg {
  color: #ffffff; /* Medium dark background, use light text */
  background: #26A9E0;
}

/* Specific contrast for elements if needed */
.page-privacy-policy__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-privacy-policy__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}