/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  padding-bottom: 40px;
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  height: 600px; /* Fixed height for desktop */
  overflow: hidden;
  position: relative;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the area */
  display: block;
}

.page-privacy-policy__hero-content {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(20, 12, 12, 0.8) 0%, #140C0C 100%); /* Overlay with background color */
  margin-top: -100px; /* Overlap with image for visual flow */
  position: relative;
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-size: 48px;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-privacy-policy__lead-text {
  font-size: 20px;
  color: #FFF1E8;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* CTA Buttons */
.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold border */
}

.page-privacy-policy__btn-secondary:hover {
  background: rgba(243, 197, 77, 0.1);
  transform: translateY(-2px);
}

/* Content Area */
.page-privacy-policy__content-area {
  padding: 20px 0;
}

.page-privacy-policy__section-title {
  font-size: 36px;
  color: #F3C54D; /* Gold */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-privacy-policy__sub-title {
  font-size: 24px;
  color: #E53030; /* Auxiliary Red */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy__text-block p,
.page-privacy-policy__text-content p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  color: #FFF1E8;
}

.page-privacy-policy__text-block ul,
.page-privacy-policy__text-content ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #FFF1E8;
}

.page-privacy-policy__text-block li,
.page-privacy-policy__text-content li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
}

.page-privacy-policy__link {
  color: #F3C54D; /* Gold */
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  color: #FFB04A;
}

/* Image Text Block */
.page-privacy-policy__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
  background-color: #2A1212; /* Card B G */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-privacy-policy__content-image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  height: auto;
  display: block;
  min-width: 200px; /* Enforce min size */
}

.page-privacy-policy__text-content {
  flex: 1;
  max-width: 50%;
}

/* FAQ Section */
.page-privacy-policy__faq-list {
  margin-top: 40px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card B G */
}

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;
}

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: rgba(255, 255, 255, 0.05);
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF1E8;
}

.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 25px 25px;
  background: rgba(0, 0, 0, 0.2); /* Slightly darker for answer */
  border-radius: 0 0 10px 10px;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
  font-size: 16px;
  color: #E0E0E0;
}

/* Responsive styles for desktop (larger than 768px but smaller than 1200px if needed) */
@media (max-width: 1200px) {
  .page-privacy-policy__container {
    padding: 0 15px;
  }
  .page-privacy-policy__main-title {
    font-size: 42px;
  }
  .page-privacy-policy__lead-text {
    font-size: 18px;
  }
  .page-privacy-policy__section-title {
    font-size: 32px;
  }
  .page-privacy-policy__sub-title {
    font-size: 22px;
  }
  .page-privacy-policy__image-text-block {
    gap: 30px;
    padding: 25px;
  }
  .page-privacy-policy__content-image {
    max-width: 45%;
  }
  .page-privacy-policy__text-content {
    max-width: 55%;
  }
}

/* Responsive styles for tablets and mobile devices */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-privacy-policy__hero-image-wrapper {
    height: 300px; /* Adjust height for mobile */
  }

  .page-privacy-policy__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
  }

  .page-privacy-policy__hero-content {
    padding: 20px 15px;
    margin-top: -50px; /* Less overlap */
  }

  .page-privacy-policy__main-title {
    font-size: clamp(28px, 8vw, 36px) !important; /* Responsive font size */
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    padding: 12px 20px;
    font-size: 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__content-area {
    padding: 10px 0;
  }

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

  .page-privacy-policy__section-title {
    font-size: 28px !important;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: 20px !important;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__text-block p,
  .page-privacy-policy__text-content p,
  .page-privacy-policy__text-block li,
  .page-privacy-policy__text-content li {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  /* Image Text Block */
  .page-privacy-policy__image-text-block {
    flex-direction: column !important; /* Stack content vertically */
    gap: 20px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__image-text-block--reverse {
    flex-direction: column !important;
  }

  .page-privacy-policy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Enforce min size */
  }

  .page-privacy-policy__text-content {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* FAQ Section */
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px 20px;
  }

  .page-privacy-policy__faq-qtext {
    font-size: 16px !important;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 24px !important;
    width: 24px;
    margin-left: 15px;
  }

  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 20px 20px;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__text-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}