/* style/gdpr.css */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Inherit from shared or default white */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more at bottom */
  box-sizing: border-box;
  background-color: var(--background-color, #ffffff);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  margin-top: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #e0f2f7;
}

.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-gdpr__dark-section {
  background-color: #f0f8ff; /* Light blue background for contrast */
  color: #333333;
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__sub-title {
  color: #26A9E0;
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-gdpr__inline-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr__inline-link:hover {
  color: #1a7fb3;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding: 0;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #444444;
}

.page-gdpr__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-gdpr__grid-layout--reverse {
  grid-template-areas: "image content";
}

.page-gdpr__grid-layout--reverse .page-gdpr__grid-item:first-child {
  grid-area: image;
}

.page-gdpr__grid-layout--reverse .page-gdpr__grid-item:last-child {
  grid-area: content;
}

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

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #444444;
}

.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #26A9E0;
  background-color: #e0f2f7;
  border-bottom: 1px solid #d0e7ed;
  list-style: none; /* Remove default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-item[open] summary {
  background-color: #d0e7ed;
}

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

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

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

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #555555;
  background-color: #f9f9f9;
}

.page-gdpr__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-gdpr__cta-section .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__cta-section .page-gdpr__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-gdpr__cta-section .page-gdpr__btn-primary {
  background-color: #EA7C07; /* Custom color for Login/Register CTA */
  border-color: #EA7C07;
}

.page-gdpr__cta-section .page-gdpr__btn-primary:hover {
  background-color: #d46f00;
  border-color: #d46f00;
}

.page-gdpr__cta-section .page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-gdpr__cta-section .page-gdpr__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #26A9E0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-gdpr__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-gdpr__grid-layout--reverse {
    grid-template-areas: unset; /* Reset grid area for single column */
  }
  .page-gdpr__grid-layout--reverse .page-gdpr__grid-item:first-child,
  .page-gdpr__grid-layout--reverse .page-gdpr__grid-item:last-child {
    grid-area: unset;
  }
  .page-gdpr__grid-item:first-child {
    order: 1;
  }
  .page-gdpr__grid-item:last-child {
    order: 2;
  }
  .page-gdpr__hero-content {
    margin-top: 20px;
  }
  .page-gdpr__section-title {
    margin-bottom: 30px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  /* Images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__cta-section,
  .page-gdpr__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  
  /* Hero section specific top padding */
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons */
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0; /* Handled by parent container */
    padding-right: 0; /* Handled by parent container */
    flex-direction: column !important;
    gap: 10px;
  }
  
  .page-gdpr__main-title {
    font-size: 2em; /* Smaller on mobile */
  }

  .page-gdpr__intro-text,
  .page-gdpr__text-block,
  .page-gdpr__list li,
  .page-gdpr__faq-answer p {
    font-size: 1em;
  }

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

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__sub-title {
    font-size: 1.2em;
  }
}