/* style/resources-jun82-security-privacy.css */

/* Base styles for the page content */
.page-resources-jun82-security-privacy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-resources-jun82-security-privacy__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-jun82-security-privacy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-resources-jun82-security-privacy__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 0;
}

.page-resources-jun82-security-privacy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-resources-jun82-security-privacy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-resources-jun82-security-privacy__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-jun82-security-privacy__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* General Content Sections */
.page-resources-jun82-security-privacy__content-section {
    padding: 60px 20px;
}

.page-resources-jun82-security-privacy__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-resources-jun82-security-privacy__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-resources-jun82-security-privacy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-jun82-security-privacy__paragraph a {
    color: #FFFF00; /* Yellow for links in paragraphs */
    text-decoration: underline;
}

.page-resources-jun82-security-privacy__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-resources-jun82-security-privacy__list-item {
    margin-bottom: 10px;
}

/* Background Color Handling */
.page-resources-jun82-security-privacy__dark-bg {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
}

.page-resources-jun82-security-privacy__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

.page-resources-jun82-security-privacy__light-bg .page-resources-jun82-security-privacy__section-title,
.page-resources-jun82-security-privacy__light-bg .page-resources-jun82-security-privacy__card-title {
    color: #017439; /* Brand primary color for titles on light background */
}

.page-resources-jun82-security-privacy__light-bg .page-resources-jun82-security-privacy__paragraph a {
    color: #017439; /* Brand primary color for links on light background */
}


/* Cards */
.page-resources-jun82-security-privacy__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-jun82-security-privacy__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.page-resources-jun82-security-privacy__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-jun82-security-privacy__light-bg .page-resources-jun82-security-privacy__card {
    background-color: #f8f8f8; /* Light grey for cards on light background */
    color: #333333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-jun82-security-privacy__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-jun82-security-privacy__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-jun82-security-privacy__card-text {
    font-size: 1em;
}

/* Images */
.page-resources-jun82-security-privacy__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Buttons */
.page-resources-jun82-security-privacy__btn-primary,
.page-resources-jun82-security-privacy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

/* Custom colors for Register/Login buttons as per strict instructions */
.page-resources-jun82-security-privacy__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-resources-jun82-security-privacy__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
    color: #ffffff; /* Use white on hover for better contrast if needed */
}

.page-resources-jun82-security-privacy__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-jun82-security-privacy__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
    border-color: #ffffff;
}

.page-resources-jun82-security-privacy__light-bg .page-resources-jun82-security-privacy__btn-secondary {
    color: #017439;
    border-color: #017439;
}

.page-resources-jun82-security-privacy__light-bg .page-resources-jun82-security-privacy__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-resources-jun82-security-privacy__cta-section {
    padding: 80px 20px;
}

.page-resources-jun82-security-privacy__text-center {
    text-align: center;
}

.page-resources-jun82-security-privacy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}


/* FAQ Section */
.page-resources-jun82-security-privacy__faq-container {
    max-width: 900px;
    margin: 40px auto;
}

.page-resources-jun82-security-privacy__faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-resources-jun82-security-privacy__light-bg .page-resources-jun82-security-privacy__faq-item {
    border-color: #e0e0e0;
}

.page-resources-jun82-security-privacy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter for questions on dark bg */
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-resources-jun82-security-privacy__light-bg .page-resources-jun82-security-privacy__faq-question {
    background-color: #f0f0f0;
    color: #017439;
}

.page-resources-jun82-security-privacy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-jun82-security-privacy__light-bg .page-resources-jun82-security-privacy__faq-question:hover {
    background-color: #e0e0e0;
}

.page-resources-jun82-security-privacy__faq-title {
    margin: 0;
    font-size: 1em; /* Adjust to fit parent font size */
    color: inherit;
}

.page-resources-jun82-security-privacy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-jun82-security-privacy__faq-item.active .page-resources-jun82-security-privacy__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-jun82-security-privacy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.02); /* Very slight background */
    color: #e0e0e0;
}

.page-resources-jun82-security-privacy__light-bg .page-resources-jun82-security-privacy__faq-answer {
    background-color: #ffffff;
    color: #333333;
}

.page-resources-jun82-security-privacy__faq-item.active .page-resources-jun82-security-privacy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px !important;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .page-resources-jun82-security-privacy__hero-section {
        height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure offset is applied */
    }

    .page-resources-jun82-security-privacy__hero-title {
        font-size: 2em;
    }

    .page-resources-jun82-security-privacy__hero-description {
        font-size: 1em;
    }

    .page-resources-jun82-security-privacy__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-jun82-security-privacy__btn-primary,
    .page-resources-jun82-security-privacy__btn-secondary {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-jun82-security-privacy__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-resources-jun82-security-privacy__section-title {
        font-size: 1.8em;
    }

    .page-resources-jun82-security-privacy__paragraph,
    .page-resources-jun82-security-privacy__list-item,
    .page-resources-jun82-security-privacy__card-text {
        font-size: 1em;
    }

    .page-resources-jun82-security-privacy__grid-layout,
    .page-resources-jun82-security-privacy__card-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile image responsive adaptations */
    .page-resources-jun82-security-privacy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-jun82-security-privacy__section,
    .page-resources-jun82-security-privacy__card,
    .page-resources-jun82-security-privacy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Content area images must be at least 200px. No small icons. */
    .page-resources-jun82-security-privacy__image-full-width {
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Ensure all content area images are not scaled down below 200px */
    .page-resources-jun82-security-privacy__content-section img {
        width: 100%; /* Occupy full width */
        height: auto; /* Maintain aspect ratio */
        min-width: 200px; /* Minimum size enforcement */
        min-height: 200px; /* Minimum size enforcement */
        object-fit: cover; /* Crop if needed to fill space */
    }

    /* FAQ specific mobile adjustments */
    .page-resources-jun82-security-privacy__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-resources-jun82-security-privacy__faq-answer {
        padding: 0 15px;
    }

    .page-resources-jun82-security-privacy__faq-item.active .page-resources-jun82-security-privacy__faq-answer {
        padding: 15px !important;
    }
}

/* Ensure no image filters are used */
.page-resources-jun82-security-privacy img {
    filter: none !important;
}

/* Content area images CSS dimensions lower bound */
.page-resources-jun82-security-privacy img {
    min-width: 200px;
    min-height: 200px;
}
.page-resources-jun82-security-privacy__card img {
    min-width: 200px;
    min-height: 200px;
}