:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --background-color: #0A0A0A;
  --card-background: #111111;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color);
  background-color: var(--background-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.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; /* Small top padding as body handles header offset */
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-gdpr__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color);
  max-width: 900px;
}

.page-gdpr__intro-text {
  font-size: 18px;
  line-height: 1.5;
  max-width: 800px;
  margin-bottom: 30px;
  color: var(--text-main-color);
}

.page-gdpr__section {
  padding: 60px 0;
  background-color: var(--card-background);
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section:nth-of-type(even) {
  background-color: #1a1a1a; /* Slightly different background for visual separation */
}

.page-gdpr__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.page-gdpr__section p {
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--text-main-color);
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.page-gdpr__commitment-list,
.page-gdpr__data-types,
.page-gdpr__data-purposes,
.page-gdpr__rights-list,
.page-gdpr__security-measures {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__commitment-list li,
.page-gdpr__data-types li,
.page-gdpr__data-purposes li,
.page-gdpr__rights-list li,
.page-gdpr__security-measures li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--text-main-color);
}

.page-gdpr__commitment-list li::before,
.page-gdpr__data-types li::before,
.page-gdpr__data-purposes li::before,
.page-gdpr__rights-list li::before,
.page-gdpr__security-measures li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.page-gdpr__commitment-list li p,
.page-gdpr__data-types li p,
.page-gdpr__data-purposes li p,
.page-gdpr__rights-list li p,
.page-gdpr__security-measures li p {
    margin-bottom: 0;
}

.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--secondary-color);
}

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

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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, border-color 0.3s ease;
  color: var(--text-main-color);
}

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

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  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: #1a1a1a;
  border-radius: 0 0 8px 8px;
  color: var(--text-main-color);
}

details.page-gdpr__faq-item .page-gdpr__faq-answer p {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .page-gdpr__container {
    padding: 0 25px;
  }
  .page-gdpr__section {
    padding: 50px 0;
  }
  .page-gdpr__main-title {
    font-size: clamp(26px, 4.5vw, 42px);
  }
  .page-gdpr__intro-text {
    font-size: 17px;
  }
  .page-gdpr__section-title {
    font-size: clamp(22px, 3.8vw, 32px);
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-gdpr__main-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }
  .page-gdpr__intro-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-gdpr__section {
    padding: 40px 0;
    margin-bottom: 15px;
  }
  .page-gdpr__section-title {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 25px;
  }
  .page-gdpr__section p {
    font-size: 15px;
  }
  .page-gdpr__commitment-list li,
  .page-gdpr__data-types li,
  .page-gdpr__data-purposes li,
  .page-gdpr__rights-list li,
  .page-gdpr__security-measures li {
    font-size: 15px;
    padding-left: 25px;
  }
  .page-gdpr__commitment-list li::before,
  .page-gdpr__data-types li::before,
  .page-gdpr__data-purposes li::before,
  .page-gdpr__rights-list li::before,
  .page-gdpr__security-measures li::before {
    font-size: 18px;
  }

  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;
  }
  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}