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

.page-resources-online-gambling-safety__hero-section {
    background-color: #000000; /* Dark background for hero */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-online-gambling-safety__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 1;
}

.page-resources-online-gambling-safety__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-online-gambling-safety__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-online-gambling-safety__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

.page-resources-online-gambling-safety__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 150px; /* Ensure buttons are not too small */
    text-align: center;
    cursor: pointer;
}

.page-resources-online-gambling-safety__button--register {
    background-color: #ffffff; /* Register button color */
    color: #000000;
    border: 2px solid #ffffff;
}

.page-resources-online-gambling-safety__button--register:hover {
    background-color: transparent;
    color: #ffffff;
}

.page-resources-online-gambling-safety__button--login {
    background-color: #FCBC45; /* Login button color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-resources-online-gambling-safety__button--login:hover {
    background-color: transparent;
    color: #FCBC45;
}

.page-resources-online-gambling-safety__content-area {
    max-width: 800px; /* Content width for comfortable reading */
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff; /* Explicitly white background for content */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-online-gambling-safety__article {
    padding: 20px 0;
}

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

.page-resources-online-gambling-safety__sub-section-title {
    font-size: 1.5em;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-online-gambling-safety__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

.page-resources-online-gambling-safety__image-centered {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
}

.page-resources-online-gambling-safety__cta-section {
    background-color: #000000;
    color: #ffffff;
    padding: 50px 20px;
    text-align: center;
    border-radius: 8px;
    margin-top: 50px;
}

.page-resources-online-gambling-safety__cta-text {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #ffffff;
}

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

.page-resources-online-gambling-safety__button--download {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-resources-online-gambling-safety__button--download:hover {
    background-color: transparent;
    color: #FCBC45;
}

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

.page-resources-online-gambling-safety__return-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.page-resources-online-gambling-safety__return-link:hover {
    background-color: #333333;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-resources-online-gambling-safety {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }

    .page-resources-online-gambling-safety__hero-title {
        font-size: 2em;
    }

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

    .page-resources-online-gambling-safety__hero-actions,
    .page-resources-online-gambling-safety__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-online-gambling-safety__button {
        width: 100%;
        max-width: 300px; /* Constrain button width on small screens */
        margin: 0 auto;
    }

    .page-resources-online-gambling-safety__content-area {
        padding: 15px;
        margin: 20px auto;
    }

    .page-resources-online-gambling-safety__section-title {
        font-size: 1.6em;
    }

    .page-resources-online-gambling-safety__sub-section-title {
        font-size: 1.3em;
    }

    .page-resources-online-gambling-safety__paragraph {
        font-size: 1em;
    }
    
    .page-resources-online-gambling-safety img {
        max-width: 100%;
        height: auto;
    }

    .page-resources-online-gambling-safety__cta-text {
        font-size: 1.4em;
    }
}