/* style/privacy-policy.css */

/* Variables from shared.css are assumed to be available */
/* For example: --background, --text-main, --text-secondary, --primary-color, etc. */

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--background, #08160F); /* Fallback to a dark background */
  color: var(--text-secondary, #A7D9B8); /* Default text color for dark background */
  padding-bottom: 40px; /* Ensure space above footer */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 40px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
  overflow: hidden; /* Ensure no overflow */
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  display: block;
  max-width: 100%;
  object-fit: cover; /* Cover the area, cropping if necessary */
  border-radius: 8px; /* Slightly rounded corners for aesthetic */
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin-top: 30px; /* Space between image and text */
  padding: 0 20px;
  color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 700;
  color: var(--gold, #F2C14E); /* Using gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: 18px;
  color: var(--text-secondary, #A7D9B8);
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Light background section */
.page-privacy-policy__light-bg {
  background-color: var(--card-bg, #11271B); /* Using card background for light sections on a dark page */
  color: var(--text-secondary, #A7D9B8);
}

/* Dark background section */
.page-privacy-policy__dark-section {
  background-color: var(--deep-green, #0A4B2C); /* Using deep green for darker sections */
  color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__section-container {
  max-width: 960px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--primary-color, #11A84E); /* Primary color for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-privacy-policy__dark-section .page-privacy-policy__section-title {
  color: var(--gold, #F2C14E); /* Gold for titles in dark sections */
}

.page-privacy-policy__subsection-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

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

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

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

.page-privacy-policy__link-contact {
  color: var(--primary-color, #11A84E);
  text-decoration: none;
}

.page-privacy-policy__link-contact:hover {
  text-decoration: underline;
  color: var(--glow, #57E38D);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 10px 15px 30px;
  }

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

  .page-privacy-policy__description {
    font-size: 16px;
    padding: 0 10px;
  }

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

  .page-privacy-policy__section-title {
    font-size: clamp(22px, 6vw, 30px);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__subsection-title {
    font-size: clamp(18px, 5vw, 24px);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__text-block,
  .page-privacy-policy__list-item {
    font-size: 15px;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  /* Image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important; /* Ensure block level for full width */
    box-sizing: border-box !important;
    padding-left: 0 !important; /* Remove any padding that might cause overflow */
    padding-right: 0 !important;
    min-width: 200px !important; /* Enforce minimum size for content images */
    min-height: 200px !important; /* Enforce minimum size for content images */
  }
  
  .page-privacy-policy__hero-image {
    min-width: unset !important; /* Hero image can be larger */
    min-height: unset !important;
  }

  /* Ensure containers with images also adapt */
  .page-privacy-policy__section-container,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
}