.page-resources-responsible-gaming-policy {
    color: #333333; /* Dark text for light body background */
}

.page-resources-responsible-gaming-policy__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    background-color: #1A202C;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure sufficient height */
    padding-bottom: 40px;
}

.page-resources-responsible-gaming-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the background image */
    z-index: 0;
}

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

.page-resources-responsible-gaming-policy__hero-title {
    font-size: 3.2em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-responsible-gaming-policy__hero-description {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-responsible-gaming-policy__hero-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-responsible-gaming-policy__hero-button:hover {
    background-color: #e5c100;
    transform: translateY(-2px);
}

.page-resources-responsible-gaming-policy__content-area {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.7;
    font-size: 1.1em;
}

.page-resources-responsible-gaming-policy__article-header {
    margin-bottom: 40px;
}

.page-resources-responsible-gaming-policy__back-link {
    display: inline-block;
    color: #1A202C;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border: 1px solid #1A202C;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-responsible-gaming-policy__back-link:hover {
    background-color: #1A202C;
    color: #FFD700;
}

.page-resources-responsible-gaming-policy__article-heading {
    font-size: 2.2em;
    color: #1A202C;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.page-resources-responsible-gaming-policy__article-subheading {
    font-size: 1.6em;
    color: #1A202C;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-responsible-gaming-policy__article-paragraph {
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-responsible-gaming-policy__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-resources-responsible-gaming-policy__list--ordered {
    list-style: decimal;
}

.page-resources-responsible-gaming-policy__list-item {
    margin-bottom: 10px;
}

.page-resources-responsible-gaming-policy__article-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-responsible-gaming-policy__call-to-action {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
}

.page-resources-responsible-gaming-policy__button {
    display: inline-block;
    background-color: #1A202C;
    color: #FFD700;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px;
    border: 2px solid #1A202C;
    cursor: pointer;
}

.page-resources-responsible-gaming-policy__button:hover {
    background-color: #333d4f;
    transform: translateY(-2px);
}

.page-resources-responsible-gaming-policy__button--secondary {
    background-color: #FFD700;
    color: #1A202C;
    border-color: #FFD700;
}

.page-resources-responsible-gaming-policy__button--secondary:hover {
    background-color: #e5c100;
    border-color: #e5c100;
    color: #1A202C;
}

.page-resources-responsible-gaming-policy__list-item a {
    color: #1A202C;
    text-decoration: underline;
    font-weight: bold;
}

.page-resources-responsible-gaming-policy__list-item a:hover {
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-responsible-gaming-policy__hero-title {
        font-size: 2.5em;
    }

    .page-resources-responsible-gaming-policy__hero-description {
        font-size: 1em;
    }

    .page-resources-responsible-gaming-policy__article-heading {
        font-size: 1.8em;
    }

    .page-resources-responsible-gaming-policy__article-subheading {
        font-size: 1.4em;
    }

    .page-resources-responsible-gaming-policy__content-area {
        padding: 0 15px;
    }

    .page-resources-responsible-gaming-policy__hero-button,
    .page-resources-responsible-gaming-policy__button {
        padding: 12px 25px;
        font-size: 1em;
        margin: 8px;
    }

    .page-resources-responsible-gaming-policy__article-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and don't overflow */
    }

    /* Ensure all images within content area are responsive */
    .page-resources-responsible-gaming-policy img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-resources-responsible-gaming-policy__hero-title {
        font-size: 2em;
    }

    .page-resources-responsible-gaming-policy__hero-button,
    .page-resources-responsible-gaming-policy__button {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
    }
}