.page-responsible-gaming {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1A202C; /* Dark text on light default body background */
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

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

/* Hero Section */
.page-responsible-gaming__hero-section {
    background-color: #f8f8f8; /* Light background for hero section */
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-responsible-gaming__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-responsible-gaming__hero-title {
    font-size: 3.2em;
    color: #1A202C;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-responsible-gaming__hero-description {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 30px;
}

.page-responsible-gaming__hero-image {
    max-width: 100%;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-responsible-gaming__hero-image img {
    display: block;
    width: 100%; /* Image fills its container */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-responsible-gaming__cta-button,
.page-responsible-gaming__tool-button,
.page-responsible-gaming__contact-button,
.page-responsible-gaming__detail-button,
.page-responsible-gaming__final-cta-button {
    display: inline-block;
    background-color: #FFD700; /* Accent color */
    color: #1A202C; /* Dark text on accent background */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px; /* Ensure buttons are not too small */
}

.page-responsible-gaming__cta-button:hover,
.page-responsible-gaming__tool-button:hover,
.page-responsible-gaming__contact-button:hover,
.page-responsible-gaming__detail-button:hover,
.page-responsible-gaming__final-cta-button:hover {
    background-color: #e6c200; /* Slightly darker accent on hover */
    transform: translateY(-2px);
}

/* General Section Styles */
.page-responsible-gaming__introduction-section,
.page-responsible-gaming__tools-section,
.page-responsible-gaming__identify-section,
.page-responsible-gaming__help-section,
.page-responsible-gaming__details-section,
.page-responsible-gaming__final-cta-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-responsible-gaming__introduction-section {
    background-color: #f0f2f5; /* Slightly off-white for contrast */
}

.page-responsible-gaming__section-title {
    font-size: 2.5em;
    color: #1A202C;
    text-align: center;
    margin-bottom: 40px;
}

.page-responsible-gaming__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Tools Grid */
.page-responsible-gaming__tools-grid,
.page-responsible-gaming__signs-grid,
.page-responsible-gaming__help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gaming__tool-card,
.page-responsible-gaming__sign-card,
.page-responsible-gaming__help-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

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

.page-responsible-gaming__tool-icon,
.page-responsible-gaming__sign-icon,
.page-responsible-gaming__help-icon {
    width: 100%; /* Make icons fill card width */
    max-width: 400px; /* Limit max width to prevent distortion */
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-responsible-gaming__tool-title,
.page-responsible-gaming__sign-title,
.page-responsible-gaming__help-title {
    font-size: 1.8em;
    color: #1A202C;
    margin-bottom: 15px;
}

.page-responsible-gaming__tool-description,
.page-responsible-gaming__help-description {
    font-size: 1em;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-responsible-gaming__sign-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
    color: #555;
}

.page-responsible-gaming__sign-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.page-responsible-gaming__sign-list li::before {
    content: '•';
    color: #FFD700;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Detail Pages Section */
.page-responsible-gaming__details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gaming__detail-item {
    background-color: #f0f2f5;
    border-left: 5px solid #FFD700;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-responsible-gaming__detail-title {
    font-size: 2em;
    color: #1A202C;
    margin-bottom: 15px;
}

.page-responsible-gaming__detail-title a {
    color: #1A202C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-responsible-gaming__detail-title a:hover {
    color: #FFD700;
}

.page-responsible-gaming__detail-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

/* Final CTA Section */
.page-responsible-gaming__final-cta-section {
    background-color: #1A202C; /* Dark background */
    color: #fff; /* Light text */
    text-align: center;
    padding: 80px 0;
}

.page-responsible-gaming__final-cta-section .page-responsible-gaming__section-title {
    color: #FFD700; /* Accent color for title */
}

.page-responsible-gaming__final-cta-section .page-responsible-gaming__text-content {
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-responsible-gaming__hero-title {
        font-size: 2.8em;
    }
    .page-responsible-gaming__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-responsible-gaming__hero-section {
        padding: 60px 0;
    }
    .page-responsible-gaming__hero-title {
        font-size: 2.2em;
    }
    .page-responsible-gaming__hero-description {
        font-size: 1em;
    }
    .page-responsible-gaming__section-title {
        font-size: 1.8em;
    }
    .page-responsible-gaming__text-content {
        font-size: 0.95em;
    }
    .page-responsible-gaming__cta-button,
    .page-responsible-gaming__tool-button,
    .page-responsible-gaming__contact-button,
    .page-responsible-gaming__detail-button,
    .page-responsible-gaming__final-cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100%; /* Ensure buttons don't overflow */
        box-sizing: border-box; /* Include padding in width calculation */
    }

    .page-responsible-gaming__tools-grid,
    .page-responsible-gaming__signs-grid,
    .page-responsible-gaming__help-grid {
        grid-template-columns: 1fr;
    }

    .page-responsible-gaming__tool-card,
    .page-responsible-gaming__sign-card,
    .page-responsible-gaming__help-card {
        padding: 20px;
    }

    /* Ensure images in content sections are responsive and don't overflow */
    .page-responsible-gaming img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images maintain minimum size if needed */
        min-height: 200px; /* Ensure images maintain minimum size if needed */
        box-sizing: border-box; /* Include padding/border in width */
    }
    /* Critical: Ensure all images within .page-responsible-gaming are responsive and do not cause horizontal scroll */
    .page-responsible-gaming__container,
    .page-responsible-gaming__hero-section,
    .page-responsible-gaming__introduction-section,
    .page-responsible-gaming__tools-section,
    .page-responsible-gaming__identify-section,
    .page-responsible-gaming__help-section,
    .page-responsible-gaming__details-section,
    .page-responsible-gaming__final-cta-section {
        max-width: 100%;
        overflow-x: hidden;
    }
    .page-responsible-gaming__tools-grid img,
    .page-responsible-gaming__signs-grid img,
    .page-responsible-gaming__help-grid img {
        width: 100%; /* Override specific width for responsive behavior */
        height: auto;
    }
}

/* Ensure all images within the content area (not just specific grids) are responsive */
.page-responsible-gaming img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevent extra space below images */
}

/* Ensure no image filter is applied */
.page-responsible-gaming img {
    filter: none !important; /* Explicitly ensure no filters are applied */
}