/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* Body background from shared.css */
  line-height: 1.6;
  font-size: 16px;
}

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

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

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-gdpr__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #AFC4E8; /* Text Secondary */
  text-align: justify;
}

.page-gdpr a {
  color: #1D5FD1; /* Auxiliary color */
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #2B73F6;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 810px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensures image covers the area */
  display: block;
}

.page-gdpr__hero-content {
  position: relative; /* Ensure content is above the image visually if not absolutely positioned */
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(16, 35, 63, 0.9); /* Card BG with transparency */
  border-radius: 10px;
  margin-top: -100px; /* Pull content up over the image slightly for visual effect */
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-gdpr__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-gdpr__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Grid for Principles Section */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-gdpr__card-title {
  font-size: 24px;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  object-fit: cover;
}

/* List for Rights Section */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__list-item {
  background: #10233F; /* Card BG */
  border-left: 5px solid #1D5FD1; /* Auxiliary color */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  color: #F3F8FF; /* Text Main */
  font-size: 17px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-gdpr__list-item strong {
  color: #F2C14E; /* Gold */
}

.page-gdpr__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #113B7A; /* Main color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid #113B7A;
  margin-top: 20px;
  cursor: pointer;
}

.page-gdpr__btn-secondary:hover {
  background: #f0f0f0;
  color: #08162B;
  border-color: #08162B;
  transform: translateY(-2px);
}

/* Process Steps Section */
.page-gdpr__process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-gdpr__process-step {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.page-gdpr__process-step img {
  width: 100%;
  max-width: 200px; /* Constrain image size within step */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-gdpr__step-title {
  font-size: 22px;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-gdpr__step-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Text Main */
}

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: #1B3357; /* Divider color for hover */
}

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold */
}

.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy for answer background */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 16px;
}

/* --- Responsive Styles --- */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 15px;
  }

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

  .page-gdpr__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-gdpr__hero-content {
    padding: 30px 15px;
    margin-top: -50px; /* Adjust for smaller screens */
  }

  .page-gdpr__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-gdpr__description {
    font-size: 16px;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__grid-container,
  .page-gdpr__process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card,
  .page-gdpr__process-step {
    padding: 20px;
  }

  .page-gdpr__card-title,
  .page-gdpr__step-title {
    font-size: 20px;
  }

  .page-gdpr__list-item {
    padding: 15px;
    font-size: 16px;
  }

  .page-gdpr__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px 20px;
  }

  .page-gdpr__faq-qtext {
    font-size: 16px;
  }

  .page-gdpr__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }

  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 20px 20px;
  }

  /* General image and container responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-gdpr__hero-image {
    object-fit: contain !important; /* Changed from cover to contain for mobile banner */
  }
}

/* Tablet (max-width: 1024px) - Adjustments for larger tablets */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-gdpr__container {
    padding: 25px;
  }

  .page-gdpr__section-title {
    font-size: 32px;
  }

  .page-gdpr__hero-content {
    margin-top: -80px;
    padding: 35px 25px;
  }

  .page-gdpr__main-title {
    font-size: clamp(32px, 4.5vw, 44px);
  }

  .page-gdpr__grid-container,
  .page-gdpr__process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-gdpr__card,
  .page-gdpr__process-step {
    padding: 25px;
  }

  .page-gdpr__faq-qtext {
    font-size: 17px;
  }
}