/* style/responsible-gaming.css */
.page-responsible-gaming {
    color: #333333; /* Dark text for default light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-responsible-gaming__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.page-responsible-gaming__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Slightly dim the background image for text readability */
}

.page-responsible-gaming__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.page-responsible-gaming__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffc107; /* Auxiliary color for emphasis */
}

.page-responsible-gaming__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gaming__hero-button {
    display: inline-block;
    background-color: #ffc107; /* Auxiliary color for button */
    color: #007bff; /* Main color for button text */
    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-gaming__hero-button:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

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

.page-responsible-gaming__about-section,
.page-responsible-gaming__tools-section,
.page-responsible-gaming__support-section,
.page-responsible-gaming__advice-section {
    padding: 60px 0;
    background-color: #f8f9fa; /* Light background for sections */
    border-bottom: 1px solid #e9ecef;
}

.page-responsible-gaming__about-section {
    background-color: #ffffff;
}

.page-responsible-gaming__section-title {
    font-size: 2.5em;
    color: #007bff; /* Main color for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-responsible-gaming__subsection-title {
    font-size: 1.8em;
    color: #007bff;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.page-responsible-gaming__section-text,
.page-responsible-gaming__closing-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-responsible-gaming__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-responsible-gaming__card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gaming__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-responsible-gaming__card-image {
    width: 100%;
    max-width: 400px; /* Ensure content images are not too small */
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gaming__card-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-responsible-gaming__card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-responsible-gaming__card-button {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-responsible-gaming__card-button:hover {
    background-color: #0056b3;
}

.page-responsible-gaming__support-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-responsible-gaming__support-button {
    display: inline-block;
    background-color: #ffc107;
    color: #007bff;
    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-gaming__support-button:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

.page-responsible-gaming__external-resources {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed #cccccc;
}

.page-responsible-gaming__resource-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.page-responsible-gaming__resource-list li {
    margin-bottom: 10px;
}

.page-responsible-gaming__resource-link {
    color: #007bff;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-responsible-gaming__resource-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.page-responsible-gaming__advice-item {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-responsible-gaming__advice-title {
    font-size: 1.3em;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-responsible-gaming__advice-text {
    font-size: 1em;
    color: #555555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .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__subsection-title {
        font-size: 1.5em;
    }

    .page-responsible-gaming__hero-content {
        padding: 60px 20px;
    }

    .page-responsible-gaming__grid,
    .page-responsible-gaming__grid--two-columns {
        grid-template-columns: 1fr;
    }

    .page-responsible-gaming__support-links {
        flex-direction: column;
        align-items: center;
    }

    /* Prevent content area images from overflowing on mobile */
    .page-responsible-gaming img {
        max-width: 100%;
        height: auto;
    }
}