.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background);
}

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

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 0 40px;
    text-align: center;
    background-color: var(--deep-green);
    color: var(--text-main);
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__content-section {
    padding: 60px 0;
    background-color: var(--background);
    color: var(--text-main);
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--gold);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: bold;
    border-bottom: 2px solid var(--divider);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__text-block {
    font-size: 1rem;
    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-item {
    margin-bottom: 10px;
    font-size: 1rem;
}

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

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--gold);
    color: var(--background);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-privacy-policy__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    color: var(--text-main);
}

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

.page-privacy-policy__faq-item {
    background-color: var(--deep-green);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--divider);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-main);
    background-color: var(--deep-green);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: #1a5c3a; /* Slightly darker green */
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold);
}

.page-privacy-policy__faq-answer {
    padding: 0 25px;
    color: var(--text-secondary);
    background-color: var(--card-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-top: 15px;
    padding-bottom: 15px;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    background-color: #1a5c3a; /* Darker green when open */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    color: var(--glow);
}

.page-privacy-policy details > summary {
    list-style: none;
}

.page-privacy-policy details > summary::-webkit-details-marker {
    display: none;
}

/* Text color for links within content */
.page-privacy-policy__text-block a,
.page-privacy-policy__list-item a {
    color: var(--gold); /* Use gold for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__text-block a:hover,
.page-privacy-policy__list-item a:hover {
    color: var(--glow);
}

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

    .page-privacy-policy__hero-section {
        padding: 60px 0 30px;
    }

    .page-privacy-policy__main-title {
        font-size: 2.2rem;
    }

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

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

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

    .page-privacy-policy__sub-section-title {
        font-size: 1.3rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__container {
        padding: 0 15px;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
    }

    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-privacy-policy__faq-answer {
        padding: 0 20px;
    }

    /* Mobile image adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-privacy-policy__hero-image,
    .page-privacy-policy__content-image {
        margin-left: auto;
        margin-right: auto;
    }

    /* Ensure containers for images/buttons are responsive */
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-section,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
}