/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

.page-gdpr__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  background-color: #B71C1C; /* Deep Red background */
  color: #FFF5E1; /* Light text for dark background */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

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

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for text on gold button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-gdpr__cta-button--secondary {
  background: #ffffff;
  color: #C91F17; /* Use brand color for text */
  border: 2px solid #C91F17;
}

.page-gdpr__cta-button--secondary:hover {
  background: #f0f0f0;
  color: #7A0E0E;
  border-color: #7A0E0E;
}

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

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #C91F17;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-gdpr__section-title--white {
  color: #FFF5E1;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333; /* Default text color for light backgrounds */
}

.page-gdpr__text-block--white {
  color: #FFF5E1;
}

.page-gdpr__image-in-text {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Specific background/text color combinations */
.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #B71C1C; /* Background color from custom palette */
  color: #FFF5E1; /* Text Main color from custom palette */
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-gdpr__rights-item {
  background-color: #D32F2F; /* Card BG color */
  color: #FFF5E1; /* Text Main color */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border: 1px solid #F2B544; /* Border color */
}

.page-gdpr__rights-title {
  font-size: 1.4em;
  color: #FFD86A; /* Gold color for titles */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__rights-description {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1;
}

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

.page-gdpr__feature-card {
  background-color: #7A0E0E; /* Deep Red color */
  color: #FFF5E1;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  border: 1px solid #F2B544; /* Border color */
}

.page-gdpr__feature-title {
  font-size: 1.3em;
  color: #FFCC66; /* Glow color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1;
}

.page-gdpr__policy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__policy-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-gdpr__policy-link {
  font-size: 1.3em;
  color: #C91F17;
  text-decoration: none;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.page-gdpr__policy-link:hover {
  text-decoration: underline;
  color: #E53935;
}

.page-gdpr__policy-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-gdpr__contact-section {
  text-align: center;
  padding: 80px 0;
}

.page-gdpr__contact-link {
  color: #FFD86A; /* Gold color for links on dark background */
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: #F4D34D;
}

.page-gdpr__conclusion-section {
  padding-bottom: 80px;
}

.page-gdpr__footer-placeholder-content {
  text-align: center;
  padding: 30px 20px;
  background-color: #B71C1C;
  color: #FFF5E1;
  border-top: 1px solid #7A0E0E;
}

.page-gdpr__copyright {
  font-size: 0.9em;
  margin: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__rights-list, .page-gdpr__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

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

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 10px;
  }

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

  /* Buttons and button containers */
  .page-gdpr__cta-button,
  .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;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important; /* Center single button */
    margin-right: auto !important;
  }
  
  .page-gdpr__hero-content .page-gdpr__cta-button {
    display: block;
  }

  .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 !important;
    padding-right: 15px !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

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

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

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

  .page-gdpr__text-block {
    font-size: 1em;
  }

  /* Generic images and containers */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__feature-grid,
  .page-gdpr__rights-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__image-in-text {
    margin: 30px auto;
  }

  .page-gdpr__rights-list,
  .page-gdpr__feature-grid {
    grid-template-columns: 1fr; /* Stack items vertically */
    gap: 20px;
  }

  .page-gdpr__rights-item,
  .page-gdpr__feature-card,
  .page-gdpr__policy-item {
    padding: 20px;
  }

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

  .page-gdpr__feature-title {
    font-size: 1.1em;
  }

  .page-gdpr__policy-link {
    font-size: 1.2em;
  }

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

  .page-gdpr__footer-placeholder-content {
    padding: 20px 15px;
  }
}