/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text on light body background */
  background-color: #FFFFFF; /* Explicitly set for content area if needed, but body handles global */
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #F8F8F8; /* Light grey background for hero */
  box-sizing: border-box;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for image container */
  margin-bottom: 30px;
  box-sizing: border-box;
}

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

.page-gdpr__hero-content {
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-gdpr__hero-content h1 {
  font-size: clamp(2em, 2.8vw, 2.8em); /* H1 font size with clamp */
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for H1 */
  margin-bottom: 20px;
}

.page-gdpr__hero-content p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

/* General Section Styling */
.page-gdpr__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-gdpr__section:nth-of-type(even) {
  background-color: #F8F8F8;
}

.page-gdpr__section h2 {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.page-gdpr__section h3 {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__section p {
  margin-bottom: 15px;
}

.page-gdpr__section ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-gdpr__section li {
  margin-bottom: 8px;
}

/* Image within content sections */
.page-gdpr__content-image {
  width: 100%;
  max-width: 600px; /* Recommended size for content images */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a7fb3; /* Slightly darker shade */
}

/* Specific button for promotion */
.page-gdpr__cta-promo {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
}

.page-gdpr__cta-promo:hover {
  background-color: #c76706;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #ffffff;
}

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

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

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f5f5f5;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Hide default marker */
}

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

.page-gdpr__faq-question {
  display: flex; /* Ensure toggle is aligned */
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-gdpr__faq-answer {
  padding: 15px 20px;
  background-color: #ffffff;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

/* Policy changes date */
.page-gdpr__policy-changes-section p strong {
  color: #26A9E0;
}

/* Call to action section at the end */
.page-gdpr__final-cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-gdpr__final-cta-section h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-gdpr__final-cta-section p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-content h1 {
    font-size: clamp(1.8em, 2.2vw, 2.2em);
  }
  .page-gdpr__section h2 {
    font-size: 1.8em;
  }
}

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

  /* Ensure all sections and containers have proper padding and width */
  .page-gdpr__hero-section,
  .page-gdpr__intro-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__data-usage-section,
  .page-gdpr__data-storage-section,
  .page-gdpr__rights-section,
  .page-gdpr__cookies-section,
  .page-gdpr__policy-changes-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section,
  .page-gdpr__final-cta-section,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__hero-content,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-gdpr__hero-content h1 {
    font-size: 1.8em !important;
  }

  .page-gdpr__section h2 {
    font-size: 1.6em !important;
  }

  .page-gdpr__section h3 {
    font-size: 1.3em !important;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Buttons responsive */
  .page-gdpr__btn-primary,
  .page-gdpr__cta-promo {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    text-align: center;
  }

  /* If multiple buttons are in a flex container, ensure they wrap or stack */
  .page-gdpr__button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* Video responsive (if any, though none planned for this specific page) */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
}