/* style/gdpr.css */

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Default body background */
}

/* Header offset - Assuming shared.css handles body padding-top */
.page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding for the first section */
    position: relative;
    background-color: #f0f8ff; /* Light background for hero section */
    text-align: center;
    padding-bottom: 40px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 600px; /* Limit height of hero image */
    display: block;
}

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

.page-gdpr__main-title {
    font-size: 2.8em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    max-width: 100%; /* Ensure H1 doesn't overflow */
}

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

.page-gdpr__cta-button {
    display: inline-block;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.page-gdpr__cta-button:hover {
    background-color: #1e87c0; /* Darker shade on hover */
}

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

.page-gdpr__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1e87c0;
}


.page-gdpr__section {
    padding: 40px 0;
    border-bottom: 1px solid #eeeeee;
}

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

.page-gdpr__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

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

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

.page-gdpr__paragraph a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-gdpr__image-content {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 30px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

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

.page-gdpr__dark-section {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__paragraph,
.page-gdpr__dark-section .page-gdpr__list-item {
    color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__paragraph a,
.page-gdpr__dark-section .page-gdpr__list-item a {
    color: #ffffff;
    text-decoration: underline;
}

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

.page-gdpr__rights-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.page-gdpr__rights-card:hover {
    transform: translateY(-5px);
}

.page-gdpr__rights-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__rights-text {
    font-size: 0.95em;
    color: #555555;
}

.page-gdpr__rights-text a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-gdpr__light-bg {
    background-color: #f9f9f9;
    color: #333333;
}

/* FAQ Section */
.page-gdpr__faq {
    background-color: #f0f8ff; /* Light blue background for FAQ */
    padding-bottom: 60px;
}

.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 8px rgba(0,0,0,0.05);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    list-style: none; /* Hide default marker for details summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

.page-gdpr__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-gdpr__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-gdpr__copyright-info {
    text-align: center;
    padding: 20px 15px;
    font-size: 0.9em;
    color: #777777;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}


/* Responsive styles for mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 20px;
    }

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

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
        margin-bottom: 10px;
    }

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

    .page-gdpr__cta-button,
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px !important;
        margin-bottom: 10px;
        text-align: center;
    }

    .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 !important;
        padding-right: 15px !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .page-gdpr__section {
        padding: 30px 0;
    }

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

    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__rights-text,
    .page-gdpr__faq-answer p {
        font-size: 0.95em;
    }

    .page-gdpr__image-content {
        margin: 20px auto;
    }

    .page-gdpr__rights-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

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

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

    .page-gdpr__faq-answer {
        padding: 0 20px 15px 20px;
    }

    /* General image responsive rule for content images */
    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* All containers with images or content for mobile */
    .page-gdpr__container,
    .page-gdpr__section,
    .page-gdpr__rights-card,
    .page-gdpr__faq-item {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px !important;
      padding-right: 15px !important;
    }
}