.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: var(--background-color, #ffffff); /* Inherit from shared or default white */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: #f5f5f5; /* Light background for hero */
    text-align: center;
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-gdpr__intro-description {
    font-size: 1.15rem;
    color: #555555;
    margin-bottom: 30px;
}

/* General Sections */
.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid #eeeeee;
}

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

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

.page-gdpr__paragraph {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #333333;
    text-align: justify;
}

/* Grid for Principles */
.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-gdpr__card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
}

.page-gdpr__card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__card-title {
    font-size: 1.3rem;
    color: #017439;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__card-text {
    font-size: 0.95rem;
    color: #555555;
}

/* List Styles for Rights */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__list-item {
    background: #f9f9f9;
    border-left: 5px solid #017439;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-gdpr__list-title {
    font-size: 1.25rem;
    color: #017439;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__list-text {
    font-size: 1rem;
    color: #333333;
    text-align: justify;
}

.page-gdpr__bullet-list {
    list-style: disc;
    padding-left: 20px;
}

/* Images within content */
.page-gdpr__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__image-center {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px; /* Constrain max width for centered images */
}

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

.page-gdpr__faq-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.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.1rem;
    font-weight: 600;
    color: #017439;
    outline: none;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #555555;
    text-align: justify;
}

.page-gdpr__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
}

/* CTA Section */
.page-gdpr__cta-section {
    background-color: #017439; /* Brand color background */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-gdpr__cta-content .page-gdpr__section-title {
    color: #ffffff;
    margin-bottom: 25px;
}

.page-gdpr__cta-content .page-gdpr__paragraph {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 35px;
}

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

/* Buttons */
.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.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__btn-primary {
    background: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

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

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

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

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

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

    .page-gdpr__main-title {
        margin-bottom: 15px;
    }

    .page-gdpr__intro-description {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }

    .page-gdpr__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .page-gdpr__card {
        padding: 25px;
    }

    .page-gdpr__list-item {
        padding: 15px;
    }

    .page-gdpr__faq-item summary {
        padding: 18px 20px;
        font-size: 1.05rem;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px 18px;
    }

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

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

@media (max-width: 768px) {
    /* General content area padding for mobile */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 30px;
    }

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

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

    .page-gdpr__intro-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

    .page-gdpr__paragraph {
        font-size: 0.95rem;
    }

    .page-gdpr__grid {
        grid-template-columns: 1fr; /* Single column for cards */
        gap: 20px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .page-gdpr__card-title {
        font-size: 1.2rem;
    }

    .page-gdpr__list-item {
        padding: 15px;
        font-size: 0.95rem;
    }

    .page-gdpr__list-title {
        font-size: 1.1rem;
    }

    /* Images within content for mobile */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-gdpr__image-full-width,
    .page-gdpr__image-center {
        margin: 20px auto;
    }

    /* FAQ for mobile */
    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
    }

    /* CTA Section for mobile */
    .page-gdpr__cta-section {
        padding: 40px 0;
    }

    .page-gdpr__cta-content .page-gdpr__section-title {
        font-size: 1.8rem;
    }

    .page-gdpr__cta-content .page-gdpr__paragraph {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .page-gdpr__button-group {
        flex-direction: column; /* Stack buttons vertically */
        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 {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}