.page-gdpr {
  --primary-color: #FFD700;
  --secondary-color: #000080;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-medium: #e0e0e0;
  --card-bg: #ffffff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-gdpr-hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--secondary-color); /* Fallback */
  overflow: hidden;
}

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

.page-gdpr-hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-gdpr-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Overlay for readability */
  border-radius: 8px;
}

.page-gdpr-hero h1 {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr-hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

.page-gdpr-section:nth-of-type(even) {
  background-color: var(--bg-light);
}

.page-gdpr h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-gdpr h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-gdpr h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-gdpr-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-gdpr-list li {
  background-color: var(--card-bg);
  border-left: 5px solid var(--primary-color);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr-list li h3 {
  color: var(--secondary-color);
  margin-top: 0;
  font-size: 1.5em;
}

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

.page-gdpr-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr-card h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-gdpr-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr-cta-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr-cta-large {
  font-size: 1.3em;
  padding: 18px 45px;
}

.page-gdpr-link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr-link:hover {
  color: var(--primary-color);
}

.page-gdpr-center-content {
  text-align: center;
}

.page-gdpr-image-fullwidth {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 40px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr-image-halfwidth {
  width: 100%;
  max-width: 500px; /* Adjust as needed */
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr-image-left {
  float: left;
  margin-right: 30px;
}

.page-gdpr-image-right {
  float: right;
  margin-left: 30px;
}

/* Clearfix for floated images */
.page-gdpr-rights::after,
.page-gdpr-contact::after {
  content: "";
  display: table;
  clear: both;
}

/* FAQ styles */
.page-gdpr-faq {
  background-color: var(--bg-light);
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg);
  border: 1px solid var(--bg-medium);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-question:hover {
  background: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--secondary-color);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fcfcfc;
  border-left: 1px solid var(--bg-medium);
  border-right: 1px solid var(--bg-medium);
  border-bottom: 1px solid var(--bg-medium);
  border-radius: 0 0 5px 5px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq-answer p {
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr-hero h1 {
    font-size: 2.5em;
  }
  .page-gdpr h2 {
    font-size: 2em;
  }
  .page-gdpr h3 {
    font-size: 1.5em;
  }
  .page-gdpr-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-gdpr-image-halfwidth {
    float: none;
    margin: 30px auto;
  }
  .page-gdpr-rights::after,
  .page-gdpr-contact::after {
    clear: both;
  }
}

@media (max-width: 768px) {
  .page-gdpr-hero {
    padding: 40px 15px;
  }
  .page-gdpr-hero h1 {
    font-size: 2em;
  }
  .page-gdpr-hero p {
    font-size: 1em;
  }
  .page-gdpr-section {
    padding: 40px 0;
  }
  .page-gdpr h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr h3 {
    font-size: 1.3em;
  }
  .page-gdpr p {
    font-size: 0.95em;
  }
  .page-gdpr-list li {
    padding: 15px;
  }
  .page-gdpr-card {
    padding: 20px;
  }
  .page-gdpr-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-gdpr-cta-large {
    font-size: 1.1em;
    padding: 15px 35px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-gdpr-hero h1 {
    font-size: 1.6em;
  }
  .page-gdpr h2 {
    font-size: 1.5em;
  }
  .page-gdpr-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr-image-fullwidth, .page-gdpr-image-halfwidth {
    margin: 20px 0;
  }
}