/* style/privacy-policy.css */

/* Core page styling, assuming a dark body background from shared.css */
.page-privacy-policy {
    background-color: var(--site-secondary-color, #1A1A1A); /* Dark background */
    color: #f0f0f0; /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* General padding at the bottom of the page content */
}

/* Fixed header spacing for the main content area */
.page-privacy-policy__hero-banner {
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    background-color: #1A1A1A; /* Dark background for the hero banner */
    color: #f0f0f0;
    text-align: center;
    padding-bottom: 40px;
}

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

.page-privacy-policy__main-title {
    font-size: 3em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-privacy-policy__intro-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    color: #cccccc;
}

.page-privacy-policy__content-section {
    padding: 40px 0;
    background-color: #1A1A1A; /* Dark background */
    color: #f0f0f0; /* Light text */
}

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

.page-privacy-policy__heading {
    font-size: 2.2em;
    color: #FFD700; /* Gold for headings */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3); /* Subtle gold underline */
    padding-bottom: 10px;
}

.page-privacy-policy__sub-heading {
    font-size: 1.6em;
    color: #FFD700; /* Gold for sub-headings */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    color: #e0e0e0;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-privacy-policy__list-item {
    margin-bottom: 8px;
}

.page-privacy-policy__link {
    color: #FFD700; /* Gold for links */
    text-decoration: underline;
}

.page-privacy-policy__link:hover {
    text-decoration: none;
    color: #ffe873; /* Lighter gold on hover */
}

/* Image styling */
.page-privacy-policy__image-wrapper {
    margin: 40px 0;
    text-align: center; /* Center images */
    overflow: hidden; /* Ensure image containers handle overflow */
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.page-privacy-policy__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below images */
    border-radius: 8px; /* Slightly rounded corners for images */
    object-fit: cover; /* Ensure images cover their area */
    /* NO CSS FILTER ALLOWED */
}

.page-privacy-policy__image-wrapper--center {
    text-align: center;
}

.page-privacy-policy__image-wrapper--left {
    float: left;
    margin-right: 30px;
    max-width: 400px; /* Limit width for floated images */
    width: 100%;
}

.page-privacy-policy__image-wrapper--right {
    float: right;
    margin-left: 30px;
    max-width: 400px; /* Limit width for floated images */
    width: 100%;
}

/* Clear float after floated images */
.page-privacy-policy__content-section::after {
    content: "";
    display: table;
    clear: both;
}

/* Contact Info Section */
.page-privacy-policy__contact-info {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(255, 215, 0, 0.1); /* Light gold background */
    border-left: 5px solid #FFD700; /* Gold border */
    border-radius: 5px;
}

.page-privacy-policy__contact-item {
    margin-bottom: 10px;
    color: #e0e0e0;
}

.page-privacy-policy__contact-item strong {
    color: #FFD700;
}

.page-privacy-policy__contact-link {
    color: #FFD700;
    text-decoration: none;
}

.page-privacy-policy__contact-link:hover {
    text-decoration: underline;
    color: #ffe873;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.5em;
    }

    .page-privacy-policy__heading {
        font-size: 1.8em;
    }

    .page-privacy-policy__sub-heading {
        font-size: 1.4em;
    }

    .page-privacy-policy__image-wrapper--left,
    .page-privacy-policy__image-wrapper--right {
        float: none;
        margin: 30px auto;
        max-width: 600px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
        padding-bottom: 40px;
    }

    .page-privacy-policy__hero-banner {
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
        padding-bottom: 30px;
    }

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

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

    .page-privacy-policy__intro-description {
        font-size: 1em;
    }

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

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

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

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0; /* Handled by container padding */
        padding-right: 0; /* Handled by container padding */
    }

    /* Remove floats for mobile */
    .page-privacy-policy__image-wrapper--left,
    .page-privacy-policy__image-wrapper--right {
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* Ensure buttons are responsive in case they are added later */
.page-privacy-policy__cta-button,
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary,
.page-privacy-policy a[class*="button"],
.page-privacy-policy a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-buttons,
.page-privacy-policy__button-group,
.page-privacy-policy__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}