.page-gdpr {
    background-color: #0D0E12;
    color: #FFF3E6;
    font-family: Arial, sans-serif;
}

.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding as per rule */
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

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

.page-gdpr__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFF3E6;
    margin-bottom: 20px;
    max-width: 100%; /* Ensure it doesn't overflow */
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF3E6;
    opacity: 0.9;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin: 10px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.page-gdpr__cta-button:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

.page-gdpr__cta-button--secondary {
    background: #17191F;
    border: 1px solid #A84F0C;
}

.page-gdpr__cta-button--secondary:hover {
    background: #0D0E12;
    border-color: #FFA53A;
}

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

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

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

.page-gdpr__text-block {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #FFF3E6;
    opacity: 0.85;
}

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

.page-gdpr__grid-item {
    background-color: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-gdpr__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.2);
}

.page-gdpr__grid-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
}

.page-gdpr__grid-title {
    font-size: 1.5em;
    color: #FFA53A;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__grid-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #FFF3E6;
    opacity: 0.75;
}

.page-gdpr__user-rights .page-gdpr__section-title {
    color: #FF8C1A;
}

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__list-item {
    background-color: #17191F;
    border-left: 5px solid #FF8C1A;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.05em;
    line-height: 1.6;
    color: #FFF3E6;
    opacity: 0.9;
}

.page-gdpr__list-item strong {
    color: #FFA53A;
}

.page-gdpr__contact-us {
    text-align: center;
    padding-bottom: 80px;
}

.page-gdpr__contact-us .page-gdpr__section-title {
    color: #FF8C1A;
}

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

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

    .page-gdpr__main-title {
        font-size: 1.8em;
    }

    .page-gdpr__hero-description {
        font-size: 1em;
    }

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

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

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

    .page-gdpr__grid-image {
        max-height: 200px;
    }

    /* Enforce max-width for all images in content area on mobile */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
    }

    .page-gdpr__cta-button {
        margin: 5px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.5em;
    }

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

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