:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--secondary-color);
}

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

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

.page-gdpr__section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

/* HERO Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Fixed: Only small top padding, body handles header offset */
  background-color: var(--background-light);
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-dark);
}

.page-gdpr__main-title {
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--login-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: #c56806; /* Darken on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* General Content Styles */
.page-gdpr__intro-section p,
.page-gdpr__data-processing p,
.page-gdpr__user-rights p,
.page-gdpr__security-measures p,
.page-gdpr__cookie-policy p,
.page-gdpr__data-protection-officer p,
.page-gdpr__conclusion-section p {
  margin-bottom: 1em;
  font-size: 16px;
  color: var(--text-dark);
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 1.5em;
}

.page-gdpr__list li {
  margin-bottom: 0.5em;
  font-size: 16px;
  color: var(--text-dark);
}

.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #1f88b7; /* Darken on hover */
}

/* Grid Layout for sections with image and text */
.page-gdpr__grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-gdpr__grid--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__text-block,
.page-gdpr__image-block {
  flex: 1;
}

.page-gdpr__image-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__image-block--center {
  text-align: center;
  margin-top: 30px;
}

.page-gdpr__image-block--center img {
  max-width: 600px;
  display: inline-block;
}

.page-gdpr__contact-info {
  background-color: var(--background-light);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-top: 30px;
  margin-bottom: 30px;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: var(--background-light);
}

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

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--secondary-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-dark);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: #f0f0f0;
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}
details.page-gdpr__faq-item .page-gdpr__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-gdpr__grid--reverse {
    flex-direction: column;
  }
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__hero-image img {
    border-radius: 4px;
  }
  
  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .page-gdpr p,
  .page-gdpr li,
  .page-gdpr__contact-info p {
    font-size: 15px;
  }

  .page-gdpr__list {
    margin-left: 20px;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-gdpr__image-block--center img {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 16px; }
  .page-gdpr__faq-toggle { font-size: 20px; width: 24px; height: 24px; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }
}