/* Base styles for the privacy policy page */
.page-privacy-policy {
    background-color: #0A0A0A; /* Background color from custom colors */
    color: #FFF6D6; /* Main text color from custom colors */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure some space at the bottom */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Ensure image is above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    overflow: hidden;
    background-color: #0A0A0A; /* Match body background */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 500px; /* Limit hero image height */
}

.page-privacy-policy__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.page-privacy-policy__main-title {
    font-size: 3.2em;
    font-weight: 700;
    color: #F2C14E; /* Brand primary color for title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-privacy-policy__description {
    font-size: 1.2em;
    color: #FFF6D6; /* Main text color */
    max-width: 800px;
    margin: 0 auto;
}

/* Content Area */
.page-privacy-policy__content-area {
    padding: 50px 20px;
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    font-weight: 600;
    color: #FFD36B; /* Auxiliary color for section titles */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid #3A2A12; /* Border color from custom colors */
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #F2C14E; /* Primary color for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: #FFF6D6; /* Main text color */
}

.page-privacy-policy ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #FFF6D6; /* Main text color */
}

.page-privacy-policy li {
    margin-bottom: 8px;
    color: #FFF6D6; /* Main text color */
}

.page-privacy-policy__image-text-block {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-privacy-policy__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-privacy-policy__image-inline {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.page-privacy-policy__text-block {
    flex: 1;
    min-width: 300px; /* Ensure text block doesn't get too small */
}

/* Cards */
.page-privacy-policy__card {
    background-color: #111111; /* Card BG from custom colors */
    border: 1px solid #3A2A12; /* Border color from custom colors */
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #FFF6D6; /* Main text color for card content */
}

.page-privacy-policy__card-title {
    font-size: 1.8em;
    color: #FFD36B; /* Auxiliary color for card titles */
    margin-top: 0;
    margin-bottom: 15px;
}

/* Buttons */
.page-privacy-policy__contact-buttons {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 50px;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient from custom colors */
    color: #111111; /* Dark text for bright button */
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-privacy-policy__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* 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 #3A2A12; /* Border color from custom colors */
    overflow: hidden;
    background: #111111; /* Card BG from custom colors */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
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;
    color: #F2C14E; /* Primary color for FAQ question text */
    font-weight: 600;
}
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: rgba(242, 193, 78, 0.1); /* Subtle hover effect */
}
.page-privacy-policy__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: left;
    color: #FFF6D6; /* Main text color for question text */
}
.page-privacy-policy__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD36B; /* Auxiliary color for toggle icon */
    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: rgba(17, 17, 17, 0.8); /* Slightly darker card bg for answer */
    border-radius: 0 0 5px 5px;
    color: #FFF6D6; /* Main text color for answer */
}
.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__card-title {
        font-size: 1.6em;
    }
    .page-privacy-policy__hero-image {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    /* General content area padding for mobile */
    .page-privacy-policy__content-area {
        padding: 30px 0;
    }
    .page-privacy-policy__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-privacy-policy__hero-section {
        padding-top: 10px;
    }
    .page-privacy-policy__hero-image {
        max-height: 300px !important;
        width: 100% !important;
        object-fit: cover !important;
    }
    .page-privacy-policy__hero-content {
        padding: 30px 15px;
    }
    .page-privacy-policy__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-privacy-policy__description {
        font-size: 1em;
    }

    /* Section Titles */
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Text blocks and images */
    .page-privacy-policy p {
        font-size: 0.95em;
    }
    .page-privacy-policy ul {
        margin-left: 20px;
    }
    .page-privacy-policy li {
        font-size: 0.95em;
    }

    .page-privacy-policy__image-text-block {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    .page-privacy-policy__image-text-block--reverse {
        flex-direction: column; /* Keep column for mobile */
    }
    .page-privacy-policy__image-inline {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__text-block {
        min-width: unset;
    }

    /* Cards */
    .page-privacy-policy__card {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__card-title {
        font-size: 1.4em;
    }

    /* Buttons */
    .page-privacy-policy__contact-buttons {
        margin-top: 30px;
        margin-bottom: 40px;
    }
    .page-privacy-policy__btn-primary {
        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 */
    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px;
    }
    .page-privacy-policy__faq-qtext {
        font-size: 1em;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 1.5em;
        width: 24px;
        margin-left: 10px;
    }
    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }

    /* General image and button container adaptations */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}