.page-resources-what-is-x777-link {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Page background color */
}

/* Header offset for fixed header */
.page-resources-what-is-x777-link__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    position: relative;
    overflow: hidden; /* To contain the image if it's larger than the section */
    background-color: #000000; /* Dark background for hero section */
    color: #FFFFFF; /* Light text for dark hero background */
    text-align: center;
    padding-bottom: 60px; /* Add some padding below hero content */
}

.page-resources-what-is-x777-link__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4; /* Slightly dim the background image for text readability */
}

.page-resources-what-is-x777-link__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-what-is-x777-link__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-what-is-x777-link__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    color: #F0F0F0;
}

.page-resources-what-is-x777-link__hero-actions {
    display: flex;
    gap: 20px;
}

.page-resources-what-is-x777-link__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources-what-is-x777-link__hero-button--register {
    background-color: #FFFFFF; /* Register button background */
    color: #000000; /* Register button text */
    border: 2px solid #FFFFFF;
}

.page-resources-what-is-x777-link__hero-button--register:hover {
    background-color: #F0F0F0;
    transform: translateY(-2px);
}

.page-resources-what-is-x777-link__hero-button--login {
    background-color: #FCBC45; /* Login button background */
    color: #000000; /* Login button text */
    border: 2px solid #FCBC45;
}

.page-resources-what-is-x777-link__hero-button--login:hover {
    background-color: #E0A030;
    transform: translateY(-2px);
}

.page-resources-what-is-x777-link__content-area {
    max-width: 800px; /* Article content width */
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #FFFFFF; /* Light background for content area */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-top: -60px; /* Overlap with hero section for visual flow */
    position: relative;
    z-index: 3;
}

.page-resources-what-is-x777-link__back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-what-is-x777-link__back-link:hover {
    color: #FCBC45;
}

.page-resources-what-is-x777-link__article-heading {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #000000;
}

.page-resources-what-is-x777-link__article-paragraph {
    margin-bottom: 1em;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-resources-what-is-x777-link__keyword {
    color: #000000; /* Main color for keywords */
    font-weight: bold;
}

.page-resources-what-is-x777-link__article-list,
.page-resources-what-is-x777-link__article-ordered-list {
    margin-bottom: 1.5em;
    padding-left: 25px;
}

.page-resources-what-is-x777-link__article-list-item {
    margin-bottom: 0.8em;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-resources-what-is-x777-link__article-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min-width for images */
    min-height: 200px; /* Enforce min-height for images */
}

.page-resources-what-is-x777-link__call-to-action,
.page-resources-what-is-x777-link__final-call-to-action {
    background-color: #F8F8F8;
    border-left: 5px solid #FCBC45;
    padding: 25px;
    margin: 40px 0;
    border-radius: 8px;
    text-align: center;
}

.page-resources-what-is-x777-link__call-to-action-text {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #000000;
    font-weight: bold;
}

.page-resources-what-is-x777-link__call-to-action-button,
.page-resources-what-is-x777-link__final-call-to-action-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources-what-is-x777-link__call-to-action-button:hover,
.page-resources-what-is-x777-link__final-call-to-action-button:hover {
    background-color: #E0A030;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-what-is-x777-link__hero-title {
        font-size: 3em;
    }
    .page-resources-what-is-x777-link__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-resources-what-is-x777-link__hero-section {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
        padding-bottom: 40px;
    }

    .page-resources-what-is-x777-link__hero-title {
        font-size: 2.5em;
    }

    .page-resources-what-is-x777-link__hero-description {
        font-size: 1em;
    }

    .page-resources-what-is-x777-link__hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
    }

    .page-resources-what-is-x777-link__hero-button {
        width: 100%;
    }

    .page-resources-what-is-x777-link__content-area {
        padding: 20px 15px;
        margin-top: -40px;
    }

    .page-resources-what-is-x777-link__article-heading {
        font-size: 1.8em;
        margin-top: 30px;
    }

    .page-resources-what-is-x777-link__article-paragraph,
    .page-resources-what-is-x777-link__article-list-item {
        font-size: 1em;
    }

    /* Ensure content images are responsive and not too small */
    .page-resources-what-is-x777-link__article-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Still enforce min-width */
        min-height: 200px; /* Still enforce min-height */
    }

    .page-resources-what-is-x777-link__call-to-action-text {
        font-size: 1.1em;
    }

    .page-resources-what-is-x777-link__call-to-action-button,
    .page-resources-what-is-x777-link__final-call-to-action-button {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .page-resources-what-is-x777-link__hero-title {
        font-size: 2em;
    }
    .page-resources-what-is-x777-link__hero-description {
        font-size: 0.9em;
    }
    .page-resources-what-is-x777-link__hero-button {
        font-size: 1em;
        padding: 10px 20px;
    }
}