/* style/responsible-gambling.css */

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

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

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

.page-responsible-gambling__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-responsible-gambling__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    overflow: hidden;
}

.page-responsible-gambling__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-responsible-gambling__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 20px;
}

.page-responsible-gambling__hero-button--register {
    background-color: #FCBC45; /* Login color for action */
    color: #000000; /* Main color for text */
    border: 2px solid #FCBC45;
}

.page-responsible-gambling__hero-button--register:hover {
    background-color: #FFFFFF; /* Register color for hover */
    color: #000000;
    border-color: #FFFFFF;
}

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

.page-responsible-gambling__section-title {
    font-size: 2.5em;
    color: #000000; /* Main color */
    text-align: center;
    margin-bottom: 30px;
    margin-top: 60px;
    font-weight: bold;
}

.page-responsible-gambling__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #555555;
}

/* Principles Section */
.page-responsible-gambling__principles-section {
    background-color: #F8F8F8;
    padding: 80px 0;
}

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

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

.page-responsible-gambling__principle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling__card-image {
    width: 100%; /* Ensure images are not smaller than 200px */
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gambling__card-title {
    font-size: 1.8em;
    color: #000000; /* Main color */
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Self-Assessment Section */
.page-responsible-gambling__self-assessment-section {
    padding: 80px 0;
}

.page-responsible-gambling__assessment-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-responsible-gambling__assessment-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.page-responsible-gambling__assessment-footer {
    font-size: 1.1em;
    text-align: center;
    margin-top: 40px;
    color: #CC0000; /* Highlight for caution */
    font-weight: bold;
}

.page-responsible-gambling__assessment-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 30px;
}

.page-responsible-gambling__assessment-button:hover {
    background-color: #FCBC45; /* Login color for hover */
    color: #000000;
}

/* Tools Section */
.page-responsible-gambling__tools-section {
    background-color: #F8F8F8;
    padding: 80px 0;
}

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

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

.page-responsible-gambling__tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Help Section */
.page-responsible-gambling__help-section {
    padding: 80px 0;
}

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

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

.page-responsible-gambling__resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling__resource-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Main color */
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 25px;
    border: 2px solid #FCBC45;
}

.page-responsible-gambling__resource-button:hover {
    background-color: #000000; /* Main color for hover */
    color: #FCBC45;
    border-color: #000000;
}

.page-responsible-gambling__contact-note {
    text-align: center;
    font-size: 1.1em;
    margin-top: 50px;
    color: #555555;
}

.page-responsible-gambling__contact-link {
    color: #FCBC45; /* Login color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-responsible-gambling__contact-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-responsible-gambling__faq-section {
    background-color: #F8F8F8;
    padding: 80px 0;
}

.page-responsible-gambling__faq-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    padding: 25px;
    text-align: left;
}

.page-responsible-gambling__faq-question {
    font-size: 1.4em;
    color: #000000; /* Main color */
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-responsible-gambling__hero-title {
        font-size: 2.2em;
    }

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

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

    .page-responsible-gambling__section-intro {
        font-size: 0.95em;
    }

    .page-responsible-gambling__principles-grid,
    .page-responsible-gambling__tools-grid,
    .page-responsible-gambling__help-resources {
        grid-template-columns: 1fr;
    }

    .page-responsible-gambling__assessment-item {
        font-size: 0.95em;
    }

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

    /* Enforce max-width for images in content area */
    .page-responsible-gambling 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.5em;
    }

    .page-responsible-gambling__hero-section,
    .page-responsible-gambling__principles-section,
    .page-responsible-gambling__self-assessment-section,
    .page-responsible-gambling__tools-section,
    .page-responsible-gambling__help-section,
    .page-responsible-gambling__faq-section {
        padding: 40px 0;
    }
}