/* style/resources-responsible-gambling-user-protection.css */

/* Base styles for the page content, ensuring header offset */
.page-resources-responsible-gambling-user-protection {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
    background-color: #FFFFFF; /* Explicitly set page background */
}

/* Hero Section */
.page-resources-responsible-gambling-user-protection__hero-section {
    position: relative;
    overflow: hidden;
    color: #FFFFFF; /* White text for overlay content */
    text-align: center;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero section */
}

.page-resources-responsible-gambling-user-protection__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-resources-responsible-gambling-user-protection__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay for text readability */
    border-radius: 10px;
}

.page-resources-responsible-gambling-user-protection__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-resources-responsible-gambling-user-protection__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-resources-responsible-gambling-user-protection__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* General Content Area */
.page-resources-responsible-gambling-user-protection__content-area {
    max-width: 800px; /* Content width for readability */
    margin: 0 auto;
    padding: 40px 20px;
}

.page-resources-responsible-gambling-user-protection__section-title {
    font-size: 2.2em;
    color: #000000;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-resources-responsible-gambling-user-protection__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #FCBC45; /* Login button color for accent */
    border-radius: 2px;
}

.page-resources-responsible-gambling-user-protection__paragraph {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-resources-responsible-gambling-user-protection__paragraph--action {
    text-align: center;
    font-weight: bold;
}

.page-resources-responsible-gambling-user-protection__link {
    color: #FCBC45; /* Login button color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-resources-responsible-gambling-user-protection__link:hover {
    text-decoration: underline;
}

/* Buttons */
.page-resources-responsible-gambling-user-protection__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: 150px;
    text-align: center;
    font-size: 1em;
}

.page-resources-responsible-gambling-user-protection__button--register {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text for contrast */
}

.page-resources-responsible-gambling-user-protection__button--register:hover {
    background-color: #e0a53a; /* Slightly darker */
}

.page-resources-responsible-gambling-user-protection__button--learn-more {
    background-color: #000000; /* Main color */
    color: #FFFFFF; /* White text */
    border: 1px solid #FCBC45; /* Accent border */
}

.page-resources-responsible-gambling-user-protection__button--learn-more:hover {
    background-color: #333333; /* Slightly lighter */
}

.page-resources-responsible-gambling-user-protection__button--external {
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    border: 1px solid #FCBC45;
    margin-top: 15px;
}

.page-resources-responsible-gambling-user-protection__button--external:hover {
    background-color: #333333;
}

.page-resources-responsible-gambling-user-protection__button--register-final {
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 30px;
    font-size: 1.1em;
}

.page-resources-responsible-gambling-user-protection__button--register-final:hover {
    background-color: #e0a53a;
}

/* Grid Layout for Tools Section */
.page-resources-responsible-gambling-user-protection__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-resources-responsible-gambling-user-protection__card {
    background-color: #F8F8F8; /* Light background for cards */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.page-resources-responsible-gambling-user-protection__card:hover {
    transform: translateY(-5px);
}

.page-resources-responsible-gambling-user-protection__card-image {
    width: 100%; /* Ensure images fill card width */
    height: auto;
    max-height: 250px; /* Max height for consistent look */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-resources-responsible-gambling-user-protection__card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
}

.page-resources-responsible-gambling-user-protection__card-description {
    font-size: 1em;
    color: #555555;
}

/* List Styles */
.page-resources-responsible-gambling-user-protection__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #333333;
}

.page-resources-responsible-gambling-user-protection__list-item {
    margin-bottom: 10px;
}

/* Support Section Specifics */
.page-resources-responsible-gambling-user-protection__grid--support {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-resources-responsible-gambling-user-protection__support-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-responsible-gambling-user-protection__support-logo {
    margin-bottom: 15px;
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    object-fit: contain; /* Ensure logos are fully visible */
}

.page-resources-responsible-gambling-user-protection__support-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
}

.page-resources-responsible-gambling-user-protection__support-description {
    font-size: 0.95em;
    color: #555555;
    flex-grow: 1; /* Allow description to take available space */
}

/* General images within content */
.page-resources-responsible-gambling-user-protection__image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

/* FAQ Section */
.page-resources-responsible-gambling-user-protection__faq-item {
    background-color: #F8F8F8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-responsible-gambling-user-protection__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
}

.page-resources-responsible-gambling-user-protection__faq-answer {
    font-size: 1em;
    color: #555555;
}

/* Conclusion Section */
.page-resources-responsible-gambling-user-protection__conclusion-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #F0F0F0;
    border-top: 1px solid #E0E0E0;
}

.page-resources-responsible-gambling-user-protection__final-cta {
    margin-top: 40px;
}

/* Return Link */
.page-resources-responsible-gambling-user-protection__return-link-container {
    text-align: center;
    padding: 30px 20px;
}

.page-resources-responsible-gambling-user-protection__return-link {
    display: inline-block;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px 20px;
    border: 2px solid #000000;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-responsible-gambling-user-protection__return-link:hover {
    background-color: #000000;
    color: #FFFFFF;
}


/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-responsible-gambling-user-protection__hero-title {
        font-size: 2em;
    }

    .page-resources-responsible-gambling-user-protection__hero-description {
        font-size: 1em;
    }

    .page-resources-responsible-gambling-user-protection__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-responsible-gambling-user-protection__button {
        width: 100%;
        max-width: 300px;
    }

    .page-resources-responsible-gambling-user-protection__section-title {
        font-size: 1.8em;
    }

    .page-resources-responsible-gambling-user-protection__paragraph,
    .page-resources-responsible-gambling-user-protection__list-item {
        font-size: 1em;
    }

    .page-resources-responsible-gambling-user-protection__card-image,
    .page-resources-responsible-gambling-user-protection__support-logo,
    .page-resources-responsible-gambling-user-protection__image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images remain above 200px even on mobile */
        min-height: 200px;
    }

    /* Ensure no horizontal overflow */
    .page-resources-responsible-gambling-user-protection {
        overflow-x: hidden;
    }
    .page-resources-responsible-gambling-user-protection__hero-section,
    .page-resources-responsible-gambling-user-protection__content-area,
    .page-resources-responsible-gambling-user-protection__grid,
    .page-resources-responsible-gambling-user-protection__card,
    .page-resources-responsible-gambling-user-protection__support-card,
    .page-resources-responsible-gambling-user-protection__faq-item {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-responsible-gambling-user-protection__hero-section {
        padding: 60px 15px;
    }
    .page-resources-responsible-gambling-user-protection__hero-title {
        font-size: 1.8em;
    }
    .page-resources-responsible-gambling-user-protection__section-title {
        font-size: 1.6em;
    }
}