/* Privacy Policy Page Specific Styles */

/* CSS Variables from DSL */
:root {
    /* PC Styles */
    --policy-pc-hero-bg-image: url('../../images/hero/static-page-hero-bg.jpg'); /* Updated from: https://image-resource.mastergo.com/62435708278538/62435708278540/4818f8bdf9a1c6b64b2de3228c2551eb.jpg */
    --policy-pc-hero-bg-overlay-color: rgba(0, 0, 0, 0.5); /* paint_1:448 */
    --policy-pc-hero-title-color: #FFFFFF; /* Default, as not specified for hero */

    --policy-pc-section-title-font-family: 'Alibaba Sans SEA', sans-serif; /* font_1:765 */
    --policy-pc-section-title-font-size: 32px;
    --policy-pc-section-title-font-weight: bold;
    --policy-pc-section-title-color: #101010; /* paint_1:523 */

    --policy-pc-text-font-family: 'Alibaba Sans SEA', sans-serif; /* font_1:732 (Regular), font_1:729 (Bold) */
    --policy-pc-text-font-size: 16px;
    --policy-pc-text-line-height: 28px;
    --policy-pc-text-color: #333333; /* paint_1:502 */
    --policy-pc-text-strong-font-weight: bold;
    --policy-pc-list-item-padding-left: 20px; /* For ul/li */

    /* Mobile Styles */
    --policy-m-hero-bg-image: url('../../images/hero/static-page-hero-bg.jpg'); /* Updated from: https://image-resource.mastergo.com/62435708278538/62435708278540/4818f8bdf9a1c6b64b2de3228c2551eb.jpg */
    --policy-m-hero-bg-overlay-color: rgba(0, 0, 0, 0.5); /* paint_1:448 */
    --policy-m-hero-title-color: #FFFFFF; /* Default */

    --policy-m-section-title-font-family: 'Alibaba Sans SEA', sans-serif; /* font_1:521 */
    --policy-m-section-title-font-size: 44px;
    --policy-m-section-title-font-weight: bold;
    --policy-m-section-title-color: #101010; /* paint_1:523 */

    --policy-m-text-font-family: 'Alibaba Sans SEA', sans-serif; /* font_1:496 (Regular), font_1:493 (Bold) */
    --policy-m-text-font-size: 24px;
    --policy-m-text-line-height: 32px;
    --policy-m-text-color: #333333; /* paint_1:502 */
    --policy-m-text-strong-font-weight: bold;
    --policy-m-list-item-padding-left: 20px;
}

.privacy-policy-page .hero {
    background-image: 
        linear-gradient(var(--policy-pc-hero-bg-overlay-color), var(--policy-pc-hero-bg-overlay-color)), 
        var(--policy-pc-hero-bg-image);
    background-size: cover;
    background-position: center;
    height: 400px; /* from PC DSL */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
}

.privacy-policy-page .hero-content h1 {
    font-family: var(--policy-pc-section-title-font-family); /* Using section title for consistency */
    font-size: var(--policy-pc-section-title-font-size);
    font-weight: var(--policy-pc-section-title-font-weight);
    color: var(--policy-pc-hero-title-color);
    padding: 0 20px;
}

.privacy-policy-page .policy-content .container {
    max-width: 1200px; /* from PC DSL for text width */
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-policy-page #policy-main-title {
    font-family: var(--policy-pc-section-title-font-family);
    font-size: var(--policy-pc-section-title-font-size);
    font-weight: var(--policy-pc-section-title-font-weight);
    color: var(--policy-pc-section-title-color);
    text-align: center;
    margin-bottom: 40px;
}

.privacy-policy-page #policy-text-content p,
.privacy-policy-page #policy-text-content ul {
    font-family: var(--policy-pc-text-font-family);
    font-size: var(--policy-pc-text-font-size);
    line-height: var(--policy-pc-text-line-height);
    color: var(--policy-pc-text-color);
    margin-bottom: 20px; /* Spacing */
}

.privacy-policy-page #policy-text-content ul {
    list-style-position: outside;
    padding-left: var(--policy-pc-list-item-padding-left);
}

.privacy-policy-page #policy-text-content li {
    margin-bottom: 10px; /* Spacing between list items */
}

.privacy-policy-page #policy-text-content p strong,
.privacy-policy-page #policy-text-content ul strong {
    font-weight: var(--policy-pc-text-strong-font-weight);
    color: var(--policy-pc-section-title-color); /* Make headings stand out */
}

/* Medium screens (tablets) */
@media (max-width: 1024px) {
    .privacy-policy-page .policy-content .container {
        max-width: 90%;
    }
}

/* Small screens (mobile) */
@media (max-width: 768px) {
    .privacy-policy-page .hero {
        height: 300px; /* Adjusted height for mobile */
        margin-bottom: 40px;
        background-image: 
            linear-gradient(var(--policy-m-hero-bg-overlay-color), var(--policy-m-hero-bg-overlay-color)), 
            var(--policy-m-hero-bg-image);
    }

    .privacy-policy-page .hero-content h1 {
        font-family: var(--policy-m-section-title-font-family);
        font-size: var(--policy-m-section-title-font-size);
        color: var(--policy-m-hero-title-color);
    }

    .privacy-policy-page #policy-main-title {
        font-family: var(--policy-m-section-title-font-family);
        font-size: var(--policy-m-section-title-font-size);
        margin-bottom: 30px;
    }

    .privacy-policy-page #policy-text-content p,
    .privacy-policy-page #policy-text-content ul {
        font-family: var(--policy-m-text-font-family);
        font-size: var(--policy-m-text-font-size);
        line-height: var(--policy-m-text-line-height);
        color: var(--policy-m-text-color);
    }
    
    .privacy-policy-page #policy-text-content ul {
        padding-left: var(--policy-m-list-item-padding-left);
    }

    .privacy-policy-page #policy-text-content p strong,
    .privacy-policy-page #policy-text-content ul strong {
        font-weight: var(--policy-m-text-strong-font-weight);
        color: var(--policy-m-section-title-color);
    }
}

@media (max-width: 480px) {
    .privacy-policy-page .hero {
        height: 200px; /* Further adjusted height for smaller mobile */
    }

    .privacy-policy-page .hero-content h1 {
        font-size: calc(var(--policy-m-section-title-font-size) * 0.8); /* Scale down */
    }

    .privacy-policy-page #policy-main-title {
        font-size: 22px;
    }

    .privacy-policy-page #policy-text-content p,
    .privacy-policy-page #policy-text-content ul {
        font-size: 14px;
        line-height: 24px;
    }
} 