/* style/gdpr.css */

/* Base styles for the page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for assumed light body background */
  background-color: #ffffff; /* Ensure a light background for main content */
  padding-bottom: 40px;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding: 10px 20px 40px; /* Small top padding, no var(--header-offset) */
  background-color: #f0f8ff; /* Light blue background for hero */
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px; /* Space between image and text */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1, no fixed large size */
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-gdpr__intro-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #555555;
  margin-bottom: 30px;
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-gdpr__btn-primary:hover {
  background-color: #d16a06;
  border-color: #d16a06;
  transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* General Section Styles */
.page-gdpr__section {
  padding: 60px 20px;
  background-color: #ffffff;
}

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

.page-gdpr__container {
  width: 100%; /* Ensure full width for flex contexts */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-gdpr p {
  margin-bottom: 15px;
  color: #333333;
}

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

.page-gdpr a {
  color: #EA7C07; /* Link color for better visibility */
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #d16a06;
}

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

/* List Styles */
.page-gdpr__rights-list,
.page-gdpr__data-types-list,
.page-gdpr__contact-options {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__rights-list li,
.page-gdpr__data-types-list li,
.page-gdpr__contact-options li {
  margin-bottom: 10px;
}

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

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  font-size: 18px;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  color: #EA7C07;
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  color: #555555;
}

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

/* Policy Updates */
.page-gdpr__section--updates time {
  font-weight: bold;
  color: #26A9E0;
}

/* Contact Info */
.page-gdpr__contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 18px;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
}

.page-gdpr__contact-info a {
  color: #26A9E0;
  font-weight: bold;
}

.page-gdpr__cta-buttons--bottom {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    padding: 10px 15px 30px;
  }

  .page-gdpr__hero-image {
    margin-bottom: 20px;
  }

  .page-gdpr__main-title {
    font-size: clamp(24px, 5vw, 40px);
  }

  .page-gdpr__intro-description {
    font-size: clamp(15px, 2.5vw, 18px);
  }

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

  .page-gdpr__section-title {
    font-size: clamp(22px, 4vw, 32px);
  }

  .page-gdpr__faq-qtext {
    font-size: 16px;
  }
}

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

  .page-gdpr__hero-section {
    padding: 10px 15px 20px;
  }

  .page-gdpr__main-title {
    font-size: 28px !important; /* Fixed size for mobile H1 */
  }

  .page-gdpr__intro-description {
    font-size: 16px !important;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to container */
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }

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

  .page-gdpr__section-title {
    font-size: 26px !important;
    margin-bottom: 20px;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important; /* Ensure image takes full width */
    box-sizing: border-box !important;
    margin: 20px auto !important;
  }

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

  /* Specific image rules for content area to prevent overflow */
  .page-gdpr__section img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    width: 100% !important; /* Ensure full width */
  }

  .page-gdpr__faq-item summary {
    padding: 15px;
  }

  .page-gdpr__faq-qtext {
    font-size: 15px;
  }

  .page-gdpr__faq-toggle {
    font-size: 20px;
  }

  .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }
  
  /* If a video section existed, it would follow this rule */
  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
}