:root {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  --card-b-g: #2A1212;
  --background: #140C0C;
  --text-main: #FFF1E8;
  --border-color: #6A1E1E;
  --gold: #F3C54D;
  --deep-red: #7E0D0D;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Using the custom color variable */
  background-color: var(--background); /* Using the custom color variable */
}

/* 🚨 Fixed header padding - body handles it, this section needs only a small top margin */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px 60px; /* Adjust padding-top to be small, not var(--header-offset) */
  padding-top: 10px; /* Small top padding for visual spacing */
  background: linear-gradient(180deg, #140C0C 0%, #2A1212 100%); /* Using custom background colors */
  color: var(--text-main);
}

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

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Using clamp for responsive H1 */
  font-weight: 700;
  color: var(--gold); /* Use gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__intro-text {
  font-size: 18px;
  max-width: 800px;
  margin-bottom: 30px;
  color: var(--text-main); /* Text Main */
}

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

.page-privacy-policy__content-section {
  padding: 60px 20px;
  background-color: var(--background); /* Default background color */
  color: var(--text-main); /* Default text color for content */
}

.page-privacy-policy__content-area {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--gold); /* Gold for section titles */
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-privacy-policy__section-title--white {
  color: var(--text-main); /* White text for dark backgrounds */
}

.page-privacy-policy__sub-section-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--primary-color); /* Primary color for sub-section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--text-main);
}

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

.page-privacy-policy ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-privacy-policy a {
  color: var(--gold); /* Gold for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #FFB04A; /* Lighter gold on hover */
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__dark-bg {
  background-color: var(--card-b-g); /* Dark background for FAQ section */
  color: var(--text-main); /* Light text for dark background */
}

/* FAQ Section Styling - using details/summary */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color); /* Border color */
  overflow: hidden;
  background: var(--background); /* Use lighter background for FAQ items */
  color: var(--text-main);
  transition: all 0.3s ease;
}
details.page-privacy-policy__faq-item[open] {
  background: #2A1212; /* Darker background when open */
}

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: var(--gold); /* Gold for question text */
}
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: #3A1E1E; /* Slightly lighter on hover */
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: inherit; /* Inherit color from summary */
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold); /* Gold for toggle icon */
  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: #2A1212; /* Card background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
  margin-bottom: 0;
  color: var(--text-main);
}

/* 🚨 Responsive image rules for mobile */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Small top padding, not header-offset */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 28px; /* Specific font size for mobile H1 */
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

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

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

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

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

  /* Image responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-privacy-policy__content-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__hero-container,
  .page-privacy-policy__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ mobile styles */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-privacy-policy__faq-qtext {
    font-size: 15px;
    width: calc(100% - 40px); /* Adjust for toggle icon */
  }
  .page-privacy-policy__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }
}