/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light background */
    background-color: #f8f8f8; /* Light background for the page content */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    background-color: #26A9E0; /* Brand main color */
    color: #ffffff; /* White text for contrast */
    padding: 60px 0;
    text-align: center;
    padding-top: 10px; /* Small top padding, assuming body already has header offset */
}

.page-gdpr__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__intro-text {
    font-size: 1.1em;
    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;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-gdpr__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn--primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-gdpr__btn--primary:hover {
    background-color: #d46b00;
    border-color: #d46b00;
}

.page-gdpr__btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-gdpr__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Content Section */
.page-gdpr__content-section {
    padding: 40px 0;
    background-color: #ffffff; /* Explicitly white background for content */
}

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

.page-gdpr__article p {
    margin-bottom: 1em;
    font-size: 1.05em;
}

.page-gdpr__section-title {
    font-size: 1.8em;
    color: #26A9E0; /* Brand main color for titles */
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-gdpr__article h3 {
    font-size: 1.4em;
    color: #333333;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 1.5em;
}

.page-gdpr__list-item {
    margin-bottom: 0.8em;
}

.page-gdpr__image-wrapper {
    margin: 30px 0;
    text-align: center;
    background-color: #f0f0f0; /* Light background for image wrapper */
    padding: 10px;
    border-radius: 8px;
}

.page-gdpr__main-image,
.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    margin: 0 auto;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

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

.page-gdpr__contact-info {
    margin-top: 30px;
    padding: 25px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
}

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

.page-gdpr__promo-box {
    background-color: #26A9E0; /* Brand main color */
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-gdpr__promo-title {
    font-size: 2em;
    margin-bottom: 15px;
    color: #ffffff;
}

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

.page-gdpr__btn--promo {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-gdpr__btn--promo:hover {
    background-color: #d46b00;
    border-color: #d46b00;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2em, 4.5vw, 2.8em);
    }
    .page-gdpr__article-wrap {
        padding: 0 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__promo-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    /* 1. Top Section (Hero) */
    .page-gdpr__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* Small top padding, as per requirements */
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust for smaller screens */
        padding: 0 10px;
    }
    .page-gdpr__intro-text {
        font-size: 1em;
        padding: 0 10px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    /* 2. Single Column Long-form Content */
    .page-gdpr__article-wrap {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__section-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-gdpr__article p,
    .page-gdpr__list-item {
        font-size: 0.95em;
    }
    .page-gdpr__list {
        margin-left: 20px;
    }
    .page-gdpr__promo-box {
        padding: 20px;
    }
    .page-gdpr__promo-title {
        font-size: 1.5em;
    }
    .page-gdpr__promo-box p {
        font-size: 1em;
    }

    /* 3. Generic Images and Figures */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-gdpr__image-wrapper {
        margin: 20px 0;
        padding: 5px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__image-caption {
        font-size: 0.85em;
    }

    /* 4. Buttons and Button Containers */
    .page-gdpr__btn,
    .page-gdpr__btn--primary,
    .page-gdpr__btn--secondary,
    .page-gdpr__btn--promo,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .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;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Stack buttons vertically by default */
    }

    /* 5. Registration Tutorial and FAQ Blocks (General H3/Content adjustments) */
    .page-gdpr h3 {
        font-size: 1.2em;
        padding: 0 10px;
    }
    .page-gdpr__content-section {
        padding: 20px 0;
    }
}