/* style/gdpr.css */
.page-gdpr {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-gdpr__hero-section {
    background-color: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.page-gdpr__hero-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-gdpr__article {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__article-title {
    font-size: 2.2em;
    color: #007bff;
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.page-gdpr__article-subtitle {
    font-size: 1.8em;
    color: #28a745;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #444444;
}

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

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-gdpr__list-item strong {
    color: #007bff;
}

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

.page-gdpr__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-gdpr__button--primary {
    background-color: #007bff;
    color: #ffffff;
    border: 2px solid #007bff;
}

.page-gdpr__button--primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.page-gdpr__button--secondary {
    background-color: #28a745;
    color: #ffffff;
    border: 2px solid #28a745;
}

.page-gdpr__button--secondary:hover {
    background-color: #1e7e34;
    transform: translateY(-2px);
}

.page-gdpr__button--tertiary {
    background-color: #ffffff;
    color: #007bff;
    border: 2px solid #007bff;
}

.page-gdpr__button--tertiary:hover {
    background-color: #e2e6ea;
    transform: translateY(-2px);
}

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

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

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

.page-gdpr__card-image {
    width: 100%;
    max-width: 200px; /* Ensure image is not too small, min 200px enforced by rules */
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

.page-gdpr__card-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-gdpr__card-text {
    font-size: 0.95em;
    color: #666666;
}

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

.page-gdpr__link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__link:hover {
    text-decoration: underline;
}

.page-gdpr__related-links {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__related-links-title {
    font-size: 2em;
    color: #007bff;
    text-align: center;
    margin-bottom: 30px;
}

.page-gdpr__related-links-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.page-gdpr__related-links-item a {
    display: block;
    padding: 10px 20px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 5px;
    text-decoration: none;
    color: #333333;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-gdpr__related-links-item a:hover {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
}

@media (max-width: 768px) {
    .page-gdpr__hero-title {
        font-size: 2em;
    }

    .page-gdpr__hero-description {
        font-size: 1em;
    }

    .page-gdpr__article-title {
        font-size: 1.8em;
    }

    .page-gdpr__article-subtitle {
        font-size: 1.5em;
    }

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

    .page-gdpr__button-group {
        flex-direction: column;
        align-items: center;
    }

    .page-gdpr__button {
        width: 100%;
        max-width: 300px;
    }

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

    .page-gdpr__hero-image, .page-gdpr__content-image, .page-gdpr__card-image {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure all content area images are at least 200px wide/high on smaller screens */
@media (max-width: 768px) {
    .page-gdpr img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 200px; /* Enforce minimum size for content images */
        object-fit: cover; /* Prevent stretching if min-size makes it look odd */
    }
    .page-gdpr__card-image {
        max-width: 100%; /* Ensure it fits within card */
        min-width: 200px; /* Enforce minimum size for card images */
        min-height: 150px; /* Adjust min-height for aspect ratio if needed, but still >=200px */
    }
}