/* Custom properties for colors */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-color-page: #08160F; /* Using a distinct name to avoid conflict with shared.css body background */
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color-custom: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* General styles for the privacy policy page content */
.page-privacy-policy {
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    background-color: var(--bg-color-page); /* Dark background for overall page wrapper */
    color: var(--text-secondary-color); /* Default text color for dark background sections */
}

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

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Limit height to maintain aspect ratio */
    object-fit: cover;
    display: block;
}

.page-privacy-policy__hero-content {
    padding: 30px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
    width: 100%;
    box-sizing: border-box;
    color: var(--text-main-color);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Using clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--gold-color);
}

.page-privacy-policy__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main-color);
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Button responsiveness */
    box-sizing: border-box; /* Button responsiveness */
    white-space: normal; /* Button text wrapping */
    word-wrap: break-word; /* Button text wrapping */
}

.page-privacy-policy__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

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

.page-privacy-policy__btn-secondary {
    background: var(--deep-green);
    color: var(--text-main-color);
    border: 1px solid var(--border-color-custom);
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.page-privacy-policy__content-section {
    padding: 40px 0;
    background-color: #ffffff; /* Explicitly light background for content */
    color: #333333; /* Dark text for light background */
}

.page-privacy-policy__content-section h2,
.page-privacy-policy__content-section h3 {
    color: var(--deep-green); /* Dark green for titles on light background */
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--gold-color); /* Using gold for main titles on dark bg, but deep green on light bg */
}
.page-privacy-policy__content-section .page-privacy-policy__section-title {
    color: var(--deep-green); /* Override for light background sections */
}

.page-privacy-policy__subsection-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-privacy-policy p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-privacy-policy__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-privacy-policy__list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.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.1);
}

.page-privacy-policy__link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

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

.page-privacy-policy__last-updated {
    font-size: 0.9em;
    color: #666;
    text-align: right;
    margin-top: 30px;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 0;
    background-color: var(--bg-color-page); /* Dark background for FAQ */
    color: var(--text-secondary-color); /* Light text for dark background */
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
    color: var(--gold-color); /* Gold for titles on dark background */
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color-custom);
  overflow: hidden;
  background: var(--card-bg); /* Dark card background */
}
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(--text-main-color); /* Light text for question */
}
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: var(--deep-green); /* Hover effect on dark card */
}