/* style/resources-18win-full-security-fairness.css */

/* Base styles for the page content */
.page-resources-18win-full-security-fairness {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF; /* Default background, will be overridden by shared.css var(--bg-color) */
}

/* Hero Section */
.page-resources-18win-full-security-fairness__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #017439; /* Brand primary color for hero */
    color: #ffffff; /* White text for dark background */
    overflow: hidden; /* Prevent content overflow */
}

.page-resources-18win-full-security-fairness__hero-content {
    max-width: 900px;
    z-index: 1;
    margin-bottom: 40px;
}

.page-resources-18win-full-security-fairness__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.2;
}

.page-resources-18win-full-security-fairness__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-18win-full-security-fairness__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-18win-full-security-fairness__btn-primary,
.page-resources-18win-full-security-fairness__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt to container width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-18win-full-security-fairness__btn-primary {
    background-color: #C30808; /* Red for primary CTA (Register/Login) */
    color: #FFFF00; /* Yellow text for primary CTA */
    border: 2px solid #C30808;
}

.page-resources-18win-full-security-fairness__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-resources-18win-full-security-fairness__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Brand primary color for secondary CTA */
    border: 2px solid #017439;
}

.page-resources-18win-full-security-fairness__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

.page-resources-18win-full-security-fairness__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-resources-18win-full-security-fairness__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay effect */
    filter: none; /* No color filter */
}

/* Content Area */
.page-resources-18win-full-security-fairness__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-resources-18win-full-security-fairness__light-bg {
    background-color: #FFFFFF; /* Light background for content sections */
    color: #333333;
}

.page-resources-18win-full-security-fairness__dark-section {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff; /* White text for dark background */
}

.page-resources-18win-full-security-fairness__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherit color from parent section */
}

.page-resources-18win-full-security-fairness__text-block {
    margin-bottom: 30px;
    font-size: 1.1em;
}

.page-resources-18win-full-security-fairness__text-block p {
    margin-bottom: 15px;
}

.page-resources-18win-full-security-fairness__image-container {
    text-align: center;
    margin: 40px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-resources-18win-full-security-fairness__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    filter: none; /* No color filter */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* FAQ Section */
.page-resources-18win-full-security-fairness__faq-section {
    padding: 60px 20px;
    background-color: #017439; /* Brand primary color for FAQ section */
    color: #ffffff; /* White text for dark background */
    text-align: center;
}

.page-resources-18win-full-security-fairness__faq-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-resources-18win-full-security-fairness__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-resources-18win-full-security-fairness__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-18win-full-security-fairness__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
}

.page-resources-18win-full-security-fairness__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFFF00; /* Yellow for toggle icon */
}

.page-resources-18win-full-security-fairness__faq-item.active .page-resources-18win-full-security-fairness__faq-toggle {
    transform: rotate(45deg); /* Rotate to form 'x' or '-' */
}

.page-resources-18win-full-security-fairness__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-resources-18win-full-security-fairness__faq-item.active .page-resources-18win-full-security-fairness__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 20px;
}

/* Conclusion Section */
.page-resources-18win-full-security-fairness__conclusion-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #FFFFFF;
    color: #333333;
}

.page-resources-18win-full-security-fairness__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-18win-full-security-fairness__hero-title {
        font-size: 2.8em;
    }
    .page-resources-18win-full-security-fairness__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-18win-full-security-fairness {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-18win-full-security-fairness__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        text-align: center;
    }

    .page-resources-18win-full-security-fairness__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-resources-18win-full-security-fairness__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-resources-18win-full-security-fairness__hero-cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .page-resources-18win-full-security-fairness__btn-primary,
    .page-resources-18win-full-security-fairness__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-18win-full-security-fairness__content-area,
    .page-resources-18win-full-security-fairness__faq-section,
    .page-resources-18win-full-security-fairness__conclusion-section {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-resources-18win-full-security-fairness__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-resources-18win-full-security-fairness__text-block {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-resources-18win-full-security-fairness img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Re-enforce minimum size */
        min-height: 200px !important; /* Re-enforce minimum size */
    }

    .page-resources-18win-full-security-fairness__image-container {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to prevent images touching edges */
    }

    /* FAQ specific mobile adjustments */
    .page-resources-18win-full-security-fairness__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-resources-18win-full-security-fairness__faq-answer {
        padding: 0 20px;
    }

    .page-resources-18win-full-security-fairness__faq-item.active .page-resources-18win-full-security-fairness__faq-answer {
        padding: 10px 20px 15px;
    }
}