/* style/privacy-policy.css */

/* Root variables for colors */
:root {
    --ev888-primary-green: #11A84E;
    --ev888-secondary-green: #22C768;
    --ev888-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --ev888-card-bg: #11271B;
    --ev888-background: #08160F;
    --ev888-text-main: #F2FFF6;
    --ev888-text-secondary: #A7D9B8;
    --ev888-border: #2E7A4E;
    --ev888-glow: #57E38D;
    --ev888-gold: #F2C14E;
    --ev888-divider: #1E3A2A;
    --ev888-deep-green: #0A4B2C;
}

/* Base styles for the page, assuming a dark body background from shared.css */
.page-privacy-policy {
    background-color: var(--ev888-background); /* #08160F */
    color: var(--ev888-text-main); /* #F2FFF6 */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1920px; /* Match requested size for hero */
    height: auto;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and text */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-content {
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--ev888-gold); /* Using gold for title contrast */
    margin-bottom: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--ev888-text-secondary); /* A7D9B8 */
    margin-bottom: 40px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--ev888-card-bg); /* #11271B for content blocks */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
    margin-bottom: 30px;
    box-sizing: border-box;
    color: var(--ev888-text-main); /* F2FFF6 */
}

.page-privacy-policy__container {
    padding: 20px;
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--ev888-primary-green); /* #11A84E */
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 600;
    border-bottom: 2px solid var(--ev888-divider); /* #1E3A2A */
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    color: var(--ev888-secondary-green); /* #22C768 */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    color: var(--ev888-text-main); /* F2FFF6 */
    font-size: 1rem;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--ev888-text-main); /* F2FFF6 */
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: var(--ev888-text-main); /* F2FFF6 */
}

.page-privacy-policy__list-item strong {
    color: var(--ev888-gold); /* F2C14E */
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Match requested size for content images */
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* Links */
.page-privacy-policy a {
    color: var(--ev888-secondary-green); /* #22C768 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: var(--ev888-gold); /* #F2C14E */
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

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

    .page-privacy-policy__main-title {
        font-size: 2rem;
    }

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

    .page-privacy-policy__content-area {
        padding: 20px 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__container {
        padding: 10px;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8rem;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.2rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }

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

    /* Image responsive adapt (mandatory) */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* No buttons in this specific content, but general button rules for safety */
    .page-privacy-policy a[class*="btn"],
    .page-privacy-policy a[class*="button"] {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }
}