/* style/gdpr.css */
:root {
    --primary-color: #113B7A;
    --auxiliary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold: #F2C14E;
    --divider: #1B3357;
    --deep-navy: #08162B;
}

.page-gdpr {
    background-color: var(--deep-navy);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px;
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    color: var(--text-main);
    text-align: center;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 40px;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    max-height: 400px;
}

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

.page-gdpr__main-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-gdpr__lead-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__contact-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    background: var(--button-gradient);
    color: var(--text-main);
    transition: opacity 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.page-gdpr__contact-button:hover {
    opacity: 0.9;
}

/* General Section Styling */
.page-gdpr__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--gold);
    text-align: center;
    padding-top: 20px;
}

.page-gdpr__paragraph {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Grid for Principles */
.page-gdpr__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-gdpr__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease;
}

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

.page-gdpr__card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.page-gdpr__card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* User Rights Section */
.page-gdpr__section-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 800px;
    margin: 20px auto 30px auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 900px;
}

.page-gdpr__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-secondary);
}

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

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

.page-gdpr__list-item a:hover {
    text-decoration: underline;
}

/* Contact Data Section */
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 900px;
}

.page-gdpr__contact-list .page-gdpr__list-item {
    text-align: center;
}

.page-gdpr__contact-list .page-gdpr__list-item a {
    color: var(--auxiliary-color);
    font-weight: bold;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    background: var(--button-gradient);
    color: var(--text-main);
    transition: opacity 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 30px;
}

.page-gdpr__cta-button:hover {
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-bottom: 20px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .page-gdpr__lead-text {
        font-size: 1rem;
    }

    .page-gdpr__section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .page-gdpr__paragraph,
    .page-gdpr__card-text,
    .page-gdpr__list-item {
        font-size: 0.9rem;
    }

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

    /* Ensure content images are responsive and don't overflow */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min image size */
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__content-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure images in content area are not too small if specific rules override general ones */
.page-gdpr img:not(.page-gdpr__hero-image) {
    min-width: 200px;
    min-height: 200px;
}