/* style/responsible-gambling.css */

/* Base styles for the page content area */
.page-responsible-gambling {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Page background as per custom color */
}

/* Header offset for fixed header */
.page-responsible-gambling__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden; /* Prevent content overflow */
}

.page-responsible-gambling__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-responsible-gambling__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

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

.page-responsible-gambling__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF; /* White text on dark overlay */
}

.page-responsible-gambling__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-responsible-gambling__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General section styling */
.page-responsible-gambling__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-responsible-gambling__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand main color */
    margin-bottom: 40px;
    text-align: center;
}

.page-responsible-gambling__dark-section .page-responsible-gambling__section-title {
    color: #ffffff; /* White text on dark background */
}

.page-responsible-gambling__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
}

.page-responsible-gambling__dark-section {
    background-color: #017439; /* Brand main color for dark sections */
    color: #ffffff; /* White text on dark background */
}

.page-responsible-gambling__dark-section .page-responsible-gambling__text-block {
    color: #f0f0f0;
}

/* Image styling */
.page-responsible-gambling img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Feature grid for "Signs of Problem Gambling" */
.page-responsible-gambling__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-responsible-gambling__feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
    transition: transform 0.3s ease;
}

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

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

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

/* Tools list for "Self-Exclusion and Limits" */
.page-responsible-gambling__tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-responsible-gambling__tool-item {
    background-color: rgba(255, 255, 255, 0.1); /* Light background on dark section */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #ffffff;
    transition: background-color 0.3s ease;
}