.page-resources-security-trust {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Explicitly setting background as per default */
}

.page-resources-security-trust__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    color: #FFFFFF; /* White text for hero section */
    text-align: center;
    overflow: hidden; /* To contain the image and overlay */
    min-height: 500px; /* Ensure hero section has a minimum height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-resources-security-trust__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-resources-security-trust__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the area */
    display: block;
}

.page-resources-security-trust__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px; /* Adjust padding for content */
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay for readability */
    border-radius: 10px;
}

.page-resources-security-trust__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-resources-security-trust__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-resources-security-trust__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-resources-security-trust__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 150px; /* Ensure buttons are not too small */
    text-align: center;
    font-size: 1.1em;
    cursor: pointer;
}

.page-resources-security-trust__button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-resources-security-trust__button--register:hover {
    background-color: #F0F0F0;
    color: #000000;
}

.page-resources-security-trust__button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-resources-security-trust__button--login:hover {
    background-color: #E0A53C;
    color: #000000;
}

.page-resources-security-trust__content-wrapper {
    max-width: 800px; /* Content width for readability */
    margin: 0 auto;
    padding: 60px 20px;
}

.page-resources-security-trust__article {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-security-trust__article-heading {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-resources-security-trust__article-subheading {
    font-size: 1.8em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-security-trust__article-paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #333333;
}

.page-resources-security-trust__image-container {
    margin: 30px 0;
    text-align: center;
}

.page-resources-security-trust__image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block; /* Ensure it's a block element for margin auto */
    margin: 0 auto; /* Center the image */
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
    width: 800px; /* Set display width */
    height: 600px; /* Set display height */
    object-fit: cover; /* Maintain aspect ratio and cover the area */
}

.page-resources-security-trust__article-conclusion-heading {
    font-size: 2.2em;
    color: #000000;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-resources-security-trust__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-resources-security-trust__button--explore {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-resources-security-trust__button--explore:hover {
    background-color: #333333;
    color: #FFFFFF;
}

.page-resources-security-trust__back-link {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
}

.page-resources-security-trust__link {
    color: #000000;
    text-decoration: underline;
    font-weight: bold;
}

.page-resources-security-trust__link:hover {
    color: #FCBC45;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-security-trust__hero-content {
        padding: 60px 15px;
    }

    .page-resources-security-trust__hero-title {
        font-size: 2.2em;
    }

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

    .page-resources-security-trust__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-security-trust__button {
        width: 80%;
        margin: 0 auto;
    }

    .page-resources-security-trust__content-wrapper {
        padding: 30px 15px;
    }

    .page-resources-security-trust__article-heading {
        font-size: 2em;
    }

    .page-resources-security-trust__article-subheading {
        font-size: 1.5em;
    }

    .page-resources-security-trust__article-paragraph {
        font-size: 1em;
    }

    .page-resources-security-trust__image-container img {
        max-width: 100%;
        height: auto;
        width: 100%; /* Ensure mobile images scale */
        min-width: 200px; /* Still enforce min size */
        min-height: 200px; /* Still enforce min size */
    }

    .page-resources-security-trust__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Ensure content area does not cause horizontal scroll */
    .page-resources-security-trust {
        max-width: 100%;
        overflow-x: hidden;
    }
}