:root {
    --primary-color: #F2C14E; /* Main brand color */
    --secondary-color: #FFD36B; /* Accent color */
    --body-bg: #0A0A0A; /* Dark background from shared.css */
    --card-bg: #111111; /* Card background */
    --text-main: #FFF6D6; /* Main text color for dark backgrounds */
    --border-color: #3A2A12; /* Border color */
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    --glow-color: #FFD36B; /* Glow color */
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Main text color for the page */
    line-height: 1.6;
    background-color: var(--body-bg); /* Ensure consistency with body background */
}

/* 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, header offset handled by body */
    overflow: hidden; /* Prevent content overflow */
}

.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 full width for flex item */
}

.page-gdpr__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 1; /* Below content */
}

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 2; /* Above image */
    text-align: center;
    width: 100%;
    max-width: 800px; /* Constrain content width */
    padding: 20px;
    background: rgba(17, 17, 17, 0.8); /* Slightly transparent dark background for readability */
    border-radius: 8px;
    margin-top: -80px; /* Overlap with image slightly for visual effect */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.3);
}

.page-gdpr__cta-button:hover {
    background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.4);
}

/* General Section Styling */
.page-gdpr__section {
    padding: 50px 20px;
    text-align: center;
}

.page-gdpr__section--dark {
    background-color: var(--card-bg); /* Darker background for contrast sections */
}

.page-gdpr__section-title {
    font-size: clamp(24px, 3.5vw, 36px);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__section-description {
    font-size: 16px;
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%; /* Ensure full width */
}

.page-gdpr__container--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-gdpr__sub-title {
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px auto;
    max-width: 900px;
    text-align: left;
}

.page-gdpr__list li {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for list items */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 5px;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.page-gdpr__list li:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__list li strong {
    color: var(--primary-color);
}

.page-gdpr__grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main); /* Ensure text is light on dark card */
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card p {
    font-size: 15px;
    color: var(--text-main);
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
    color: var(--secondary-color);
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
}
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, 255, 255, 0.05); /* Lighter on hover */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color); /* Use brand color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
    color: var(--secondary-color);
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.3); /* Slightly transparent dark background for answer */
  border-radius: 0 0 5px 5px;
  text-align: left;
  color: var(--text-main);
}
.page-gdpr__faq-answer p {
    margin-bottom: 0;
}

/* Final CTA Section */
.page-gdpr__section--cta-final {
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--card-bg); /* Dark background for final CTA */
    border-top: 1px solid var(--border-color);
}

.page-gdpr__cta-button--large {
    padding: 18px 50px;
    font-size: 20px;
    margin-top: 40px;
}

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

    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Ensure small padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__hero-image img {
        border-radius: 4px;
    }

    .page-gdpr__hero-content {
        padding: 15px;
        margin-top: -60px; /* Adjust overlap for mobile */
    }

    .page-gdpr__main-title {
        font-size: 28px; /* Fixed size for mobile H1 */
        margin-bottom: 10px;
    }

    .page-gdpr__intro-text {
        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;
    }

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

    .page-gdpr__section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

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

    .page-gdpr__sub-title {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-gdpr__list li {
        padding: 10px 15px;
        font-size: 15px;
    }

    .page-gdpr__grid-cards {
        grid-template-columns: 1fr; /* Stack cards on mobile */
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__card-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .page-gdpr__content-image {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    details.page-gdpr__faq-item summary.page-gdpr__faq-question {
        padding: 15px;
    }
    .page-gdpr__faq-qtext {
        font-size: 15px;
    }
    .page-gdpr__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-gdpr__faq-item .page-gdpr__faq-answer {
        padding: 0 15px 15px;
    }

    .page-gdpr__section--cta-final {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .page-gdpr__cta-button--large {
        padding: 15px 35px;
        font-size: 18px;
        margin-top: 20px;
    }
}

/* Ensure images in content areas are not smaller than 200px */
.page-gdpr__section img {
    min-width: 200px;
    min-height: 200px;
}

/* Ensure no filter is used on images */
.page-gdpr img {
    filter: none;
}