/* style/gdpr.css */

/* General page styles */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding, relying on shared for body padding */
    padding-bottom: 60px;
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Blend of aux and main color */
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

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

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

.page-gdpr__cta-buttons--inline {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Buttons */
.page-gdpr__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box; /* For responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button custom color */
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-gdpr__btn-secondary {
    background: #ffffff; /* Card BG */
    color: #2F6BFF; /* Main color */
    border: 2px solid #2F6BFF; /* Main color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__btn-secondary:hover {
    background: #e0e0e0;
    color: #1a4eaf;
    border-color: #1a4eaf;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-gdpr__btn--full-width {
    width: 100%;
    max-width: 400px; /* Limit max width for full width button */
    margin: 0 auto;
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-gdpr__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #2F6BFF; /* Main color */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-gdpr__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #2F6BFF; /* Main color */
    margin-top: 35px;
    margin-bottom: 15px;
}

.page-gdpr p {
    margin-bottom: 1em;
    color: #1F2D3D; /* Text Main */
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 1.5em;
    color: #1F2D3D; /* Text Main */
}

.page-gdpr__list li {
    margin-bottom: 0.5em;
}

.page-gdpr a {
    color: #2F6BFF; /* Main color */
    text-decoration: underline;
}

.page-gdpr a:hover {
    color: #4A8BFF; /* Lighter shade of main color */
}

/* Figures and Images */
.page-gdpr__figure {
    margin: 30px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-gdpr__figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-gdpr__figcaption {
    font-size: 0.9em;
    color: #666666;
    margin-top: 10px;
}

/* Promo Box */
.page-gdpr__promo-box {
    background-color: #ffffff; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 10px;
    padding: 30px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.page-gdpr__promo-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #2F6BFF; /* Main color */
    margin-bottom: 15px;
}

.page-gdpr__promo-text {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #1F2D3D; /* Text Main */
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__article-wrap {
        padding: 0 15px;
    }

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

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

    .page-gdpr__sub-title {
        font-size: 1.4em;
    }

    .page-gdpr__promo-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    /* 1. Top section title + dual CTA */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 40px;
    }

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

    .page-gdpr__main-title {
        font-size: 2em !important; /* Fixed size for mobile H1 */
        margin-bottom: 15px;
    }

    .page-gdpr__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        margin-top: 20px;
        padding: 0 15px; /* Add padding to container */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

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

    /* 2. Single column long text container */
    .page-gdpr__content-section {
        padding: 40px 0;
    }

    .page-gdpr__article-wrap {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

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

    .page-gdpr__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-gdpr p, .page-gdpr__list li {
        font-size: 0.95em;
    }

    /* 3. General images and figure */
    .page-gdpr__figure {
        margin: 20px auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-gdpr__figure img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset;
        min-height: unset;
    }

    .page-gdpr__figcaption {
        font-size: 0.85em;
    }

    /* 4. Buttons (general application) */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-gdpr__cta-buttons--inline {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* 5. Registration tutorial & FAQ (promo box is the closest equivalent here) */
    .page-gdpr__promo-box {
        padding: 25px 15px;
        margin-top: 40px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__promo-title {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .page-gdpr__promo-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
}