.page-privacy-policy {
    color: #333333; /* Default text color for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #F5F7FA; /* Background color from custom palette */
}

.page-privacy-policy__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, as body handles --header-offset */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-height: 500px; /* Limiting hero image height on desktop */
    overflow: hidden;
    position: relative;
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Desktop: cover to fill space */
    display: block;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin-top: 20px;
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(28px, 3.5vw, 48px); /* H1 clamp font size */
    font-weight: 700;
    line-height: 1.2;
    color: #E53935; /* Using brand primary color for H1 */
    margin-bottom: 15px;
}

.page-privacy-policy__description {
    font-size: clamp(16px, 1.2vw, 18px);
    margin-bottom: 30px;
    color: #333333;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%; /* Ensure container takes full width */
    max-width: 600px;
    box-sizing: border-box;
    padding: 0 15px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    max-width: 100%; /* Ensure button adapts to container */
    box-sizing: border-box;
    text-align: center;
}

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

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
}

.page-privacy-policy__btn-secondary:hover {
    background: #E53935;
    color: #ffffff;
}

.page-privacy-policy__content-area {
    padding: 40px 0;
    background: #F5F7FA;
}

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

.page-privacy-policy__section-title {
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 700;
    color: #E53935;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
}

.page-privacy-policy__subsection-title {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 600;
    color: #FF5A4F;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #333333;
}

.page-privacy-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

/* FAQ Section Styling */
.page-privacy-policy__faq-list {
  margin-top: 30px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #E0E0E0; /* Border color from custom palette */
  overflow: hidden;
  background: #FFFFFF; /* Card BG color from custom palette */
}
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: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Text Main color */
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E53935; /* Primary 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: #F9F9F9; /* Slightly lighter background for answer */
  border-radius: 0 0 8px 8px;
  color: #333333;
}
.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}
.page-privacy-policy__faq-answer a {
    color: #E53935;
    text-decoration: underline;
}

.page-privacy-policy__contact-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
}

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

    .page-privacy-policy__hero-section {
        padding-top: 10px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        height: auto !important;
    }

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

    .page-privacy-policy__main-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

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

    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__contact-cta {
        flex-direction: column !important;
        gap: 10px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
        font-size: 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__container {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__section-title {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 20px;
        text-align: center;
    }

    .page-privacy-policy__subsection-title {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
        text-align: center;
    }

    .page-privacy-policy p {
        font-size: 15px;
        line-height: 1.6;
    }

    .page-privacy-policy__image-wrapper {
        margin: 20px 0;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 5px;
    }
    
    .page-privacy-policy__image-wrapper img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
    .page-privacy-policy__faq-qtext { font-size: 15px; }
    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer { padding: 0 15px 15px; }

    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__content-area .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}