:root {
    /* Custom Colors */
    --color-primary: #11A84E; /* Green Gold */
    --color-secondary: #22C768; /* Green Gold */
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
    background-color: var(--color-background);
    color: var(--color-text-main);
    padding-top: 10px; /* Small top padding for the first section, body handles main offset */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px 40px; /* Padding for content below the image */
    box-sizing: border-box;
    overflow: hidden; /* Prevent content overflow */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16/5; /* Matches 1920x600 */
    max-width: 100%; /* Ensure responsiveness */
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    filter: none; /* Explicitly ensure no filter */
}

.page-privacy-policy__hero-content {
    max-width: 1200px;
    margin-top: 20px; /* Space between image and text */
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-family: 'Arial', sans-serif; /* Example font */
    font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Adjusted for privacy policy, less aggressive than homepage */
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-main);
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 30px;
}

/* CTA Button */
.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.page-privacy-policy__section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 50px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-privacy-policy__paragraph {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

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

.page-privacy-policy__list-item {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
}

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

.page-privacy-policy__content-image {
    width: 100%;
    max-width: 800px; /* Max width for content images */
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
    filter: none; /* Explicitly ensure no filter */
}

.page-privacy-policy__paragraph a {
    color: var(--color-gold); /* Link color */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__paragraph a:hover {
    color: var(--color-secondary);
}

.page-privacy-policy__cta-button--bottom {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Adjustments */
@media (max-width: 849px) {
    .page-privacy-policy__hero-section {
        padding: 0 15px 30px;
    }

    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .page-privacy-policy__description {
        font-size: 1rem;
    }

    .page-privacy-policy__content-area {
        padding: 0 15px;
        margin: 30px auto;
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.3rem, 4.5vw, 1.9rem);
        margin-top: 40px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 0.95rem;
    }

    .page-privacy-policy__content-image {
        max-width: 100%;
        min-width: 200px; /* Enforce min size */
        min-height: 200px;
        margin: 20px auto;
    }
}

@media (max-width: 549px) {
    .page-privacy-policy__hero-section {
        padding: 0 12px 25px;
    }

    .page-privacy-policy__hero-content {
        padding: 0 12px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.4rem, 7vw, 2.2rem);
        margin-bottom: 10px;
    }

    .page-privacy-policy__description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .page-privacy-policy__cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .page-privacy-policy__content-area {
        padding: 0 12px;
        margin: 25px auto;
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.2rem, 5.5vw, 1.7rem);
        margin-top: 30px;
        margin-bottom: 12px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 0.9rem;
    }

    .page-privacy-policy__list {
        padding-left: 20px;
    }

    /* Enforce max-width: 100% for all images within content area on mobile */
    .page-privacy-policy__content-area img {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px; /* Re-iterate for safety */
        min-height: 200px;
    }
}

/* Ensure content area images maintain min-size and are responsive */
.page-privacy-policy__content-area img {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    height: auto; /* Ensure aspect ratio is maintained */
}

/* CSS for mobile content area images to prevent overflow */
@media (max-width: 768px) {
    .page-privacy-policy__content-area img {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px; /* Re-iterate for safety */
        min-height: 200px;
    }
}