:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark body background */
    background-color: var(--background-color); /* Inherited from body, but explicitly set for consistency */
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green);
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    margin-top: -100px; /* Adjust to bring content up, but not overlap image */
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for readability */
    border-radius: 10px;
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    color: var(--gold-color);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-gdpr__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

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

.page-gdpr__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__content-area {
    background-color: var(--background-color);
    color: var(--text-main);
}

.page-gdpr__light-bg-text {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-gdpr__dark-bg {
    background-color: var(--background-color);
    color: var(--text-main);
}

.page-gdpr__section-title {
    font-size: 2.5rem;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.page-gdpr__sub-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.page-gdpr__card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.page-gdpr__card-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__image-text-section {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-gdpr__image-container {
    flex: 1;
    min-width: 200px; /* Minimum size for content images */
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Global image size requirement */
    min-height: 200px; /* Global image size requirement */
}

.page-gdpr__center-image {
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__text-content {
    flex: 1;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-main);
}

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

.page-gdpr__link-text {
    color: var(--gold-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

.page-gdpr__reverse-layout {
    flex-direction: row-reverse;
}

.page-gdpr__final-cta {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--deep-green) 0%, var(--background-color) 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        margin-top: -80px;
        padding: 30px 15px;
    }
    .page-gdpr__section-title {
        font-size: 2rem;
    }
    .page-gdpr__sub-title {
        font-size: 1.5rem;
    }
    .page-gdpr__card-title {
        font-size: 1.3rem;
    }
    .page-gdpr__image-text-section {
        flex-direction: column;
        text-align: center;
    }
    .page-gdpr__reverse-layout {
        flex-direction: column;
    }
}

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

    .page-gdpr__hero-content {
        margin-top: -60px;
        padding: 20px 10px;
    }
    
    .page-gdpr__main-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

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

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__image-text-section,
    .page-gdpr__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-gdpr__hero-section {
      padding-top: 10px !important;
    }

    .page-gdpr__hero-image {
        max-height: 400px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-gdpr__grid-container {
        grid-template-columns: 1fr;
    }

    .page-gdpr img,
    .page-gdpr__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-gdpr__card {
      padding: 20px;
    }
}

/* Ensure no image filters are used */
.page-gdpr img {
    filter: none; /* Prohibit any filter effects */
}

.page-gdpr__card, .page-gdpr__section, .page-gdpr__box {
  /* System automatically analyzes background brightness and selects best text color */
}

.page-gdpr__dark-bg {
  color: var(--text-main); /* Dark background with light text */
  background: var(--background-color); /* Using brand color but ensuring contrast */
}

.page-gdpr__light-bg {
  color: var(--text-main); /* Light background with dark text */
  background: var(--deep-green);
}

.page-gdpr__medium-bg {
  color: #000000; /* Default to dark text */
  background: var(--secondary-color);
}

/* Main content area - highest priority */
.page-gdpr__content-area,
.page-gdpr__text-block {
  color: var(--text-main); /* Ensure readability on dark background */
  background: var(--background-color); /* Default dark background */
}

/* Paragraphs and list items within the page content area */
.page-gdpr p,
.page-gdpr li {
  color: var(--text-main); /* Ensure readability on dark background */
}

/* Cards and containers - smart background selection */
.page-gdpr__card {
  background: var(--card-bg); /* Using dark card background */
  color: var(--text-main);
  border: 1px solid var(--border-color); /* Add border for readability */
}

/* Dark section special handling */
.page-gdpr__dark-section {
  background: var(--background-color);
  color: var(--text-main); /* Force light text */
}

/* Button text contrast guarantee */
.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* Button text always white */
  border: 2px solid transparent;
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--primary-color); /* Using brand color ensuring contrast */
  border: 2px solid var(--primary-color);
}