.page-resources-registration-guide {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #ffffff; /* Explicitly set for content area */
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

.page-resources-registration-guide__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    background-color: #000000; /* Dark background for hero section */
    color: #ffffff; /* Light text on dark hero background */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure hero section has a decent height */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-registration-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6; /* Slightly dim the background image for text readability */
}

.page-resources-registration-guide__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-registration-guide__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FCBC45; /* Highlight title with accent color */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-registration-guide__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-registration-guide__button-wrapper {
    margin-top: 30px;
    text-align: center;
}

.page-resources-registration-guide__button {
    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, transform 0.2s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-registration-guide__button--register {
    background-color: #FCBC45; /* Login accent color for register button */
    color: #000000; /* Dark text on accent background */
}

.page-resources-registration-guide__button--register:hover {
    background-color: #e0a33c;
    transform: translateY(-2px);
}

.page-resources-registration-guide__content-area {
    max-width: 800px; /* Article content width */
    margin: 0 auto;
    padding: 40px 20px;
}

.page-resources-registration-guide__section {
    margin-bottom: 60px;
}

.page-resources-registration-guide__section-title {
    font-size: 2.5em;
    color: #000000;
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 10px;
}

.page-resources-registration-guide__sub-section-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 35px;
    margin-bottom: 15px;
}

.page-resources-registration-guide__paragraph {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #333333;
}

.page-resources-registration-guide__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-resources-registration-guide__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    object-fit: cover;
}

.page-resources-registration-guide__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #333333;
}

.page-resources-registration-guide__list-item {
    margin-bottom: 10px;
}

.page-resources-registration-guide__link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-resources-registration-guide__link:hover {
    text-decoration: underline;
}

.page-resources-registration-guide__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f5f5f5;
    margin-top: 60px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-resources-registration-guide__cta-title {
    font-size: 2.2em;
    color: #000000;
    margin-bottom: 20px;
}

.page-resources-registration-guide__cta-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

.page-resources-registration-guide__back-to-resources {
    margin-top: 60px;
    text-align: center;
}

.page-resources-registration-guide__back-link {
    display: inline-block;
    padding: 10px 20px;
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #FCBC45;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-registration-guide__back-link:hover {
    background-color: #FCBC45;
    color: #000000;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-registration-guide__hero-section {
        padding: 60px 15px;
        min-height: 400px;
    }

    .page-resources-registration-guide__main-title {
        font-size: 2.5em;
    }

    .page-resources-registration-guide__intro-text {
        font-size: 1em;
    }

    .page-resources-registration-guide__section-title {
        font-size: 2em;
    }

    .page-resources-registration-guide__sub-section-title {
        font-size: 1.5em;
    }

    .page-resources-registration-guide__content-area {
        padding: 30px 15px;
    }

    .page-resources-registration-guide__content-image {
        max-width: 100%;
        height: auto;
        /* Ensure mobile images don't overflow */
        min-width: 200px; /* Enforce min size */
        min-height: 200px; /* Enforce min size */
    }

    .page-resources-registration-guide__button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-registration-guide__list,
    .page-resources-registration-guide__paragraph {
        font-size: 1em;
    }
}