.page-privacy-policy {
  color: var(--text-main, #333333); /* Default text color, assuming light body background */
  background-color: var(--background, #F5F7FA); /* Default background color for main content */
}

.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; /* Adhering to the 10px rule for hero section top padding */
  background: var(--background, #F5F7FA); /* Background for the hero section itself */
}

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

.page-privacy-policy__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px; /* Constrain content width for readability */
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 2.5vw, 2.5em); /* Using clamp for responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main, #333333);
  margin-bottom: 20px;
  max-width: 100%; /* Ensure it doesn't overflow */
}

.page-privacy-policy__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-main, #333333);
  margin-bottom: 30px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Custom button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  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 {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-privacy-policy__container {
  max-width: 900px; /* Content container width */
  margin: 0 auto;
}

.page-privacy-policy__text-block {
  margin-bottom: 40px;
  background-color: var(--card-bg, #FFFFFF); /* Card BG color */
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #E0E0E0); /* Border color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-main, #333333);
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8em, 2vw, 2em);
  font-weight: 700;
  color: var(--primary-color, #E53935);
  margin-bottom: 25px;
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: clamp(1.3em, 1.5vw, 1.5em);
  font-weight: 600;
  color: var(--primary-color, #E53935);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-main, #333333);
}

.page-privacy-policy ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-main, #333333);
}

.page-privacy-policy ul li {
  line-height: 1.6;
  margin-bottom: 8px;
}

.page-privacy-policy a {
  color: var(--primary-color, #E53935);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: var(--secondary-color, #FF5A4F);
  text-decoration: underline;
}

.page-privacy-policy__image-content {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
  object-fit: cover;
}

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

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-main, #333333);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
  background-color: var(--background, #F5F7FA); /* Background color */
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color, #E0E0E0); /* Border color */
  overflow: hidden;
  background: var(--card-bg, #FFFFFF); /* Card BG color */
  color: var(--text-main, #333333);
}
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;
}
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;
  color: var(--text-main, #333333);
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color, #E53935); /* Using 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-main, #333333);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-section {
    padding: 50px 20px;
    padding-top: 10px !important;
  }
  .page-privacy-policy__content-area, .page-privacy-policy__faq-section {
    padding: 50px 20px;
  }
}

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

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Enforce 10px top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__hero-image img {
    border-radius: 4px;
  }
  
  .page-privacy-policy__hero-content {
    padding: 0 15px;
  }

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

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

  .page-privacy-policy__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100% !important; /* Enforce full width for buttons */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-top: 20px;
  }

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

  .page-privacy-policy__text-block {
    padding: 20px;
    margin-bottom: 30px;
  }

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

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

  .page-privacy-policy__image-content {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  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; width: 24px; }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer { padding: 0 15px 15px; }

  /* Ensure all content containers are responsive */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.3em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.1em;
  }
}