/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    background-color: #FFFFFF; /* Custom background color */
    color: #333333; /* Default text color for readability */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero/Title Section */
.page-privacy-policy__hero-section {
    padding: 10px 0 40px; /* Small top padding, more bottom padding */
    background-color: #f8f8f8; /* Light background for the hero section */
    text-align: center;
    border-bottom: 1px solid #eee;
}

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

.page-privacy-policy__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #017439; /* Main brand color for H1 */
    margin-bottom: 15px;
    /* No fixed font-size for H1, rely on font-weight and line-height */
}

.page-privacy-policy__intro-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__last-updated {
    font-size: 0.9em;
    color: #777777;
}

/* Content Section */
.page-privacy-policy__content-section {
    padding: 40px 0 60px;
}

.page-privacy-policy__section-heading {
    color: #017439; /* Main brand color for H2 */
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8em;
    font-weight: bold;
}

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

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

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

.page-privacy-policy__link {
    color: #017439; /* Main brand color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: #005f2e; /* Darker shade on hover */
}

/* Images */
.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
    object-fit: cover; /* Ensure images fill their space nicely */
}

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

.page-privacy-policy__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 150px; /* Ensure buttons are not too small */
    height: 44px; /* Minimum touch target size */
    line-height: 1.5; /* Center text vertically */
    box-sizing: border-box; /* Include padding in width/height */
}

.page-privacy-policy__button--register {
    background-color: #C30808; /* Custom register color */
    color: #FFFF00; /* Custom register font color */
    border: 1px solid #C30808;
}

.page-privacy-policy__button--register:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-privacy-policy__button--login {
    background-color: #C30808; /* Custom login color */
    color: #FFFF00; /* Custom login font color */
    border: 1px solid #C30808;
}

.page-privacy-policy__button--login:hover {
    background-color: #a00606;
    border-color: #a00606;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 10px 0 30px;
    }

    .page-privacy-policy__main-title {
        font-size: 2em; /* Adjusted for smaller screens, still not fixed */
    }

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

    .page-privacy-policy__section-heading {
        font-size: 1.5em;
    }

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

    .page-privacy-policy__button {
        width: 100%;
        max-width: 250px;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Enforce image responsiveness for content area */
    .page-privacy-policy img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-privacy-policy__main-title {
        font-size: 1.7em;
    }
    .page-privacy-policy__section-heading {
        font-size: 1.3em;
    }
    .page-privacy-policy__container {
        padding: 0 15px;
    }
}

/* Ensure content area images meet min size and don't cause overflow */
.page-privacy-policy__content-area img,
.page-privacy-policy__content-section img {
    width: auto; /* Allow auto width to respect aspect ratio */
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Ensure images fill their space nicely */
}
@media (max-width: 768px) {
    .page-privacy-policy__content-area img,
    .page-privacy-policy__content-section img {
        max-width: 100%; /* Must ensure no overflow on mobile */
        height: auto;
    }
}