/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
  line-height: 1.6;
}

/* Ensure content is within a readable width */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-gdpr__section-wrapper {
  padding: 20px 0;
}

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

.page-gdpr__image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

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

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

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

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

/* Section Titles */
.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

/* Text Blocks */
.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #333333;
}

.page-gdpr__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

/* Lists */
.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.6;
}

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

/* Images within content */
.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Contact Info */
.page-gdpr__contact-info {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin: 30px 0;
  border-radius: 5px;
}

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

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

/* 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 5px rgba(0, 0, 0, 0.05);
}

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

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

.page-gdpr__faq-item[open] summary {
  background-color: #eaf7ff;
  border-bottom-color: #26A9E0;
}

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

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

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

/* Call to Action Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 8px;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__cta-title {
  font-size: clamp(1.5em, 3vw, 2.2em);
  margin-bottom: 30px;
  font-weight: 700;
  color: #ffffff;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.page-gdpr__btn-lg {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

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

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

  .page-gdpr__image-content {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-gdpr__main-title {
    font-size: 2.2em !important;
  }

  .page-gdpr__description {
    font-size: 1em;
  }

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

  .page-gdpr__text-block, .page-gdpr__list-item, .page-gdpr__faq-answer p {
    font-size: 0.95em;
  }

  .page-gdpr__hero-image,
  .page-gdpr__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__content-area,
  .page-gdpr__section-wrapper,
  .page-gdpr__hero-section,
  .page-gdpr__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-lg {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr__cta-title {
    font-size: 1.6em !important;
  }

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

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

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em !important;
  }

  .page-gdpr__section-title {
    font-size: 1.5em !important;
  }

  .page-gdpr__description,
  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer p {
    font-size: 0.9em;
  }
}