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

.page-resources-online-betting-guide__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
}

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

.page-resources-online-betting-guide__hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    padding: 40px 20px;
    border-radius: 8px;
    max-width: 900px;
    margin: 20px;
    color: #ffffff;
}

.page-resources-online-betting-guide__hero-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-online-betting-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-online-betting-guide__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Primary gold button */
    color: #8B0000; /* Deep red text for contrast */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFD700;
}

.page-resources-online-betting-guide__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-resources-online-betting-guide__content-area {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-resources-online-betting-guide__article-navigation {
    margin-bottom: 30px;
    text-align: left;
}

.page-resources-online-betting-guide__back-link {
    color: #8B0000; /* Deep red for link */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-resources-online-betting-guide__back-link:hover {
    color: #FFD700; /* Gold on hover */
}

.page-resources-online-betting-guide__article {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-online-betting-guide__article-heading {
    font-size: 2em;
    color: #8B0000; /* Deep red for main headings */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 3px solid #FFD700; /* Gold underline */
    padding-bottom: 10px;
}

.page-resources-online-betting-guide__sub-heading {
    font-size: 1.5em;
    color: #FFD700; /* Gold for sub-headings */
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-resources-online-betting-guide__article-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px 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-online-betting-guide__inline-link {
    color: #8B0000;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-online-betting-guide__inline-link:hover {
    color: #FFD700;
}

.page-resources-online-betting-guide__bullet-list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-resources-online-betting-guide__bullet-list li {
    margin-bottom: 10px;
}

.page-resources-online-betting-guide__action-button {
    display: inline-block;
    background-color: #8B0000; /* Deep red button */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    border: 2px solid #8B0000;
}

.page-resources-online-betting-guide__action-button:hover {
    background-color: #a00000;
    transform: translateY(-2px);
}

.page-resources-online-betting-guide__action-button--primary {
    background-color: #FFD700;
    color: #8B0000;
    border-color: #FFD700;
    margin-right: 15px;
}

.page-resources-online-betting-guide__action-button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-resources-online-betting-guide__action-button--secondary {
    background-color: #8B0000;
    color: #ffffff;
    border-color: #8B0000;
}

.page-resources-online-betting-guide__action-button--secondary:hover {
    background-color: #a00000;
    border-color: #a00000;
}

.page-resources-online-betting-guide__call-to-action {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #cccccc;
}

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

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

    .page-resources-online-betting-guide__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

    .page-resources-online-betting-guide__sub-heading {
        font-size: 1.3em;
    }

    .page-resources-online-betting-guide__article-paragraph,
    .page-resources-online-betting-guide__bullet-list {
        font-size: 1em;
    }

    .page-resources-online-betting-guide__action-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    
    .page-resources-online-betting-guide__call-to-action {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .page-resources-online-betting-guide__action-button--primary {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-online-betting-guide__hero-overlay {
        padding: 20px 15px;
    }

    .page-resources-online-betting-guide__hero-title {
        font-size: 1.5em;
    }

    .page-resources-online-betting-guide__hero-description {
        font-size: 0.9em;
    }

    .page-resources-online-betting-guide__content-area {
        padding: 0 15px;
    }

    .page-resources-online-betting-guide__article {
        padding: 20px;
    }
}