.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

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

.page-privacy-policy__hero-section {
  position: relative;
  text-align: center;
  color: var(--text-main);
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
}

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 800px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
  filter: brightness(1.1);
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-privacy-policy__introduction-section,
.page-privacy-policy__usage-section,
.page-privacy-policy__user-rights-section,
.page-privacy-policy__cookies-section,
.page-privacy-policy__changes-section,
.page-privacy-policy__faq-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.page-privacy-policy__content-area,
.page-privacy-policy__sharing-section,
.page-privacy-policy__security-section,
.page-privacy-policy__third-party-links-section,
.page-privacy-policy__contact-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

.page-privacy-policy__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-privacy-policy__text-block p,
.page-privacy-policy__dark-section p {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-privacy-policy__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-privacy-policy__card {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-main);
}

.page-privacy-policy__card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-privacy-policy__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 15px;
  display: block;
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 30px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: center;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--primary-color);
  list-style: none;
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

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

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

.page-privacy-policy__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1.0em;
  line-height: 1.7;
  color: #f0f0f0;
  text-align: justify;
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 0;
}

/* General image responsive styles */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All buttons base responsive styles */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary,
.page-privacy-policy a[class*="button"],
.page-privacy-policy a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button containers base responsive styles */
.page-privacy-policy__hero-content,
.page-privacy-policy__contact-section .page-privacy-policy__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-privacy-policy__container {
    padding: 15px;
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
    margin-bottom: 30px;
  }

  .page-privacy-policy__hero-image {
    height: 300px;
    object-fit: contain !important; /* Mobile hero image contain, not cover */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  .page-privacy-policy__hero-content {
    position: static;
    transform: none;
    padding: 20px 15px;
    margin-top: -50px; /* Adjust to sit below the image */
  }

  .page-privacy-policy__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-privacy-policy__introduction-section,
  .page-privacy-policy__usage-section,
  .page-privacy-policy__user-rights-section,
  .page-privacy-policy__cookies-section,
  .page-privacy-policy__changes-section,
  .page-privacy-policy__faq-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__sharing-section,
  .page-privacy-policy__security-section,
  .page-privacy-policy__third-party-links-section,
  .page-privacy-policy__contact-section {
    padding: 30px 0;
  }

  .page-privacy-policy__text-block p,
  .page-privacy-policy__dark-section p,
  .page-privacy-policy__list li {
    font-size: 0.95em;
  }

  .page-privacy-policy__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-privacy-policy__card {
    padding: 20px;
  }

  .page-privacy-policy__card-title {
    font-size: 1.2em;
  }

  .page-privacy-policy__card-image {
    height: 200px;
  }

  .page-privacy-policy__content-image {
    margin: 20px auto;
  }

  .page-privacy-policy__contact-list {
    text-align: left;
    padding-left: 0;
  }
  
  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-privacy-policy__faq-answer {
    padding: 10px 20px 20px;
    font-size: 0.95em;
  }

  /* Universal image responsive styles for mobile */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* All content containers for mobile */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .page-privacy-policy__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* All buttons responsive styles for mobile */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    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;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }
  
  /* Button containers mobile adaptation */
  .page-privacy-policy__hero-content,
  .page-privacy-policy__contact-section .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Spacing for multiple buttons */
  }
}