.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: transparent; /* Rely on shared.css body background */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  text-align: center;
  padding-bottom: 40px; /* Space below content */
  padding-top: 10px; /* Small top padding, not --header-offset */
}

.page-privacy-policy__hero-image-container {
  width: 100%;
  max-height: 500px; /* Limit hero image height */
  overflow: hidden;
  margin-bottom: 20px; /* Space between image and content */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

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

.page-privacy-policy__main-title {
  font-size: 42px;
  font-weight: 700;
  color: #C91F17; /* Brand color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: 18px;
  color: #333333;
  margin-bottom: 30px;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #333333; /* Dark text on light button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(230, 184, 0, 0.4);
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(230, 184, 0, 0.6);
  transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
  background: #C91F17; /* Brand color */
  color: #FFF5E1; /* Light text on dark button */
  border: 2px solid #F2B544; /* Gold border */
  box-shadow: 0 4px 15px rgba(201, 31, 23, 0.4);
}

.page-privacy-policy__btn-secondary:hover {
  background: #E53935; /* Auxiliary color */
  border-color: #FFCC66; /* Glow color */
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
  transform: translateY(-2px);
}

/* General Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Explicitly set light background for content area */
  color: #333333; /* Dark text for light background */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}

.page-privacy-policy__section-title {
  font-size: 28px;
  color: #C91F17; /* Brand color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

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

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-privacy-policy__list-item strong {
  color: #C91F17;
}

.page-privacy-policy a {
  color: #E53935; /* Auxiliary color for links */
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  color: #C91F17;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  margin-bottom: 40px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger border-radius for modern look */
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
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;
  background-color: #f9f9f9; /* Light background for question */
  color: #333333;
}
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: #f0f0f0;
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger font for readability */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-privacy-policy__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #C91F17; /* Brand 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: #ffffff; /* White background for answer */
  border-radius: 0 0 8px 8px;
  color: #333333;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

/* Global Image styles for content area */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 36px;
  }
  .page-privacy-policy__description {
    font-size: 16px;
  }
  .page-privacy-policy__section-title {
    font-size: 24px;
  }
  .page-privacy-policy__hero-image-container {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }
  .page-privacy-policy__hero-image-container {
    max-height: 250px; /* Smaller hero image on mobile */
  }
  .page-privacy-policy__hero-content {
    padding: 0 15px;
  }
  .page-privacy-policy__main-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .page-privacy-policy__description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    padding: 0 15px; /* Add padding to button container */
  }
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Content Area */
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-privacy-policy__section-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-privacy-policy p,
  .page-privacy-policy__list-item {
    font-size: 15px;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }

  /* FAQ Section */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px;
  }
  .page-privacy-policy__faq-qtext {
    font-size: 16px;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 24px;
  }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }

  /* Universal Image Adaptations (Required for mobile) */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__container,
  .page-privacy-policy__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Color Contrast Safeguards - explicitly setting colors for clarity */
.page-privacy-policy {
  color: #333333; /* Default text color for light backgrounds */
}

.page-privacy-policy__hero-section .page-privacy-policy__main-title {
  color: #C91F17; /* Brand Red */
}

.page-privacy-policy__hero-section .page-privacy-policy__description {
  color: #333333;
}

.page-privacy-policy__btn-primary {
  color: #333333; /* Dark text on gold button */
}

.page-privacy-policy__btn-secondary {
  color: #FFF5E1; /* Light text on brand red button */
}

.page-privacy-policy__content-area {
  background: #ffffff; /* White background for content */
  color: #333333; /* Dark text */
}

.page-privacy-policy__section-title {
  color: #C91F17; /* Brand Red for titles */
}

.page-privacy-policy p,
.page-privacy-policy__list-item {
  color: #333333; /* Dark text for paragraphs and list items */
}

.page-privacy-policy__list-item strong {
  color: #C91F17; /* Brand Red for strong text */
}

.page-privacy-policy a {
  color: #E53935; /* Auxiliary Red for links */
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  background-color: #f9f9f9; /* Light grey background for FAQ question */
  color: #333333; /* Dark text */
}

.page-privacy-policy__faq-qtext {
  color: #333333; /* Dark text */
}

.page-privacy-policy__faq-toggle {
  color: #C91F17; /* Brand Red for FAQ toggle */
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  background: #ffffff; /* White background for FAQ answer */
  color: #333333; /* Dark text */
}

/* Ensuring no filter is used on images */
.page-privacy-policy img {
  filter: none;
}