:root {
    --primary-color: #26A9E0;
    --secondary-color: #EA7C07; /* Login/Register button color */
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --background-light: #FFFFFF;
    --border-color: #e0e0e0;
    --font-family: 'Arial', sans-serif; /* Placeholder, actual font may vary */
}

.page-privacy-policy {
    font-family: var(--font-family);
    color: var(--text-color-dark); /* Body background is light, so use dark text */
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--background-light); /* Explicitly set for clarity, though shared.css defines body bg */
}

/* HERO Section */
.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: linear-gradient(180deg, var(--primary-color) 0%, rgba(38, 169, 224, 0.8) 50%, var(--background-light) 100%);
    color: var(--text-color-light);
    overflow: hidden; /* Ensure content doesn't overflow */
}

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

.page-privacy-policy__hero-image {
    width: 100%;
    margin-bottom: 30px;
    order: 1; /* Image first */
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* No filter to change color */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    order: 2; /* Content after image */
    color: var(--text-color-light);
}

.page-privacy-policy__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Using clamp as per instructions */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__intro-text {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light);
}

.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width for wrapping */
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to container to prevent buttons from touching edges */
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background: var(--secondary-color); /* Login color */
    color: var(--text-color-light);
    border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
    background: #c26706; /* Darken secondary color */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-secondary {
    background: var(--background-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Content Area */
.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--background-light);
    color: var(--text-color-dark);
}

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

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

.page-privacy-policy p {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-color-dark);
}

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

.page-privacy-policy__list li {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-color-dark);
}

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

.page-privacy-policy a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    text-decoration: underline;
    color: #1e87b4; /* Darken primary color */
}

.page-privacy-policy__last-updated {
    font-style: italic;
    text-align: right;
    margin-top: 40px;
    font-size: 14px;
    color: #666;
}

.page-privacy-policy__contact-info {
    background: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
}

.page-privacy-policy__contact-info p {
    margin-bottom: 10px;
    font-size: 17px;
}

.page-privacy-policy__contact-link {
    font-weight: 600;
    color: var(--primary-color);
}

/* Image blocks */
.page-privacy-policy__image-block {
    margin: 30px 0;
    text-align: center;
}

.page-privacy-policy__image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* No filter to change color */
}

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 30px;
}

details.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--background-light);
    color: var(--text-color-dark);
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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: #f5f5f5;
}

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

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

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-color-dark);
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 26px;
        margin-top: 40px;
    }
    .page-privacy-policy__sub-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 15px;
        line-height: 1.55;
    }
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(24px, 7vw, 38px);
        margin-bottom: 15px;
    }
    .page-privacy-policy__intro-text {
        font-size: clamp(15px, 3vw, 18px);
        margin-bottom: 25px;
    }
    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0;
    }
    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-privacy-policy__content-area {
        padding: 25px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-title {
        font-size: 18px;
    }
    .page-privacy-policy__list {
        margin-left: 20px;
    }
    .page-privacy-policy__list li {
        font-size: 15px;
    }
    .page-privacy-policy__image-block {
        margin: 20px 0;
    }
    .page-privacy-policy__image-block img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
    }
    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px;
    }
    .page-privacy-policy__faq-qtext {
        font-size: 15px;
    }
    .page-privacy-policy__contact-info {
        padding: 20px;
    }
    .page-privacy-policy__contact-info p {
        font-size: 16px;
    }
    .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;
    }
}