/* style/resources-security-fairness.css */

/* Base styles for the page content wrapper */
.page-resources-security-fairness {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for default light body background */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
    background-color: #f8f8f8; /* Light background for the content area */
}

/* Hero Section */
.page-resources-security-fairness__hero-section {
    position: relative;
    text-align: center;
    color: #ffffff; /* White text for hero overlay */
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
    overflow: hidden;
}

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

.page-resources-security-fairness__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources-security-fairness__hero-container {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-security-fairness__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-resources-security-fairness__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-security-fairness__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* General Content Area */
.page-resources-security-fairness__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #ffffff; /* White background for main content */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-top: -60px; /* Overlap with hero for visual flow */
    position: relative;
    z-index: 4;
}

.page-resources-security-fairness__section-title {
    font-size: 2.5em;
    color: #8B0000; /* Dark Red for section titles */
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid #FFD700; /* Gold underline */
}

.page-resources-security-fairness__sub-section-title {
    font-size: 2em;
    color: #8B0000;
    margin-top: 50px;
    margin-bottom: 25px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

.page-resources-security-fairness__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Feature Grid */
.page-resources-security-fairness__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources-security-fairness__feature-card {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-security-fairness__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-resources-security-fairness__feature-icon {
    width: 200px; /* Minimum size requirement */
    height: auto;
    max-width: 100%; /* Ensure responsiveness */
    margin-bottom: 20px;
    border-radius: 4px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
}

.page-resources-security-fairness__card-title {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-resources-security-fairness__card-description {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

/* List Styles */
.page-resources-security-fairness__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-resources-security-fairness__list-item {
    background-color: #fffaf0; /* Light gold tint */
    border-left: 4px solid #FFD700;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.02);
}

.page-resources-security-fairness__list-item-title {
    font-size: 1.3em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-resources-security-fairness__list-item-description {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

/* Call to Action Section */
.page-resources-security-fairness__cta-section {
    text-align: center;
    background-color: #8B0000; /* Dark Red background for CTA */
    color: #ffffff;
    padding: 50px 20px;
    border-radius: 8px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.page-resources-security-fairness__cta-text {
    font-size: 1.8em;
    margin-bottom: 30px;
    line-height: 1.3;
}

/* Buttons */
.page-resources-security-fairness__button {
    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, transform 0.2s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-resources-security-fairness__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #8B0000; /* Dark Red text */
}

.page-resources-security-fairness__button--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-resources-security-fairness__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-resources-security-fairness__button--secondary:hover {
    background-color: #FFD700;
    color: #8B0000;
    transform: translateY(-2px);
}

.page-resources-security-fairness__button--tertiary {
    background-color: #f0f0f0;
    color: #8B0000;
    border: 1px solid #cccccc;
    padding: 10px 20px;
    font-size: 1em;
}

.page-resources-security-fairness__button--tertiary:hover {
    background-color: #e0e0e0;
    color: #8B0000;
    transform: translateY(-2px);
}


/* Related Resources */
.page-resources-security-fairness__related-resources {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    text-align: center;
}

.page-resources-security-fairness__related-title {
    font-size: 2em;
    color: #8B0000;
    margin-bottom: 30px;
}

.page-resources-security-fairness__related-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.page-resources-security-fairness__related-item {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1.05em;
}

.page-resources-security-fairness__related-item a {
    text-decoration: none;
    color: #8B0000;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-security-fairness__related-item a:hover {
    color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-security-fairness__hero-title {
        font-size: 2.2em;
    }

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

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

    .page-resources-security-fairness__sub-section-title {
        font-size: 1.6em;
    }

    .page-resources-security-fairness__content-area {
        padding: 30px 15px;
    }

    .page-resources-security-fairness__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-security-fairness__cta-text {
        font-size: 1.4em;
    }

    .page-resources-security-fairness__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Mobile content image constraint */
    .page-resources-security-fairness__content-area img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-resources-security-fairness__hero-section {
        padding: 60px 15px;
    }

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

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

    .page-resources-security-fairness__sub-section-title {
        font-size: 1.4em;
    }
}