.page-responsible-gaming-self-exclusion-tools {
    background-color: var(--bg-color, #F4F7FB);
    color: var(--text-main-color, #1F2D3D);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-responsible-gaming-self-exclusion-tools__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-responsible-gaming-self-exclusion-tools__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background: linear-gradient(180deg, var(--primary-color, #2F6BFF) 0%, var(--secondary-color, #6FA3FF) 100%);
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-responsible-gaming-self-exclusion-tools__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image wrapper */
    margin-bottom: 20px;
}

.page-responsible-gaming-self-exclusion-tools__hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure no extra space below image */
}

.page-responsible-gaming-self-exclusion-tools__hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: #FFFFFF;
}

.page-responsible-gaming-self-exclusion-tools__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-responsible-gaming-self-exclusion-tools__subtitle {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #E0E0E0;
}

.page-responsible-gaming-self-exclusion-tools__cta-button {
    display: inline-block;
    background: var(--button-color, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 5px;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-responsible-gaming-self-exclusion-tools__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slightly different gradient on hover */
    transform: translateY(-2px);
}

.page-responsible-gaming-self-exclusion-tools__cta-button--secondary {
    background: #FFFFFF;
    color: var(--primary-color, #2F6BFF);
    border: 1px solid var(--primary-color, #2F6BFF);
}

.page-responsible-gaming-self-exclusion-tools__cta-button--secondary:hover {
    background: var(--primary-color, #2F6BFF);
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.page-responsible-gaming-self-exclusion-tools__intro-section,
.page-responsible-gaming-self-exclusion-tools__tools-section,
.page-responsible-gaming-self-exclusion-tools__how-to-section,
.page-responsible-gaming-self-exclusion-tools__support-section {
    padding: 60px 0;
}

.page-responsible-gaming-self-exclusion-tools__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--text-main-color, #1F2D3D);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-responsible-gaming-self-exclusion-tools__text-block {
    font-size: 1.05em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-responsible-gaming-self-exclusion-tools__tool-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gaming-self-exclusion-tools__tool-card {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color, #D6E2FF);
}

.page-responsible-gaming-self-exclusion-tools__tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-responsible-gaming-self-exclusion-tools__tool-icon {
    width: 200px; /* Min size */
    height: 150px; /* Min size, adjust as needed */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-responsible-gaming-self-exclusion-tools__tool-card-title {
    font-size: 1.4em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-responsible-gaming-self-exclusion-tools__tool-card-description {
    font-size: 0.95em;
    color: var(--text-main-color, #1F2D3D);
}

.page-responsible-gaming-self-exclusion-tools__how-to-section {
    background-color: var(--background-color, #F4F7FB);
}

.page-responsible-gaming-self-exclusion-tools__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gaming-self-exclusion-tools__step-item {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color, #D6E2FF);
}

.page-responsible-gaming-self-exclusion-tools__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color, #2F6BFF);
    color: #FFFFFF;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming-self-exclusion-tools__step-title {
    font-size: 1.3em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-responsible-gaming-self-exclusion-tools__step-description {
    font-size: 0.95em;
    color: var(--text-main-color, #1F2D3D);
}

.page-responsible-gaming-self-exclusion-tools__support-section {
    text-align: center;
    background: linear-gradient(180deg, var(--secondary-color, #6FA3FF) 0%, var(--primary-color, #2F6BFF) 100%);
    color: #FFFFFF;
}

.page-responsible-gaming-self-exclusion-tools__support-section .page-responsible-gaming-self-exclusion-tools__section-title {
    color: #FFFFFF;
}

.page-responsible-gaming-self-exclusion-tools__support-section .page-responsible-gaming-self-exclusion-tools__text-block {
    color: #E0E0E0;
    margin-bottom: 40px;
}

.page-responsible-gaming-self-exclusion-tools__support-section .page-responsible-gaming-self-exclusion-tools__cta-button {
    margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-responsible-gaming-self-exclusion-tools__container {
        padding: 15px;
    }

    .page-responsible-gaming-self-exclusion-tools__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-responsible-gaming-self-exclusion-tools__subtitle {
        font-size: 1em;
    }

    .page-responsible-gaming-self-exclusion-tools__section-title {
        font-size: clamp(1.6em, 6vw, 2em);
    }

    .page-responsible-gaming-self-exclusion-tools__intro-section,
    .page-responsible-gaming-self-exclusion-tools__tools-section,
    .page-responsible-gaming-self-exclusion-tools__how-to-section,
    .page-responsible-gaming-self-exclusion-tools__support-section {
        padding: 40px 0;
    }

    .page-responsible-gaming-self-exclusion-tools__tool-list,
    .page-responsible-gaming-self-exclusion-tools__steps {
        grid-template-columns: 1fr;
    }
    
    /* Mobile overflow prevention for images */
    .page-responsible-gaming-self-exclusion-tools img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure content area images are not scaled down below 200px */
    .page-responsible-gaming-self-exclusion-tools__tool-icon {
        width: 200px; /* Maintain minimum width */
        height: auto; /* Allow height to adjust */
    }
    .page-responsible-gaming-self-exclusion-tools__hero-image {
        width: 100%;
        height: auto;
    }
}