/* style/gdpr.css */

/* Base Styles for GDPR Page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background, #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 {
    position: relative;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #FFFFFF; /* White text for dark hero background */
    background-color: #017439; /* Primary brand color for hero background */
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-gdpr__heading-1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for attention, contrast with green */
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    overflow: hidden;
    box-sizing: border-box;
}

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

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

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

.page-gdpr__heading-2 {
    font-size: 2.2em;
    color: #017439; /* Primary brand color */
    text-align: center;
    margin-bottom: 40px;
}

.page-gdpr__heading-3 {
    font-size: 1.6em;
    color: #017439; /* Primary brand color */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__heading-3--list {
    font-size: 1.3em;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #017439;
}

.page-gdpr__paragraph {
    font-size: 1em;
    margin-bottom: 15px;
    color: #333333; /* Default text color */
}

.page-gdpr__paragraph a {
    color: #017439;
    text-decoration: underline;
}

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

/* List Styles */
.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #333333;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    color: #333333;
}

.page-gdpr__list-item strong {
    color: #017439; /* Highlight important list item text */
}

/* CTA Buttons */
.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%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-gdpr__btn-primary {
    background-color: #C30808; /* Red for primary action, e.g., register/login */
    color: #FFFF00; /* Yellow text for contrast */
    border: 2px solid #C30808;
}

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

.page-gdpr__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Green text for secondary */
    border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

/* Dark Section Specifics */
.page-gdpr__dark-section {
    background-color: #017439; /* Primary brand color */
    color: #FFFFFF; /* White text */
}

.page-gdpr__dark-section .page-gdpr__heading-2,
.page-gdpr__dark-section .page-gdpr__heading-3,
.page-gdpr__dark-section .page-gdpr__heading-3--list,
.page-gdpr__dark-section .page-gdpr__list-item strong {
    color: #FFFF00; /* Yellow for headings in dark section */
}

.page-gdpr__dark-section .page-gdpr__paragraph,
.page-gdpr__dark-section .page-gdpr__list-item {
    color: #FFFFFF;
}

.page-gdpr__dark-section .page-gdpr__paragraph a {
    color: #FFFF00; /* Yellow links in dark section */
}

/* Light Background Section */
.page-gdpr__light-bg {
    background-color: #f8f8f8; /* Light gray background */
    color: #333333;
}

.page-gdpr__light-bg .page-gdpr__heading-2,
.page-gdpr__light-bg .page-gdpr__heading-3 {
    color: #017439;
}

.page-gdpr__light-bg .page-gdpr__paragraph,
.page-gdpr__light-bg .page-gdpr__list-item {
    color: #333333;
}

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

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

.page-gdpr__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #FFFFFF;
    position: relative;
    list-style: none; /* Remove default marker for details summary */
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
    padding-right: 10px;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 20px;
    text-align: center;
    color: #017439;
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #333333;
}

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


/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__heading-1 {
        font-size: 2.5em;
    }

    .page-gdpr__heading-2 {
        font-size: 2em;
    }

    .page-gdpr__heading-3 {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

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

    .page-gdpr__heading-1 {
        font-size: 2em;
    }

    .page-gdpr__intro-text {
        font-size: 1em;
    }

    .page-gdpr__heading-2 {
        font-size: 1.8em;
    }

    .page-gdpr__heading-3 {
        font-size: 1.2em;
    }

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

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Image responsive for content area */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__section,
    .page-gdpr__container,
    .page-gdpr__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* FAQ specific for mobile */
    .page-gdpr__faq-question {
        padding: 15px;
        font-size: 1em;
    }

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

    .page-gdpr p,
    .page-gdpr li {
      font-size: 16px;
      line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .page-gdpr__heading-1 {
        font-size: 1.8em;
    }

    .page-gdpr__heading-2 {
        font-size: 1.5em;
    }
}