/* cookies-policy.css */

/* General page styling */
.page-cookies-policy {
    background-color: #FFFFFF; /* As per custom color rule for 'Background' */
    color: #333333; /* Default text color for good contrast on white background */
    line-height: 1.6;
    font-family: Arial, sans-serif; /* Roboto-like气质 */
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.page-cookies-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
}

/* Hero Section (title and intro) */
.page-cookies-policy__hero-section {
    background-color: #017439; /* Brand main color for hero-like section */
    color: #FFFFFF; /* White text on dark green */
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
}

.page-cookies-policy__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3rem); /* Using clamp as an allowed option for H1 */
    color: #FFFFFF; /* White text for contrast on green background */
}

.page-cookies-policy__intro-text {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    color: #FFFFFF; /* White text for contrast on green background */
}

/* Content Sections */
.page-cookies-policy__content-section {
    padding: 40px 0;
}

.page-cookies-policy__section-title {
    color: #017439; /* Main brand color for section titles */
    font-size: 2em;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-cookies-policy__content-section p {
    margin-bottom: 15px;
    color: #333333; /* Dark text on white background */
}

.page-cookies-policy__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #333333; /* Dark text on white background */
}

.page-cookies-policy__list-item {
    margin-bottom: 10px;
}

/* Image styling */
.page-cookies-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto; /* Center images and provide vertical spacing */
    border-radius: 8px; /* Slightly rounded corners for aesthetics */
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    object-fit: cover; /* Ensure images cover their area without distortion */
    /* No filter properties allowed */
}

/* Last updated text */
.page-cookies-policy__last-updated {
    font-style: italic;
    text-align: right;
    margin-top: 30px;
    color: #555555;
}

/* Contact link styling */
.page-cookies-policy__contact-link {
    color: #017439; /* Brand color for links */
    text-decoration: underline;
    font-weight: bold;
}

.page-cookies-policy__contact-link:hover {
    color: #004d2c; /* Slightly darker green on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-cookies-policy__container {
        padding: 15px;
    }

    .page-cookies-policy__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem); /* Adjust H1 for smaller screens */
    }

    .page-cookies-policy__intro-text {
        font-size: 1em;
    }

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

    /* Enforce image responsiveness for mobile */
    .page-cookies-policy__image {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure images are not too small */
        min-height: 200px !important; /* Must be at least 200x200 */
    }
}