:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --black-color: #000000;
  --text-dark: #333333;
  --text-light: #ffffff;
}

.page-privacy-policy {
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--secondary-color); /* Default body background is white */
}

/* HERO Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--primary-color); /* Use primary color for hero background */
  color: var(--text-light); /* Light text on dark background */
}

.page-privacy-policy__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure full width within container */
}

.page-privacy-policy__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 as specified */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 600px; /* Limit width to ensure readability */
  color: var(--secondary-color); /* White text for main title */
}

.page-privacy-policy__description {
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  color: var(--secondary-color); /* White text for description */
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--login-color); /* Use login color for CTA button */
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  background: #c26706; /* Darken on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Content Sections */
.page-privacy-policy__content-section {
  padding: 50px 20px;
}

.page-privacy-policy__light-bg {
  background-color: var(--secondary-color); /* White background */
  color: var(--text-dark); /* Dark text */
}

.page-privacy-policy__dark-bg {
  background-color: var(--primary-color); /* Primary color background */
  color: var(--text-light); /* Light text */
}

.page-privacy-policy__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for content */
  box-sizing: border-box;
  width: 100%;
}

.page-privacy-policy__section-title {
  font-size: clamp(2rem, 4vw, 2.5rem); /* H2 */
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem); /* H3 */
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-privacy-policy__text-block {
  font-size: 1rem; /* 16px */
  line-height: 1.7;
  margin-bottom: 20px;
  color: inherit;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
  color: inherit;
}

.page-privacy-policy__link {
  color: var(--login-color); /* Use login color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: #c26706;
}

.page-privacy-policy__image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size */
  min-height: 200px; /* Minimum size */
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-privacy-policy__contact-item {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: inherit;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 50px 20px;
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-privacy-policy__faq-list {
  margin-top: 30px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600; /* Ensure question text is bold */
  color: var(--text-dark);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #f5f5f5;
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color); /* Use primary color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .page-privacy-policy__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important; /* Force full width */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-privacy-policy__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item,
  .page-privacy-policy__contact-item {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .page-privacy-policy__container {
    padding: 0; /* Remove inner padding for mobile, use section padding */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Ensure minimum size is maintained for content images */
    min-height: 200px; /* Ensure minimum size is maintained for content images */
  }

  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
  .page-privacy-policy__faq-qtext { font-size: 15px; }
  .page-privacy-policy__faq-toggle { font-size: 20px; }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }
}