/* style/gdpr.css */
.page-gdpr {
  background-color: var(--site-bg, #0D0E12);
  color: var(--text-main, #FFF3E6);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 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: #0D0E12;
  color: #FFF3E6;
}

.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%; /* Ensure width is set for flex items */
}

.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__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF3E6;
  margin-bottom: 15px;
  font-size: clamp(24px, 4vw, 48px); /* Responsive font size */
}

.page-gdpr__hero-description {
  font-size: 18px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #FFF3E6;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  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: linear-gradient(180deg, #D96800 0%, #FFA53A 100%); /* Invert gradient on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-gdpr__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
  margin-top: 15px;
}

.page-gdpr__section {
  padding: 40px 0;
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-gdpr__section-title {
  font-size: clamp(22px, 3.5vw, 36px);
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: clamp(18px, 2.5vw, 28px);
  color: #FFA53A;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-gdpr__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-gdpr__list-item {
  font-size: 16px;
  margin-bottom: 10px;
  color: #FFF3E6;
}

.page-gdpr__list-item strong {
  color: #FFA53A;
}

.page-gdpr__list-item a {
  color: #FFA53A;
  text-decoration: none;
}

.page-gdpr__list-item a:hover {
  text-decoration: underline;
}

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

.page-gdpr__contact-info {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 25px;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__contact-item {
  font-size: 17px;
  margin-bottom: 10px;
  color: #FFF3E6;
}

.page-gdpr__contact-item strong {
  color: #FF8C1A;
}

.page-gdpr__contact-item a {
  color: #FFA53A;
  text-decoration: none;
}

.page-gdpr__contact-item a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq {
  padding-bottom: 60px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Using border color from custom palette */
  overflow: hidden;
  background: #17191F; /* Using card background color */
  color: #FFF3E6;
}

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: rgba(255, 165, 58, 0.1); /* Light hover effect with secondary color */
}

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

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A; /* Using auxiliary color for toggle icon */
  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: #0D0E12; /* Using main background color for answer area */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}

.page-gdpr__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 15px;
  color: #FFF3E6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Keep small top padding for mobile */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__hero-image img {
    border-radius: 4px;
  }
  
  .page-gdpr__main-title {
    font-size: clamp(20px, 6vw, 36px);
  }

  .page-gdpr__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .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;
    margin-top: 15px;
  }
  
  .page-gdpr__cta-button--small {
    padding: 10px 20px;
    font-size: 14px;
    margin-top: 10px;
  }

  .page-gdpr__section {
    padding: 30px 0;
  }

  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__section-title {
    font-size: clamp(20px, 5vw, 30px);
    margin-bottom: 20px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(16px, 4vw, 24px);
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__contact-item,
  .page-gdpr__faq-answer p {
    font-size: 15px;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
  }

  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px;
  }
  .page-gdpr__faq-qtext {
    font-size: 15px;
  }
}

/* Ensure text contrast for default elements if any */
.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
  color: #FF8C1A;
}
.page-gdpr p, .page-gdpr li {
  color: #FFF3E6;
}
.page-gdpr a {
  color: #FFA53A;
}
.page-gdpr a:hover {
  color: #FF8C1A;
}

/* Contrast fix for any potential issues (fallback, not actively used if colors are chosen correctly) */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}