.page-gdpr {
  background-color: var(--bg-color, #B71C1C);
  color: #FFF5E1; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #7A0E0E; /* Deep Red */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  width: 1200px; /* Display width */
  height: 675px; /* Display height */
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  color: #FFF5E1;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 20px;
  color: #F4D34D; /* Gold */
  line-height: 1.2;
}

.page-gdpr__lead-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red text for contrast */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-gdpr__cta-button--secondary {
  background: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F4D34D; /* Gold border */
}

.page-gdpr__cta-button--secondary:hover {
  background: #E53935; /* Accent color */
  border-color: #FFCC66; /* Glow */
}

/* Content Sections */
.page-gdpr__content-section,
.page-gdpr__rights-section,
.page-gdpr__contact-section {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
  padding: 60px 0;
}

.page-gdpr__principles-section,
.page-gdpr__security-section {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F4D34D; /* Gold */
}

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

.page-gdpr__small-text {
  font-size: 0.9em;
  text-align: center;
  margin-top: 30px;
  color: #FFF5E1;
}

.page-gdpr__small-text a {
  color: #FFD86A; /* Gold for links */
  text-decoration: underline;
}

.page-gdpr__small-text a:hover {
  color: #FFCC66; /* Glow on hover */
}

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

.page-gdpr__principle-card {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-gdpr__principle-card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD86A; /* Button color text */
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #FFF5E1;
}

/* User Rights Grid */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__user-right {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__right-icon {
  width: 200px;
  height: 200px;
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 50%;
  border: 3px solid #FFD86A; /* Gold ring */
  object-fit: cover;
}

.page-gdpr__right-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD86A; /* Button color text */
}

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

/* Security Section */
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1;
}

.page-gdpr__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFD86A; /* Gold */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.05em;
}

.page-gdpr__security-item strong {
  color: #FFD86A;
}

.page-gdpr__security-image {
  width: 800px;
  height: 450px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-image {
    width: 1000px; /* Adjust for smaller screens */
    height: 563px;
  }
}

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

  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__contact-section {
    padding: 40px 0 !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust for mobile */
  }

  .page-gdpr__lead-text {
    font-size: 1em;
  }

  .page-gdpr__cta-button,
  .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;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px; /* Add spacing for stacked buttons */
  }

  .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;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex; /* Ensure flex context for wrap */
    flex-direction: column; /* Stack buttons vertically */
  }

  .page-gdpr__hero-image,
  .page-gdpr__right-icon,
  .page-gdpr__security-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }

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

  .page-gdpr__principle-card,
  .page-gdpr__user-right {
    padding: 20px;
  }

  .page-gdpr__right-icon {
    width: 150px;
    height: 150px;
  }

  .page-gdpr__security-list {
    padding: 0 15px;
  }

  .page-gdpr__security-image {
    width: 100% !important;
    height: auto !important;
    margin-left: 0;
    margin-right: 0;
  }
}

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

/* Smart color contrast safeguards (adapted for dark background) */
.page-gdpr__dark-bg {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
}

.page-gdpr__light-bg {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-gdpr__card {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border: 1px solid #F2B544; /* Border */
}

.page-gdpr p,
.page-gdpr li,
.page-gdpr__card-text,
.page-gdpr__right-description {
  color: #FFF5E1; /* Ensure light text on dark backgrounds */
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast on gold button */
  border: 2px solid transparent;
}

.page-gdpr__btn-secondary {
  background: #C91F17;
  color: #FFF5E1;
  border: 2px solid #F4D34D;
}