:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg-color: #10233F;
  --text-main-color: #F3F8FF;
  --text-secondary-color: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* #F3F8FF */
  background-color: var(--deep-navy-color); /* #08162B from shared.css */
}

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

.page-gdpr__top-section {
  padding-top: 10px; /* As per fixed header offset rule */
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--deep-navy-color);
  color: var(--text-main-color);
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Adjusted for H1 size rule */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--gold-color); /* #F2C14E for emphasis */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary-color); /* #AFC4E8 */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__top-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-gdpr__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included in width */
  max-width: 100%; /* For button responsive */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--glow-color); /* #4FA8FF */
  border: 2px solid var(--glow-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: rgba(79, 168, 255, 0.1);
  color: #ffffff;
}

.page-gdpr__content-section {
  padding: 60px 0;
}

.page-gdpr__dark-section {
  background-color: var(--deep-navy-color);
}

.page-gdpr__article-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  background-color: var(--card-bg-color); /* #10233F */
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: var(--gold-color); /* #F2C14E */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  line-height: 1.3;
}

.page-gdpr__sub-title {
  font-size: clamp(1.3em, 2.2vw, 1.8em);
  font-weight: 600;
  color: var(--glow-color); /* #4FA8FF */
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-gdpr p {
  margin-bottom: 1em;
  color: var(--text-secondary-color);
}

.page-gdpr p strong {
  color: var(--text-main-color);
}

.page-gdpr ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 1em;
  color: var(--text-secondary-color);
}

.page-gdpr ul li {
  margin-bottom: 0.5em;
}

.page-gdpr a {
  color: var(--glow-color); /* #4FA8FF */
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: var(--gold-color); /* #F2C14E */
  text-decoration: none;
}

.page-gdpr__image-figure {
  margin: 30px 0;
  text-align: center;
}

.page-gdpr__image-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element for max-width */
  margin: 0 auto;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-gdpr__image-caption {
  margin-top: 10px;
  font-style: italic;
  color: var(--text-secondary-color);
  font-size: 0.9em;
}

.page-gdpr__promo-box {
  background-color: var(--deep-navy-color);
  border: 1px solid var(--border-color); /* #244D84 */
  border-radius: 10px;
  padding: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__promo-text {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: var(--text-main-color);
  line-height: 1.5;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.6em, 3vw, 2.2em);
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2em, 2.2vw, 1.6em);
  }

  .page-gdpr__article-wrap {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  /* 1. Top section title + CTAs */
  .page-gdpr__top-section {
    padding-top: 10px !important; /* Fixed header offset rule */
    padding-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
    margin-bottom: 10px;
    padding: 0 15px;
  }

  .page-gdpr__description {
    font-size: 0.95em;
    margin-bottom: 20px;
    padding: 0 15px; /* Added for container padding */
  }

  .page-gdpr__top-cta {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px; /* Added for container padding */
  }

  .page-gdpr__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. Single column long text containers */
  .page-gdpr__article-wrap {
    padding: 20px 15px !important; /* Adjust padding for mobile */
    border-radius: 0; /* Full width on mobile */
    margin: 0; /* Full width on mobile */
    box-shadow: none;
    max-width: 100% !important; /* Ensure full width */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__content-section {
    padding: 30px 0;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.4em, 5vw, 2em);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.1em, 4vw, 1.4em);
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  /* 3. General images and figures */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }

  .page-gdpr__image-figure {
    margin: 20px 0;
  }

  .page-gdpr__image-caption {
    font-size: 0.85em;
  }

  /* 4. Buttons and button containers */
  .page-gdpr__promo-box {
    padding: 25px 15px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__promo-text {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  /* Ensure all content containers are responsive */
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}