/* style/gdpr.css */

:root {
    --gdpr-primary-color: #E53935;
    --gdpr-secondary-color: #FF5A4F;
    --gdpr-card-bg: #FFFFFF;
    --gdpr-background-color: #F5F7FA;
    --gdpr-text-main: #333333;
    --gdpr-border-color: #E0E0E0;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--gdpr-text-main);
    background-color: var(--gdpr-background-color);
    line-height: 1.6;
}

.page-gdpr__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    background-color: var(--gdpr-primary-color);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-gdpr__hero-image-wrap {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.7; /* Slightly dim the image to make text stand out if it were overlaid */
}

.page-gdpr__hero-content {
    position: relative; /* Ensure content is above the dimmed image */
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-gdpr__description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-gdpr__btn--primary {
    background: linear-gradient(180deg, var(--gdpr-secondary-color) 0%, var(--gdpr-primary-color) 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

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

.page-gdpr__btn--secondary {
    background-color: var(--gdpr-card-bg);
    color: var(--gdpr-primary-color);
    border: 2px solid var(--gdpr-primary-color);
}

.page-gdpr__btn--secondary:hover {
    background-color: var(--gdpr-primary-color);
    color: #ffffff;
}

.page-gdpr__article-section {
    padding: 60px 0;
    background-color: var(--gdpr-background-color);
}

.page-gdpr__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-gdpr__section-title {
    font-size: 2.2rem;
    color: var(--gdpr-primary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 700;
}

.page-gdpr h2 + p {
    margin-top: -10px;
}

.page-gdpr p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--gdpr-text-main);
}

.page-gdpr__figure {
    margin: 30px 0;
    text-align: center;
    background-color: var(--gdpr-card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-gdpr__figcaption {
    font-size: 0.9rem;
    color: #666;
    padding: 15px;
    background-color: var(--gdpr-card-bg);
    border-top: 1px solid var(--gdpr-border-color);
}

.page-gdpr__info-card {
    background-color: var(--gdpr-card-bg);
    border: 1px solid var(--gdpr-border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-gdpr__card-title {
    font-size: 1.4rem;
    color: var(--gdpr-primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: var(--gdpr-text-main);
}

.page-gdpr__list-item {
    margin-bottom: 10px;
}

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

.page-gdpr__contact-info {
    background-color: var(--gdpr-card-bg);
    border: 1px solid var(--gdpr-border-color);
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
}

.page-gdpr__contact-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.page-gdpr__contact-info .page-gdpr__list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 20px auto;
}

.page-gdpr__contact-info .page-gdpr__list-item {
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-gdpr__link {
    color: var(--gdpr-primary-color);
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: var(--gdpr-secondary-color);
}

.page-gdpr__promo-box {
    background: linear-gradient(135deg, var(--gdpr-primary-color) 0%, var(--gdpr-secondary-color) 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.page-gdpr__promo-title {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-gdpr__promo-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ffffff;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 30px 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-gdpr__description {
        font-size: 1.05rem;
    }

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

    .page-gdpr__section-title {
        font-size: 1.8rem;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-gdpr__card-title {
        font-size: 1.2rem;
    }

    .page-gdpr__info-card {
        padding: 20px;
    }

    .page-gdpr__promo-box {
        padding: 30px;
    }

    .page-gdpr__promo-title {
        font-size: 1.8rem;
    }
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
    }

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

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-gdpr__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    /* Buttons and button containers */
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }

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

    .page-gdpr__article-section {
        padding: 30px 0;
    }

    .page-gdpr__article-wrap {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__section-title {
        font-size: 1.6rem;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-gdpr p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    /* Images */
    .page-gdpr__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__figure {
        margin: 20px 0;
    }

    .page-gdpr__figcaption {
        font-size: 0.85rem;
        padding: 10px;
    }

    .page-gdpr__info-card {
        padding: 15px;
        margin-bottom: 15px;
    }

    .page-gdpr__card-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

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

    .page-gdpr__list-item {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .page-gdpr__contact-info {
        padding: 20px;
        margin-top: 25px;
    }

    .page-gdpr__contact-info p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .page-gdpr__contact-info .page-gdpr__list {
        max-width: 100%;
    }

    .page-gdpr__promo-box {
        padding: 25px;
        margin-top: 30px;
    }

    .page-gdpr__promo-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .page-gdpr__promo-box p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

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