/* style/privacy-policy.css */

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main, #333333);
    background: var(--bg-color, #F5F7FA);
    padding-bottom: 40px;
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-privacy-policy__hero-section {
    padding-top: 10px; /* Adjusted to ~10px as per rule */
    padding-bottom: 40px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Using clamp for responsive font size */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-privacy-policy__content-area {
    padding-top: 40px;
    padding-bottom: 40px;
    background: var(--card-bg, #FFFFFF);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

.page-privacy-policy__heading {
    font-size: 1.8em;
    color: var(--primary-color, #E53935);
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.page-privacy-policy__text {
    margin-bottom: 15px;
    font-size: 1em;
    color: var(--text-main, #333333);
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-main, #333333);
}

.page-privacy-policy__list-item {
    margin-bottom: 8px;
    font-size: 1em;
}

.page-privacy-policy__list-item strong {
    color: var(--primary-color, #E53935);
}

.page-privacy-policy__image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

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

.page-privacy-policy__btn-secondary {
    background: #ffffff;
    color: var(--primary-color, #E53935);
    border: 2px solid var(--primary-color, #E53935);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--primary-color, #E53935);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: var(--bg-color, #F5F7FA);
}

.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, #e0e0e0);
    overflow: hidden;
    background: var(--card-bg, #fff);
}

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: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main, #333333);
}

.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-main, #333333);
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 4.5vw, 2.5em);
    }
    .page-privacy-policy__description {
        font-size: 1em;
    }
    .page-privacy-policy__heading {
        font-size: 1.6em;
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-privacy-policy__faq-qtext {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__container {
        padding: 0 15px;
    }

    .page-privacy-policy__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
        margin-bottom: 10px;
    }

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

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

    .page-privacy-policy__heading {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 10px;
    }

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

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

    /* General images and containers */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__image-wrapper {
        margin: 20px 0;
    }

    /* Buttons and button containers */
    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        padding: 12px 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;
    }

    /* FAQ section */
    .page-privacy-policy__faq-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px;
    }
    .page-privacy-policy__faq-qtext {
        font-size: 0.95em;
    }
    .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;
    }
}