/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    padding: 10px 20px 60px; /* Top padding ~10px as required */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    box-sizing: border-box;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    width: 100%;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Using clamp for H1 as required */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-privacy-policy__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure wrapping on smaller screens */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Button responsive requirement */
    box-sizing: border-box; /* Button responsive requirement */
    white-space: normal; /* Button responsive requirement */
    word-wrap: break-word; /* Button responsive requirement */
}

.page-privacy-policy__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #d46a00;
    border-color: #d46a00;
}

.page-privacy-policy__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Brand primary color */
    border: 2px solid #FFFFFF;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

/* Content Area */
.page-privacy-policy__content-area {
    padding: 40px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-privacy-policy__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: #26A9E0; /* Brand primary color */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
}

.page-privacy-policy__link-text {
    color: #26A9E0;
    text-decoration: underline;
}

.page-privacy-policy__link-text:hover {
    color: #1a7bb0;
}

/* Image Figure */
.page-privacy-policy__image-figure {
    margin: 30px auto;
    max-width: 680px;
    text-align: center;
}

.page-privacy-policy__image-figure img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensure image behaves as block for max-width */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-privacy-policy__image-caption {
    font-style: italic;
    font-size: 0.9em;
    color: #666666;
    margin-top: 10px;
}

/* Info Card */
.page-privacy-policy__info-card {
    background-color: #F8F8F8; /* Light background for card */
    border-left: 5px solid #26A9E0; /* Brand accent */
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-privacy-policy__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-privacy-policy__info-card p {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-privacy-policy__card-button {
    display: inline-block;
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    max-width: 100%; /* Button responsive requirement */
    box-sizing: border-box; /* Button responsive requirement */
    white-space: normal; /* Button responsive requirement */
    word-wrap: break-word; /* Button responsive requirement */
}

.page-privacy-policy__card-button:hover {
    background-color: #1a7bb0;
}

/* Promo Box */
.page-privacy-policy__promo-box {
    background: linear-gradient(45deg, #26A9E0, #1a7bb0); /* Gradient background */
    color: #FFFFFF;
    padding: 40px;
    margin: 50px 0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.page-privacy-policy__promo-title {
    font-size: 2em;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-privacy-policy__promo-box p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__promo-button {
    display: inline-block;
    background-color: #EA7C07; /* Login color for CTA */
    color: #FFFFFF;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    max-width: 100%; /* Button responsive requirement */
    box-sizing: border-box; /* Button responsive requirement */
    white-space: normal; /* Button responsive requirement */
    word-wrap: break-word; /* Button responsive requirement */
}

.page-privacy-policy__promo-button:hover {
    background-color: #d46a00;
}

/* Ensure content containers are responsive */
.page-privacy-policy__content-area,
.page-privacy-policy__info-card,
.page-privacy-policy__promo-box {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    /* 1. Top Section (Hero) */
    .page-privacy-policy__hero-section {
        padding: 10px 15px 40px !important; /* ~10px top padding, not var(--header-offset) */
    }

    .page-privacy-policy__main-title {
        font-size: 1.8em;
    }

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

    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .page-privacy-policy__card-button,
    .page-privacy-policy__promo-button {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single Column Long Article Container */
    .page-privacy-policy__article-wrap {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__section-title {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__info-card p,
    .page-privacy-policy__promo-box p {
        font-size: 0.95em;
    }

    .page-privacy-policy__info-card {
        padding: 20px;
        margin: 25px 0;
    }

    .page-privacy-policy__card-title {
        font-size: 1.3em;
    }

    .page-privacy-policy__promo-box {
        padding: 30px 20px;
        margin: 40px 0;
    }

    .page-privacy-policy__promo-title {
        font-size: 1.6em;
    }

    /* 3. General Images and Figure */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__image-figure {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    /* 4. Buttons and Button Containers */
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group, /* Placeholder for other button groups */
    .page-privacy-policy__btn-container { /* Placeholder for other button containers */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Ensure vertical stacking for better mobile UX */
    }

    /* 5. Registration Tutorial and FAQ Blocks - Not applicable for this specific page, but included for completeness if the structure were present. */
    /* Example for FAQ if present: */
    /*
    .page-privacy-policy__faq-item {
        padding: 15px;
        font-size: 1em;
    }
    .page-privacy-policy__faq-question {
        padding: 0;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }
    */
}