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

.page-responsible-gambling__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #FFFFFF;
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
}

.page-responsible-gambling__hero-content {
    max-width: 900px;
    padding: 20px;
    z-index: 1;
}

.page-responsible-gambling__hero-image {
    width: 100%;
    max-width: 1200px;
    margin-top: 30px;
}

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

.page-responsible-gambling__hero-title {
    font-size: 3.2em;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-responsible-gambling__hero-description {
    font-size: 1.2em;
    color: #333333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-responsible-gambling__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login color for action */
    color: #000000;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-responsible-gambling__hero-button:hover {
    background-color: #e0a33c;
    transform: translateY(-2px);
}

.page-responsible-gambling__section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #eee;
}

.page-responsible-gambling__section:last-of-type {
    border-bottom: none;
}

.page-responsible-gambling__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-responsible-gambling__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-responsible-gambling__sub-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-responsible-gambling__section-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 20px;
}

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

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

.page-responsible-gambling__feature-card:hover {
    transform: translateY(-5px);
}

.page-responsible-gambling__feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

.page-responsible-gambling__card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-responsible-gambling__card-description {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

.page-responsible-gambling__section-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    background-color: #FCBC45;
    color: #000000;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-responsible-gambling__section-button:hover {
    background-color: #e0a33c;
    transform: translateY(-2px);
}

.page-responsible-gambling__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

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

.page-responsible-gambling__numbered-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-responsible-gambling__list-item {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 10px;
}

.page-responsible-gambling__list-item a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
}

.page-responsible-gambling__list-item a:hover {
    text-decoration: underline;
}

.page-responsible-gambling__help-organizations li strong {
    color: #000000;
}

.page-responsible-gambling__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-responsible-gambling__faq-answer {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-responsible-gambling__hero-section {
        padding: 40px 15px;
    }

    .page-responsible-gambling__hero-title {
        font-size: 2.2em;
    }

    .page-responsible-gambling__hero-description {
        font-size: 1em;
    }

    .page-responsible-gambling__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-responsible-gambling__section {
        padding: 40px 15px;
    }

    .page-responsible-gambling__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-responsible-gambling__sub-title {
        font-size: 1.5em;
    }

    .page-responsible-gambling__section-text,
    .page-responsible-gambling__list-item,
    .page-responsible-gambling__card-description,
    .page-responsible-gambling__faq-answer {
        font-size: 0.95em;
    }

    .page-responsible-gambling__features-grid {
        grid-template-columns: 1fr;
    }

    .page-responsible-gambling__image-full-width {
        margin: 30px 0;
    }

    /* Ensure images do not overflow on mobile */
    .page-responsible-gambling img {
        max-width: 100%;
        height: auto;
    }

    .page-responsible-gambling__feature-card img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling__hero-title {
        font-size: 1.8em;
    }

    .page-responsible-gambling__section-title {
        font-size: 1.8em;
    }

    .page-responsible-gambling__faq-question {
        font-size: 1.1em;
    }
}