.page-resources-online-betting-safety-guide {
    color: #333333; /* Dark text for light body background */
}

.page-resources-online-betting-safety-guide__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content isn't hidden by fixed header */
}

.page-resources-online-betting-safety-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-resources-online-betting-safety-guide__hero-container {
    position: relative;
    max-width: 100%; /* Ensure it doesn't cause horizontal scroll */
    margin: 0 auto;
}

.page-resources-online-betting-safety-guide__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF; /* White text on dimmed hero image */
    max-width: 900px;
    padding: 20px;
    z-index: 1;
}

.page-resources-online-betting-safety-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-online-betting-safety-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-online-betting-safety-guide__hero-cta-button {
    display: inline-block;
    background-color: #FCBC45; /* Login color for CTA */
    color: #000000; /* Black text for CTA */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-resources-online-betting-safety-guide__hero-cta-button:hover {
    background-color: #e0a53b;
}

.page-resources-online-betting-safety-guide__content-area {
    max-width: 900px; /* Content width for readability */
    margin: 40px auto;
    padding: 20px;
    line-height: 1.8;
    font-size: 1.1em;
    background-color: #FFFFFF; /* Ensure content background is white */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.page-resources-online-betting-safety-guide__section-title {
    font-size: 2.2em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.page-resources-online-betting-safety-guide__intro-paragraph,
.page-resources-online-betting-safety-guide__conclusion-paragraph {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-align: justify;
    font-weight: 500;
}

.page-resources-online-betting-safety-guide__subsection-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #FCBC45; /* Highlight with accent color */
    padding-bottom: 10px;
}

.page-resources-online-betting-safety-guide__paragraph {
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-online-betting-safety-guide__list {
    list-style: disc;
    margin-left: 40px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-resources-online-betting-safety-guide__list-item {
    margin-bottom: 10px;
    text-align: justify;
}

.page-resources-online-betting-safety-guide__content-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-size for images */
    min-height: 200px;
}

.page-resources-online-betting-safety-guide__cta-buttons {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
}

.page-resources-online-betting-safety-guide__cta-button {
    display: inline-block;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    margin: 0 15px;
    transition: all 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-resources-online-betting-safety-guide__cta-button--register {
    background-color: #000000; /* Primary color for register */
    color: #FFFFFF; /* White text on black button */
    border: 2px solid #000000;
}

.page-resources-online-betting-safety-guide__cta-button--register:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-resources-online-betting-safety-guide__cta-button--login {
    background-color: #FCBC45; /* Login color for login button */
    color: #000000; /* Black text on yellow button */
    border: 2px solid #FCBC45;
}

.page-resources-online-betting-safety-guide__cta-button--login:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

.page-resources-online-betting-safety-guide__return-link-wrapper {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.page-resources-online-betting-safety-guide__return-link {
    color: #FCBC45; /* Accent color for links */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-resources-online-betting-safety-guide__return-link:hover {
    color: #e0a53b;
    text-decoration: underline;
}

/* Animation for JS */
.page-resources-online-betting-safety-guide--hidden {
    opacity: 0;
    transform: translateY(20px);
}

.page-resources-online-betting-safety-guide--fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-resources-online-betting-safety-guide__hero-title {
        font-size: 3em;
    }
    .page-resources-online-betting-safety-guide__hero-description {
        font-size: 1.1em;
    }
    .page-resources-online-betting-safety-guide__hero-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources-online-betting-safety-guide__section-title {
        font-size: 2em;
    }
    .page-resources-online-betting-safety-guide__subsection-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-resources-online-betting-safety-guide__hero-title {
        font-size: 2.2em;
    }
    .page-resources-online-betting-safety-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-online-betting-safety-guide__hero-content {
        max-width: 90%;
    }
    .page-resources-online-betting-safety-guide__content-area {
        padding: 15px;
        margin: 20px auto;
    }
    .page-resources-online-betting-safety-guide__section-title {
        font-size: 1.8em;
    }
    .page-resources-online-betting-safety-guide__subsection-title {
        font-size: 1.4em;
    }
    .page-resources-online-betting-safety-guide__list {
        margin-left: 20px;
    }
    .page-resources-online-betting-safety-guide__cta-button {
        display: block;
        margin: 15px auto;
        width: calc(100% - 30px); /* Adjust for padding/margin */
    }
    /* Ensure content images do not overflow */
    .page-resources-online-betting-safety-guide__content-image {
        max-width: 100%;
        height: auto;
    }
    /* Mobile content area images - specific override for all img tags within the page content */
    .page-resources-online-betting-safety-guide img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-resources-online-betting-safety-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-online-betting-safety-guide__hero-description {
        font-size: 0.9em;
    }
    .page-resources-online-betting-safety-guide__hero-cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-resources-online-betting-safety-guide__section-title {
        font-size: 1.5em;
    }
    .page-resources-online-betting-safety-guide__subsection-title {
        font-size: 1.2em;
    }
    .page-resources-online-betting-safety-guide__intro-paragraph,
    .page-resources-online-betting-safety-guide__conclusion-paragraph {
        font-size: 1em;
    }
    .page-resources-online-betting-safety-guide__paragraph,
    .page-resources-online-betting-safety-guide__list-item {
        font-size: 0.95em;
    }
}