.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #f5f5f5; /* Light background for the page */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  background-color: #B71C1C; /* Background color for the hero section */
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height to prevent overly tall images */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  min-height: 300px; /* Ensure image is not too small */
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  padding: 40px 20px;
  color: #FFF5E1; /* Text Main color for hero content */
  z-index: 1;
  text-align: center;
}

.page-privacy-policy__main-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF5E1; /* Text Main color */
  max-width: 100%; /* Important for h1 font size constraint */
  font-weight: bold; /* Use font-weight instead of fixed font-size */
}

.page-privacy-policy__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF5E1; /* Text Main color */
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button color */
  color: #333333; /* Ensure contrast on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* General Content Area */
.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Light background for content area */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-privacy-policy__container {
  max-width: 100%;
  margin: 0 auto;
}

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

.page-privacy-policy__section-title--white {
  color: #FFF5E1; /* Text Main color for titles on dark background */
}

.page-privacy-policy p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333333; /* Default text color for paragraphs */
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333; /* Default text color for list items */
}

.page-privacy-policy__list li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.page-privacy-policy__image-block {
  margin: 30px 0;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-privacy-policy__contact-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

.page-privacy-policy__secondary-button {
  display: inline-block;
  background: #ffffff;
  color: #C91F17; /* Brand color for text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #C91F17;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__secondary-button:hover {
  background: #C91F17;
  color: #ffffff;
}


/* FAQ Section */
.page-privacy-policy__faq-section {
  background: #7A0E0E; /* Deep Red custom color */
  padding: 60px 20px;
  margin-top: 40px;
  color: #FFF5E1; /* Text Main color */
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Border color from custom palette */
  overflow: hidden;
  background: #D32F2F; /* Card BG custom color */
}
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;
  color: #FFF5E1; /* Text Main color for FAQ question */
}
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: #E53935; /* Auxiliary color for hover */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF5E1; /* Text Main color */
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFCC66; /* Glow custom color */
  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: #B71C1C; /* Background custom color */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1; /* Text Main color for FAQ answer */
}
.page-privacy-policy__faq-answer p {
  color: #FFF5E1; /* Text Main color for FAQ answer paragraphs */
}

/* --- Responsive Styles --- */

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

  /* Hero Section */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }

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

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

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

  .page-privacy-policy__cta-button,
  .page-privacy-policy__secondary-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General Content Area */
  .page-privacy-policy__content-area {
    padding: 20px 15px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-privacy-policy p,
  .page-privacy-policy__list li {
    font-size: 15px;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy__image-block {
    margin: 20px 0;
  }

  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-privacy-policy__contact-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    margin-top: 20px;
    padding-left: 0;
    padding-right: 0;
  }
  
  /* FAQ Section */
  .page-privacy-policy__faq-section {
    padding: 40px 15px;
    margin-top: 30px;
  }

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

/* Tablet (max-width: 1024px) - For general adjustments, if any, otherwise mobile styles apply */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    padding: 30px 20px;
  }
  .page-privacy-policy__main-title {
    font-size: 34px;
  }
  .page-privacy-policy__description {
    font-size: 17px;
  }
  .page-privacy-policy__content-area {
    padding: 30px 20px;
  }
  .page-privacy-policy__section-title {
    font-size: 26px;
  }
  .page-privacy-policy p,
  .page-privacy-policy__list li {
    font-size: 15.5px;
  }
  .page-privacy-policy__faq-section {
    padding: 50px 20px;
  }
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 16px 18px;
  }
}