/* style/privacy-policy.css */

/* General page styling, assuming a dark background from shared.css */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Main background color */
  line-height: 1.6;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stack image and content vertically */
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles header-offset */
  box-sizing: border-box;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
  margin-bottom: 30px;
}

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size for H1 */
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Primary Button */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Content Section */
.page-privacy-policy__content-section {
  padding: 60px 20px;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  box-sizing: border-box;
}

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

.page-privacy-policy__section-title {
  font-size: 2rem;
  color: #2AD16F; /* A lighter green from the gradient */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-privacy-policy__content-section p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-privacy-policy__content-section strong {
  color: #F2FFF6; /* Text Main */
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
}

.page-privacy-policy__image-content {
  width: 100%;
  max-width: 800px; /* Example max-width for content images */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-section a {
  color: #57E38D; /* Glow color for links */
  text-decoration: underline;
}

.page-privacy-policy__content-section a:hover {
  color: #F2C14E; /* Gold on hover */
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header-offset */
  }

  .page-privacy-policy__hero-content {
    padding: 0 15px;
  }

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

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

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

  .page-privacy-policy__content-section {
    padding: 40px 15px;
  }

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

  .page-privacy-policy__content-section p,
  .page-privacy-policy__list-item {
    font-size: 0.95rem;
  }

  /* All images */
  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All image containers */
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-section,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific image elements if needed */
  .page-privacy-policy__image-content {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Ensure no text/background color issues for the default dark theme */
.page-privacy-policy__light-bg {
  background-color: #08160F; /* Use main background for consistency if no explicit light bg is needed */
  color: #F2FFF6;
}

/* Contrast fix for any unforeseen issues - though should not be needed with careful color planning */
.page-privacy-policy__contrast-fix {
  background: #11271B !important; /* Card BG */
  color: #F2FFF6 !important; /* Text Main */
  border: 1px solid #2E7A4E !important;
}

.page-privacy-policy__text-contrast-fix {
  color: #F2FFF6 !important; /* Text Main */
  text-shadow: none !important;
}