:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for the page, suitable for dark body background */
    background-color: var(--deep-navy); /* Assumed body background from shared.css */
}

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

/* HERO Section */
.page-privacy-policy__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-main);
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-privacy-policy__hero-content {
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* General Content Section */
.page-privacy-policy__content-section {
    padding: 60px 0;
    background-color: var(--deep-navy);
    color: var(--text-main);
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-privacy-policy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-privacy-policy__section-title--white {
    color: var(--text-main);
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 15px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
}

.page-privacy-policy__text-block {
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

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

.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.page-privacy-policy__contact-list li a {
    color: var(--glow-color);
    text-decoration: none;
}

.page-privacy-policy__contact-list li a:hover {
    text-decoration: underline;
}

.page-privacy-policy a {
    color: var(--glow-color);
    text-decoration: none;
}

.page-privacy-policy a:hover {
    text-decoration: underline;
}

/* Image Content Block */
.page-privacy-policy__image-content-block {
    margin: 40px auto;
    max-width: 800px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: var(--card-bg);
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-privacy-policy__image-caption {
    padding: 15px;
    font-size: 0.9em;
    color: var(--text-secondary);
    text-align: center;
    background: var(--card-bg);
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button-gradient);
    color: #ffffff; /* Always white text for buttons */
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    border-top: 1px solid var(--divider-color);
}

.page-privacy-policy__faq-list {
    margin-top: 40px;
}

details.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--deep-navy);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
    font-size: 1.1em;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
    background: rgba(var(--primary-color), 0.2);
}

.page-privacy-policy__faq-qtext {
    flex: 1;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}

.page-privacy-policy__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    background: var(--card-bg);
    border-radius: 0 0 8px 8px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-privacy-policy__faq-answer p {
    margin: 0;
    padding-top: 10px;
}

/* Responsive styles */

/* For screens smaller than 1024px (tablet) */
@media (max-width: 1024px) {
    .page-privacy-policy__container {
        padding: 0 15px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(2em, 5vw, 2.5em);
    }

    .page-privacy-policy__section-title {
        font-size: 2em;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }

    .page-privacy-policy__description,
    .page-privacy-policy__text-block,
    .page-privacy-policy__list li,
    .page-privacy-policy__contact-list li {
        font-size: 0.95em;
    }

    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px 20px;
    }

    .page-privacy-policy__faq-qtext {
        font-size: 0.95em;
    }
}

/* For screens smaller than 768px (mobile) */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: 10px; /* Ensure small top padding */
    }

    .page-privacy-policy__hero-image-wrapper {
        max-height: 300px;
    }

    .page-privacy-policy__hero-image {
        object-fit: contain !important; /* Ensure image is fully visible, not cropped */
        height: auto !important;
        width: 100% !important;
        aspect-ratio: unset !important;
    }

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

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 6vw, 2.2em); /* Smaller font size for mobile H1 */
        margin-bottom: 15px;
    }

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

    .page-privacy-policy__btn-primary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .page-privacy-policy__content-section,
    .page-privacy-policy__faq-section {
        padding: 40px 0;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.2em;
        margin-top: 30px;
        margin-bottom: 10px;
        padding-left: 10px;
    }

    .page-privacy-policy__text-block,
    .page-privacy-policy__list li,
    .page-privacy-policy__contact-list li {
        font-size: 0.9em;
        line-height: 1.7;
    }

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

    .page-privacy-policy__image-content-block {
        margin: 30px 0;
        max-width: 100%;
        border-radius: 5px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-privacy-policy__image-caption {
        padding: 10px;
        font-size: 0.85em;
    }

    details.page-privacy-policy__faq-item {
        margin-bottom: 10px;
        border-radius: 5px;
    }

    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px;
        font-size: 1em;
    }

    .page-privacy-policy__faq-qtext {
        font-size: 0.9em;
    }

    .page-privacy-policy__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }

    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }

    .page-privacy-policy__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Ensure all image containers are responsive */
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__image-content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Ensure all images are responsive */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}