.page-gdpr {
    font-family: Arial, sans-serif;
    color: #333333;
    background-color: #F5F7FA;
    line-height: 1.6;
}

.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background: #E53935;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-image-container {
    width: 100%;
    max-height: 400px; /* Limit height for aesthetic */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Cover for desktop to fill space */
    display: block;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 3.5vw, 3em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-gdpr__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-gdpr__content-section {
    padding: 60px 0;
}

.page-gdpr__introduction {
    background-color: #F5F7FA;
}

.page-gdpr__principles {
    background-color: #ffffff;
}

.page-gdpr__implementation {
    background-color: #F5F7FA;
}

.page-gdpr__user-rights {
    background-color: #ffffff;
}

.page-gdpr__faq {
    background-color: #F5F7FA;
}

.page-gdpr__contact-us {
    background-color: #ffffff;
}

.page-gdpr__conclusion {
    background-color: #E53935;
    color: #ffffff;
    text-align: center;
}

.page-gdpr__conclusion .page-gdpr__section-title,
.page-gdpr__conclusion .page-gdpr__text-block {
    color: #ffffff;
}

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

.page-gdpr__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #E53935;
    margin-bottom: 30px;
    text-align: center;
}

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

.page-gdpr__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #333333;
}

.page-gdpr__conclusion .page-gdpr__text-block {
    color: #f0f0f0;
}

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

.page-gdpr__list-item {
    background-color: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gdpr__list-item:nth-child(even) {
    background-color: #fcfcfc;
}

.page-gdpr__list-title {
    font-size: 1.4em;
    color: #E53935;
    margin-top: 0;
    margin-bottom: 10px;
}

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

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

.page-gdpr__card {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #E53935;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-gdpr__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
}

.page-gdpr__contact-link {
    color: #E53935;
    text-decoration: underline;
    font-weight: bold;
}

.page-gdpr__contact-link:hover {
    color: #FF5A4F;
}

.page-gdpr__contact-button {
    margin-top: 20px;
}

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

.page-gdpr__faq-item {
    background-color: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    position: relative;
    list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: #f5f5f5;
    border-bottom: 1px solid #E0E0E0;
    border-radius: 8px 8px 0 0;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: #333333;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 15px;
    color: #E53935;
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1.05em;
    color: #333333;
    line-height: 1.7;
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__container {
        padding: 0 15px;
    }

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

    .page-gdpr__section-title {
        font-size: 2em;
    }

    .page-gdpr__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-gdpr__hero-section {
        flex-direction: column;
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-gdpr__hero-image-container {
        max-height: 250px;
    }

    .page-gdpr__hero-image {
        object-fit: contain !important; /* Ensure image is fully visible on mobile */
        width: 100% !important;
        height: auto !important;
    }

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

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 6vw, 2.2em);
        line-height: 1.3;
    }

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

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

    .page-gdpr__content-section {
        padding: 40px 0;
    }

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

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

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

    .page-gdpr__list-item {
        padding: 15px;
    }

    .page-gdpr__list-title {
        font-size: 1.2em;
    }

    .page-gdpr__image-inline {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__card-title {
        font-size: 1.3em;
    }

    .page-gdpr__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

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

    .page-gdpr__faq-answer {
        padding: 0 15px 15px 15px;
        font-size: 0.95em;
    }

    .page-gdpr__contact-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Generic image and button container overrides for safety */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__section, .page-gdpr__container, .page-gdpr__card, .page-gdpr__cta-buttons, .page-gdpr__button-group, .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__cta-buttons, .page-gdpr__button-group, .page-gdpr__btn-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}