/* style/gdpr.css */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--Text-Main, #F2FFF6);
    background-color: var(--bg-color, #08160F);
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    background-color: var(--Background, #08160F);
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    color: var(--Text-Main, #F2FFF6);
    margin-bottom: 20px;
    max-width: 100%;
}

.page-gdpr__description {
    font-size: 1.1em;
    color: var(--Text-Secondary, #A7D9B8);
    margin-bottom: 30px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    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: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--Text-Main, #F2FFF6);
    border: 2px solid var(--Border, #2E7A4E);
}

.page-gdpr__btn-secondary:hover {
    background: rgba(46, 122, 78, 0.2);
    transform: translateY(-2px);
}

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

.page-gdpr__introduction-section,
.page-gdpr__user-rights-section,
.page-gdpr__cookie-policy-section,
.page-gdpr__faq-section {
    background-color: var(--Background, #08160F);
    color: var(--Text-Main, #F2FFF6);
}

.page-gdpr__dark-section {
    background-color: var(--Card-B-G, #11271B);
    color: var(--Text-Main, #F2FFF6);
}

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

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--Text-Main, #F2FFF6);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-gdpr__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--Text-Secondary, #A7D9B8);
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--Text-Secondary, #A7D9B8);
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    color: var(--Text-Secondary, #A7D9B8);
}

.page-gdpr__list--white-text .page-gdpr__list-item {
    color: var(--Text-Main, #F2FFF6);
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-bottom: 30px;
    filter: none; /* Ensure no CSS filter is applied */
}

.page-gdpr__image--center {
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 30px;
    max-width: 40%;
}

.page-gdpr__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 30px;
    max-width: 40%;
}

.page-gdpr__link {
    color: var(--Glow, #57E38D);
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: var(--Gold, #F2C14E);
}

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

.page-gdpr__faq-item {
    background-color: var(--Card-B-G, #11271B);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--Divider, #1E3A2A);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--Text-Main, #F2FFF6);
    font-size: 1.1em;
    user-select: none;
    position: relative; /* For details toggle */
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--Glow, #57E38D);
    transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: var(--Text-Secondary, #A7D9B8);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    max-height: 500px; /* Sufficient height for content, adjust as needed */
}

.page-gdpr__faq-item details > summary {
    list-style: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 0 15px;
    }
    .page-gdpr__image--right,
    .page-gdpr__image--left {
        float: none;
        margin: 0 auto 30px;
        max-width: 100%;
    }
}

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

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

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

    .page-gdpr__description {
        font-size: 1em;
    }

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

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

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

    .page-gdpr__container {
        padding: 0;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
        margin-bottom: 30px;
    }

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

    .page-gdpr__list {
        margin-left: 20px;
    }

    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 15px;
    }

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

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.4em, 6vw, 1.8em);
    }
}