/* style/gdpr.css */

/* Base Styles & Typography */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  padding-bottom: 40px;
}

.page-gdpr__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
}

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

.page-gdpr__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
  background: rgba(19, 19, 19, 0.7); /* Slightly transparent dark background for text readability */
  border-radius: 8px;
  margin-top: -80px; /* Overlap image slightly for visual effect */
  position: relative;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #FFD86A; /* Gold color for title */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-gdpr__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for text on primary button */
  border: 2px solid #F4D34D; /* Gold border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn--primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-gdpr__btn--secondary {
  background-color: transparent;
  color: #FFD86A; /* Gold for text on secondary button */
  border: 2px solid #FFD86A; /* Gold border */
}

.page-gdpr__btn--secondary:hover {
  background-color: rgba(255, 216, 106, 0.1);
  transform: translateY(-2px);
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #FFD86A; /* Gold color */
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #FFD86A; /* Gold color */
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__paragraph {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-gdpr__highlight {
  color: #FFD86A;
  font-weight: 700;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-gdpr__link {
  color: #F4D34D; /* Gold link color */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #FFCC66; /* Glow color on hover */
}

.page-gdpr__image-wrapper {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__image-caption {
  font-size: 0.95rem;
  color: #FFD86A;
  margin-top: 10px;
  font-style: italic;
}

.page-gdpr__bottom-cta {
  text-align: center;
  margin-top: 60px;
  padding-bottom: 40px;
}

/* Media Queries for Responsiveness */

/* Desktop/Tablet (max-width: 1024px) - General adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-gdpr__main-title {
    font-size: 2.8rem;
  }

  .page-gdpr__description {
    font-size: 1.1rem;
  }

  .page-gdpr__section-title {
    font-size: 2.2rem;
  }

  .page-gdpr__sub-title {
    font-size: 1.7rem;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item {
    font-size: 1rem;
  }
}

/* Mobile (max-width: 768px) - Must include ALL required blocks with !important */
@media (max-width: 768px) {
  /* 1. Top section title + Dual CTA */
  .page-gdpr__hero-section {
    padding-top: 10px !important;
  }

  .page-gdpr__hero-image {
    max-height: 300px !important;
  }

  .page-gdpr__hero-content {
    margin-top: -40px !important;
    padding: 20px 15px !important;
  }

  .page-gdpr__main-title {
    font-size: 2rem !important;
    margin-bottom: 15px !important;
  }

  .page-gdpr__description {
    font-size: 0.95rem !important;
    margin-bottom: 25px !important;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important; /* Add padding to button container */
  }

  .page-gdpr__btn {
    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;
    font-size: 1rem !important;
  }

  /* 2. Single column long text container */
  .page-gdpr__article-wrap {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8rem !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
  }

  .page-gdpr__sub-title {
    font-size: 1.4rem !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item {
    font-size: 1rem !important;
  }

  .page-gdpr__list {
    margin-left: 20px !important;
  }

  /* 3. General images and figure */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-gdpr__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px !important; /* Adjust padding for images */
  }

  /* 4. Buttons and button containers (already covered in CTA section, but ensuring general rules) */
  .page-gdpr__bottom-cta {
    margin-top: 40px !important;
    padding-bottom: 20px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  /* If there were other button groups, they would be here */
  .page-gdpr__button-group { /* Example if this existed */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  /* 5. Registration tutorial and FAQ block (if they existed, would be styled here) */
  /* This page does not explicitly have a registration tutorial or FAQ block in the outline, */
  /* but if it did, the mobile styles would be here. */
  /* Example for a hypothetical FAQ item */
  .page-gdpr__faq-item { /* Hypothetical */
    padding: 15px 0 !important;
  }

  .page-gdpr__faq-question { /* Hypothetical */
    font-size: 1.1rem !important;
  }

  .page-gdpr__faq-answer { /* Hypothetical */
    font-size: 0.95rem !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}