/* style/resources-s689-safety-responsible-gambling.css */

/* Base styles for the page content area */
.page-resources-s689-safety-responsible-gambling {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-bottom: 60px; /* Space before footer */
}

/* Fixed header offset for desktop */
.page-resources-s689-safety-responsible-gambling__hero-section {
    padding-top: var(--header-offset, 120px);
}

/* Section styling */
.page-resources-s689-safety-responsible-gambling__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-s689-safety-responsible-gambling__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-resources-s689-safety-responsible-gambling__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-s689-safety-responsible-gambling__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ffffff; /* Default for dark sections */
}

.page-resources-s689-safety-responsible-gambling__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #ffffff; /* Default for dark sections */
}

.page-resources-s689-safety-responsible-gambling__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Container for content width */
.page-resources-s689-safety-responsible-gambling__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-s689-safety-responsible-gambling__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    color: #ffffff;
    background-color: #0a0a0a; /* Ensure dark background for hero */
}

.page-resources-s689-safety-responsible-gambling__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.page-resources-s689-safety-responsible-gambling__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-s689-safety-responsible-gambling__hero-section .page-resources-s689-safety-responsible-gambling__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-resources-s689-safety-responsible-gambling__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

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

.page-resources-s689-safety-responsible-gambling__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.page-resources-s689-safety-responsible-gambling__btn-primary,
.page-resources-s689-safety-responsible-gambling__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-s689-safety-responsible-gambling__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-s689-safety-responsible-gambling__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-resources-s689-safety-responsible-gambling__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-s689-safety-responsible-gambling__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-resources-s689-safety-responsible-gambling__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Section for content with light background */
.page-resources-s689-safety-responsible-gambling__content-area.page-resources-s689-safety-responsible-gambling__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 80px 0;
}

.page-resources-s689-safety-responsible-gambling__content-area.page-resources-s689-safety-responsible-gambling__light-bg .page-resources-s689-safety-responsible-gambling__section-title,
.page-resources-s689-safety-responsible-gambling__content-area.page-resources-s689-safety-responsible-gambling__light-bg .page-resources-s689-safety-responsible-gambling__sub-title {
    color: #000000;
}

.page-resources-s689-safety-responsible-gambling__content-area.page-resources-s689-safety-responsible-gambling__light-bg .page-resources-s689-safety-responsible-gambling__paragraph,
.page-resources-s689-safety-responsible-gambling__content-area.page-resources-s689-safety-responsible-gambling__light-bg .page-resources-s689-safety-responsible-gambling__list,
.page-resources-s689-safety-responsible-gambling__content-area.page-resources-s689-safety-responsible-gambling__light-bg .page-resources-s689-safety-responsible-gambling__list-item {
    color: #333333;
}


/* Content Images */
.page-resources-s689-safety-responsible-gambling__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* CTA buttons group */
.page-resources-s689-safety-responsible-gambling__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Cards Grid */
.page-resources-s689-safety-responsible-gambling__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-resources-s689-safety-responsible-gambling__card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* For light background card */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-s689-safety-responsible-gambling__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-s689-safety-responsible-gambling__card-image {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-s689-safety-responsible-gambling__card-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

/* FAQ Section */
.page-resources-s689-safety-responsible-gambling__faq-section {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 80px 0;
}

.page-resources-s689-safety-responsible-gambling__faq-section .page-resources-s689-safety-responsible-gambling__section-title {
    color: #26A9E0;
}

.page-resources-s689-safety-responsible-gambling__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-s689-safety-responsible-gambling__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-resources-s689-safety-responsible-gambling__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    position: relative;
}

.page-resources-s689-safety-responsible-gambling__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-resources-s689-safety-responsible-gambling__faq-qtext {
    flex-grow: 1;
    color: #ffffff;
}

.page-resources-s689-safety-responsible-gambling__faq-toggle {
    font-size: 1.5em;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-resources-s689-safety-responsible-gambling__faq-item[open] .page-resources-s689-safety-responsible-gambling__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-s689-safety-responsible-gambling__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: #e0e0e0;
}

/* CTA Section at the bottom */
.page-resources-s689-safety-responsible-gambling__cta-section {
    background-color: #0a0a0a;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.page-resources-s689-safety-responsible-gambling__cta-section .page-resources-s689-safety-responsible-gambling__section-title {
    color: #26A9E0;
    font-size: 2.8em;
}

.page-resources-s689-safety-responsible-gambling__cta-section .page-resources-s689-safety-responsible-gambling__paragraph {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2em;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-s689-safety-responsible-gambling__hero-title {
        font-size: 2.8em;
    }
    .page-resources-s689-safety-responsible-gambling__hero-description {
        font-size: 1.2em;
    }
    .page-resources-s689-safety-responsible-gambling__section-title {
        font-size: 2em;
    }
    .page-resources-s689-safety-responsible-gambling__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    /* Mobile Fixed Header Offset */
    .page-resources-s689-safety-responsible-gambling__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        min-height: 500px;
    }

    .page-resources-s689-safety-responsible-gambling__container {
        padding: 0 15px !important;
    }

    .page-resources-s689-safety-responsible-gambling__hero-title {
        font-size: 2.2em;
    }
    .page-resources-s689-safety-responsible-gambling__hero-description {
        font-size: 1.1em;
    }
    .page-resources-s689-safety-responsible-gambling__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-s689-safety-responsible-gambling__btn-primary,
    .page-resources-s689-safety-responsible-gambling__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-s689-safety-responsible-gambling__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-s689-safety-responsible-gambling__cards-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-s689-safety-responsible-gambling__card-image {
        height: auto;
    }
    .page-resources-s689-safety-responsible-gambling__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-s689-safety-responsible-gambling__sub-title {
        font-size: 1.4em;
    }
    .page-resources-s689-safety-responsible-gambling__paragraph,
    .page-resources-s689-safety-responsible-gambling__list-item,
    .page-resources-s689-safety-responsible-gambling__faq-answer {
        font-size: 1em;
    }
    .page-resources-s689-safety-responsible-gambling__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-resources-s689-safety-responsible-gambling__faq-answer {
        padding: 0 20px 15px;
    }
    .page-resources-s689-safety-responsible-gambling__content-area,
    .page-resources-s689-safety-responsible-gambling__faq-section,
    .page-resources-s689-safety-responsible-gambling__cta-section {
        padding: 60px 0;
    }

    /* Images responsive rules */
    .page-resources-s689-safety-responsible-gambling img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-resources-s689-safety-responsible-gambling__section,
    .page-resources-s689-safety-responsible-gambling__card,
    .page-resources-s689-safety-responsible-gambling__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-s689-safety-responsible-gambling__content-area,
    .page-resources-s689-safety-responsible-gambling__faq-section,
    .page-resources-s689-safety-responsible-gambling__cta-section {
        overflow-x: hidden !important;
    }
}

/* Ensure no image filters are used */
.page-resources-s689-safety-responsible-gambling img {
    filter: none !important;
}

/* Color contrast classes for intelligent selection */
.page-resources-s689-safety-responsible-gambling__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-resources-s689-safety-responsible-gambling__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Specific button for login/register if needed, using custom color */
.page-resources-s689-safety-responsible-gambling__btn-login {
    background-color: #EA7C07;
    color: #ffffff;
    border: 2px solid #EA7C07;
}
.page-resources-s689-safety-responsible-gambling__btn-login:hover {
    background-color: #d46c00;
    border-color: #d46c00;
}