.page-responsible-gaming {
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for default light body background */
    line-height: 1.6;
    background-color: #f8f8f8; /* Slightly off-white background for the page content */
}

.page-responsible-gaming__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-responsible-gaming__section-title {
    font-size: 2.8em;
    color: #0A1F3B; /* Main brand dark blue */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    padding-top: 40px;
}

.page-responsible-gaming__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #555555;
}

/* Hero Section */
.page-responsible-gaming__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #0A1F3B; /* Dark blue background for hero */
    color: #ffffff;
    padding: 80px 20px; /* Adjust padding as needed, considering header offset */
}

.page-responsible-gaming__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-responsible-gaming__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-responsible-gaming__hero-description {
    font-size: 1.3em;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.page-responsible-gaming__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-responsible-gaming__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
}

.page-responsible-gaming__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Buttons */
.page-responsible-gaming__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.page-responsible-gaming__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A1F3B; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-responsible-gaming__button--primary:hover {
    background-color: #e6c200;
    color: #000000;
    transform: translateY(-2px);
}

.page-responsible-gaming__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-responsible-gaming__button--secondary:hover {
    background-color: #FFD700;
    color: #0A1F3B;
    transform: translateY(-2px);
}

.page-responsible-gaming__button--link {
    background-color: transparent;
    color: #0A1F3B; /* Dark blue text */
    border: none;
    padding: 5px 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-responsible-gaming__button--link:hover {
    color: #FFD700; /* Gold on hover */
    text-decoration: none;
}

/* Principles Section */
.page-responsible-gaming__principles-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-responsible-gaming__principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-responsible-gaming__principle-card {
    background-color: #f0f0f0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gaming__principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming__principle-card img {
    width: 100%; /* Ensure images are responsive within cards */
    max-width: 400px; /* Constrain max width for larger images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size constraint */
    min-height: 200px; /* Minimum image size constraint */
    object-fit: cover;
}

.page-responsible-gaming__card-title {
    font-size: 1.6em;
    color: #0A1F3B;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-responsible-gaming__card-text {
    font-size: 1em;
    color: #666666;
}

/* Tools Section */
.page-responsible-gaming__tools-section {
    padding: 80px 0;
    background-color: #f0f5f9; /* Lighter blue-grey background */
}

.page-responsible-gaming__tool-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.3s ease;
}

.page-responsible-gaming__tool-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.page-responsible-gaming__tool-title {
    font-size: 1.8em;
    color: #0A1F3B;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-responsible-gaming__tool-description {
    font-size: 1.05em;
    color: #555555;
    margin-bottom: 20px;
}

/* Risk Assessment Section */
.page-responsible-gaming__risk-assessment {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-responsible-gaming__risk-list {
    list-style: none;
    padding: 0;
    margin: 50px auto;
    max-width: 900px;
}

.page-responsible-gaming__risk-item {
    background-color: #fffaf0; /* Light gold background for list items */
    border-left: 5px solid #FFD700; /* Gold border */
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333333;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-responsible-gaming__risk-conclusion {
    font-size: 1.2em;
    text-align: center;
    margin-top: 40px;
    font-weight: bold;
    color: #0A1F3B;
}

/* Help Resources Section */
.page-responsible-gaming__help-resources {
    padding: 80px 0;
    background-color: #0A1F3B; /* Dark blue background */
    color: #ffffff;
}

.page-responsible-gaming__help-resources .page-responsible-gaming__section-title,
.page-responsible-gaming__help-resources .page-responsible-gaming__section-description {
    color: #ffffff;
}

.page-responsible-gaming__resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-responsible-gaming__resource-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-responsible-gaming__resource-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-responsible-gaming__resource-card img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size constraint */
    min-height: 200px; /* Minimum image size constraint */
    object-fit: cover;
}

.page-responsible-gaming__help-resources .page-responsible-gaming__card-title {
    color: #FFD700; /* Gold title */
}

.page-responsible-gaming__help-resources .page-responsible-gaming__card-text {
    color: #e0e0e0;
}