/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: var(--secondary-color, #FFFFFF);
}

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

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

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #f8f8f8;
  margin-bottom: 20px;
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: cover to fill space */
}

.page-gdpr__hero-content {
  padding: 30px 15px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

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

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

.page-gdpr__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  color: #333333;
  text-align: justify;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  margin: 10px;
  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: #1a8ccb;
  border-color: #1a8ccb;
}

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

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

.page-gdpr__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__paragraph,
.page-gdpr__dark-bg .page-gdpr__card-title,
.page-gdpr__dark-bg .page-gdpr__card-text,
.page-gdpr__dark-bg .page-gdpr__contact-title,
.page-gdpr__dark-bg .page-gdpr__contact-text {
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__principles .page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff; /* For dark-bg section */
  font-weight: 600;
}

.page-gdpr__card-text {
  font-size: 0.95em;
  color: #f0f0f0; /* For dark-bg section */
  text-align: justify;
}

.page-gdpr__your-rights .page-gdpr__rights-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-gdpr__right-item {
  display: flex;
  align-items: flex-start;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__right-icon {
  width: 100px;
  height: auto;
  min-width: 100px;
  margin-right: 20px;
  object-fit: contain;
  display: block;
}

.page-gdpr__right-content {
  flex-grow: 1;
}

.page-gdpr__right-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 5px;
  font-weight: 600;
}

.page-gdpr__right-description {
  font-size: 0.95em;
  color: #555555;
}

.page-gdpr__data-protection .page-gdpr__protection-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-gdpr__method-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gdpr__method-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-gdpr__method-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__method-list {
  list-style-type: disc;
  margin-left: 20px;
  color: #555555;
}

.page-gdpr__method-list li {
  margin-bottom: 8px;
  font-size: 0.95em;
}

.page-gdpr__contact-dpo .page-gdpr__contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__contact-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__contact-icon {
  width: 200px;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-gdpr__contact-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-gdpr__contact-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: #f0f8ff;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

.page-gdpr__call-to-action {
  background-color: #f8f8f8;
  text-align: center;
  padding: 50px 0;
}

.page-gdpr__call-to-action .page-gdpr__btn-primary,
.page-gdpr__call-to-action .page-gdpr__btn-secondary {
  margin-top: 20px;
}

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

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

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

  .page-gdpr__hero-section {
    flex-direction: column;
    padding-top: 10px !important;
  }

  .page-gdpr__hero-image {
    object-fit: contain; /* Mobile: contain to prevent cropping */
    max-height: none;
    aspect-ratio: unset;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__hero-image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-gdpr__paragraph {
    font-size: 0.95em;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-content .page-gdpr__btn-primary,
  .page-gdpr__call-to-action .page-gdpr__btn-primary,
  .page-gdpr__call-to-action .page-gdpr__btn-secondary {
    display: block;
  }

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

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
  }

  .page-gdpr__card-text {
    font-size: 0.9em;
  }

  .page-gdpr__your-rights .page-gdpr__right-item {
    flex-direction: column;
    text-align: center;
  }

  .page-gdpr__right-icon {
    width: 150px;
    min-width: unset;
    margin: 0 auto 15px auto;
  }

  .page-gdpr__right-content {
    text-align: center;
  }

  .page-gdpr__data-protection .page-gdpr__protection-methods {
    grid-template-columns: 1fr;
  }

  .page-gdpr__method-item {
    padding: 20px;
  }

  .page-gdpr__method-title {
    font-size: 1.2em;
  }

  .page-gdpr__contact-dpo .page-gdpr__contact-info {
    grid-template-columns: 1fr;
  }

  .page-gdpr__contact-card {
    padding: 25px;
  }

  .page-gdpr__contact-icon {
    width: 150px;
  }

  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-gdpr__hero-image-container,
  .page-gdpr__card,
  .page-gdpr__method-item,
  .page-gdpr__contact-card,
  .page-gdpr__faq-item,
  .page-gdpr__section,
  .page-gdpr__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}