.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Default text color for the page */
  background-color: var(--background-color); /* Default background for the page content */
}

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

.page-gdpr__dark-section {
  background-color: var(--background-color);
  color: var(--text-main-color);
  padding: 60px 0;
}

.page-gdpr__light-bg {
  background-color: #f8f8f8; /* A lighter background for contrast */
  color: #333333;
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold-color);
  line-height: 1.2;
}

.page-gdpr__section-title--cta {
  color: var(--text-main-color);
}

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text readability */
  border-radius: 10px;
  margin-top: -100px; /* Overlap slightly for design, but text is below image */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: var(--text-main-color);
  margin-bottom: 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: #333333; /* Dark text for bright gold button */
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  margin-left: 20px;
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--deep-red-color);
  transform: translateY(-3px);
}

.page-gdpr__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-gdpr__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__text-block {
  flex: 1;
}

.page-gdpr__text-block h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__light-bg .page-gdpr__text-block h3 {
  color: var(--deep-red-color);
}

.page-gdpr__image-block {
  flex: 1;
  min-width: 200px; /* Enforce min-width for images */
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__rights-list,
.page-gdpr__data-list,
.page-gdpr__security-list,
.page-gdpr__cookie-list,
.page-gdpr__request-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__rights-list li,
.page-gdpr__data-list li,
.page-gdpr__security-list li,
.page-gdpr__cookie-list li,
.page-gdpr__request-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-gdpr__rights-list li::before,
.page-gdpr__data-list li::before,
.page-gdpr__security-list li::before,
.page-gdpr__cookie-list li::before,
.page-gdpr__request-list li::before {
  content: '✓';
  color: var(--gold-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-gdpr__light-bg .page-gdpr__rights-list li::before,
.page-gdpr__light-bg .page-gdpr__data-list li::before,
.page-gdpr__light-bg .page-gdpr__security-list li::before,
.page-gdpr__light-bg .page-gdpr__cookie-list li::before,
.page-gdpr__light-bg .page-gdpr__request-list li::before {
  color: var(--primary-color);
}

.page-gdpr__text-link {
  color: var(--gold-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
  color: var(--text-main-color);
}

.page-gdpr__light-bg .page-gdpr__text-link {
  color: var(--primary-color);
}

.page-gdpr__light-bg .page-gdpr__text-link:hover {
  color: var(--deep-red-color);
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  color: var(--gold-color);
  font-size: 1.2em;
  list-style: none;
}

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

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--text-main-color);
}

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

.page-gdpr__cta-description {
  font-size: 1.2em;
  text-align: center;
  color: var(--text-main-color);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-gdpr__copyright-section {
  padding: 20px 0;
  text-align: center;
  background-color: var(--deep-red-color);
  color: var(--text-main-color);
  font-size: 0.9em;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 15px;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important;
  }

  .page-gdpr__hero-image {
    object-fit: contain; /* Ensure image is fully visible, not cropped */
    max-height: 400px; /* Limit height on mobile */
  }

  .page-gdpr__hero-content {
    margin-top: -50px; /* Adjust overlap for mobile */
    padding: 20px;
  }

  .page-gdpr__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
  }

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

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

  .page-gdpr__content-wrapper {
    flex-direction: column; /* Stack content blocks vertically */
    gap: 30px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to button container */
  }

  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important; /* Remove margin for stacked buttons */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-gdpr__faq-answer {
    padding: 0 15px 15px 15px;
  }

  .page-gdpr__copyright-section {
    padding: 15px 0;
  }
}

@media (max-width: 1024px) {
  .page-gdpr__container {
    padding: 20px;
  }

  .page-gdpr__hero-content {
    margin-top: -80px;
    padding: 30px;
  }

  .page-gdpr__main-title {
    font-size: 3em;
  }

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

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

  .page-gdpr__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-gdpr__image-block {
    order: -1; /* Image appears before text on tablet */
  }

  .page-gdpr__content-wrapper--reverse .page-gdpr__image-block {
    order: 0; /* Revert order for reversed layout */
  }

  .page-gdpr__cta-buttons {
    flex-wrap: wrap;
    gap: 15px;
  }

  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    flex: 1 1 auto; /* Allow buttons to grow/shrink */
    min-width: 200px; /* Ensure minimum width */
  }
}