/* style/privacy-policy.css */

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Text Main */
    background-color: #F5F7FA; /* Background */
}

.page-privacy-policy__top-section {
    padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
    padding-bottom: 40px;
    text-align: center;
    max-width: 1150px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

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

.page-privacy-policy__intro-text {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-privacy-policy__top-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.page-privacy-policy__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(229, 57, 53, 0.4);
}

.page-privacy-policy__btn-secondary {
    background: #ffffff; /* Card BG */
    color: #E53935; /* Primary color */
    border-color: #E53935; /* Primary color */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-privacy-policy__btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.page-privacy-policy__content-area {
    padding-bottom: 60px;
}

.page-privacy-policy__article-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff; /* Card BG */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #E0E0E0; /* Border color */
    box-sizing: border-box;
}

.page-privacy-policy__section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.page-privacy-policy__section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.page-privacy-policy__section-title {
    font-size: 1.8em;
    color: #E53935; /* Primary color */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.page-privacy-policy__sub-title {
    font-size: 1.4em;
    color: #333333; /* Text Main */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    font-size: 1em;
}

.page-privacy-policy ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-privacy-policy ul li {
    margin-bottom: 8px;
    font-size: 1em;
}

.page-privacy-policy strong,
.page-privacy-policy__highlight {
    color: #E53935; /* Primary color */
    font-weight: 700;
}

.page-privacy-policy a {
    color: #E53935; /* Primary color */
    text-decoration: underline;
}

.page-privacy-policy a:hover {
    color: #FF5A4F; /* Secondary color */
    text-decoration: none;
}

.page-privacy-policy__figure {
    margin: 30px 0;
    text-align: center;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #E0E0E0; /* Border color */
}

.page-privacy-policy__figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-privacy-policy__figcaption {
    font-size: 0.9em;
    color: #666666;
    margin-top: 10px;
    line-height: 1.4;
}

.page-privacy-policy__promo-box {
    background: linear-gradient(90deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

.page-privacy-policy__promo-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ffffff;
}

.page-privacy-policy__promo-box p {
    font-size: 1.1em;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-privacy-policy__promo-box .page-privacy-policy__btn-primary {
    background: #ffffff; /* Card BG */
    color: #E53935; /* Primary color */
    border-color: #ffffff;
    box-shadow: none;
}

.page-privacy-policy__promo-box .page-privacy-policy__btn-primary:hover {
    background: #f0f0f0;
    color: #E53935;
}

.page-privacy-policy__bottom-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #E0E0E0; /* Border color */
}

.page-privacy-policy__bottom-cta-title {
    font-size: 2em;
    color: #E53935; /* Primary color */
    margin-bottom: 20px;
    font-weight: 700;
}

.page-privacy-policy__bottom-cta p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-privacy-policy__button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

    /* 1. Top section title + CTA */
    .page-privacy-policy__top-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-privacy-policy__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__top-cta {
        flex-direction: column;
        gap: 10px;
    }

    /* 2. Single column long text container */
    .page-privacy-policy__article-wrap {
        padding: 20px 15px;
        margin: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__section {
        margin-bottom: 30px;
    }

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

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

    .page-privacy-policy p,
    .page-privacy-policy ul li {
        font-size: 0.95em;
    }

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

    .page-privacy-policy__promo-box {
        padding: 25px 15px;
        margin: 30px 0;
    }

    .page-privacy-policy__promo-title {
        font-size: 1.4em;
        margin-bottom: 10px;
    }

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

    /* 3. General images and figure */
    .page-privacy-policy__figure {
        margin: 20px 0;
        padding: 10px;
    }

    .page-privacy-policy__figure img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset;
        min-height: unset;
    }

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

    /* 4. Buttons and button containers */
    .page-privacy-policy__btn {
        padding: 10px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-privacy-policy__top-cta .page-privacy-policy__btn,
    .page-privacy-policy__promo-box .page-privacy-policy__btn-primary,
    .page-privacy-policy__bottom-cta .page-privacy-policy__btn {
        margin: 0;
    }

    /* Bottom CTA */
    .page-privacy-policy__bottom-cta {
        margin-top: 40px;
        padding-top: 20px;
    }

    .page-privacy-policy__bottom-cta-title {
        font-size: 1.6em;
        margin-bottom: 15px;
    }

    .page-privacy-policy__bottom-cta p {
        font-size: 1em;
        margin-bottom: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* 5. Registration tutorial & FAQ blocks - Not applicable for this page, so no specific rules needed here. */
}