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

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

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

.page-gdpr__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-gdpr__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-gdpr__hero-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
}

.page-gdpr__hero-description {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section {
    padding: 50px 20px;
    margin-bottom: 30px;
}

.page-gdpr__section--intro {
    background-color: var(--card-bg-color);
    border-bottom: 1px solid var(--border-color);
}

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

.page-gdpr__heading {
    font-size: clamp(24px, 3.5vw, 36px);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-gdpr__sub-heading {
    font-size: clamp(20px, 3vw, 28px);
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-gdpr__content-block p {
    margin-bottom: 15px;
    font-size: 17px;
}

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

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

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

.page-gdpr__list-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-gdpr__keyword {
    font-weight: bold;
    color: var(--primary-color);
}

.page-gdpr__grid-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.page-gdpr__grid-two-col--reverse {
    grid-template-columns: 1fr;
}

.page-gdpr__image-wrapper {
    text-align: center;
}

.page-gdpr__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-gdpr__callout {
    background-color: #ffebee; /* Light red */
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-top: 30px;
    border-radius: 5px;
    font-style: italic;
}

.page-gdpr__callout p {
    margin: 0;
    font-size: 16px;
    color: #616161;
}

.page-gdpr__callout a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* FAQ Styles */
.page-gdpr__faq-list {
    margin-top: 40px;
}

details.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main-color);
}

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

details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
    background: #f5f5f5;
}

.page-gdpr__faq-qtext {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--primary-color);
}

.page-gdpr__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    font-size: 16px;
}

.page-gdpr__faq-answer p {
    margin-top: 10px;
    margin-bottom: 0;
}

.page-gdpr__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive Styles */
@media (min-width: 769px) {
    .page-gdpr__grid-two-col {
        grid-template-columns: 1fr 1fr;
    }
    .page-gdpr__grid-two-col--reverse {
        grid-template-columns: 1fr 1fr;
    }
    .page-gdpr__grid-two-col--reverse .page-gdpr__image-wrapper {
        order: 2;
    }
    .page-gdpr__grid-two-col--reverse .page-gdpr__content-block {
        order: 1;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-gdpr__hero-title {
        font-size: 28px;
    }

    .page-gdpr__hero-description {
        font-size: 16px;
    }

    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-gdpr__heading {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .page-gdpr__sub-heading {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-gdpr__content-block p,
    .page-gdpr__list-item {
        font-size: 15px;
    }

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

    .page-gdpr__image-wrapper img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    details.page-gdpr__faq-item summary.page-gdpr__faq-question {
        padding: 15px;
    }

    .page-gdpr__faq-qtext {
        font-size: 16px;
    }

    .page-gdpr__faq-toggle {
        font-size: 20px;
        width: 24px;
    }

    details.page-gdpr__faq-item .page-gdpr__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }

    .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-direction: column; /* Ensure buttons stack */
        gap: 10px;
    }
}