:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient-start: #FFD86A;
  --button-gradient-end: #E6B800;
  --card-bg: #D32F2F;
  --background-base: #B71C1C;
  --text-main: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red: #7A0E0E;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #f5f5f5); /* Fallback to light grey if var not set */
}

.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, body handles header offset */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-main);
  overflow: hidden;
}

.page-privacy-policy__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

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

.page-privacy-policy__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__intro-text {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-privacy-policy__dark-section {
  background-color: var(--background-base);
  color: var(--text-main);
  padding: 50px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-privacy-policy__section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.page-privacy-policy__dark-section .page-privacy-policy__section-title {
  color: var(--gold-color);
}

.page-privacy-policy__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 20px;
  color: var(--deep-red);
}

.page-privacy-policy__dark-section .page-privacy-policy__sub-title {
  color: var(--text-main);
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  color: #444444;
}

.page-privacy-policy__dark-section p,
.page-privacy-policy__text-main {
  color: var(--text-main);
}

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

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

.page-privacy-policy__dark-section .page-privacy-policy__list-item,
.page-privacy-policy__list--dark .page-privacy-policy__list-item {
  color: var(--text-main);
}

.page-privacy-policy__list-item strong {
  color: var(--deep-red);
}

.page-privacy-policy__dark-section .page-privacy-policy__list-item strong {
  color: var(--gold-color);
}

.page-privacy-policy__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
  color: var(--secondary-color);
}

.page-privacy-policy__dark-section .page-privacy-policy__link {
  color: var(--gold-color);
}

.page-privacy-policy__dark-section .page-privacy-policy__link:hover {
  color: var(--glow-color);
}

.page-privacy-policy__image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__image--center {
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
}

/* FAQ Styles */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: var(--deep-red);
  background-color: #FFF5E1;
}
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: var(--gold-color);
  color: #ffffff;
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}
.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--deep-red);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}
details.page-privacy-policy__faq-item[open] summary.page-privacy-policy__faq-question {
  background-color: var(--deep-red);
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}
details.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
  color: var(--text-main);
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 20px 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #333333;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__content-area {
    padding: 40px 15px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__hero-image img {
    border-radius: 8px;
  }
  
  .page-privacy-policy__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-privacy-policy__intro-text {
    font-size: clamp(15px, 3vw, 18px);
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__dark-section {
    padding: 30px 15px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__section-title {
    font-size: clamp(22px, 6vw, 30px);
    margin-bottom: 25px;
  }

  .page-privacy-policy__sub-title {
    font-size: clamp(18px, 5vw, 24px);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy p {
    font-size: 16px;
  }

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

  .page-privacy-policy__list-item {
    font-size: 15px;
  }

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

  /* Mobile image and button responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-container,
  .page-privacy-policy__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    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;
  }
  .page-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}