/* style/gdpr.css */

/* Base Styles for .page-gdpr - Ensuring light text on dark background */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #FFF1E8; /* Main text color for dark backgrounds */
  background-color: #140C0C; /* Main background color */
  line-height: 1.6;
  padding-bottom: 40px; /* Add some bottom padding to main content */
}

/* Section Styling */
.page-gdpr__section {
  padding: 40px 0;
  border-bottom: 1px solid #6A1E1E; /* Border color */
}

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

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

/* Hero Section */
.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, body takes --header-offset */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly dim the image to ensure text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(42, 18, 18, 0.7); /* Card BG with transparency for readability */
  border-radius: 10px;
}

.page-gdpr__main-title {
  color: #F3C54D; /* Gold color for main title */
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Enhance readability */
}

.page-gdpr__subtitle {
  color: #FFF1E8; /* Main text color */
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* Section Titles */
.page-gdpr__section-title {
  color: #F3C54D; /* Gold color for section titles */
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

/* Text Blocks */
.page-gdpr__text-block {
  font-size: 1.1em;
  color: #FFF1E8; /* Main text color */
  margin-bottom: 20px;
}

/* List Styles */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-gdpr__list-item {
  background-color: #2A1212; /* Card background color */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-gdpr__list-title {
  color: #FFB04A; /* Gold/Orange for list item titles */
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr__list-item p {
  color: #FFF1E8; /* Main text color */
  font-size: 1em;
}

/* Content Images */
.page-gdpr__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* CTA Button */
.page-gdpr__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C; /* Dark text on gold button for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__cta-button--bottom {
  margin-top: 40px;
}

/* Inline Links */
.page-gdpr__inline-link {
  color: #FFB04A; /* Gold/Orange for inline links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__inline-link:hover {
  color: #F3C54D; /* Lighter gold on hover */
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: #2A1212; /* Card background color */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  overflow: hidden; /* For proper details/summary behavior */
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F3C54D; /* Gold color for FAQ questions */
  list-style: none; /* Remove default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  color: #FFB04A; /* Gold/Orange for toggle icon */
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  color: #FFF1E8; /* Main text color */
  font-size: 1.1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 6vw, 3em);
  }

  .page-gdpr__section-title {
    font-size: 2em;
  }
}

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

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body takes --header-offset, this is decorative */
  }

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

  .page-gdpr__main-title {
    font-size: clamp(1.5em, 8vw, 2.5em);
  }

  .page-gdpr__subtitle {
    font-size: 1em;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

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

  .page-gdpr__text-block,
  .page-gdpr__list-item p,
  .page-gdpr__faq-answer p {
    font-size: 1em;
  }

  .page-gdpr__list-item,
  .page-gdpr__faq-item {
    padding: 15px;
  }

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

  .page-gdpr__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

  /* Image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__hero-section,
  .page-gdpr__container,
  .page-gdpr__hero-content,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .page-gdpr__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important; /* Adjust padding for smaller screens */
    font-size: 1em !important;
  }

  /* No explicit video section, but include generic video responsiveness for safety */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}