:root {
    --primary-color: #0A0A0A;
    --secondary-color: #FFD700;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --background-dark: #1a1a1a; /* Body background from shared.css */
    --card-bg-dark-mode: rgba(255, 255, 255, 0.08); /* Slightly lighter than body for cards */
    --border-color-dark-mode: rgba(255, 255, 255, 0.15);
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Ensure text is light on dark body background */
    background-color: var(--background-dark); /* Inherited from body via shared.css */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: var(--primary-color); /* Use primary color for hero background */
    color: var(--text-on-dark);
}

.page-gdpr__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-gdpr__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 100%; /* Ensure image wrapper is responsive */
}

.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-size: 42px;
    margin-bottom: 20px;
    color: var(--secondary-color); /* Gold for main title */
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-on-dark);
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color); /* Gold button */
    color: var(--primary-color); /* Dark text on gold button */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* Button responsive */
    box-sizing: border-box; /* Button responsive */
    white-space: normal; /* Button responsive */
    word-wrap: break-word; /* Button responsive */
}

.page-gdpr__cta-button:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__content-area {
    padding: 60px 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.page-gdpr__dark-section {
    background-color: var(--primary-color); /* Use primary color for dark sections */
    color: var(--text-on-dark);
}

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-gdpr__section-title {
    font-size: 36px;
    color: var(--secondary-color); /* Gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-gdpr__text-block {
    margin-bottom: 25px;
    color: var(--text-on-dark);
    font-size: 16px;
}

.page-gdpr__sub-title {
    font-size: 24px;
    color: var(--secondary-color); /* Gold for sub titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__image-wrapper {
    margin: 30px auto;
    max-width: 800px; /* Constrain max width for content images */
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 8px;
}

.page-gdpr__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__list-block {
    margin-bottom: 25px;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    padding: 0;
    color: var(--text-on-dark);
    font-size: 16px;
}

.page-gdpr__list li {
    margin-bottom: 10px;
}

.page-gdpr__link {
    color: var(--secondary-color); /* Gold for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #e6c200; /* Slightly darker gold on hover */
}

.page-gdpr__button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Button responsive */
    box-sizing: border-box; /* Button responsive */
    white-space: normal; /* Button responsive */
    word-wrap: break-word; /* Button responsive */
}

.page-gdpr__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-gdpr__btn-primary:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-gdpr__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-left: 0;
    color: var(--text-on-dark);
    font-size: 16px;
}

.page-gdpr__contact-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-gdpr__contact-list li::before {
    content: '•'; /* Custom bullet point */
    color: var(--secondary-color);
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* FAQ Section Styling */
.page-gdpr__faq-section {
    background-color: var(--background-dark); /* Ensure it matches body background */
    color: var(--text-on-dark);
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--card-bg-dark-mode); /* Card background for dark mode */
}

/* FAQ default state - answer hidden */
.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-on-dark);
}

/* FAQ expanded state - ☠️ Use!important and sufficiently large max-height to ensure it expands */
.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* ☠️ Use!important to ensure priority, value large enough to contain any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--card-bg-dark-mode); /* Background for expanded answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-on-dark);
}

/* Question style */
.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--primary-color); /* Darker background for question */
  border: 1px solid var(--border-color-dark-mode);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-on-dark);
}

.page-gdpr__faq-question:hover {
  background: #1e1e1e; /* Slightly lighter dark on hover */
  border-color: rgba(255, 255, 255, 0.25);
}

.page-gdpr__faq-question:active {
  background: #2a2a2a;
}

/* Question title style */
.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px; /* Slightly larger for better readability */
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: var(--secondary-color); /* Gold for FAQ question titles */
}

/* Toggle icon */
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color); /* Gold for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: var(--secondary-color); /* Gold remains */
  transform: rotate(45deg); /* Rotate for minus sign effect, or just change content */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top is correct */
    }

    .page-gdpr__hero-section {
        padding: 40px 15px;
    }

    .page-gdpr__hero-image {
        margin-bottom: 20px;
    }

    .page-gdpr__main-title {
        font-size: 32px;
    }

    .page-gdpr__intro-text {
        font-size: 16px;
    }

    .page-gdpr__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100% !important; /* Ensure full width on mobile */
        max-width: 100% !important; /* Ensure full width on mobile */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__content-area {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__container {
        padding: 0; /* Remove horizontal padding for container, handled by section */
    }

    .page-gdpr__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-gdpr__sub-title {
        font-size: 20px;
    }

    .page-gdpr__image-wrapper {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0; /* No padding here, handled by section */
        padding-right: 0; /* No padding here, handled by section */
    }

    .page-gdpr__image-wrapper img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

    .page-gdpr__button-group {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add some padding back for text inside button */
        padding-right: 15px; /* Add some padding back for text inside button */
    }

    /* FAQ Mobile */
    .page-gdpr__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-gdpr__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-gdpr__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-gdpr__faq-answer {
        padding: 0 15px;
    }
    
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px !important;
    }
}