.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background: #FFFFFF; /* Explicitly set body background as light */
}

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

.page-gdpr__hero-section {
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    text-align: center;
    padding: 10px 0 40px 0; /* Small top padding */
    background-color: #f5f5f5; /* Light background for hero section */
}

.page-gdpr__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Ensure image is not cropped */
    margin-bottom: 30px;
}

.page-gdpr__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 3.5vw, 2.8em); /* Responsive font size */
    color: #017439;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-gdpr__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #333333;
}

.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__dark-section {
    background-color: #017439;
    color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__text-block,
.page-gdpr__dark-section .page-gdpr__list-item {
    color: #ffffff;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #ffffff;
}

.page-gdpr__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__principle-card,
.page-gdpr__security-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-gdpr__principle-card:hover,
.page-gdpr__security-item:hover {
    transform: translateY(-5px);
}

.page-gdpr__card-title,
.page-gdpr__item-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__card-text,
.page-gdpr__item-text {
    font-size: 1em;
    color: #555555;
}

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

.page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.1); /* Light background for items in dark section */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #ffffff;
    border-radius: 4px;
    font-size: 1.05em;
    color: #ffffff;
}

.page-gdpr__list-item strong {
    color: #FFFF00; /* Highlight important text in dark section */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    box-sizing: border-box; /* Include padding in width */
}

.page-gdpr__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-gdpr__btn-primary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

.page-gdpr__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
    margin-left: 20px;
}

.page-gdpr__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2d;
    border-color: #005a2d;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container takes full width */
    box-sizing: border-box; /* Include padding in width */
    overflow: hidden; /* Prevent overflow */
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 0;
}

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-gdpr__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    outline: none;
}

.page-gdpr__faq-item summary::-webkit-details-marker,
.page-gdpr__faq-item summary::marker {
    display: none;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.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); /* Change + to X or rotate */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.05em;
    color: #f0f0f0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    transition: max-height 0.5s ease-in;
}

.page-gdpr__faq-answer p {
    margin-bottom: 0;
}

/* Call to Action Section */
.page-gdpr__call-to-action {
    text-align: center;
    padding: 80px 0;
    background-color: #f0f8ff; /* A very light blueish background */
}

.page-gdpr__call-to-action .page-gdpr__section-title {
    color: #017439;
}

.page-gdpr__call-to-action .page-gdpr__description {
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #333333;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__container {
        padding: 20px 30px;
    }

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

    .page-gdpr__section-title {
        font-size: 2em;
    }

    .page-gdpr__principles-grid,
    .page-gdpr__security-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
}

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

    .page-gdpr__container {
        padding: 0 15px !important; /* Ensure padding is controlled */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-gdpr__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important; /* Ensure image is not cropped */
        aspect-ratio: unset !important; /* Remove aspect ratio */
        max-height: none !important; /* Remove max-height */
    }

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

    .page-gdpr__main-title {
        font-size: 2em; /* Fixed size for mobile */
        margin-bottom: 15px;
    }

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

    .page-gdpr__section {
        padding: 40px 0;
    }

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

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

    /* General Images and Containers */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__principles-grid,
    .page-gdpr__security-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Principles and Security Grids */
    .page-gdpr__principles-grid,
    .page-gdpr__security-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-gdpr__principle-card,
    .page-gdpr__security-item {
        padding: 20px;
    }

    .page-gdpr__card-title,
    .page-gdpr__item-title {
        font-size: 1.2em;
    }

    .page-gdpr__card-text,
    .page-gdpr__item-text {
        font-size: 0.9em;
    }

    /* Buttons and Button Containers */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="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;
        margin-left: 0 !important; /* Remove margin for secondary button */
    }
    
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important; /* Space between stacked buttons */
    }

    /* FAQ Section */
    .page-gdpr__faq-list {
        margin-top: 30px;
    }

    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }

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