/* style/gdpr.css */

/* Base styles for .page-gdpr */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main from custom palette */
    background-color: #140C0C; /* Background from custom palette */
}

.page-gdpr__top-section {
    padding-top: 10px; /* Small top padding as per rules, assuming body padding-top is handled by shared.css */
    padding-bottom: 40px;
    text-align: center;
    background-color: #140C0C;
}

.page-gdpr__hero-image-wrapper {
    margin-bottom: 20px;
}

.page-gdpr__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-gdpr__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #F3C54D; /* Gold from custom palette */
    margin-bottom: 15px;
    line-height: 1.2;
}

.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;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap; /* Ensure wrapping on smaller screens */
}

.page-gdpr__btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%; /* Important for responsiveness */
    box-sizing: border-box; /* Important for responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color from custom palette */
    color: #140C0C; /* Dark text for light button */
    border: none;
}

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

.page-gdpr__btn-secondary {
    background: #2A1212; /* Card BG from custom palette */
    color: #FFF1E8; /* Text Main from custom palette */
    border: 2px solid #6A1E1E; /* Border from custom palette */
}

.page-gdpr__btn-secondary:hover {
    background: #6A1E1E; /* Deep Red for hover */
    transform: translateY(-2px);
}

.page-gdpr__content-section {
    padding: 60px 0;
}

.page-gdpr__dark-bg {
    background-color: #140C0C; /* Background from custom palette */
    color: #FFF1E8; /* Text Main from custom palette */
}

.page-gdpr__article-wrap {
    max-width: 1000px; /* Adjusted from 1150px for better content flow on typical screens */
    margin: 0 auto;
    padding: 0 25px; /* Added horizontal padding */
}

.page-gdpr__section-heading {
    font-size: 2.2em;
    color: #F3C54D; /* Gold from custom palette */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-gdpr__sub-heading {
    font-size: 1.6em;
    color: #E53030; /* Auxiliary color from custom palette */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

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

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

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

.page-gdpr__text-link {
    color: #F3C54D; /* Gold for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
    color: #FFB04A; /* Lighter gold on hover */
}

.page-gdpr__figure {
    margin: 30px 0;
    text-align: center;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__figcaption {
    font-size: 0.9em;
    color: rgba(255, 241, 232, 0.7); /* Lighter Text Main */
    margin-top: 10px;
}

.page-gdpr__info-card {
    background-color: #2A1212; /* Card BG from custom palette */
    border: 1px solid #6A1E1E; /* Border from custom palette */
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__card-title {
    font-size: 1.8em;
    color: #F3C54D; /* Gold from custom palette */
    margin-bottom: 15px;
}

.page-gdpr__card-text {
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-gdpr__btn-text-link {
    color: #FFB04A; /* Lighter gold for text links */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-gdpr__btn-text-link:hover {
    color: #F3C54D; /* Gold on hover */
    text-decoration: underline;
}

.page-gdpr__contact-box {
    background-color: #2A1212; /* Card BG from custom palette */
    border: 2px solid #E53030; /* Auxiliary color border */
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__contact-label {
    font-size: 1.3em;
    color: #F3C54D; /* Gold from custom palette */
    margin-bottom: 10px;
}

.page-gdpr__contact-detail {
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* Responsive styles for mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    /* 1. Top section title + dual CTA */
    .page-gdpr__top-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-gdpr__main-title {
        font-size: 2em;
        padding: 0 10px;
    }

    .page-gdpr__intro-text {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

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

    /* 2. Single column article wrap, sections, info/warning/promo cards */
    .page-gdpr__article-wrap {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__card-text,
    .page-gdpr__contact-detail {
        font-size: 0.95em;
    }

    .page-gdpr__info-card,
    .page-gdpr__contact-box {
        padding: 20px;
        margin: 25px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__card-title {
        font-size: 1.5em;
    }

    .page-gdpr__contact-label {
        font-size: 1.1em;
    }

    /* 3. Generic images and figures */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__hero-image-wrapper {
        margin-bottom: 15px;
    }

    .page-gdpr__figure {
        margin: 20px 0;
    }

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

    /* 5. FAQ / Tutorial sections (readability) */
    .page-gdpr__list {
        margin-left: 20px;
    }
}

/* Color contrast enforcement */
.page-gdpr__dark-section {
  background: #140C0C;
  color: #FFF1E8;
}

.page-gdpr__info-card,
.page-gdpr__contact-box {
  background: #2A1212;
  color: #FFF1E8;
}

.page-gdpr__btn-primary {
  color: #140C0C;
}
.page-gdpr__btn-secondary {
  color: #FFF1E8;
}

/* No CSS filters for images as per requirement */
.page-gdpr img {
    filter: none !important;
}