/* style/privacy-policy.css */

/* Variables based on custom color palette */
:root {
    --page-privacy-policy-primary-color: #2F6BFF;
    --page-privacy-policy-secondary-color: #6FA3FF;
    --page-privacy-policy-card-bg: #FFFFFF;
    --page-privacy-policy-background: #F4F7FB;
    --page-privacy-policy-text-main: #1F2D3D;
    --page-privacy-policy-border: #D6E2FF;
    --page-privacy-policy-glow: #A5C4FF;
    --page-privacy-policy-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-privacy-policy-text-main); /* Default text color, assuming light body bg */
    background-color: var(--page-privacy-policy-background); /* General background for the page content */
}

/* HERO Section - Main visual of the Privacy Policy page */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--page-privacy-policy-primary-color); /* Brand color for hero background */
    color: #ffffff; /* White text on dark background */
}

.page-privacy-policy__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width within max-width */
}

.page-privacy-policy__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    filter: none; /* Ensure no filter applied */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px; /* Constrain content width for readability */
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-privacy-policy__subtitle {
    font-size: clamp(1em, 1.8vw, 1.3em);
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--page-privacy-policy-button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Button responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

/* Content Section */
.page-privacy-policy__content-section {
    padding: 60px 20px;
    background-color: var(--page-privacy-policy-background);
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--page-privacy-policy-card-bg); /* White background for main content block */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    color: var(--page-privacy-policy-text-main); /* Dark text on white background */
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--page-privacy-policy-primary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--page-privacy-policy-border);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    color: var(--page-privacy-policy-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 1em;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 1em;
    padding: 0;
}

.page-privacy-policy__list-item {
    margin-bottom: 0.5em;
    font-size: 1.05em;
    line-height: 1.6;
}

.page-privacy-policy__list-item strong {
    color: var(--page-privacy-policy-primary-color);
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    filter: none; /* Ensure no filter applied */
}

/* Links within content */
.page-privacy-policy__paragraph a,
.page-privacy-policy__list-item a {
    color: var(--page-privacy-policy-primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__container {
        padding: 30px;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__hero-image img {
        border-radius: 4px;
    }
    .page-privacy-policy__main-title {
        font-size: 2.2em;
    }
    .page-privacy-policy__subtitle {
        font-size: 1em;
    }
    .page-privacy-policy__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-privacy-policy__content-section {
        padding: 40px 15px;
    }
    .page-privacy-policy__container {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: auto;
        margin-right: auto;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 1em;
    }
    
    /* Mobile image responsive adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Ensure hero section also adheres to padding rules */
    .page-privacy-policy__hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Color contrast enforcement (assuming default light body background) */
.page-privacy-policy__light-bg {
  color: var(--page-privacy-policy-text-main); /* Dark text */
  background: var(--page-privacy-policy-background); /* Light background */
}
/* For sections that might implicitly be dark (e.g., hero) */
.page-privacy-policy__hero-section {
  color: #ffffff; /* White text on primary brand color */
}