/* style/privacy-policy.css */
/*
  Body background color: #0a0a0a (dark)
  Recommended text color: #ffffff
*/

/* General styles for the privacy policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body handles the main background */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #1a1a1a; /* Slightly lighter dark background for this section */
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px; /* Space between image and content */
  max-width: 1200px; /* Constrain image width */
}

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 30px;
  border-radius: 8px;
  background: rgba(38, 169, 224, 0.15); /* Semi-transparent brand color for content block */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

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

.page-privacy-policy__link {
  color: #26A9E0; /* Brand color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: #EA7C07; /* Login color on hover for emphasis */
  text-decoration: underline;
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #1a1a1a; /* Dark background for content area */
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Brand color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-privacy-policy__subsection-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #e0e0e0;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 30px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-privacy-policy__highlight {
  color: #EA7C07; /* Login color for highlights */
  font-weight: bold;
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 800px; /* Ensure content images are not too wide */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

/* CTA Section */
.page-privacy-policy__cta-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #0a0a0a; /* Dark background for CTA */
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-text {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 500;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  background: #26A9E0; /* Brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__btn-primary:hover {
  background-color: #EA7C07; /* Login color on hover */
  transform: translateY(-3px);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
  background-color: #0a0a0a; /* Dark background as per body */
  color: #ffffff;
  margin-top: 40px;
}

.page-privacy-policy__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__faq-item {
  background-color: #1a1a1a; /* Slightly lighter dark for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0; /* Brand color for questions */
  cursor: pointer;
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #ffffff;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-privacy-policy__faq-answer {
  padding: 20px;
  font-size: 1.05em;
  color: #e0e0e0;
  background-color: #222222; /* Slightly different background for answer */
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-privacy-policy__hero-content {
    padding: 20px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-privacy-policy__description {
    font-size: 1em;
  }

  .page-privacy-policy__content-area {
    padding: 30px 15px;
    margin-top: 20px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__subsection-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list li {
    font-size: 1em;
  }

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px; /* Maintain minimum size for content images */
    min-height: 200px;
  }
  
  /* All containers with images/content must be responsive */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__cta-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__faq-item,
  .page-privacy-policy__hero-image,
  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-privacy-policy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1.1em;
  }

  .page-privacy-policy__cta-section {
    padding: 30px 15px;
  }

  .page-privacy-policy__cta-text {
    font-size: 1.2em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__faq-section {
    padding: 40px 15px;
  }

  .page-privacy-policy__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-privacy-policy__faq-answer {
    padding: 15px;
    font-size: 1em;
  }
}