/* style/privacy-policy.css */

/* Base styles for the page content, assuming a light body background */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: var(--background-color, #ffffff); /* Fallback to white */
  padding-bottom: 40px; /* Ensure space above footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 10px 0 40px 0; /* Small top padding, more bottom padding */
  background-color: #f5f5f5; /* Light background for hero section */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 20px;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em); /* Responsive font size */
  color: #26A9E0; /* Primary color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-privacy-policy__intro-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 20px;
}

/* Content Sections */
.page-privacy-policy__content-section {
  padding: 40px 0;
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: #26A9E0; /* Primary color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
  font-weight: 600;
}

.page-privacy-policy__sub-title {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-privacy-policy__list li {
  margin-bottom: 8px;
  color: #333333;
}

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

.page-privacy-policy__link:hover {
  color: #1a7bb7; /* Darker shade on hover */
  text-decoration: none;
}

.page-privacy-policy__highlight {
  font-weight: bold;
  color: #26A9E0;
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 30px;
}

.page-privacy-policy__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-privacy-policy__faq-item details {
  /* For native details tag */
  padding: 0;
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #26A9E0;
  border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy__faq-question:hover {
  background-color: #eaf6fd; /* Lighter hover for questions */
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: #333333; /* Ensure question text is dark */
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
}

/* Ensure details summary marker is hidden */
.page-privacy-policy__faq-item summary {
  list-style: none;
}
.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__container {
    padding: 0 15px;
  }
}

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

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

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust for smaller screens */
  }

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

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

  .page-privacy-policy__sub-title {
    font-size: 1.3em;
  }

  /* Images responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers responsiveness */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Specific padding for hero content to avoid double padding */
  .page-privacy-policy__hero-content {
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-privacy-policy__faq-answer {
    padding: 15px 20px;
  }
}