/* style/resources-responsible-gaming-guide.css */

/* Base styles for the page content area */
.page-resources-responsible-gaming-guide {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

/* Hero Section */
.page-resources-responsible-gaming-guide__hero-section {
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text for dark background */
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-resources-responsible-gaming-guide__hero-content {
    max-width: 800px;
}

.page-resources-responsible-gaming-guide__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45; /* Accent color for title */
    line-height: 1.2;
    font-weight: bold;
}

.page-resources-responsible-gaming-guide__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-resources-responsible-gaming-guide__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-responsible-gaming-guide__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 180px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-resources-responsible-gaming-guide__button--primary {
    background-color: #FCBC45; /* Login color for primary action */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-resources-responsible-gaming-guide__button--primary:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

.page-resources-responsible-gaming-guide__button--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-resources-responsible-gaming-guide__button--secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
}

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

.page-resources-responsible-gaming-guide__hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

/* Content Area */
.page-resources-responsible-gaming-guide__content-area {
    max-width: 800px; /* Constrain content width for readability */
    margin: 0 auto;
    padding: 40px 20px;
}

.page-resources-responsible-gaming-guide__section-title {
    font-size: 2.2em;
    color: #000000;
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-resources-responsible-gaming-guide__subsection-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-responsible-gaming-guide__paragraph {
    margin-bottom: 1em;
    font-size: 1.05em;
}

/* Tool Grid */
.page-resources-responsible-gaming-guide__tool-grid,
.page-resources-responsible-gaming-guide__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-resources-responsible-gaming-guide__tool-card,
.page-resources-responsible-gaming-guide__tip-card {
    background-color: #FFFFFF; /* White background for cards */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-responsible-gaming-guide__tool-card:hover,
.page-resources-responsible-gaming-guide__tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-responsible-gaming-guide__tool-icon,
.page-resources-responsible-gaming-guide__tip-icon {
    width: 100%; /* Ensure images fill card width */
    height: auto;
    max-width: 400px; /* Max width for smaller card images */
    max-height: 300px; /* Max height for smaller card images */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-resources-responsible-gaming-guide__card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-resources-responsible-gaming-guide__card-description {
    font-size: 0.95em;
    color: #555555;
}

/* Lists */
.page-resources-responsible-gaming-guide__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 1.5em;
}

.page-resources-responsible-gaming-guide__list-item {
    margin-bottom: 0.5em;
    font-size: 1.05em;
}

/* Blockquote */
.page-resources-responsible-gaming-guide__quote {
    font-style: italic;
    border-left: 4px solid #FCBC45;
    padding-left: 20px;
    margin: 30px 0;
    color: #555555;
    font-size: 1.1em;
}

/* Contact Section */
.page-resources-responsible-gaming-guide__contact-section {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-resources-responsible-gaming-guide__contact-section .page-resources-responsible-gaming-guide__button {
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

/* Return Link */
.page-resources-responsible-gaming-guide__return-link-container {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.page-resources-responsible-gaming-guide__return-link {
    display: inline-block;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 1px solid #000000;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-responsible-gaming-guide__return-link:hover {
    background-color: #000000;
    color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-responsible-gaming-guide__hero-title {
        font-size: 2em;
    }

    .page-resources-responsible-gaming-guide__hero-description {
        font-size: 1em;
    }

    .page-resources-responsible-gaming-guide__section-title {
        font-size: 1.8em;
    }

    .page-resources-responsible-gaming-guide__subsection-title {
        font-size: 1.5em;
    }

    .page-resources-responsible-gaming-guide__tool-grid,
    .page-resources-responsible-gaming-guide__tips-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-responsible-gaming-guide__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-responsible-gaming-guide__button {
        width: 100%;
        max-width: 300px; /* Limit button width on small screens */
    }

    /* Ensure images in content area are responsive and don't overflow */
    .page-resources-responsible-gaming-guide__content-area img,
    .page-resources-responsible-gaming-guide__tool-icon,
    .page-resources-responsible-gaming-guide__tip-icon {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Maintain min image size */
        min-height: 200px; /* Maintain min image size */
    }
    .page-resources-responsible-gaming-guide {
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-resources-responsible-gaming-guide__hero-section {
        padding: 40px 15px;
    }

    .page-resources-responsible-gaming-guide__hero-title {
        font-size: 1.8em;
    }

    .page-resources-responsible-gaming-guide__content-area {
        padding: 20px 15px;
    }

    .page-resources-responsible-gaming-guide__section-title {
        font-size: 1.6em;
    }

    .page-resources-responsible-gaming-guide__subsection-title {
        font-size: 1.3em;
    }
}