.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff; /* Default light background for body */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
}

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

.page-gdpr__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-gdpr__hero-content h1 {
  font-size: clamp(24px, 4vw, 42px);
  color: #017439;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-gdpr__hero-content p {
  font-size: 18px;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Use custom color for register/login */
  color: #FFFF00; /* Use custom color for register/login font */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__section {
  padding: 60px 20px;
  border-bottom: 1px solid #eeeeee;
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

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

.page-gdpr__heading {
  font-size: 36px;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-gdpr__introduction p,
.page-gdpr__data-collection p,
.page-gdpr__data-retention p,
.page-gdpr__policy-updates p,
.page-gdpr__contact p {
  font-size: 17px;
  margin-bottom: 1em;
}

.page-gdpr__introduction p:last-child,
.page-gdpr__data-collection p:last-child,
.page-gdpr__data-retention p:last-child,
.page-gdpr__policy-updates p:last-child,
.page-gdpr__contact p:last-child {
  margin-bottom: 0;
}

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

.page-gdpr__content-grid--reverse {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-gdpr__content-grid--reverse .page-gdpr__text-block:first-child {
  order: 2;
}

.page-gdpr__content-grid--reverse .page-gdpr__image-wrapper {
  order: 1;
}

.page-gdpr__text-block h3 {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__text-block ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-gdpr__text-block ul li {
  margin-bottom: 8px;
}

.page-gdpr__text-block strong {
  color: #017439;
}

.page-gdpr__image-wrapper {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-gdpr__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-gdpr__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__heading,
.page-gdpr__dark-section .page-gdpr__text-block h3 {
  color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__text-block strong {
  color: #FFFF00;
}

.page-gdpr__data-subject-rights ul {
  list-style: none;
  padding: 0;
}

.page-gdpr__data-subject-rights ul li {
  margin-bottom: 30px;
}

.page-gdpr__data-subject-rights ul li h3 {
  font-size: 22px;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__text-link {
  color: #017439;
  text-decoration: underline;
}

.page-gdpr__text-link:hover {
  color: #005f2c;
}

.page-gdpr__contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  justify-content: center;
}

.page-gdpr__contact-item {
  flex: 1;
  min-width: 280px;
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #017439;
}

.page-gdpr__contact-item h3 {
  font-size: 20px;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__contact-item p {
  font-size: 16px;
  margin-bottom: 8px;
}

.page-gdpr__contact-image {
  margin-top: 40px;
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

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

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: #f5f5f5;
}

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

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
  font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__heading {
    font-size: 32px;
  }
  .page-gdpr__hero-content h1 {
    font-size: clamp(22px, 5vw, 38px);
  }
  .page-gdpr__hero-content p {
    font-size: 17px;
  }
  .page-gdpr__section {
    padding: 50px 15px;
  }
  .page-gdpr__text-block h3 {
    font-size: 22px;
  }
  .page-gdpr__data-subject-rights ul li h3 {
    font-size: 20px;
  }
  .page-gdpr__faq-qtext {
    font-size: 17px;
  }
  .page-gdpr__faq-answer {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-image img {
    border-radius: 4px;
  }
  .page-gdpr__cta-button {
    padding: 12px 30px;
    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__section {
    padding: 40px 15px;
  }
  .page-gdpr__heading {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-gdpr__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-gdpr__content-grid--reverse .page-gdpr__text-block:first-child,
  .page-gdpr__content-grid--reverse .page-gdpr__image-wrapper {
    order: unset;
  }
  .page-gdpr__text-block h3 {
    font-size: 20px;
  }
  .page-gdpr__introduction p,
  .page-gdpr__data-collection p,
  .page-gdpr__data-retention p,
  .page-gdpr__policy-updates p,
  .page-gdpr__contact p {
    font-size: 16px;
  }
  .page-gdpr__data-subject-rights ul li h3 {
    font-size: 18px;
  }
  .page-gdpr__contact-details {
    flex-direction: column;
    gap: 20px;
  }
  .page-gdpr__contact-item {
    min-width: unset;
    width: 100%;
  }
  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 16px; }
  .page-gdpr__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__heading {
    font-size: 24px;
  }
  .page-gdpr__hero-content h1 {
    font-size: clamp(20px, 6vw, 32px);
  }
  .page-gdpr__hero-content p {
    font-size: 15px;
  }
  .page-gdpr__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-gdpr__text-block h3 {
    font-size: 18px;
  }
  .page-gdpr__data-subject-rights ul li h3 {
    font-size: 16px;
  }
  .page-gdpr__faq-qtext {
    font-size: 15px;
  }
}