/* style/privacy-policy.css */

/* Body background color is handled by shared.css var(--background-color) */
/* Assuming a dark background from shared.css (based on #140C0C), text will be light */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main from custom palette */
  background-color: transparent; /* Handled by body in shared.css */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(180deg, #140C0C 0%, #2A1212 100%); /* Background from custom palette */
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F3C54D; /* Gold from custom palette */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-privacy-policy__description {
  font-size: 1.1rem;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #2A1212; /* Card BG from custom palette */
  border-bottom: 1px solid #6A1E1E; /* Border from custom palette */
}

.page-privacy-policy__content-area:last-of-type {
  border-bottom: none;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #F3C54D; /* Gold from custom palette */
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.page-privacy-policy__subsection {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #140C0C; /* Background from custom palette */
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border from custom palette */
}

.page-privacy-policy__subsection-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #E53030; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: #FFF1E8;
}

.page-privacy-policy ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #FFF1E8;
}

.page-privacy-policy li {
  margin-bottom: 8px;
  color: #FFF1E8;
}

.page-privacy-policy a {
  color: #FFB04A; /* Brighter gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #D86A14; /* Darker gold on hover */
  text-decoration: underline;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-privacy-policy__faq-list {
  margin-top: 40px;
}

.page-privacy-policy__faq-item {
  background-color: #140C0C; /* Background from custom palette */
  border: 1px solid #6A1E1E; /* Border from custom palette */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: #F3C54D; /* Gold for question */
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: #F3C54D;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #E53030; /* Auxiliary color for toggle */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: '−';
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  color: #FFF1E8;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-bottom: 40px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

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

  .page-privacy-policy__content-area {
    padding: 30px 15px;
  }

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

  .page-privacy-policy__subsection {
    padding: 15px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__subsection-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-bottom: 10px;
  }

  .page-privacy-policy p,
  .page-privacy-policy li {
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__subsection,
  .page-privacy-policy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-privacy-policy__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }
}