.page-resources-online-gambling-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Ensure content background matches body */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-online-gambling-guide__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #FFFFFF; /* Text on hero image should be light */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero */
}

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

.page-resources-online-gambling-guide__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-resources-online-gambling-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Highlight with login color */
    line-height: 1.2;
}

.page-resources-online-gambling-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-resources-online-gambling-guide__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-online-gambling-guide__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, color 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-resources-online-gambling-guide__button--register {
    background-color: #FFFFFF;
    color: #000000;
}

.page-resources-online-gambling-guide__button--register:hover {
    background-color: #f0f0f0;
    color: #333333;
}

.page-resources-online-gambling-guide__button--login {
    background-color: #FCBC45;
    color: #000000;
}

.page-resources-online-gambling-guide__button--login:hover {
    background-color: #e0a538;
    color: #333333;
}

.page-resources-online-gambling-guide__article-section {
    padding: 40px 20px;
}

.page-resources-online-gambling-guide__content-wrapper {
    max-width: 800px; /* Article content width */
    margin: 0 auto;
}

.page-resources-online-gambling-guide__article-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    text-align: center;
    color: #555555;
}

.page-resources-online-gambling-guide__article-heading {
    font-size: 2em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 10px;
}

.page-resources-online-gambling-guide__article-subheading {
    font-size: 1.5em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-online-gambling-guide__article-paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

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

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

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

.page-resources-online-gambling-guide__article-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px; /* Minimum size for content images */
}

.page-resources-online-gambling-guide__button--explore,
.page-resources-online-gambling-guide__button--learn-more,
.page-resources-online-gambling-guide__button--download,
.page-resources-online-gambling-guide__button--deposit {
    background-color: #000000;
    color: #FFFFFF;
    margin-top: 15px;
    margin-right: 10px;
}

.page-resources-online-gambling-guide__button--explore:hover,
.page-resources-online-gambling-guide__button--learn-more:hover,
.page-resources-online-gambling-guide__button--download:hover,
.page-resources-online-gambling-guide__button--deposit:hover {
    background-color: #333333;
}

.page-resources-online-gambling-guide__button--register-large {
    background-color: #FCBC45;
    color: #000000;
    padding: 18px 35px;
    font-size: 1.2em;
    margin-top: 30px;
}

.page-resources-online-gambling-guide__button--register-large:hover {
    background-color: #e0a538;
    color: #333333;
}

.page-resources-online-gambling-guide__call-to-action {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources-online-gambling-guide__call-to-action-text {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-resources-online-gambling-guide__back-link-wrapper {
    text-align: center;
    margin-top: 40px;
}

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

.page-resources-online-gambling-guide__back-link:hover {
    background-color: #FCBC45;
    color: #000000;
}

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

    .page-resources-online-gambling-guide__hero-description {
        font-size: 1em;
    }

    .page-resources-online-gambling-guide__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-online-gambling-guide__button {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-resources-online-gambling-guide__article-heading {
        font-size: 1.6em;
    }

    .page-resources-online-gambling-guide__article-subheading {
        font-size: 1.3em;
    }

    .page-resources-online-gambling-guide__article-paragraph,
    .page-resources-online-gambling-guide__list,
    .page-resources-online-gambling-guide__list-item {
        font-size: 1em;
    }

    .page-resources-online-gambling-guide__call-to-action-text {
        font-size: 1.2em;
    }

    .page-resources-online-gambling-guide__article-image {
        max-width: 100%; /* Ensure images don't overflow on mobile */
        height: auto;
    }
}