/* style/gdpr.css */
/* body background is #0a0a0a (dark), so content text should be light */

:root {
  --manclub-primary-color: #26A9E0;
  --manclub-secondary-color: #FFFFFF;
  --manclub-login-color: #EA7C07;
  --manclub-dark-text: #333333;
  --manclub-light-text: #ffffff;
  --manclub-bg-dark: #0a0a0a; /* from shared.css body background */
  --manclub-bg-light: #ffffff;
  --manclub-border-color: #e0e0e0;
}

.page-gdpr {
  color: var(--manclub-light-text); /* Main content text color for dark body bg */
  background-color: var(--manclub-bg-dark); /* Ensure sections inherit dark bg if not specified */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  color: var(--manclub-light-text);
  overflow: hidden;
  min-height: 500px;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image to ensure text contrast */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
  border-radius: 8px;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--manclub-secondary-color);
  font-size: clamp(2em, 4vw, 3.5em); /* H1 font size with clamp */
}

.page-gdpr__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--manclub-secondary-color);
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background-color: var(--manclub-primary-color);
  color: var(--manclub-secondary-color);
  border: 2px solid var(--manclub-primary-color);
}

.page-gdpr__btn-primary:hover {
  background-color: #1a8cc7; /* Approx darken(#26A9E0, 10%) */
  transform: translateY(-2px);
}

.page-gdpr__section {
  padding: 80px 20px;
  color: var(--manclub-light-text);
  background-color: var(--manclub-bg-dark);
}

.page-gdpr__light-bg {
  background-color: var(--manclub-bg-light);
  color: var(--manclub-dark-text);
}

.page-gdpr__dark-bg {
  background-color: var(--manclub-primary-color);
  color: var(--manclub-light-text);
}

.page-gdpr__what-is-gdpr .page-gdpr__container,
.page-gdpr__data-collection .page-gdpr__container,
.page-gdpr__user-rights .page-gdpr__container,
.page-gdpr__data-security .page-gdpr__container,
.page-gdpr__data-retention .page-gdpr__container,
.page-gdpr__third-party-sharing .page-gdpr__container,
.page-gdpr__cookies-policy .page-gdpr__container,
.page-gdpr__contact-us .page-gdpr__container,
.page-gdpr__faq-section .page-gdpr__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  color: inherit;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

.page-gdpr__keyword {
  font-weight: bold;
  color: var(--manclub-primary-color);
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: inherit;
}

.page-gdpr__list-item strong {
  color: inherit;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 400px;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  max-width: 400px;
}

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

.page-gdpr__card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--manclub-light-text);
  background-color: var(--manclub-primary-color);
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: var(--manclub-secondary-color);
}

.page-gdpr__card-text {
  font-size: 1em;
  color: var(--manclub-secondary-color);
}

.page-gdpr__contact-link {
  color: var(--manclub-secondary-color);
  text-decoration: underline;
}

.page-gdpr__contact-link:hover {
  color: var(--manclub-primary-color);
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: var(--manclub-bg-dark);
  color: var(--manclub-light-text);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-gdpr__faq-item[open] {
  background-color: var(--manclub-primary-color);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--manclub-primary-color);
  color: var(--manclub-secondary-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: #1a8cc7; /* Approx darken(#26A9E0, 5%) */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

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

.page-gdpr__faq-answer {
  padding: 20px;
  background-color: var(--manclub-bg-dark);
  color: var(--manclub-light-text);
  font-size: 1.1em;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  background-color: var(--manclub-primary-color);
  color: var(--manclub-secondary-color);
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
  color: inherit;
}

.page-gdpr__faq-answer a {
  color: var(--manclub-secondary-color);
  text-decoration: underline;
}

.page-gdpr__faq-answer a:hover {
  color: var(--manclub-bg-light);
}

/* General link styling for dark background */
.page-gdpr a {
  color: var(--manclub-primary-color);
  text-decoration: none;
}

.page-gdpr a:hover {
  text-decoration: underline;
}

.page-gdpr__light-bg a {
  color: var(--manclub-primary-color);
}

.page-gdpr__light-bg a:hover {
  color: #1a8cc7; /* Approx darken(#26A9E0, 10%) */
}

/* Clearfix for floated images */
.page-gdpr__container::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

  .page-gdpr__intro-description {
    font-size: 1.1em;
  }

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

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: 400px;
  }

  .page-gdpr__hero-content {
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

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

  .page-gdpr__cta-button,
  .page-gdpr__btn-primary {
    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;
  }

  .page-gdpr__section {
    padding: 50px 15px;
  }

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

  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__card-text {
    font-size: 0.95em;
  }

  .page-gdpr__image {
    float: none;
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__image--right,
  .page-gdpr__image--left {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

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

  .page-gdpr__card {
    padding: 20px;
  }

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

  .page-gdpr__faq-answer {
    padding: 15px;
    font-size: 0.95em;
  }

  /* Ensure all containers and elements handle overflow */
  .page-gdpr__container,
  .page-gdpr__section,
  .page-gdpr__hero-section,
  .page-gdpr__cards-grid,
  .page-gdpr__card,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}