/* style/privacy-policy.css */

/* --- General Styles --- */
.page-privacy-policy {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Add some bottom padding to main content */
}

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

.page-privacy-policy__section {
  padding: 40px 0;
  border-bottom: 1px solid #A84F0C; /* Border */
}

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

/* --- Typography --- */
.page-privacy-policy__main-title {
  font-size: 2.5em; /* Adjusted to be flexible, not too large */
  font-weight: bold;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__subtitle {
  font-size: 1.8em;
  color: #FFA53A; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__heading-h3 {
  font-size: 1.4em;
  color: #FF8C1A; /* Primary color */
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 500;
}

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

.page-privacy-policy ul,
.page-privacy-policy ol {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-privacy-policy ol {
  list-style: decimal;
}

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

.page-privacy-policy a {
  color: #FFB04D; /* Glow */
  text-decoration: none;
}

.page-privacy-policy a:hover {
  text-decoration: underline;
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  text-align: center;
  background-color: #0D0E12;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit hero image height */
  overflow: hidden;
  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;
  padding: 0 20px;
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 30px;
}

/* --- CTA Button --- */
.page-privacy-policy__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6; /* Text Main for button */
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-privacy-policy__cta-button:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

/* --- Content Images --- */
.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size */
  min-height: 200px; /* Minimum size */
}

/* --- Card Styles (for FAQ or highlighted sections) --- */
.page-privacy-policy__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
  padding: 40px 0;
}

.page-privacy-policy__faq-list {
  list-style: none;
  padding: 0;
}

.page-privacy-policy__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  background-color: #17191F;
  list-style: none; /* Remove default marker for details */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 15px 20px;
  color: #FFF3E6; /* Text Main */
  background-color: #17191F;
}

/* Fallback for non-details elements, or if JS is used to control */
.page-privacy-policy__faq-item:not(details) .page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #FFA53A;
  background-color: #17191F;
}

.page-privacy-policy__faq-item:not(details) .page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px; /* Adjust padding for collapsed state */
}

.page-privacy-policy__faq-item:not(details).active .page-privacy-policy__faq-answer {
  max-height: 1000px; /* Sufficiently large for content */
  transition: max-height 0.5s ease-in;
  padding: 0 20px 15px 20px; /* Restore padding for expanded state */
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .page-privacy-policy__main-title {
    font-size: 2em;
  }

  .page-privacy-policy__subtitle {
    font-size: 1.5em;
  }

  .page-privacy-policy__heading-h3 {
    font-size: 1.2em;
  }

  .page-privacy-policy__container,
  .page-privacy-policy__hero-content,
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* body already has offset */
  }

  /* Button responsive styles */
  .page-privacy-policy__cta-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;
  }

  /* If there were multiple buttons in a group */
  .page-privacy-policy__button-group {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Content area image size constraint */
.page-privacy-policy__section img {
  min-width: 200px;
  min-height: 200px;
}