/* style/privacy-policy.css */

/* Custom Colors */
:root {
  --rr888-color-primary: #11A84E;
  --rr888-color-secondary: #22C768;
  --rr888-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --rr888-card-bg: #11271B;
  --rr888-background-color: #08160F;
  --rr888-text-main: #F2FFF6;
  --rr888-text-secondary: #A7D9B8;
  --rr888-border-color: #2E7A4E;
  --rr888-glow-color: #57E38D;
  --rr888-gold-color: #F2C14E;
  --rr888-divider-color: #1E3A2A;
  --rr888-deep-green: #0A4B2C;
}

/* Base styles for the page content, ensuring contrast with dark body background */
.page-privacy-policy {
  color: var(--rr888-text-main); /* Light text for dark background */
  background-color: var(--rr888-background-color); /* Ensure main content background is dark */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.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;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--rr888-deep-green);
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-privacy-policy__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
  position: relative;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background: rgba(17, 39, 27, 0.85); /* Semi-transparent dark green background */
  border-radius: 15px;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid var(--rr888-border-color);
}

.page-privacy-policy__main-title {
  color: var(--rr888-gold-color);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
}

.page-privacy-policy__hero-description {
  color: var(--rr888-text-secondary);
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* Section Titles */
.page-privacy-policy__section-title {
  color: var(--rr888-gold-color);
  font-size: 2.2em;
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.4);
}

.page-privacy-policy__sub-title {
  color: var(--rr888-text-main);
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 5px solid var(--rr888-color-primary);
  padding-left: 15px;
}

/* Text Blocks */
.page-privacy-policy__text-block {
  color: var(--rr888-text-main);
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-privacy-policy__text-block strong {
  color: var(--rr888-gold-color);
}

/* Lists */
.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--rr888-text-main);
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  color: var(--rr888-text-secondary);
}

.page-privacy-policy__list li strong {
  color: var(--rr888-gold-color);
}

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

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

/* Images within content */
.page-privacy-policy__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  max-width: 800px; /* Recommended max width for content images */
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--rr888-btn-gradient);
  color: #ffffff; /* White text for primary button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Darker background sections */
.page-privacy-policy__dark-section {
  background-color: var(--rr888-card-bg);
  padding: 60px 0;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: var(--rr888-deep-green);
}

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

.page-privacy-policy__faq-item {
  background-color: var(--rr888-card-bg);
  border: 1px solid var(--rr888-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--rr888-text-main);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--rr888-gold-color);
  background-color: var(--rr888-card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2);
}

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

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--rr888-color-primary);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  content: '−'; /* Change to minus when open for details/summary */
}

.page-privacy-policy__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--rr888-text-secondary);
}

/* Hide default details marker */
details > summary::-webkit-details-marker {
  display: none;
}

details > summary {
  list-style: none;
}

/* Contact List */
.page-privacy-policy__contact-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: var(--rr888-text-main);
}

.page-privacy-policy__contact-list li strong {
  color: var(--rr888-gold-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    padding: 30px 15px;
    margin-top: -80px;
  }

  .page-privacy-policy__section-title {
    font-size: 2em;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }
}

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

  .page-privacy-policy__hero-image-wrapper {
    max-height: 300px;
  }

  .page-privacy-policy__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.2em;
    padding-left: 10px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list li,
  .page-privacy-policy__contact-list li {
    font-size: 0.95em;
  }

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

  /* Mobile specific padding for content sections */
  .page-privacy-policy__content-area,
  .page-privacy-policy__dark-section,
  .page-privacy-policy__faq-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Ensure images and videos are responsive and don't overflow */
  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, small decorative top padding here */
  }

  .page-privacy-policy__faq-question {
    font-size: 1em;
    padding: 15px;
  }

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

@media (max-width: 480px) {
  .page-privacy-policy__hero-content {
    margin-top: -40px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-privacy-policy__section-title {
    font-size: 1.6em;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.1em;
  }
}