/* style/gdpr.css */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--page-bg, #FFFFFF);
}

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

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff; /* White text for dark background */
    background-color: #017439; /* Primary brand color */
    overflow: hidden;
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-gdpr__hero-section .page-gdpr__container {
    position: relative;
    z-index: 1;
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

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

.page-gdpr__btn-primary--yellow-text {
    color: #FFFF00; /* Specific for CTA in dark section */
}

.page-gdpr__btn-secondary {
    display: inline-block;
    background-color: #FFFFFF;
    color: #017439;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid #017439;
    cursor: pointer;
    font-size: 1.1em;
}

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

.page-gdpr__content-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Light background for content */
    color: #333333;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #017439; /* Primary brand color for titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

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

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #017439;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-gdpr__text-block--white {
    color: #ffffff;
}

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

.page-gdpr__card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    border: 1px solid #e0e0e0;
    color: #333333;
}

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

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

.page-gdpr__card-text {
    font-size: 1em;
    line-height: 1.6;
}

.page-gdpr__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

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

.page-gdpr__faq-list {
    margin-top: 40px;
    margin-bottom: 60px;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #ffffff;
    color: #017439;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: #e6f7ed;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px !important;
}

.page-gdpr__faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
    color: #555555;
}

.page-gdpr__cta-final {
    text-align: center;
    padding: 60px 20px;
    margin-top: 60px;
    border-radius: 12px;
    background-color: #017439; /* Primary brand color for CTA */
    color: #ffffff;
}

.page-gdpr__cta-final .page-gdpr__section-title {
    color: #ffffff;
}

.page-gdpr__cta-final .page-gdpr__text-block {
    color: #ffffff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

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

.page-gdpr__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

/* Footer placeholder styles */
.page-gdpr__footer-placeholder {
    text-align: center;
    padding: 30px 20px;
    background-color: #1a1a1a; /* Dark background for copyright */
    color: #aaaaaa;
    font-size: 0.9em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2.2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description,
    .page-gdpr__text-block,
    .page-gdpr__list li,
    .page-gdpr__card-text {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__sub-title {
        font-size: 1.4em;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gdpr__content-section {
        padding: 40px 0;
    }
    .page-gdpr__card {
        padding: 25px;
    }
    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-gdpr__cta-final {
        padding: 40px 15px;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__hero-section,
    .page-gdpr__content-section,
    .page-gdpr__grid-layout,
    .page-gdpr__card,
    .page-gdpr__faq-list,
    .page-gdpr__faq-item,
    .page-gdpr__cta-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__container {
        padding: 0;
    }

    /* Mobile button responsiveness */
    .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;
      margin-bottom: 15px; /* Add some spacing between stacked buttons */
    }
    .page-gdpr__cta-final .page-gdpr__btn-primary {
        margin-bottom: 0; /* Last button in CTA doesn't need bottom margin */
    }
    /* If multiple buttons are in a row, stack them on mobile */
    .page-gdpr__button-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__hero-description,
    .page-gdpr__text-block,
    .page-gdpr__list li,
    .page-gdpr__card-text {
        font-size: 0.95em;
    }
    .page-gdpr__faq-question {
        font-size: 1em;
    }
}