/* style/gdpr.css */

:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg-color: #111111;
  --bg-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --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); /* Light text on assumed dark body background */
  background-color: var(--bg-color); /* Fallback/explicit background */
}

.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  background-color: var(--bg-color);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above any visual elements */
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main-color);
}

.page-gdpr__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--secondary {
  background: var(--card-bg-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-gdpr__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--card-bg-color);
}

.page-gdpr__content-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.page-gdpr__dark-section {
  background-color: var(--card-bg-color);
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-main-color);
}

.page-gdpr__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  max-width: 1000px; /* Example max-width for content images */
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-gdpr__principle-item,
.page-gdpr__rights-item {
  background-color: var(--card-bg-color);
  border-left: 5px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-main-color);
}

.page-gdpr__principle-item strong,
.page-gdpr__rights-item strong {
  color: var(--secondary-color);
}

.page-gdpr__link-text {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--card-bg-color);
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.1em;
  list-style: none; /* Hide default marker for details */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  color: var(--text-main-color);
  font-size: 1em;
  line-height: 1.7;
  animation: fadein 0.3s ease-in-out;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- General Responsive Styles --- */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__cta-button, .page-gdpr__cta-button--secondary {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* --- Media Queries --- */

/* Tablet and Mobile adjustments */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6em, 4.5vw, 2.5em);
  }

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

  .page-gdpr__content-section {
    padding: 40px 0;
  }

  .page-gdpr__faq-section {
    padding: 40px 0;
  }
}

/* Mobile specific styles */
@media (max-width: 768px) {
  /* General content padding for mobile */
  .page-gdpr__container {
    padding: 0 15px !important;
  }

  /* Hero Section */
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    min-height: auto;
  }

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

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

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

  /* Content Sections */
  .page-gdpr__content-section {
    padding: 30px 0;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 20px;
  }

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2em, 5vw, 1.6em);
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-gdpr__principle-item,
  .page-gdpr__rights-item {
    padding: 10px 15px;
    font-size: 0.9em;
  }

  /* FAQ Section */
  .page-gdpr__faq-question {
    padding: 15px;
    font-size: 1em;
  }

  .page-gdpr__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.9em;
  }

  /* All images must be responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* All containers with images/content */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons responsiveness */
  .page-gdpr__cta-button, .page-gdpr__cta-button--secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Placeholder for home carousel media queries (as per strict instruction) */
  .page-gdpr__hero-carousel-section .page-gdpr__hero-slider,
  .page-gdpr__hero-carousel-section .page-gdpr__hero-slide {
    /* Placeholder for mobile styles of hero carousel */
    height: 250px; /* Example height */
    object-fit: cover;
  }
  .page-gdpr__hero-carousel-section .page-gdpr__hero-slider-prev,
  .page-gdpr__hero-carousel-section .page-gdpr__hero-slider-next {
    /* Placeholder for mobile styles of carousel arrows */
    font-size: 2em;
    padding: 5px;
  }

  /* Placeholder for five team vertical cards media queries (as per strict instruction) */
  .page-gdpr__guide-box {
    padding: 15px;
  }
  .page-gdpr__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  .page-gdpr__guide-card {
    padding-top: 0 !important; /* Reset desktop specific padding */
  }
  .page-gdpr__guide-card--pos-1, .page-gdpr__guide-card--pos-2 {
    grid-column: span 3; /* Two cards per row */
  }
  .page-gdpr__guide-card--pos-3, .page-gdpr__guide-card--pos-4, .page-gdpr__guide-card--pos-5 {
    grid-column: span 2; /* Three cards per row */
  }
  .page-gdpr__guide-card img {
    aspect-ratio: 250/350;
    object-fit: contain;
    width: 100%;
    height: auto;
  }

  /* Placeholder for home_content box media queries (as per strict instruction) */
  .page-gdpr__home-content-box {
    max-width: 100% !important;
    height: auto !important; /* Allow content to expand */
    padding: 10px;
    box-shadow: none;
    border: none;
  }
  .page-gdpr__home-content-inner {
    height: auto !important;
    overflow: visible !important;
  }

  /* Placeholder for blog card section media queries (as per strict instruction) */
  .page-gdpr__blog-grid {
    grid-template-columns: repeat(1, 1fr) !important; /* One column on mobile */
    gap: 15px;
  }
  .page-gdpr__blog-card {
    /* Example blog card styles for mobile */
    margin-bottom: 10px;
  }

  /* Placeholder for generic button group if any */
  .page-gdpr__button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}