/* style/gdpr.css */
:root {
    --gdpr-text-main: #F2FFF6;
    --gdpr-text-secondary: #A7D9B8;
    --gdpr-bg-card: #11271B;
    --gdpr-bg-main: #08160F;
    --gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --gdpr-border-color: #2E7A4E;
    --gdpr-glow-color: #57E38D;
    --gdpr-gold-color: #F2C14E;
    --gdpr-divider-color: #1E3A2A;
    --gdpr-deep-green: #0A4B2C;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--gdpr-text-main); /* Default text color for dark background */
    background-color: var(--gdpr-bg-main); /* Assumed body background */
    line-height: 1.6;
}

.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, body handles --header-offset */
    background-color: var(--gdpr-bg-main);
    overflow: hidden;
}

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

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 20px;
    background: rgba(17, 39, 27, 0.8); /* Semi-transparent dark card background */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    color: var(--gdpr-gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-gdpr__description {
    font-size: 1.1em;
    color: var(--gdpr-text-secondary);
    margin-bottom: 30px;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background: var(--gdpr-btn-gradient);
    color: var(--gdpr-text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-gdpr__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--gdpr-glow-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    border: 2px solid var(--gdpr-glow-color);
    cursor: pointer;
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--gdpr-glow-color);
    color: var(--gdpr-bg-main);
}

.page-gdpr__section {
    padding: 80px 20px;
    background-color: var(--gdpr-bg-main);
    border-bottom: 1px solid var(--gdpr-divider-color);
}

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

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

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: var(--gdpr-glow-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-gdpr__text-block {
    font-size: 1.05em;
    color: var(--gdpr-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__text-link {
    color: var(--gdpr-gold-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
    color: var(--gdpr-glow-color);
}

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

.page-gdpr__card {
    background-color: var(--gdpr-bg-card);
    border: 1px solid var(--gdpr-border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--gdpr-text-main);
}

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

.page-gdpr__card-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-gdpr__card-title {
    font-size: 1.4em;
    color: var(--gdpr-gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__card-text {
    font-size: 0.95em;
    color: var(--gdpr-text-secondary);
}

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

.page-gdpr__list-item {
    background-color: var(--gdpr-bg-card);
    border: 1px solid var(--gdpr-border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--gdpr-text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-gdpr__list-item strong {
    color: var(--gdpr-gold-color);
}

.page-gdpr__security-item {
    background-color: var(--gdpr-bg-card);
    border: 1px solid var(--gdpr-border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--gdpr-text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-gdpr__security-icon {
    width: 100%;
    height: auto;
    max-width: 120px; /* Adjust max-width for icons */
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-gdpr__security-title {
    font-size: 1.3em;
    color: var(--gdpr-gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__security-text {
    font-size: 0.95em;
    color: var(--gdpr-text-secondary);
}

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

.page-gdpr__faq-item {
    background-color: var(--gdpr-bg-card);
    border: 1px solid var(--gdpr-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--gdpr-text-main);
    cursor: pointer;
    background-color: var(--gdpr-deep-green);
    border-bottom: 1px solid var(--gdpr-border-color);
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(10, 75, 44, 0.8);
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--gdpr-gold-color);
    margin-left: 15px;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    border-bottom: 1px solid var(--gdpr-divider-color);
}

.page-gdpr__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: var(--gdpr-text-secondary);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 15px;
    }

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

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

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

    .page-gdpr__section-title {
        font-size: clamp(1.6em, 3.8vw, 2.4em);
    }

    .page-gdpr__card {
        padding: 25px;
    }
}

@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__hero-image-wrapper,
    .page-gdpr__hero-image,
    .page-gdpr__hero-content,
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

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

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 10px; /* For stacked buttons */
    }

    .page-gdpr__hero-content .page-gdpr__btn-primary {
        margin-bottom: 0;
    }

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

    .page-gdpr__container,
    .page-gdpr__grid-container,
    .page-gdpr__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__card,
    .page-gdpr__list-item,
    .page-gdpr__security-item,
    .page-gdpr__faq-item {
        padding: 20px;
    }

    .page-gdpr__card-image,
    .page-gdpr__security-icon {
        max-width: 100% !important;
        width: auto !important; /* Allow auto width for smaller icons */
        height: auto !important;
        min-width: 200px !important; /* Enforce min-size for content images */
        min-height: 200px !important;
    }

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

    .page-gdpr__grid-container {
        grid-template-columns: 1fr;
    }

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

/* General image responsiveness to prevent overflow */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure all content containers are responsive */
.page-gdpr__section,
.page-gdpr__card,
.page-gdpr__container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Button specific responsive adjustments */
.page-gdpr__cta-button,
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary,
.page-gdpr a[class*="button"],
.page-gdpr a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-buttons,
.page-gdpr__button-group,
.page-gdpr__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 768px) {
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-gdpr__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}