/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity, though shared.css might handle body */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: #FFFFFF;
  color: #333333;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
}

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

/* CTA Button */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-gdpr__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Section common styles */
.page-gdpr__section {
  padding: 60px 0;
}

.page-gdpr__section--intro {
  background-color: #FFFFFF;
  color: #333333;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

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

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

.page-gdpr__text-block--light {
  color: #f0f0f0;
}

/* Principles Section */
.page-gdpr__section--principles {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__grid-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #333333;
}

.page-gdpr__card-title--light {
  color: #ffffff;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-gdpr__image--card {
  max-width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* Rights Section */
.page-gdpr__section--rights {
  background-color: #FFFFFF;
  color: #333333;
}

.page-gdpr__grid-layout--rights .page-gdpr__card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  color: #333333;
}

.page-gdpr__grid-layout--rights .page-gdpr__card .page-gdpr__card-title {
  color: #26A9E0;
}

.page-gdpr__image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__image-wrapper--center {
  text-align: center;
}

.page-gdpr__image-wrapper--center .page-gdpr__image {
  margin: 0 auto;
}

/* Security Section */
.page-gdpr__section--security {
  background-color: #000000; /* Dark background for security section */
  color: #ffffff;
}

.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-gdpr__security-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-gdpr__list-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-gdpr__list-title--light {
  color: #26A9E0;
}

/* Contact Section */
.page-gdpr__section--contact {
  background-color: #FFFFFF;
  color: #333333;
  text-align: center;
}

/* FAQ Section */
.page-gdpr__section--faq {
  background-color: #F8F8F8;
  color: #333333;
  padding-bottom: 80px;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: #26A9E0;
  background-color: #f0f8ff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid #d0d0d0;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  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 25px;
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
}

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

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

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

  .page-gdpr__hero-description {
    font-size: 1em;
  }

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

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

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

  .page-gdpr__grid-layout {
    grid-template-columns: 1fr;
  }

  .page-gdpr__image--card {
    max-width: 150px;
    height: 150px;
  }

  .page-gdpr__cta-button {
    width: 100% !important;
    padding: 15px 20px;
    margin-bottom: 10px;
  }

  .page-gdpr__button-group {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-wrapper,
  .page-gdpr__grid-item,
  .page-gdpr__card,
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__section--principles .page-gdpr__grid-item {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__section--security .page-gdpr__security-item {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__faq-question {
    padding: 15px;
  }
  .page-gdpr__faq-answer {
    padding: 15px;
  }
}

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

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