/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #F8F8F8 */
  background-color: #F8F8F8; /* Explicitly set to match body or be transparent */
}

/* Hero Section */
.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding as per rules */
  padding-bottom: 60px;
  background-color: #F8F8F8; /* Matches body background for seamless look */
  overflow: hidden; /* Ensure no overflow */
}

.page-gdpr__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 20px 15px;
}

.page-gdpr__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-gdpr__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Using clamp for H1 as per rules */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for title */
}

.page-gdpr__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-gdpr__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included in width */
}

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #e0f2ff;
  color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-gdpr__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-gdpr__hero-side-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Content Sections */
.page-gdpr__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 15px;
  background-color: #ffffff; /* White background for content blocks for readability */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.page-gdpr__intro-section,
.page-gdpr__rights-section,
.page-gdpr__protection-section,
.page-gdpr__faq-section,
.page-gdpr__contact-section {
  max-width: 1000px; /* Specific max-width for content sections */
  margin: 30px auto; /* Adjust margin for spacing between sections */
}

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

.page-gdpr__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444444;
}

.page-gdpr__text-block p {
  margin-bottom: 20px;
}

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

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

.page-gdpr__list-item strong {
  color: #26A9E0;
}

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

/* FAQ Section */
.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-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* Hide default marker for <summary> */
  user-select: none; /* Prevent text selection on click */
}
/* Hide default details marker */
.page-gdpr__faq-item summary::-webkit-details-marker,
.page-gdpr__faq-item summary::marker {
  display: none;
  content: "";
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: #26A9E0; /* Brand color for FAQ questions */
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-left: 15px;
  color: #555555;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-gdpr__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  background-color: #fcfcfc;
  border-top: 1px solid #eee;
}
.page-gdpr__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Contact Section */
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #444444;
}

.page-gdpr__contact-item strong {
  color: #26A9E0;
}

.page-gdpr__contact-item a {
  color: #26A9E0;
  text-decoration: none;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-gdpr__hero-content {
    order: 2; /* Content below image on smaller screens */
    text-align: center;
  }
  .page-gdpr__hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-gdpr__hero-description {
    font-size: 1rem;
  }
  .page-gdpr__hero-cta-buttons {
    justify-content: center;
  }
  .page-gdpr__hero-image {
    order: 1; /* Image above content on smaller screens */
    margin-bottom: 30px;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px !important;
  }
  .page-gdpr__hero-container {
    padding: 15px !important;
    gap: 20px !important;
  }
  .page-gdpr__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    margin-bottom: 15px !important;
  }
  .page-gdpr__hero-description {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
  }
  .page-gdpr__hero-cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important; /* Add padding to container */
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* Buttons themselves */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important; /* Allow text wrap */
    word-wrap: break-word !important;
    padding: 12px 15px !important;
    font-size: 0.95rem !important;
  }
  .page-gdpr__hero-image {
    margin-bottom: 20px !important;
  }
  .page-gdpr__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Content Sections (General) */
  .page-gdpr__content-area {
    padding: 25px 15px !important;
    margin: 20px auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    margin-bottom: 20px !important;
  }
  .page-gdpr__text-block {
    font-size: 1rem !important;
  }
  .page-gdpr__list {
    padding-left: 15px !important;
  }

  /* Images within content sections */
  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
  }

  /* FAQ Section */
  .page-gdpr__faq-question {
    padding: 15px 20px !important;
    font-size: 1rem !important;
  }
  .page-gdpr__faq-toggle {
    font-size: 1.3rem !important;
  }
  .page-gdpr__faq-answer {
    padding: 10px 20px 15px !important;
    font-size: 0.95rem !important;
  }
}